2002-02-08 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
6373ee54
CD
12002-02-08 Chris Demetriou <cgd@broadcom.com>
2
3 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
4 determine if a number is a sign-extended 32-bit number.
5 (load_register): Use IS_SEXT_32BIT_NUM.
6 (macro): Check if load/store macro handling is using a
7 constant 32-bit address on 64-bit address systems, and if
8 so optimize the generation of that address.
9
50a4c611
RH
102002-02-08 Richard Henderson <rth@redhat.com>
11
12 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
13 we've eliminated all foreign relocation types yet.
14 (alpha_fix_adjustable): Likewise.
15
324bfcf3
AO
162002-02-08 Alexandre Oliva <aoliva@redhat.com>
17
18 Contribute sh64-elf.
19 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
20 Stephen Clarke <Stephen.Clarke@st.com>
21 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
22 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
23 * config/tc-sh.c (md_relax_table): Added default sizes for
24 non-PC-relative UNDEF_MOVI, and relaxation sequences for
25 MOVI_16, MOVI_32 and MOVI_48.
26 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
27 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
28 and MOVI_16.
29 (shmedia_md_estimate_size_before_relax): Remove redundant
30 blocks. Set fragP->fr_var even if relaxation type unchanged.
31 Retain UNDEF_MOVI until expression decays to number.
32 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
33 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
34 relocation types. Take fixP->fx_addnumber into account too.
35 (shmedia_md_apply_fix): Likewise.
36 (shmedia_md_convert_frag): Likewise.
37 (shmedia_build_Mytes): Likewise.
38 (sh64_consume_datalabel): Complain about nested datalabel.
39 Support PIC relocs. Call sh_parse_name.
40 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
41 in tc-sh.h to SHmedia reloc types.
42 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
43 MOVI_GOTPC): New relaxation constants.
44 (md_relax_table): Introduce relaxation directives for PIC-related
45 constants.
46 (sh_PIC_related_p): Handle datalabel.
47 (sh_check_fixup): Choose SH5 PIC relocations.
48 (sh_cons_fix_new): Added BDF_RELOC_64.
49 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
50 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
51 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
52 current ISA is SHmedia, get 7 bytes.
53 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
54 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
55 void function.
56 * config/tc-sh64.c (shmedia_apply_fix): Rename to
57 shmedia_apply_fix3 and make void.
58 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
59 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
60 as_bad.
61 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
62 * config/tc-sh64.h (md_parse_name): Take &c as argument.
63 2001-03-14 DJ Delorie <dj@redhat.com>
64 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
65 * doc/Makefile.in(CPU_DOCS): Ditto.
66 * doc/c-sh64.texi: New file.
67 * doc/as.texinfo: Add SH64 support.
68 2001-03-13 DJ Delorie <dj@redhat.com>
69 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
70 A_REUSE_PREV so that its purpose is more obvious.
71 (shmedia_build_Mytes): Ditto.
72 2001-03-07 DJ Delorie <dj@redhat.com>
73 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
74 before processing.
75 (sh64_vtable_inherit): Ditto.
76 (strip_datalabels): New, strip "datalabel" from given line.
77 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
78 pseudos.
79 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
80 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
81 call ...
82 (shmedia_build_Mytes): ... to here.
83 2001-03-06 DJ Delorie <dj@redhat.com>
84 * config/tc-sh.c: Remove sh64-specific uaquad now that there
85 is a generic one.
86 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
87 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
88 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
89 address by one in call to dwarf2_emit_insn.
90 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
91 Implement ".abi" pseudo and correct .cranges descriptors. Correct
92 alignment handling broken by imported changes.
93 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
94 (sh64_handle_align): Declare.
95 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
96 (sh64_max_mem_for_rs_align_code): Declare.
97 (enum sh64_isa_values): Moved here from tc-sh64.c.
98 (md_do_align): Define.
99 (sh64_do_align): Declare.
100 (struct sh64_tc_frag_data): New.
101 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
102 changed.
103 (TC_FRAG_INIT): Change to set new datatype.
104 (struct sh64_segment_info_type): Rename member
105 last_flushed_location to last_contents_mark. All users changed.
106 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
107 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
108 * config/tc-sh.c (md_pseudo_table): Add ".abi".
109 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
110 of unsetting seen_insn.
111 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
112 call sh64_update_contents_mark.
113 (sh_handle_align): Remove HAVE_SH64-conditioned code.
114 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
115 enum sh64_isa_values.
116 (sh64_set_contents_type): Drop segT parameter. All callers changed.
117 (emitting_crange): Boolean guard moved to file scope from function
118 scope in sh64_set_contents_type.
119 (s_sh64_abi): New.
120 (sh64_update_contents_mark): New; most split out from
121 sh64_flush_pending_output.
122 (shmedia_md_end): Call sh64_update_contents_mark. Set
123 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
124 (sh64_do_align): New function.
125 (sh64_max_mem_for_rs_align_code): New function.
126 (sh64_handle_align): Rename from shmedia_do_align. Make
127 non-static. Add head comment. Emit zero bytes for n bytes modulo
128 four. Change return-type to void.
129 (shmedia_elf_new_section): Remove.
130 (shmedia_md_assemble): Call sh64_update_contents_mark.
131 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
132 new frag. Call sh64_update_contents_mark after making the new
133 frag.
134 (sh64_flush_pending_output): Just call sh64_update_contents_mark
135 and sh_flush_pending_output.
136 (sh64_flag_output): Also call md_flush_pending_output, but add
137 condition on not emitting_crange.
138 (sh64_tc_cons_fix_new): Remove.
139 2001-01-12 Nick Clifton <nickc@redhat.com>
140 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
141 alignment handling scheme imported from sourceware.
142 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
143 * config/tc-sh64.h (TARGET_FORMAT): Define.
144 (sh64_target_format): Prototype.
145 * config/tc-sh64.c (sh64_target_mach): New function.
146 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
147 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
148 zero_address_frag instead of copying the frag of the symbol.
149 (shmedia_frob_file_before_adjust): Ditto.
150 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
151 to valueT to remove signedness.
152 (shmedia_md_convert_frag): Add parameter final. Rename parameter
153 headers to output_bfd. Do not evaluate symbols if final is false;
154 do emit fixups.
155 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
156 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
157 to the current frag, call shmedia_md_convert_frag to emit fixups
158 and make frag_wane neutralize the frag. Update comments.
159 * config/tc-sh.c (md_convert_frag): Change caller of
160 shmedia_md_convert_frag.
161 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
162 * config/tc-sh64.h: Tweak comments and correct formatting.
163 * config/tc-sh64.c: Ditto.
164 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
165 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
166 for the no-relocation case.
167 (shmedia_check_limits): Fix range check being off-by-one for PTA.
168 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
169 wrappers.
170 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
171 comment.
172 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
173 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
174 expansion.
175 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
176 Correct comment.
177 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
178 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
179 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
180 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
181 al>: Set lowest bit of field to relocate to 1 and rest to empty,
182 if reloc is emitted.
183 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
184 New options plus bugfixes.
185 * config/tc-sh.c (md_longopts): New options "-no-expand" and
186 "-expand-pt32".
187 (md_parse_option): Handle new options.
188 (md_show_usage): Add blurb for new options.
189 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
190 (sh64_expand, sh64_pt32): New variables.
191 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
192 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
193 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
194 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
195 <resolved previously-pc-relative relocs>: Handle
196 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
197 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
198 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
199 points to SHcompact code.
200 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
201 SH64PCREL16)>: Check that ISA of what operand points at and
202 PTA/PTB matches, or emit error.
203 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
204 SHMEDIA_BFD_RELOC_PT.
205 (shmedia_immediate_op): If pcrel, emit fixup also for constant
206 operand.
207 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
208 condition for MOVI expansion.
209 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
210 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
211 sh64_expand.
212 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
213 fixup.
214 (sh64_target_format): Error-check setting of sh64_pt32 and
215 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
216 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
217 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
218 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
219 * config/tc-sh64.c: Improve comments.
220 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
221 not say the linker will check correctness of PTA/PTB expansion.
222 (shmedia_md_end): Make non-static.
223 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
224 prototype.
225 * config/tc-sh.c (sh_finalize): Remove.
226 * config/tc-sh.h (md_end): Do not define.
227 Remove prototype for sh_finalize.
228 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
229 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
230 sh64_section_data container when storing section type in tdata
231 field in elf_section_data.
232 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
233 EF_SH5.
234 * Makefile.am: Update dependencies.
235 * Makefile.in: Regenerate.
236 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
237 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
238 dwarf2_emit_insn call with test on debug_type.
239 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
240 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
241 CRT_SH5_ISA32 sticky for 64-bit.
242 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
243 Generate .crange sections when switching ISA mode or emitting
244 constants in same section as code.
245 * config/tc-sh64.c: Reformat structure definitions.
246 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
247 variables.
248 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
249 to emit a .cranges descriptor when contents type changes. Only
250 emit error if changing contents type and -no-mix is in effect.
251 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
252 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
253 (shmedia_md_end): Set sh64_end_of_assembly. Pass
254 sh64_flush_last_crange over sections.
255 When checking main symbol of datalabel symbol, check for
256 STO_SH5_ISA32, not ISA type of section in definition.
257 (shmedia_frob_file_before_adjust): Check main symbol for
258 STO_SH5_ISA32; don't check ISA type of section in definition.
259 (shmedia_frob_section_type): Adjust for .cranges; set section flag
260 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
261 .cranges entries have been output.
262 (shmedia_elf_new_section): Just call md_flush_pending_output.
263 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
264 fix. Do not set tc_segment_info_data.in_code for section. Call
265 sh64_set_contents_type for SHmedia code.
266 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
267 false. Call md_flush_pending_output.
268 (sh64_target_format): Check that -no-mix and
269 -shcompact-const-crange are used in sane combination with other
270 options.
271 (shmedia_md_pcrel_from_section): Check type of fix for how to
272 adjust pc-relative.
273 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
274 not ISA type of section in definition.
275 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
276 hold contents-type state.
277 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
278 (sh64_flush_pending_output): Declare.
279 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
280 (sh64_tc_cons_fix_new): Declare.
281 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
282 call sh64_flag_output.
283 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
284 call sh64_set_contents_type to mark SHcompact code and set
285 seen_insn.
286 (md_longopts): New options "-no-mix" and
287 "-shcompact-const-crange".
288 (md_parse_option): Handle new options.
289 (md_show_usage): Add blurb for new options.
290 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
291 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
292 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
293 (sh64_last_insn_frag): New.
294 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
295 to get frag for insn opcode for generating fixups; do not assume it
296 is the same frag.
297 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
298 for new insn.
299 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
300 section.
301 (TC_FRAG_TYPE): Define as fragS *.
302 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
303 (sh64_last_insn_frag): Declare.
304 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
305 not == NULL before dereferencing.
306 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
307 Get rid of BFD section flag and EF_SH64_ABI64.
308 * config/tc-sh64.c (shmedia_frob_section_type): Use
309 elf_section_data (sec)->tdata, not a specific BFD section flag, to
310 communicate the section as containing SHmedia code. Describe why.
311 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
312 EF_SH64 regardless of ABI.
313 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
314 in error message. Handle resolved expressions for
315 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
316 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
317 (shmedia_check_limits): Handle BFD_RELOC_64.
318 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
319 a STO_SH5_ISA32 symbol, only the BFD value.
320 2000-12-11 Ben Elliston <bje@redhat.com>
321 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
322 dwarf2_generate_asm_lineno.
323 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
324 Handle PC-relative MOVI expansions with assembler relaxation.
325 Generate PC-relative relocs from 16-bit PC-relative expressions.
326 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
327 (shmedia_md_pcrel_from_section): ...here.
328 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
329 turned completely resolved. Adjust relocation type for 16-bit
330 immediate operands that has turned PC-relative. Adjust back for
331 MD_PCREL_FROM_SECTION being applied twice.
332 (shmedia_md_convert_frag): Always emit reloc for expression with
333 global or weak symbol. Handle relaxation result for PC-relative
334 expressions.
335 (shmedia_md_estimate_size_before_relax): An expression with a weak
336 or global symbol can not be relaxed. Break out tests for
337 relaxable symbol into variable sym_relaxable.
338 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
339 UNDEF_MOVI)>: Break out any PC-relative expression and change
340 relaxation type.
341 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
342 opjp.
343 <case A_IMMS16>: Fix typo for initial minor relaxation type of
344 MOVI expansion. If X_op_symbol of the immediate expression is
345 set, make an expression symbol for the argument to frag_var.
346 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
347 relaxations.
348 (END): Adjust for new relaxations.
349 (md_relax_table): Add entries for new relaxations.
350 2000-12-07 Ben Elliston <bje@redhat.com>
351 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
352 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
353 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
354 SHORI operand offsets in PT/PTA/PTB expansions.
355 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
356 Implement DataLabel semantics.
357 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
358 shmedia_frob_file_before_adjust.
359 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
360 (DATALABEL_SUFFIX): Define.
361 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
362 symbol list to update "datalabel" symbols to their main symbol
363 counterparts.
364 (shmedia_frob_file_before_adjust): New.
365 (sh64_adjust_symtab): For remaining datalabel symbols, set to
366 undefined and set STT_DATALABEL.
367 (sh64_frob_label): Initialize TC symbol field.
368 (sh64_consume_datalabel): Actually implement semantics. New
369 parameter operandf, call it instead of expression.
370 (sh64_exclude_symbol): New.
371 * config/tc-sh64.h (md_parse_name): Pass on the function operand
372 to sh64_consume_datalabel.
373 (tc_symbol_new_hook): Define to tc_frob_symbol.
374 (TC_SYMFIELD_TYPE): Define to symbolS *.
375 (tc_frob_symbol): Define to call sh64_exclude_symbol.
376 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
377 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
378 case.
379 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
380 generating dwarf2 debug information.
381 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
382 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
383 elf64-sh64 for the 64-bit ABI.
384 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
385 option.
386 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
387 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
388 case-insensitivity.
389 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
390 * config/tc-sh64.c: Tweak comments, formatting and error messages.
391 (enum sh64_abi_values): New type.
392 (enum sh64_isa_values): New type.
393 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
394 (seen_shcompact_mode, seen_shmedia_mode): Delete.
395 (sh64_abi): Replace shmedia_64.
396 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
397 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
398 (s_sh64_mode): Check validity for this target.
399 (sh64_target_format): Initialize defaults for ISA and ABI.
400 Fallback to old object format if no SH64 ISA or ABI has been
401 specified.
402 * config/tc-sh.c (md_parse_option): Check combinations for errors.
403 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
404 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
405 * config/tc-sh64.h: Fix typo in comment.
406 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
407 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
408 <PT fixups for absolute values>: Size will be longest, not
409 shortest.
410 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
411 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
412 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
413 and l1 to hold lowercase of two first characters. Change all
414 remaining TO_LOWER to tolower.
415 * config/tc-sh64.c (TO_LOWER): Delete.
416 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
417 (md_parse_name): Define.
418 (sh64_consume_datalabel): Declare.
419 (DOLLAR_DOT): Define.
420 * config/tc-sh64.c (shmedia_parse_exp): New.
421 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
422 (shmedia_parse_reg): Remove const from src
423 parameter.
424 (shmedia_get_operands): Ditto for args parameter and ptr variable.
425 (shmedia_md_assemble): Ditto for op_end variable.
426 (shmedia_get_operand): Ditto for ptr parameter and src variable.
427 Use shmedia_parse_exp, not parse_exp.
428 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
429 parameter. All callers changed.
430 (shmedia_get_operand): Add shmedia_arg_type parameter. All
431 callers changed.
432 (shmedia_parse_reg): Put first two character in local variables.
433 Use tolower, not TO_LOWER. If no register is found and argtype
434 indicates a control register, scan shmedia_creg_table
435 case-insensitive.
436 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
437 * Makefile.am (CPU_TYPES): Add sh64.
438 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
439 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
440 Regenerate dependencies.
441 * Makefile.in: Regenerate.
442 * configure.in: Add support for sh64-*-elf*.
443 * configure: Regenerate.
444 * config/tc-sh64.h: New.
445 * config/tc-sh64.c: New.
446 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
447 .mode, .isa and .uaquad.
448 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
449 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
450 [HAVE_SH64] (END): Define as 10.
451 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
452 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
453 MOVI_64): Define.
454 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
455 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
456 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
457 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
458 Define.
459 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
460 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
461 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
462 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
463 SHmedia instructions. Handle state-change after switching to
464 SHcompact.
465 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
466 (md_parse_option) [HAVE_SH64]: Parse new options.
467 (md_show_usage) [HAVE_SH64]: Show usage of new options.
468 (md_convert_frag) [HAVE_SH64] <default>: Call
469 shmedia_md_convert_frag instead of abort.
470 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
471 BFD_RELOC_SH_SHMEDIA_CODE.
472 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
473 SHcompact or SHmedia code.
474 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
475 shmedia_md_apply_fix instead of abort.
476 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
477 result from calling shmedia_md_estimate_size_before_relax instead
478 of calling abort.
479 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
480 do the work.
481 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
482 shmedia_init_reloc and do nothing more if it returns non-zero.
483 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
484 * po/POTFILES.in: Regenerate.
485 * po/gas.pot: Regenerate.
486
ac3f04d7
AO
4872002-02-06 Alexandre Oliva <aoliva@redhat.com>
488
6b32719e
AO
489 * config/tc-sh.c (parse_at): Install the correct version of
490 2002-02-04's patch.
491
ac3f04d7
AO
492 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
493 assume fixP->fx_subsy is non-NULL.
494
7679ead9
AO
4952002-02-04 Alexandre Oliva <aoliva@redhat.com>
496
497 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
fdf4122d 498 A_DISP_PC_ABS, and adjust it by -4.
7679ead9
AO
499 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
500 expected.
501 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
502 the operand type is not A_DISP_PC_ABS.
503
5459d7a0
HPN
5042002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
505
506 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
507 common and weak symbols. Handle common and weak symbols as
508 undefined symbols with regards to GREG handling and merging.
509 (mmix_frob_file): Ditto.
510
006336b8
JT
5112002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
512
513 * configure.in (hppa-*-netbsd*): New target.
514 * configure: Regenerate.
515 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
516
9e0665bc
AM
5172002-02-02 Alan Modra <amodra@bigpond.net.au>
518
519 * config/tc-v850.c: Add missing prototypes amd use old-style
520 function definitions.
521 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
522 (sdata_section tdata_section, zdata_section, sbss_section,
523 tbss_section, zbss_section, rosdata_section, rozdata_section,
524 scommon_section, tcommon_section, zcommon_section,
525 call_table_data_section, call_table_text_section): Delete.
526 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
527 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
528 v850_call_table_data, v850_call_table_text): Delete.
529 (struct v850_seg_entry): New.
530 (v850_seg_table): New.
531 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
532 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
533 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
534 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
535 (do_v850_seg): New.
536 (v850_seg): New.
537 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
538 recording of alignment.
539 (md_pseudo_table): Use v850_seg.
540 (md_begin): Don't init .call_table_data and .call_table_text here.
541 Set v850_seg_table bss entry.
542
973eb340
HPN
5432002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
544
545 Support on-demand global register allocation by passing on
546 base-plus-offset relocs to the linker.
547 * config/tc-mmix.c: Tweak and fix typos in comments.
548 (allocate_undefined_gregs_in_linker): New variable.
549 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
550 (md_longopts): Add --linker-allocated-gregs.
551 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
552 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
553 (md_show_usage): Update text for -x. Add text for
554 --linker-allocated-gregs.
555 (tc_gen_reloc): Derive default value for addend from val and
556 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
557 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
558 GREG if allocate_undefined_gregs_in_linker.
559 * doc/as.texinfo (Overview) <Target MMIX options>: Add
560 --linker-allocated-gregs.
561 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
562 --linker-allocated-gregs. Mention that it's implied by -x.
563 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
564 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
565
566 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
567
ba323545
AM
5682002-02-01 Alan Modra <amodra@bigpond.net.au>
569
570 * Makefile.am: Run "make dep-am"
571 * Makefile.in: Regenerate.
572
3b16e843
NC
5732002-01-31 Ivan Guzvinec <ivang@opencores.org>
574
575 * config/tc-or32.c: New file.
576 * config/tc-or32.h: New file.
577 * configure.in: Add support for or32 targets.
578 * configure: Regenerate.
579 * config/obj-coff.c: Add support for or32 targets.
580 * config/obj-coff.h: Add support for or32 targets.
581 * Makefile.am: Add support for or32 targets.
582 * Makefile.in: Regenerate.
583 * NEWS: Mention support for OpenRISC.
584 * doc/Makefile.in: Regenerate.
585 * po/POTFILES.in: Regenerate.
586 * po/gas.pot: Regenerate.
587
912a07db
RS
5882002-01-30 Richard Sandiford <rsandifo@redhat.com>
589
590 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
591 and mod.
592
4514d474
CD
5932002-01-29 Chris Demetriou <cgd@broadcom.com>
594
595 * config/tc-mips.c (tc_gen_reloc): Arrange for
596 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
597 their LO16 parts, even for ELF.
598
246fcdee
DJ
5992002-01-29 Daniel Jacobowitz <drow@mvista.com>
600
601 * config/tc-i386.c: Protect definitions of true and false
602 from redefinition.
603
00e6e13d
JJ
6042002-01-28 Jakub Jelinek <jakub@redhat.com>
605
606 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
607 made because of .weak, if they are neither defined nor used in any
608 way.
609
4867be41
DJ
6102002-01-27 Daniel Jacobowitz <drow@mvista.com>
611
612 * configure: Regenerated.
613
7562a296
HPN
6142002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
615
616 * doc/Makefile.am (install): Depend on install-info.
617 * doc/Makefile.in: Regenerate.
618
1caa7b23
NC
6192002-01-26 Nick Clifton <nick@redhat.com>
620
621 * po/fr.po: Updated version
622
166e23f9
KH
6232002-01-24 Kazu Hirata <kazu@hxi.com>
624
625 * config/tc-h8300.c (check_operand): Don't print a warning
626 when a valid 24-bit address is given to a 16-bit address
627 operand.
628
538cd60f
AO
6292002-01-24 Alexandre Oliva <aoliva@redhat.com>
630
631 * config/tc-sh.c (sh_elf_suffix): Removed.
632 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
633 sh_end_of_match, sh_parse_name): New functions.
634 (sh_elf_cons): Simplify.
635 (parse_exp): Reject misplaced PIC operands.
636 (md_undefined_symbol): Simplify.
637 (sh_fix_adjustable): Let @GOTOFF be adjusted.
638 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
639 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
640 Complain if subsy remains at the end.
641 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
642 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
643
b386f24b
AO
6442002-01-22 Alexandre Oliva <aoliva@redhat.com>
645
646 * config/tc-mn10300.c (xr_registers): Move `pc'...
647 (other_registers): ... here.
648
c46f0c34
AM
6492002-01-22 Alan Modra <amodra@bigpond.net.au>
650
651 * Makefile.am: Run "make dep-am".
652 * Makefile.in: Regenerate.
653 * gas/po/POTFILES.in: Regenerate.
654
23deb923
DD
6552002-01-21 DJ Delorie <dj@redhat.com>
656
657 * config/obj-coff.c (obj_coff_init_stab_section): Make the
658 stabstr_name allocation permanent, as it will be referenced from
659 the section hash.
660
9596feea
JT
6612002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
662
663 * configure.in (ia64-*-netbsd*): New target.
664 * configure: Regenerate.
665
92081f48
HPN
6662002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
667
668 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
669 to @dots call.
670 <Detailed description, ARM options>: Ditto.
671 * doc/c-arm.texi (ARM Options): Ditto.
672
63e63b07
RE
6732002-01-18 Richard Earnshaw <rearnsha@arm.com>
674
675 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
676 do_mia, do_mar and do_mra respectively.
677 (do_mav_*): Renamed from do_c_*.
678 (mav_reg_required_here, mav_parse_offset): Renamed from
679 cirrus_reg_required_here and cirrus_parse_offset respectively.
680 (MAV_MODE?): Renamed from CIRRUS_MODE?.
681
ea6ef066
RE
6822002-01-18 Richard Earnshaw <rearnsha@arm.com>
683 Keith Walker <keith.walker@arm.com>
684
685 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
686 (insns): Add pattern for bxj instruction.
687 (do_bxj): New function.
688 (arm_cpus): Add arm926ej.
689 (arm_archs): Add armv5tej.
690
bc89618b
RE
6912002-01-18 Richard Earnshaw <rearnsha@arm.com>
692
693 * doc/c-arm.texi: Add new fpe options to list of supported flags.
694
d193a22a
RE
6952002-01-19 Keith Walker <keith.walker@arm.com>
696
697 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
698
03b1477f
RE
6992002-01-18 Richard Earnshaw <rearnsha@arm.com>
700
701 * NEWS: Mention new ARM command-line options and VFP support.
702
703 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
704 uses changed.
705 (ARM_CEXT_MAVERICK): Similarly.
706 (ARM_ANY): Now means any core instruction.
707 (CPU_DEFAULT): Default to ARM_ANY.
708 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
709 (pic_code): Declare for all object types. Make type int.
710 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
711 (march_fpu_opt, mfpu_opt): Declare.
712 (md_longopts): Tidy up conditional definitions.
713 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
714 (arm_long_opts): New tables.
715 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
716 (arm_parse_extension): New function.
717 (md_parse_option): Rewrite using new table-driven system.
718 (md_show_usage): Use new table-driven system.
719 (md_begin): Calculate cpu_variant from command line option data.
720 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
721 command-line options.
722 * doc/c-arm.texi: Likewise.
723
2a538ba5
AJ
7242002-01-18 Andreas Jaeger <aj@suse.de>
725
726 * as.c (parse_args): Update year.
727
b1ffc257 7282002-01-17 Timothy Wall <twall@alum.mit.edu>
2a538ba5 729
b1ffc257
TW
730 * config/tc-tic54x.c (encode_address): Add a more informative
731 warning about incorrect syntax.
732
328577ad
NC
7332002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
734
735 * po/gas.pot: Regenerate.
736
06f030db
NC
7372002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
738
739 * macro.c (get_any_string): Add no-c-format comment to prevent
740 confusion when translating string.
741 * gasp.c (get_any_string): Add no-c-format comment to prevent
742 confusion when translating string.
743
394f9b3a
TS
7442002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
745 Johannes Stezenbach <js@convergence.de>
746 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
747 matched before the shorter ones.
748 (my_getSmallParser): Fix handling of nested parentheses in
749 percent_op's. Code cleanup.
750 (my_getPercentOp): New function, code from my_getSmallParser.
751 (my_getSmallExpression): Fix handling of closing parentheses.
752 Code cleanup. Better comments.
753
af3ae48d
NC
7542002-01-16 Nick Clifton <nickc@redhat.com>
755
756 po/tr.po: New file: Turkish translation.
757 configure.in (LINGUAS): Add "tr".
758 configure: Regenerate.
759
bfae80f2
RE
7602002-01-15 Richard Earnshaw <rearnsha@arm.com>
761
762 Support for VFP instructions
763 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
764 (cp_address_required_here): New argument wb_ok. When false, do not
765 accept write-back forms of addressing. Change all callers.
766 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
767 (FPU_VFP_EXT_V2): Define.
768 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
769 Define in terms of above.
770 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
771 (vfp_reg): New struct.
772 (vfp_regs): New array of registers.
773 (insns): Add VFP instructions.
774 (sn_table): New array of VFP single-precision register names.
775 (dn_table): New array of VFP double-precision register names.
776 (all_reg_maps): Add the new register tables.
777 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
778 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
779 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
780 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
781 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
782 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
783 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
784 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
785 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
786 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
787 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
788 (do_vfp_sp_dp_cvt): New functions.
789 (md_begin): Set soft-float flag for appropriate VFP work.
790 (md_atof): Handle VFP-format doubles.
791 (md_parse_option): Handle VFP command-line options.
792 (md_show_usage): Display VFP command-line options.
793
fcd6d8d6
RE
7942002-01-15 Richard Earnshaw <rearnsha@arm.com>
795
2a538ba5 796 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
fcd6d8d6
RE
797 various command line options.
798
1f7fd478
NC
7992002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
800
801 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
802 vtinherit relocs.
803 (xstormy16_md_apply_fix3): Do not return a value.
804
21f0f23a
RE
8052002-01-14 Richard Earnshaw <rearnsha@arm.com>
806
807 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
808 the -EL/-EB option that matches the target's endianness.
809 (md_parse_option): Likewise.
810
ce058b6c
RE
8112002-01-14 Richard Earnshaw <rearnsha@arm.com>
812
2a538ba5 813 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
ce058b6c
RE
814 is not dependent on ARM_BI_ENDIAN.
815
f03698e6
RE
8162002-01-14 Richard Earnshaw <rearnsha@arm.com>
817
818 * tc-arm.c (all error messages): Normalize capitalization of messages.
819
820 * tc-arm.h (md_operand): Delete define.
821 * tc-arm.c (in_my_get_expression): New static variable.
822 (my_get_expression): Set and clear it.
823 (md_operand): New function. If called from my_get_expression
824 put the error in inst.error.
825 (output_inst): Now takes argument of instruction being assembled.
826 Print it out with any error message.
827 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
828 with '=' syntax.
829 (end_of_line): Don't update inst.error if it is already set.
830
e28cd48c
RE
8312002-01-11 Richard Earnshaw <rearnsha@arm.com>
832
833 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
834 op that can be translated into a mvn instruction.
835
1cd8ff38
NC
8362002-01-11 Steve Ellcey <sje@cup.hp.com>
837
838 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
839 setting default md.flags.
840 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
841 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
842 * gas/config/tc-ia64.c (setup_unwind_header): Add support
843 for 32 bit unwind info blocks.
844 (generate_unwind_image): Add support for different types
845 of unwind images (32 bits and/or big-endian).
846 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
847 (ia64_target_format): Add support for hpux target formats.
848 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
849 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
850 SHT_FINI_ARRAY elf section types.
851
6c43fab6
RE
8522002-01-10 Richard Earnshaw <rearnsha@arm.com>
853
854 * tc-arm.c (struct reg_entry): Move before prototypes.
855 (int_register, cp_register, fp_register): Delete.
856 (reg_table): Delete. Replaced with ...
857 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
858 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
859 (mav_dspsc_table): ... one table per register set.
860 (arm_reg_hsh): Delete.
861 (struct reg_map): New structure.
862 (all_reg_maps): New array.
863 (enum arm_reg_type): New enums.
864 (build_reg_hsh): New function.
865 (insert_reg_alias): Use hash table passed by caller. Adjust all
866 callers.
867 (create_register_alias): New function, split out from ...
868 (md_assemble): ... here.
869 (md_begin): Build new register hash tables.
870 (arm_reg_parse): New argument for the hash table to search. Adjust all
871 callers.
872 (arm_reg_parse_any): New function.
873 (co_proc_number): Look up the processor number in the processor hash
874 table.
875 (cirrus_regtype): Delete.
876 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
877 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
878 (ARM_EXT_MAVERICKsc_register): Delete.
879 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
880 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
881 functions.
882 (do_c_triple_4, do_c_triple_5): Delete.
883 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
884 (do_c_quad_6): Delete.
885 (do_c_quad_6[ab]): New functions.
886 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
887 arguments to use new register parsing methods.
888 (cirrus_reg_required_here): Likewise.
889 (insns): Reclassify cirrus maverick worker functions.
890 (cirrus_valid_reg): Delete.
891
8d05742f
JT
8922002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
893
894 * configure.in (sh*le): Set cpu_type=sh and endian=little.
895 (sh*-*-netbsdelf*): New target.
896 * configure: Regenerate.
2a538ba5 897 * tc-sh.h: Update copyright years.
8d05742f
JT
898 (TARGET_FORMAT): Add version for TE_NetBSD.
899
ceac3f62
NC
9002002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
901
902 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
903 negative.
904
d7861ad2
AM
9052002-01-06 Alan Modra <amodra@bigpond.net.au>
906
907 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
908 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
909
7a621144
DJ
9102002-01-05 Daniel Jacobowitz <drow@mvista.com>
911
912 * tc-mips.c (mips_cprestore_valid): New flag.
913 (mips_frame_reg_valid): New flag.
914 (macro) [M_JAL_2]: Check both flags.
915 [M_JAL_A]: Likewise.
916 (s_cprestore): Set mips_cprestore_valid.
917 (tc_get_register): If setting mips_frame_reg, set
918 mips_frame_reg_valid and clear mips_cprestore_valid.
919 (s_mips_ent): Clear both flags.
920 (s_mips_end): Clear both flags.
921
7c6beb69
AM
9222002-01-05 Alan Modra <amodra@bigpond.net.au>
923
924 * write.c (write_object_file): Make use of bfd_section_list_remove.
925 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
926 * config/tc-mmix.c (mmix_frob_file): Likewise.
927
8a8b2d4b
AJ
9282002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
929
930 * configure.in (i386-*-netbsdelf*): Collapse target into...
931 (i386-*-netbsd*): ...this. Add support for x86-64.
932 * configure: Regenerated.
933
a09cf9bd
MG
9342002-01-03 matthew green <mrg@redhat.com>
935
936 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
937
23b7f870
NC
9382002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
939
940 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
941 NULL frag link.
942
08d56133
NC
943For older changes see ChangeLog-0001
944\f
945Local Variables:
946mode: change-log
947left-margin: 8
948fill-column: 74
949version-control: never
950End:
This page took 0.090965 seconds and 4 git commands to generate.