Commit | Line | Data |
---|---|---|
75d12d11 AM |
1 | 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com> |
2 | ||
3 | * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. | |
4 | Convert functions to K&R format. | |
5 | ||
7ed4a06a TS |
6 | 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
7 | ||
8 | * config/tc-mips.c (pdr_seg): Define only for ELF. | |
9 | (s_change_section): Remove unused variable. Don't use for nonELF. | |
10 | ||
e8cf2216 TS |
11 | 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
12 | ||
13 | * config/obj-elf.c (obj_elf_change_section): Move prototype to | |
14 | obj-elf.h | |
15 | * config/obj-elf.h (obj_elf_change_section): Likewise. | |
16 | ||
48b91938 RH |
17 | 2002-09-16 Elias Athanasopoulos <eathan@otenet.gr> |
18 | ||
19 | * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field. | |
20 | (out_debug_info): Likewise. | |
21 | ||
4ada7262 DB |
22 | 2002-09-16 Bruno Haible <bruno@clisp.org> |
23 | ||
24 | * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. | |
25 | (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". | |
26 | * config/tc-i386.c (i386_target_format): Likewise. | |
27 | * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. | |
28 | (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". | |
29 | ||
7fe9cf6b NC |
30 | 2002-09-13 Nick Clifton <nickc@redhat.com> |
31 | ||
32 | * config/tc-ppc.c (md_assemble): Do not count FAKE operands | |
33 | when deciding if any operands have been skipped. | |
34 | ||
e09f4395 NC |
35 | 2002-09-11 Nick Clifton <nickc@redhat.com> |
36 | ||
004d9caf NC |
37 | * NEWS: New TI port supports both C4x and C3x series of DSPs. |
38 | ||
e09f4395 NC |
39 | * po/tr.po: Updated Turkish translation. |
40 | ||
9dfe7b39 JJ |
41 | 2002-09-11 Jakub Jelinek <jakub@redhat.com> |
42 | ||
43 | * config/tc-i386.c (md_apply_fix3): Allow addend for | |
44 | BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and | |
45 | BFD_RELOC_386_TLS_LE_32. | |
46 | ||
502b19cb JL |
47 | 2002-09-05 Jeff Law <law@redhat.com> |
48 | ||
49 | * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for | |
50 | marker relocations such as ENTRY/EXIT. | |
51 | * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies | |
52 | to both OBJ_ELF and OBJ_SOM. | |
53 | ||
a161fe53 AM |
54 | 2002-09-05 Alan Modra <amodra@bigpond.net.au> |
55 | ||
56 | * doc/internals.texi (md_apply_fix3): Expand. | |
57 | (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS, | |
58 | TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME, | |
59 | TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, | |
60 | TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC, | |
61 | EXTERN_FORCE_RELOC): Document. | |
62 | (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove. | |
63 | * as.h: Don't include struc-symbol.h for arc. | |
64 | (IS_ELF): Define. | |
65 | * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to | |
66 | subtract absolute symbol. | |
67 | * obj.h (struct format_ops): Add frob_file_before_fix. | |
68 | * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag. | |
69 | * symbols.c (S_FORCE_RELOC): New function. | |
70 | * symbols.h (S_FORCE_RELOC): Declare. | |
71 | * write.c (TC_FORCE_RELOCATION): Change default. | |
72 | (TC_FORCE_RELOCATION_ABS): Define. | |
73 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
74 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
75 | (TC_FORCE_RELOCATION_SECTION): Don't define. | |
76 | (TC_FORCE_RELOCATION_SUB_SAME): Define this instead. | |
77 | (TC_FORCE_RELOCATION_SUB_ABS): Define. | |
78 | (TC_FORCE_RELOCATION_SUB_LOCAL): Define. | |
79 | (TC_VALIDATE_FIX_SUB): Define. | |
80 | (TC_FIX_ADJUSTABLE): Don't define. | |
81 | (MD_APPLY_SYM_VALUE): Define this instead. | |
82 | (abs_section_sym): New variable. | |
83 | (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable | |
84 | call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests. | |
85 | Don't put the absolute section sym on fixups here. | |
86 | (fix_segment): New function. | |
87 | (write_relocs): Don't call fixup_segment from here. | |
88 | (write_object_file): Instead call tc_frob_file_before_fix, | |
89 | obj_frob_file_before_fix, and fix_segment prior to symbol table code. | |
90 | Don't output the absolute section symbol. | |
91 | (fixup_segment): Rewrite. | |
92 | * write.h (abs_section_sym): Declare. | |
93 | * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from | |
94 | obj_aout_frob_file. | |
95 | (aout_format_ops): Adjust to suit. | |
96 | * config/obj-aout.h (obj_frob_file): Don't define. | |
97 | (obj_frob_file_before_fix): Define. | |
98 | (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file. | |
99 | (S_FORCE_RELOC): Define. | |
100 | * config/obj-bout.h (S_FORCE_RELOC): Define. | |
101 | * config/obj-coff.c (coff_format_ops): Init new field. | |
102 | * config/obj-coff.h: Formatting fixes. | |
103 | (obj_sec_sym_ok_for_reloc): Define. | |
104 | (S_FORCE_RELOC): Define. | |
105 | * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out .. | |
106 | (ecoff_frob_file): .. from here. | |
107 | (ecoff_format_ops): Add new function. | |
108 | * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare. | |
109 | (obj_frob_file_before_fix): Define. | |
110 | * config/obj-elf.c (elf_format_ops): Init new field. | |
111 | * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment. | |
112 | * config/obj-ieee.h: Formatting fixes. | |
113 | (S_FORCE_RELOC): Define. | |
114 | * config/obj-multi.h (obj_frob_file_before_fix): Define. | |
115 | * config/obj-vms.h (S_FORCE_RELOC): Define. | |
116 | * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment. | |
117 | (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0 | |
118 | for BFD_RELOC_32 and BFD_RELOC_64. | |
119 | (alpha_fix_adjustable): Remove extern and weak tests. | |
120 | (alpha_before_fix): Rename from alpha_adjust_symtab. | |
121 | (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs. | |
122 | * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare. | |
123 | (TC_VALIDATE_FIX): Tweak param name. | |
124 | (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise. | |
125 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
126 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
127 | (MD_APPLY_SYM_VALUE): Define. | |
128 | (tc_adjust_symtab): Don't define. | |
129 | (alpha_adjust_symtab): Don't declare. | |
130 | (tc_frob_file_before_fix): Define. | |
131 | (alpha_before_fix): Declare. | |
132 | (TC_INIT_FIX_DATA): Tweak param names. | |
133 | * config/tc-arc.c: Include "struc-symbol.h". | |
134 | (md_pcrel_from): Remove undefined sym fudge. | |
135 | (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. | |
136 | Don't set fx_addnumber. | |
137 | (tc_gen_reloc): Remove spurious fx_addnumber comment. | |
138 | * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define. | |
139 | (EXTERN_FORCE_RELOC): Define. | |
140 | * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove. | |
141 | (tc_gen_reloc): Fudge ARM_GOTPC addend. | |
142 | (arm_validate_fix): Return void. | |
143 | (arm_fix_adjustable <elf version>): Remove extern and weak tests. | |
144 | Add plt and got reloc tests. | |
145 | (arm_force_relocation): Call S_FORCE_RELOC. | |
146 | * config/tc-arm.h (struct fix): Forward declare. | |
147 | (TC_VALIDATE_FIX): No longer set add_symbolP. | |
148 | (arm_validate_fix): Adjust declaration. | |
149 | (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC. | |
150 | (TC_FORCE_RELOCATION): Tweak param name. | |
151 | (TC_INIT_FIX_DATA): Likewise. | |
152 | (obj_fix_adjustable): Don't define. | |
153 | (tc_fix_adjustable): Call arm_fix_adjustable. | |
154 | (TC_FIX_ADJUSTABLE): Don't define. | |
155 | (MD_APPLY_SYM_VALUE): Define. | |
156 | (EXTERN_FORCE_RELOC): Define. | |
157 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
158 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
159 | * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type. | |
160 | Remove *valP fudges and code to subtract abs sym. Don't set | |
161 | fx_addnumber. | |
162 | * config/tc-avr.h: Formatting. | |
163 | (EXTERN_FORCE_RELOC): Define. | |
164 | (MD_APPLY_SYM_VALUE): Define. | |
165 | * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber. | |
166 | (md_apply_fix3): Remove code to subtract abs sym. | |
167 | (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC. | |
168 | * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name. | |
169 | (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise. | |
170 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
171 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
172 | (tc_fix_adjustable): Remove extern, weak tests. | |
173 | * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of | |
174 | BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber. | |
175 | (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges | |
176 | and code to subtract abs sym. | |
177 | (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests. | |
178 | (d10v_force_relocation): Call S_FORCE_RELOC. | |
179 | * config/tc-d10v.h: Don't include write.h. | |
180 | (struct fix): Instead, forward declare. | |
181 | (MD_PCREL_FROM_SECTION): Tweak param names. | |
182 | (md_pcrel_from_section): Use "struct fix" instead of "fixS". | |
183 | (d10v_fix_adjustable): Likewise. | |
184 | (obj_fix_adjustable): Don't define. | |
185 | (tc_fix_adjustable): Define. | |
186 | (TC_FORCE_RELOCATION): Tweak param name. | |
187 | (MD_APPLY_SYM_VALUE): Define. | |
188 | (EXTERN_FORCE_RELOC): Define. | |
189 | * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber. | |
190 | (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges | |
191 | and code to subtract abs sym. | |
192 | * config/tc-d30v.h: Don't include write.h. | |
193 | (struct fix): Instead, forward declare. | |
194 | (MD_PCREL_FROM_SECTION): Tweak param names. | |
195 | (md_pcrel_from_section): Use "struct fix" instead of "fixS". | |
196 | (MD_APPLY_SYM_VALUE): Define. | |
197 | (EXTERN_FORCE_RELOC): Define. | |
198 | * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC. | |
199 | (md_dlx_fix_adjustable): Don't test for NULL fx_addsy. | |
200 | (md_apply_fix3): No need to test fx_pcrel before setting fx_done. | |
201 | (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. | |
202 | Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. | |
203 | Don't use fx_addnumber. | |
204 | * config/tc-dlx.h: Don't include write.h. | |
205 | (md_convert_frag): We're not alpha twice over. | |
206 | (EXTERN_FORCE_RELOC): Define. | |
207 | (obj_fix_adjustable): Don't define. | |
208 | (tc_fix_adjustable): Define. | |
209 | (TC_FIX_ADJUSTABLE): Don't define. | |
210 | (MD_APPLY_SYM_VALUE): Define. | |
211 | (LOCAL_LABELS_DOLLAR): Undef always. | |
212 | * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC. | |
213 | (fr30_fix_adjustable): Remove extern, weak tests. | |
214 | * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define. | |
215 | (obj_fix_adjustable): Don't define. | |
216 | (tc_fix_adjustable): Define. | |
217 | (struct fix): Forward declare. | |
218 | (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate. | |
219 | * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC. | |
220 | (frv_fix_adjustable): Don't do extern, weak tests. | |
221 | * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define. | |
222 | (TC_FIX_ADJUSTABLE): Don't define. | |
223 | (obj_fix_adjustable): Don't define. | |
224 | (tc_fix_adjustable): Define. | |
225 | (struct fix): Forward declare. | |
226 | (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\ | |
227 | * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type. | |
228 | * config/tc-h8300.h (struct fix): Forward declare. | |
229 | (EXTERN_FORCE_RELOC): Define. | |
230 | * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value. | |
231 | (hppa_fix_adjustable): Don't test extern or weak. Don't | |
232 | symbol_mark_used_in_reloc. | |
233 | (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL | |
234 | and S_IS_WEAK. | |
235 | * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define | |
236 | (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name. | |
237 | (TC_FORCE_RELOCATION_SECTION): Don't define. | |
238 | (MD_APPLY_SYM_VALUE): Define. | |
239 | * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code | |
240 | to subtract abs sym. | |
241 | * config/tc-i370.h: Remove ifdef OBJ_ELF tests. | |
242 | (MD_APPLY_SYM_VALUE): Define. | |
243 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
244 | * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests. | |
245 | (md_apply_fix3): Test fx_addsy, not fx_pcrel. | |
246 | (i386_force_relocation): New function. | |
247 | * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name. | |
248 | (TC_VALIDATE_FIX): Likewise. | |
249 | (TC_FIX_ADJUSTABLE): Don't define. | |
250 | (MD_APPLY_SYM_VALUE): Define. | |
251 | (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation. | |
252 | (i386_force_relocation): Declare. | |
253 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
254 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
255 | (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC. | |
256 | * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type. | |
257 | * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define. | |
258 | (EXTERN_FORCE_RELOC): Define. | |
259 | * config/tc-i960.c (reloc_callj): Remove declaration. Return false. | |
260 | (md_apply_fix3): Don't cast valP pointer type. Move code here from | |
261 | old fixup_segment. No need to test fx_pcrel before setting fx_done. | |
262 | (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro. | |
263 | Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad. | |
264 | Remove #if 0 code. Invert return boolean. | |
265 | * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name. | |
266 | (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise. | |
267 | (tc_headers_hook, tc_coff_fix2rtype): Remove declaration. | |
268 | (tc_coff_sizemachdep): Prototype. | |
269 | (i960_handle_align): Likewise. | |
270 | (i960_validate_fix): Adjust declaration. | |
271 | (reloc_callj): Likewise. | |
272 | (EXTERN_FORCE_RELOC): Define. | |
273 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
274 | (TC_FORCE_RELOCATION_ABS): Define. | |
275 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
276 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
277 | (TC_FIX_ADJUSTABLE): Don't define. | |
278 | (MD_APPLY_SYM_VALUE): Define. | |
279 | * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC. | |
280 | * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define. | |
281 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
282 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
283 | * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC. | |
284 | * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define. | |
285 | (MD_APPLY_SYM_VALUE): Define. | |
286 | (EXTERN_FORCE_RELOC): Define. | |
287 | (TC_FORCE_RELOCATION): Tweak param name. | |
288 | * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC. | |
289 | (m32r_fix_adjustable): Don't test extern, weak. | |
290 | * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name. | |
291 | (MD_APPLY_SYM_VALUE): Define. | |
292 | (obj_fix_adjustable): Don't define. | |
293 | (tc_fix_adjustable): Define. | |
294 | (tc_frob_file): Don't define. | |
295 | (tc_frob_file_before_fix): Define. | |
296 | (EXTERN_FORCE_RELOC): Define. | |
297 | * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust | |
298 | BFD_RELOC_VTABLE_ENTRY address. | |
299 | (tc_m68hc11_force_relocation): Call S_FORCE_RELOC. | |
300 | (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol. | |
301 | (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. | |
302 | Remove duplicated fx_done code. | |
303 | * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define. | |
304 | (EXTERN_FORCE_RELOC): Define. | |
305 | * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test | |
306 | relaxable_symbol. | |
307 | * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name. | |
308 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
a161fe53 AM |
309 | (TC_FIX_ADJUSTABLE): Don't define. |
310 | (EXTERN_FORCE_RELOC): Define. | |
311 | (MD_APPLY_SYM_VALUE): Define. | |
312 | (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. | |
313 | * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type. | |
314 | Remove fx_addsy tests. | |
315 | (mcore_force_relocation): Call S_FORCE_RELOC. | |
316 | (mcore_fix_adjustable): Don't test fx_addsy. | |
317 | * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name. | |
318 | (EXTERN_FORCE_RELOC): Define. | |
319 | (obj_fix_adjustable): Don't define. | |
320 | (tc_fix_adjustable): Define. | |
321 | (MD_APPLY_SYM_VALUE): Define. | |
322 | * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h. | |
323 | (mips_pic): No longer static. | |
324 | (mips_force_relocation): Call S_FORCE_RELOC. | |
325 | (mips_fix_adjustable): Remove extern, weak tests. | |
326 | * config/tc-mips.h (enum mips_pic_level): Declare. | |
327 | (mips_pic): Declare. | |
328 | (tc_frob_file): Don't define. | |
329 | (tc_frob_file_before_fix): Define this instead. | |
330 | (EXTERN_FORCE_RELOC): Define. | |
331 | * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests | |
332 | with reg_section tests. Set fx_done instead of calling | |
333 | symbol_clear_used_in_reloc on bad relocs. | |
334 | (tc_gen_reloc): Zero fx_addsy on bad relocs. | |
335 | (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC. | |
336 | (mmix_adjust_symtab): Simplify list handling. Abort on any | |
337 | nonsense. | |
338 | * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check | |
339 | BFD_RELOC_MMIX_LOCAL. | |
340 | (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt. | |
341 | (EXTERN_FORCE_RELOC): Define. | |
342 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
343 | (tc_frob_file): Don't define. | |
344 | (tc_frob_file_before_fix): Define this instead. | |
345 | * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC. | |
346 | Remove SEC_CODE checks. | |
347 | (mn10300_fix_adjustable): Remove extern and weak tests. | |
348 | * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define. | |
349 | (TC_FORCE_RELOCATION): Tweak param name. | |
350 | (obj_fix_adjustable): Don't define. | |
351 | (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE. | |
352 | * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name. | |
353 | * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC. | |
354 | (openrisc_fix_adjustable): Don't test fx_addsy. | |
355 | * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define. | |
356 | (obj_fix_adjustable): Don't define. | |
357 | (tc_fix_adjustable): Define this instead. | |
358 | (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. | |
359 | * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type. | |
360 | (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. | |
361 | Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. | |
362 | * config/tc-or32.h (EXTERN_FORCE_RELOC): Define. | |
363 | (MD_APPLY_SYM_VALUE): Define. | |
364 | * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type. | |
365 | Don't subtract symbol value. | |
366 | * config/tc-pj.h (md_pcrel_from): Tweak param name. | |
367 | (EXTERN_FORCE_RELOC): Define. | |
368 | (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. | |
369 | (MD_APPLY_SYM_VALUE): Define. | |
370 | (obj_fix_adjustable): Don't define. | |
371 | (tc_fix_adjustable): Define this instead. | |
372 | * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute | |
373 | section sym. | |
374 | (ppc_force_relocation <coff version>): Call S_FORCE_RELOC. | |
375 | (ppc_force_relocation <elf version>): New. | |
376 | (ppc_fix_adjustable <elf version>): Remove extern and weak tests. | |
377 | (md_apply_fix3): Don't subtract symbol values for ELF. Update | |
378 | comments. Don't subtract fx_subsy as that is already done. | |
379 | * config/tc-ppc.h (tc_fix_adjustable): Tweak param name. | |
380 | (MD_PCREL_FROM_SECTION): Likewise. | |
381 | (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling | |
382 | ppc_force_relocation. | |
383 | (TC_FORCE_RELOCATION_SECTION): Delete. | |
384 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
385 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
386 | (MD_APPLY_SYM_VALUE): Define. | |
387 | * config/tc-s390.c: #include "dwarf2dbg.h". | |
388 | (s390_insn): Remove excess parens. | |
389 | (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests. | |
390 | (tc_s390_force_relocation): Call S_FORCE_RELOC. | |
391 | (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy | |
392 | non-NULL. Don't subtract off fx_addsy value. | |
393 | * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
394 | (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. | |
395 | (TC_FIX_ADJUSTABLE): Don't define. | |
396 | (MD_APPLY_SYM_VALUE): Define. | |
397 | * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h. | |
398 | (SWITCH_TABLE): Likewise. | |
399 | (sh_force_relocation): Call S_FORCE_RELOC. | |
400 | (sh_fix_adjustable): Remove "return 1" cases handled by the default. | |
401 | Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests. | |
402 | (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify, | |
403 | fx_addnumber is zero on entry. Save val in fx_addnumber. | |
404 | (tc_gen_reloc): Don't subtract fx_subsy. | |
405 | * config/tc-sh.h (struct fix): Move. | |
406 | (obj_fix_adjustable): Don't define. | |
407 | (tc_fix_adjustable): Define this instead. | |
408 | (TC_FIX_ADJUSTABLE): Don't define. | |
409 | (MD_APPLY_SYM_VALUE): Define. | |
410 | (SWITCH_TABLE_CONS): Define. | |
411 | (SWITCH_TABLE): Define. | |
412 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
413 | (TC_VALIDATE_FIX_SUB): Define. | |
414 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
415 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
416 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
417 | (TC_FORCE_RELOCATION_SUB_ABS): Define. | |
418 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
419 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
420 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
421 | (TC_VALIDATE_FIX_SUB): Define. | |
422 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
423 | * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value. | |
424 | (tc_gen_reloc): Use S_FORCE_RELOC. | |
425 | (elf32_sparc_force_relocation): Call S_FORCE_RELOC. | |
426 | * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove. | |
427 | (TC_FORCE_RELOCATION_ABS): Define this instead. | |
428 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
429 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
430 | (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC. | |
431 | (MD_APPLY_SYM_VALUE): Define. | |
432 | (TC_FIX_DATA_PRINT): Tweak param name. | |
433 | * config/tc-tic30.c (USE_STDOUT): Don't define. | |
434 | (md_parse_option): Remove stupid debug code. | |
435 | (tc_gen_reloc): Don't use fx_addnumber. | |
436 | * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests. | |
437 | (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC. | |
438 | * config/tc-v850.h (obj_fix_adjustable): Don't define. | |
439 | (tc_fix_adjustable): Define this instead. | |
440 | (TC_FIX_ADJUSTABLE): Don't define. | |
441 | (MD_APPLY_SYM_VALUE): Define this instead. | |
442 | (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. | |
443 | * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
444 | (TC_FIX_ADJUSTABLE): Don't define. | |
445 | (MD_APPLY_SYM_VALUE): Define this instead. | |
446 | (tc_fix_adjustable): Remove extern and weak tests. | |
447 | * config/tc-w65.h (struct fix): Forward declare. | |
448 | * config/tc-xstormy16.c (xstormy16_force_relocation): Call | |
449 | S_FORCE_RELOC. | |
450 | (xstormy16_fix_adjustable): Remove extern and weak tests. Don't | |
451 | call xstormy16_force_relocation; Instead test for FPTR16 reloc. | |
452 | (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract | |
453 | absolute symbol. | |
454 | * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define. | |
455 | (MD_APPLY_SYM_VALUE): Define. | |
456 | (obj_fix_adjustable): Don't define. | |
457 | (tc_fix_adjustable): Define this instead. | |
458 | (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. | |
459 | ||
2a98c3a6 AM |
460 | 2002-09-04 Alan Modra <amodra@bigpond.net.au> |
461 | ||
b782de16 AM |
462 | * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix. |
463 | (ppc_fix_adjustable <coff version>): Cleanup. | |
464 | ||
2a98c3a6 AM |
465 | * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning. |
466 | (md_parse_option): No -a64 without BFD64. | |
467 | (ppc_set_cpu): Select appropriate cpu when ppc_obj64. | |
468 | (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000. | |
469 | ||
341026c1 NC |
470 | 2002-09-04 Nick Clifton <nickc@redhat.com> |
471 | ||
472 | * config/tc-ppc.c (md_begin): Do not insert non-BookE32 | |
473 | instructions into the hash table if the target cpu is the BookE32. | |
474 | ||
a6bd2a4f HPN |
475 | 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com> |
476 | ||
477 | * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not | |
478 | ATTRIBUTE_UNUSED. | |
479 | ||
86aba9db NC |
480 | 2000-08-28 Catherine Moore <clm@redhat.com> |
481 | ||
482 | * tc-v850.c (v850_relax): Declare. | |
483 | (v850_longcode): New routine. | |
484 | (v850_handle_align): New routine. | |
485 | (md_pseudo_table): Add longcall and longjump. | |
486 | (md_parse_option): Check for relax option. | |
487 | (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL, | |
488 | BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN. | |
489 | (md_apply_fix3): Likewise. | |
490 | (v850_force_relocation): Likewise. | |
491 | (v850_comm): Change the current section. | |
e4512afa | 492 | (md_assemble): Ensure that the correct value is put in the |
86aba9db NC |
493 | fixup. |
494 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
495 | v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping. | |
e4512afa | 496 | Remove redundant v850ea support. |
86aba9db NC |
497 | * tc-v850.h (HANDLE_ALIGN): Define. |
498 | (v850_handle_align): Declare. | |
499 | * doc/c-v850.c: Document -mrelax, .longcall and .longjump. | |
500 | ||
026df7c5 NC |
501 | 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> |
502 | ||
503 | * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets. | |
504 | * configure: Regenerate. | |
505 | * NEWS: Mention new port. | |
506 | ||
507 | 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
508 | ||
509 | * config/obj-coff.c: Add sdef definition. | |
510 | * config/obj-coff.h: Add tic4x include file and set | |
511 | target format. | |
512 | * config/tc-tic4x.c: New file. | |
513 | * config/tc-tic4x.h: New file. | |
514 | ||
4252e537 AM |
515 | 2002-08-28 Alan Modra <amodra@bigpond.net.au> |
516 | ||
df44284e AM |
517 | * write.c (BFD_FAST_SECTION_FILL): Remove unused macro. |
518 | (TC_ADJUST_RELOC_COUNT): Tweak param name. | |
519 | (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise. | |
520 | (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise. | |
521 | (RELOC_ENUM): Define. | |
522 | (fix_new_internal): Use RELOC_ENUM. | |
523 | (fix_new, fix_new_exp): Likewise. | |
524 | (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL. | |
525 | Replace gotos with continue. | |
526 | (write_relocs): Formatting. Avoid symbol loops in | |
527 | RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange | |
528 | errors, and error number in other cases. | |
529 | (fixup_segment): Remove param names from prototype. Rename | |
530 | "this_segment_type" to "this_segment". Update linkrelax comment. | |
531 | Remove "size, "place" and "where" local vars. Formatting. Update | |
532 | "no symbol" comment. Remove #if 0 and #if 1. | |
533 | ||
4252e537 AM |
534 | * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy. |
535 | ||
70658493 AM |
536 | 2002-08-27 Alan Modra <amodra@bigpond.net.au> |
537 | ||
538 | * dwarf2dbg.c: Always include dwarf2dbg.h. | |
539 | (dwarf2_directive_file): Adjust dummy version args. | |
540 | * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED. | |
541 | * expr.c (clean_up_expression <O_subtract>): Allow subtraction | |
542 | when symbol values differ. | |
543 | * read.c (do_align): Add ATTRIBUTE_UNUSED to label. | |
544 | (pseudo_set <O_subtract>): Remove unnecessary segment test. | |
545 | * config/obj-bout.c (obj_pseudo_table): Warning fix. | |
546 | ||
a2199cc1 AM |
547 | 2002-08-26 Alan Modra <amodra@bigpond.net.au> |
548 | ||
549 | * config/tc-w65.c (md_section_align): Fix typo. | |
550 | (md_parse_option): Return 0, not 1. | |
551 | ||
ececec60 NC |
552 | 2002-08-22 Nick Clifton <nickc@redhat.com> |
553 | ||
554 | * doc/as.texinfo (Section): Note that if '@' is a comment | |
555 | character then another symbol is used to prefix the section's | |
556 | type. | |
557 | ||
14899840 NC |
558 | 2002-08-22 Christian Groessler <chris@groessler.org> |
559 | ||
560 | * config/tc-z8k.c (get_operands): Adjust ptr variable also in | |
561 | "case 0" case. | |
562 | ||
ed71e111 NC |
563 | 2002-08-12 Graeme Peterson <gp@qnx.com> |
564 | ||
565 | * configure.in: Add support for sh-**-nto* target. | |
566 | * configure: Regenerate. | |
567 | ||
dfe0d3fe JL |
568 | 2002-08-21 Nitin Gupta <niting@noida.hcltech.com> |
569 | ||
570 | * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. | |
571 | ||
dc1d03fc EZ |
572 | 2002-08-21 Elena Zannoni <ezannoni@redhat.com> |
573 | ||
70658493 AM |
574 | * config/tc-ppc.c (ppc_cleanup): Do something only if format |
575 | is ELF. | |
576 | (ppc_apuinfo_section_add): Define only if format is ELF. | |
577 | (md_assemble): Emit APUinfo section only if format is ELF. | |
578 | Fix formatting. | |
dc1d03fc | 579 | |
9f1838ed AM |
580 | 2002-08-21 Alan Modra <amodra@bigpond.net.au> |
581 | ||
70658493 | 582 | * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast. |
9f1838ed AM |
583 | * config/tc-frv.c: Likewise. |
584 | * config/tc-hppa.c: Likewise. | |
585 | * config/tc-ia64.c: Likewise. | |
586 | * config/tc-ip2k.c: Likewise. | |
587 | * config/tc-m68hc11.c: Likewise. | |
588 | * config/tc-m68k.c: Likewise. | |
589 | * config/tc-mmix.c: Likewise. | |
590 | * config/tc-mn10300.c: Likewise. | |
591 | * config/tc-sh.c: Likewise. | |
592 | * config/tc-sparc.c: Likewise. | |
593 | * config/tc-v850.c: Likewise. | |
594 | ||
483fc7cd RS |
595 | 2002-08-20 Richard Sandiford <rsandifo@redhat.com> |
596 | ||
597 | * config/tc-mips.c (macro2): Implement rotates by zero using shifts | |
598 | by zero. | |
599 | ||
6a0c61b7 EZ |
600 | 2002-08-19 Elena Zannoni <ezannoni@redhat.com> |
601 | ||
70658493 | 602 | From matthew green <mrg@redhat.com> |
6a0c61b7 | 603 | |
70658493 AM |
604 | * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere |
605 | PPC_OPCODE_PPC is, except for BookE architectures. | |
606 | (md_parse_option): Add support for -mspe. | |
607 | (md_show_usage): Add -mspe. | |
608 | (md_parse_option): Add support for -me500 and | |
609 | -me500x2 to generate code for Motorola e500 core complex. | |
610 | (md_show_usage): Add -me500 and -me500x2. | |
6a0c61b7 | 611 | |
70658493 AM |
612 | (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI, |
613 | PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS, | |
614 | PPC_APUINFO_BRLOCK): New macros. | |
6a0c61b7 | 615 | |
70658493 AM |
616 | (ppc_cleanup): New function. |
617 | (ppc_apuinfo_section_add): New function. | |
618 | (APUID): New macro. | |
619 | (md_assemble): Collect info and write the APUinfo section. | |
6a0c61b7 | 620 | |
70658493 AM |
621 | * config/tc-ppc.h (md_cleanup): Define. |
622 | (ppc_cleanup): Export. | |
623 | (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section. | |
6a0c61b7 | 624 | |
cca86cc8 SC |
625 | 2002-08-17 Stan Cox <scox@redhat.com> |
626 | ||
627 | * config/obj-elf.c (obj_elf_change_section): Make non-static. | |
628 | config/tc-mips.c (s_change_section): New function to support | |
629 | IRIX .section pseudo-op. | |
630 | ||
50b15da2 NC |
631 | 2002-08-16 Nick Clifton <nickc@redhat.com> |
632 | ||
633 | * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f". | |
634 | ||
f21f8242 AO |
635 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> |
636 | ||
637 | * config/tc-mips.c (macro_build_jalr): Make sure we generate | |
638 | the fix-up against on the right frag. | |
639 | (s_cpsetup): Likewise. Parse third argument as expression, to | |
640 | handle global symbols and forward/backward labels correctly. | |
641 | ||
11f45fb5 NC |
642 | 2002-08-14 Nick Clifton <nickc@redhat.com> |
643 | ||
8ac9ba6c NC |
644 | * read.c (stringer): Catch attempts to create strings in the abs |
645 | section. | |
646 | ||
11f45fb5 NC |
647 | * config/tc-alpha.c: Fix compiling for COFF targets. |
648 | Some minor formatting tidyups. | |
649 | ||
e371935f SC |
650 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
651 | ||
652 | * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove. | |
653 | (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag | |
654 | according to the reloc. | |
655 | (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define. | |
656 | (TC_FORCE_RELOCATION): Define. | |
657 | (tc_m68hc11_force_relocation): Declare. | |
658 | ||
659 | * config/tc-m68hc11.c (md_pseudo_table): Add relax command. | |
660 | (s_m68hc11_relax): New function for relax group. | |
70658493 | 661 | (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at |
e371935f SC |
662 | beginning of jump instruction. |
663 | (md_pcrel_from): Rename from md_pcrel_from_section and fix | |
664 | address computation. | |
665 | (tc-gen_reloc): Update. | |
70658493 | 666 | (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as |
e371935f SC |
667 | PC-relative fixup. |
668 | (tc_m68hc11_force_relocation): New function, handle new relocs. | |
669 | (tc_m68hc11_fix_adjustable): New to make sure there are enough | |
670 | reloc for the linker relax pass. | |
671 | (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP | |
672 | and VTABLE relocs. | |
673 | ||
eb086b59 SC |
674 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
675 | ||
676 | * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function. | |
677 | (md_pseudo_table): Add .mode, .far and .interrupt pseudo op. | |
678 | (s_m68hc11_mode): New function for .mode pseudo op. | |
679 | (s_m68hc11_mark_symbol): New function for .far and .interrupt | |
680 | pseudo op. | |
681 | * config/tc-m68hc11.h (elf_tc_final_processing): Define. | |
682 | (m68hc11_elf_final_processing): Declare. | |
683 | ||
7bfda7eb SC |
684 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
685 | ||
686 | * config/tc-m68hc11.c (md_begin): Take into account additional | |
687 | page operand for call instruction. | |
688 | (print_opcode_format): Likewise. | |
689 | (check_range): Likewise for page range checking. | |
690 | (get_operand): Don't skip a possible comma in operands. | |
691 | (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc. | |
692 | (fixup16): Likwise with BFD_RELOC_M68HC11_LO16. | |
693 | (fixup24): New to handle call reloc. | |
694 | (build_insn): Handle missing page operand for call instruction. | |
695 | (find): Likewise. | |
696 | (md_apply_fix3): Take into account new relocs. | |
697 | (get_operand): Fix the mode for indexed indirect addressing. | |
698 | (build_indexed_byte): Fix post index byte for indexed indirect mode. | |
699 | ||
fdb987ee RS |
700 | 2002-08-12 Richard Sandiford <rsandifo@redhat.com> |
701 | ||
702 | * config/tc-mips.c (mips_ip): Don't work out the value of | |
703 | constant %hi()s here. | |
704 | ||
31312f95 AM |
705 | 2002-08-10 Alan Modra <amodra@bigpond.net.au> |
706 | ||
707 | * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR | |
708 | for ELF, and don't bother checking ELF relocs when non-ELF. | |
709 | (i386_immediate): Allow absolute_section expressions for aout. | |
710 | (i386_displacement): Likewise. Also test bfd_is_com_section. | |
711 | (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF. | |
712 | (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel, | |
713 | not when fx_addsy. Remove dead code. | |
714 | ||
59bc061d NC |
715 | 2002-08-09 Graeme Peterson <gp@qnx.com> |
716 | ||
717 | * configure.in: Add support for ppc-*-nto* target. | |
718 | * configure: Regenerate. | |
70658493 | 719 | |
6088b00e AM |
720 | 2002-08-09 Alan Modra <amodra@bigpond.net.au> |
721 | ||
722 | * config/tc-i386.h: Reorganize. | |
723 | ||
0c11417f MR |
724 | 2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
725 | ||
726 | * config/tc-mips.c (macro): Handle a register plus a 16-bit | |
727 | immediate offset in "dla" and "la" expansions. | |
728 | ||
79500683 AM |
729 | 2002-08-09 Alan Modra <amodra@bigpond.net.au> |
730 | ||
731 | * configure.in: bfd_gas=yes for all i386 targets. Formatting. | |
732 | Remove "bfd_gas=yes" from target table when covered later. | |
733 | Consolidate some entries. | |
734 | * configure: Regenerate | |
735 | ||
2bbd9c25 JJ |
736 | 2002-08-09 Jakub Jelinek <jakub@redhat.com> |
737 | ||
738 | * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix () | |
739 | at start of insn, pass it to output_disp and output_imm. | |
740 | (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen | |
741 | in displacement for R_386_32 reloc, use R_386_GOTPC and compute | |
742 | properly addend. | |
743 | (output_imm): Added arguments. Compute properly addend for | |
744 | R_386_GOTPC. | |
745 | (md_apply_fix3): Remove R_386_GOTPC handling. | |
746 | * testsuite/gas/i386/gotpc.s: New. | |
747 | * testsuite/gas/i386/gotpc.d: New. | |
748 | * testsuite/gas/i386/i386.exp: Add gotpc test. | |
749 | ||
dbac4f5b RH |
750 | 2002-08-06 George France <france@handhelds.org> |
751 | ||
752 | * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a | |
753 | and m21264b processor names and cpu types. | |
754 | * doc/c-alpha.texi: Documented new types. | |
755 | ||
95210096 AM |
756 | 2002-08-06 Alan Modra <amodra@bigpond.net.au> |
757 | ||
758 | * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset. | |
759 | ||
98605598 RS |
760 | 2002-08-01 Richard Sandiford <rsandifo@redhat.com> |
761 | ||
762 | * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend | |
763 | handling to BFD_RELOC_MIPS16_GPREL. | |
764 | ||
08df2379 NC |
765 | 2002-08-01 Nick Clifton <nickc@redhat.com> |
766 | ||
767 | * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal | |
768 | pool is computed using signed arithmetic so that proper sign | |
769 | extension is performed if X_add_number is a 64-bit integer. | |
770 | ||
70ee4658 DJ |
771 | 2002-08-01 H.J. Lu <hjl@gnu.org> |
772 | Daniel Jacobowitz <drow@mvista.com> | |
773 | ||
774 | * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced | |
775 | .debug_line section unless it has line information. | |
776 | ||
4eb6b71c NC |
777 | 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
778 | ||
779 | * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype. | |
780 | * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage): | |
781 | Allow default displacement size to be an option "--disp-size-default". | |
782 | (md_number_to_disp): Make error messages include value. Use %d to | |
783 | print integers, not %s. | |
784 | (fix_new_ns32k): Conditionally set fx_no_overflow so we don't | |
785 | get duplicate messages sometimes. | |
786 | (convert_iif): Grow frag to max possible instruction size. Avoid | |
787 | creating unnecessary fixes. | |
788 | (md_number_to_field) Add prototype. | |
789 | (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add | |
790 | prototypes and make static. | |
791 | (struct addr_mode): Make mode and scaled_mode explicitly signed. | |
792 | (evaluate_expr): Use resultP argument instead of exprP global. | |
793 | (get_addr_mode): Quiten compiler warnings. | |
794 | (encode_operand): eliminate unused variables. Quiten compiler | |
795 | warnings. Eliminate nul character in format strings. | |
796 | (parse): argc is unsigned. | |
797 | (reloc): Type cast index to quieten compiler. | |
798 | (md_pcrel_adjust, md_apply_fix3): Remove unused variable. | |
799 | (md_convert_frag): Note unused parameters. Remove unused | |
800 | variables. | |
801 | (md_create_long_jump, md_create_short_jump, | |
802 | md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note | |
803 | unused parameters. | |
70658493 | 804 | |
500800ca NC |
805 | 2002-07-31 Nick Clifton <nickc@redhat.com> |
806 | ||
807 | * NEWS: Retroactively add entry for Lars Brinkhoff's contribution | |
808 | of the PDP-11 and 2.11BSD a.out support. | |
809 | ||
03223580 NC |
810 | 2002-07-31 Momchil Velikov <velco@fadata.bg> |
811 | ||
812 | * config/tc-v850.c (md_assemble): Fix range check for immediate | |
813 | operand. | |
814 | ||
c7a23324 CD |
815 | 2002-07-30 Chris Demetriou <cgd@broadcom.com> |
816 | ||
817 | * config/tc-mips.c (mips_cpu_info_table): Clean up entries related | |
818 | to Broadcom SB-1 core support. | |
819 | ||
cfe86eaa TS |
820 | 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
821 | ||
822 | * config/tc-mips.c (mips_target_format): Fix formatting. | |
823 | Add recognition of n32 ABI formats. | |
824 | ||
460597ba MR |
825 | 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
826 | ||
827 | * tc-mips.c (load_address): Don't clobber $at when loading a | |
828 | 64-bit address in non-PIC code if noat is in effect. | |
829 | (macro): Likewise. | |
830 | ||
9bd7d936 MR |
831 | 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
832 | ||
833 | * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions | |
834 | used in division/multiply macro expansions similarly to how they | |
835 | are used in the variants with break instructions. | |
836 | (macro2): Likewise. | |
837 | ||
7e392df6 NC |
838 | 2002-07-30 Graeme Peterson <gp@qnx.com> |
839 | ||
840 | * configure.in: Add support for arm-*-nto target. | |
841 | * configure: Regenerate. | |
70658493 | 842 | |
3d0c9500 NC |
843 | 2002-07-30 Nick Clifton <nickc@redhat.com> |
844 | ||
845 | * config/tc-arm.c (struct literal_pool): Add fields to allow | |
846 | multiple literal pools to be maintained. | |
847 | (find_literal_pool): New function. | |
848 | (find_or_make_literal_pool): New function. | |
849 | (add_to_literal_pool): Use find_or_make_literal_pool. | |
6088b00e | 850 | (arm_s_text, arm_s_data, arm_s_section): Remove - no longer |
3d0c9500 NC |
851 | needed. |
852 | (s_ltorg): Use find_literal_pool. | |
853 | (arm_cleanup): Dump all literal pools. | |
6088b00e | 854 | * doc/c-arm.texi: Document new behaviour of only dumping literal |
3d0c9500 NC |
855 | pools upon request. |
856 | ||
dfff24c9 AM |
857 | 2002-07-26 Alan Modra <amodra@bigpond.net.au> |
858 | ||
859 | * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default | |
860 | rather than PPC_OPCODE_32 for powerpc64*. | |
861 | ||
219576a4 NC |
862 | 2002-07-25 Nick Clifton <nickc@redhat.com> |
863 | ||
864 | * po/es.po: Updated Spanish translation. | |
865 | * po/fr.po: Updated French translation. | |
866 | ||
316f5878 RS |
867 | 2002-07-25 Richard Sandiford <rsandifo@redhat.com> |
868 | ||
869 | * doc/c-mips.texi: Remove -mcpu. Document -mabi. | |
870 | * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro. | |
871 | (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros. | |
872 | * configure, config.in: Regenerate. | |
873 | * config/tc-mips.c (file_mips_abi): Rename to mips_abi. | |
874 | (mips_set_options): Remove "abi" field. | |
875 | (mips_opts): Update accordingly. Replace all uses of mips_opts.abi | |
876 | with mips_abi. | |
877 | (mips_cpu): Remove. | |
878 | (mips_arch_string, mips_arch_info): New vars. | |
879 | (mips_tune_string, mips_tune_info): New vars. | |
880 | (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros. | |
881 | (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI. | |
882 | (mips_isa_to_str, mips_cpu_to_str): Remove. | |
883 | (mips_ip): If the selected architecture is a generic ISA rather | |
884 | than a processor, only mention the ISA level in error messages. | |
885 | (OPTION_MCPU): Remove. | |
886 | (OPTION_FP64): New. | |
887 | (md_longopts): Add -mfp64, remove -mcpu. | |
888 | (mips_set_option_string): New fn. | |
889 | (md_parse_option): Make -mipsN update file_mips_isa rather than | |
890 | mips_opts.isa. Use mips_set_option_string to set -march or -mtune. | |
891 | Don't let -mgp32 and -mfp32 change the ABI. | |
892 | (show): Move to end of file. Constify string argument. | |
893 | (md_show_usage): Move to the end of the file. Read available | |
894 | architectures from mips_cpu_info_table. | |
895 | (mips_set_architecture): New fn. | |
896 | (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN | |
897 | is an alias for -march=mipsN. Don't change the ABI based on other | |
898 | flags. Infer the register size from the ABI as well as the | |
899 | architecture. Complain about more conflicting arguments. | |
900 | Unify logic with GCC. | |
901 | (s_mipsset): Don't change the ABI. | |
902 | (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32. | |
903 | (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just | |
904 | "mipsN"-type entries. Remove entries that vary only in the | |
905 | manufacturer's prefix, or that have "000" replaced by "k". | |
906 | Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000. | |
907 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. | |
908 | (mips_parse_cpu): New fn. | |
909 | (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove. | |
910 | (mips_cpu_info_from_isa): Minor formatting tweak. | |
911 | ||
ff3063f5 NC |
912 | 2002-07-24 Nick Clifton <nickc@redhat.com> |
913 | ||
914 | * po/sv.po: Updated Swedish translation. | |
915 | * po/es.po: Updated Spanish translation. | |
916 | ||
55eab186 AM |
917 | 2002-07-23 Alan Modra <amodra@bigpond.net.au> |
918 | ||
919 | * Makefile.am: Run "make dep-am". | |
920 | * Makefile.in: Regenerate. | |
921 | * doc/Makefile.in: Regenerate. | |
922 | * config.in: Regenerate. | |
923 | * po/POTFILES.in: Regenerate. | |
924 | ||
0461a601 NC |
925 | 2002-07-23 Nick Clifton <nickc@redhat.com> |
926 | ||
ff3063f5 | 927 | * po/fr.po: Updated French translation. |
0461a601 | 928 | |
ee8929cf NC |
929 | 2002-07-23 Nick Clifton <nickc@redhat.com> |
930 | ||
931 | * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for | |
932 | GAS. | |
933 | ||
bad9ca53 TS |
934 | 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
935 | ||
936 | * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL | |
937 | instead of S_IS_EXTERN. | |
938 | (md_estimate_size_before_relax): Likewise. | |
939 | (mips_fix_adjustable): Likewise. | |
940 | ||
a37de3d3 TS |
941 | 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
942 | ||
943 | * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC. | |
944 | ||
8dfa0188 | 945 | 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz> |
dfff24c9 | 946 | Nick Clifton <nickc@redhat.com> |
8dfa0188 NC |
947 | |
948 | * cond.c (s_ifdef): Treat a referenced but not yet defined | |
949 | symbol as if it were undefined, in exactly the same way as | |
950 | .equiv. | |
951 | ||
dfff24c9 AM |
952 | * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv |
953 | consider referenced bug not yet defined symbols to be | |
954 | undefined. | |
8dfa0188 | 955 | |
a40cbfa3 NC |
956 | 2002-07-18 Denis Chertykov <denisc@overta.ru> |
957 | Frank Ch. Eigler <fche@redhat.com> | |
958 | Alan Lehotsky <alehotsky@cygnus.com> | |
959 | John Healy <jhealy@redhat.com> | |
960 | Jeff Johnston <jjohnstn@redhat.com> | |
961 | ||
962 | * configure.in: Add ip2k configuraton. | |
963 | * configure: Regenerate. | |
964 | * Makefile.am: Add ip2k configuraton. | |
965 | * Makefile.in: Regenerate. | |
966 | * configure: Regenerate. | |
967 | * Makefile.in: Regenerate. | |
968 | * config/tc-ip2k.c: New file. | |
969 | * config/tc-ip2k.h: New files. | |
970 | * NEWS: Mention new support. | |
971 | * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi. | |
972 | * doc/Makefile.in: Regenerate. | |
973 | * doc/all.texi: Set IP2K | |
974 | * doc/as.texinfo: Add IP2K description. | |
975 | * doc/c-ip2k.texi: New file. | |
dfff24c9 | 976 | |
a40cbfa3 NC |
977 | 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com> |
978 | ||
979 | * NEWS: Reformat to match style of other NEWS files. | |
dfff24c9 | 980 | |
a40cbfa3 | 981 | 2002-07-17 Jan Hubicka <jh@suse.cz> |
33fef721 JH |
982 | |
983 | * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers. | |
984 | ||
25d3fb58 AM |
985 | 2002-07-16 Moritz Jodeit <moritz@jodeit.org> |
986 | ||
987 | * config/tc-z8k.c (build_bytes): Correct order of memset args. | |
988 | ||
2cbb2eef NC |
989 | 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com> |
990 | ||
991 | * NEWS: Add 'Changes in 2.13'. | |
992 | ||
da06c61e AM |
993 | 2002-07-15 Matt Fredette <fredette@netbsd.org> |
994 | ||
995 | * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD. | |
996 | ||
9146926a AM |
997 | 2002-07-12 Alan Modra <amodra@bigpond.net.au> |
998 | ||
999 | * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte | |
1000 | case with non CODE_64BIT case. Don't warn on "qword ptr" if | |
1001 | not CODE_64BIT. | |
1002 | ||
2b3c4602 AM |
1003 | 2002-07-11 Alan Modra <amodra@bigpond.net.au> |
1004 | ||
7e8d4ab4 AM |
1005 | * config/tc-ppc.c (ppc_elf_frob_symbol): Delete. |
1006 | (ppc_frob_file_before_adjust): New function. | |
1007 | * config/tc-ppc.h (tc_frob_symbol): Don't define. | |
1008 | (ppc_elf_frob_symbol): Don't declare. | |
1009 | (tc_frob_file_before_adjust): Define. | |
1010 | (ppc_frob_file_before_adjust): Declare. | |
1011 | ||
2b3c4602 AM |
1012 | * config/tc-ppc.c (md_pseudo_table): Warning fix. |
1013 | (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode | |
1014 | flags. | |
1015 | (ppc_size): Delete. | |
1016 | (ppc_xcoff64): Rename to ppc_obj64. | |
1017 | (md_parse_option <m>): Encode old ppc_size value in ppc_cpu. | |
1018 | (ppc_set_cpu): Set PPC_OPCODE_32 too. | |
1019 | (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64 | |
1020 | or bfd_mach_ppc. | |
1021 | (ppc_target_format): Use ppc_obj64 to select format. | |
1022 | (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu. | |
1023 | (ppc_insert_operand): Use ppc_obj64 instead of ppc_size. | |
1024 | (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE. | |
1025 | (tc_frob_symbol): Likewise. | |
1026 | (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on | |
1027 | BFD_DEFAULT_TARGET_SIZE. | |
1028 | (ppc_tc): Likewise. | |
1029 | (ppc_is_toc_sym): Likewise. | |
1030 | (md_apply_fix3): Likewise. | |
1031 | * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on | |
1032 | BFD_DEFAULT_TARGET_SIZE. | |
1033 | (ELF_TC_SPECIAL_SECTIONS): Likewise. | |
1034 | (tc_frob_symbol): Likewise. | |
1035 | ||
aec421e0 TS |
1036 | 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1037 | ||
1038 | * config/tc-mips.c (macro_build): Handle MIPS16 insns. | |
1039 | (mips_ip): Likewise. | |
1040 | ||
c6682705 AM |
1041 | 2002-07-09 Alan Modra <amodra@bigpond.net.au> |
1042 | ||
1043 | * config/tc-i386.c (md_pseudo_table <file>): Warning fix. | |
1044 | (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD. | |
1045 | (md_apply_fix3): Formatting. Remove redundant test. | |
1046 | (tc_gen_reloc): Remove redundant code. | |
1047 | (tc_i386_force_relocation): Delete. Movy body of function to.. | |
1048 | * config/tc-i386.h (TC_FORCE_RELOCATION): .. here. | |
1049 | ||
03111e83 AM |
1050 | 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> |
1051 | ||
1052 | * configure.in: Add hppa-*-openbsd* target, change | |
1053 | alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd* | |
1054 | with sparc64 cpu. | |
1055 | * configure: Regenerate. | |
1056 | ||
78d32a17 MR |
1057 | 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1058 | ||
1059 | * config/tc-mips.c (macro): Shift the 32-bit address range | |
1060 | accessible with a lone "lui" down by 32768. | |
1061 | ||
3a482fd5 MR |
1062 | 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1063 | ||
1064 | * config/tc-mips.c (load_address): Use non-trapping "daddu" | |
1065 | instead of "dadd" in address calculations. | |
1066 | (macro): Likewise. | |
1067 | ||
cd61ebfe AM |
1068 | 2002-07-08 Alan Modra <amodra@bigpond.net.au> |
1069 | ||
1070 | * config/tc-i386.c (process_suffix): Remove intel mode movsx and | |
1071 | movzx fudges. | |
1072 | (md_assemble): Instead, zap the suffix here. | |
1073 | ||
a5d3c309 NC |
1074 | 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com> |
1075 | ||
1076 | * NEWS: Remove next release number until the release is actually | |
1077 | upon us. | |
1078 | ||
ce4f7385 AM |
1079 | 2002-07-03 Alan Modra <amodra@bigpond.net.au> |
1080 | ||
1081 | * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. | |
1082 | Run "make dep-am". | |
1083 | * Makefile.in: Regenerate. | |
1084 | ||
148b4c7a MS |
1085 | 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1086 | ||
1087 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment | |
1088 | to symbols in merge sections, even non pc-relative ones. | |
1089 | ||
2916066e SC |
1090 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
1091 | ||
1092 | * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning. | |
1093 | ||
96e87417 SC |
1094 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
1095 | ||
1096 | * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections | |
1097 | .softregs and .eeprom. | |
1098 | ||
83518699 DB |
1099 | 2002-06-28 David O'Brien <obrien@FreeBSD.org> |
1100 | ||
1101 | * NEWS: Note the next release is 2.13. | |
1102 | ||
6c6783ff NC |
1103 | 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com> |
1104 | ||
1105 | * po/tr.po: New translation imported. | |
1106 | ||
a2c36061 AM |
1107 | 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr> |
1108 | ||
1109 | * ecoff.c: (get_tag): Replace strcpy with xstrdup. | |
1110 | (ecoff_directive_def): Likewise. | |
1111 | (ecoff_directive_tag): Likewise. | |
1112 | * listing.c (file_info): Likewise. | |
1113 | * hash.c (what): Likewise. | |
1114 | ||
a13a0de8 L |
1115 | 2002-06-25 H.J. Lu <hjl@gnu.org> |
1116 | ||
1117 | * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. | |
1118 | * Makefile.in: Regenerated. | |
1119 | ||
6c6783ff | 1120 | 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
5db33d76 JR |
1121 | |
1122 | * config/tc-sh.c (get_specific): Revert 2002-05-01 change. | |
1123 | (assemble_ppi): Generate warning if the same register is used | |
1124 | twice as destination in the same padd / pmuls instruction. | |
1125 | ||
0ebb9a87 DB |
1126 | 2002-06-18 Dave Brolley <brolley@redhat.com> |
1127 | ||
a2c36061 | 1128 | From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley |
0ebb9a87 DB |
1129 | * po/POTFILES.in: Add tc-frv.c, tc-frv.h. |
1130 | * configure.in: Support frv-*-*. | |
1131 | * Makefile.am (CPU_TYPES): Add frv. | |
1132 | (TARGET_CPU_CFILES): Add tc-frv.c. | |
1133 | (TARGET_CPU_HFILES): Add tc-frv.h. | |
1134 | (DEPTC_frv_coff): New variable. | |
1135 | (DEPTC_frv_elf): New variable. | |
1136 | (DEPOBJ_frv_coff): New variable. | |
1137 | (DEPOBJ_frv_elf): New variable. | |
1138 | (DEP_frv_coff): New variable. | |
1139 | (DEP_frv_elf): New variable. | |
1140 | * tc-frv.c: New file. | |
1141 | * tc-frv.h: New file. | |
1142 | ||
2a24298d CM |
1143 | 2002-06-17 Catherine Moore <clm@redhat.com> |
1144 | ||
a2c36061 | 1145 | * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define. |
2a24298d | 1146 | |
6c6783ff | 1147 | 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com> |
96f31fc7 JR |
1148 | |
1149 | * config/tc-sh.c (assemble_ppi): Initialize reg_n. | |
1150 | ||
184e65b1 TR |
1151 | 2002-06-17 Tom Rix <trix@redhat.com> |
1152 | ||
1153 | * config/tc-i370.h (tc_comment_chars): Define for i370-elf. | |
1154 | ||
ecb4347a DJ |
1155 | 2002-06-14 H.J. Lu <hjl@gnu.org> |
1156 | Daniel Jacobowitz <drow@mvista.com> | |
1157 | ||
1158 | * dwarf2dbg.h (dwarf2_directive_file): Return char *. | |
1159 | * dwarf2dbg.c (dwarf2_directive_file): Return filename. | |
1160 | * config/tc-mips.c (s_mips_file): Call s_app_file_string | |
1161 | and new_logical_line for the first .file directive. | |
1162 | * read.c (s_app_file_string): New function. | |
1163 | (s_app_file): Call it. | |
1164 | * read.h (s_app_file_string): Add declaration. | |
1165 | ||
1166 | 2002-06-14 Daniel Jacobowitz <drow@mvista.com> | |
1167 | ||
1168 | * configure.in: Remove MIPS_STABS_ELF. | |
1169 | * configure: Regenerated. | |
1170 | * config.in: Regenerated. | |
1171 | * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug | |
1172 | for MIPS targets. | |
1173 | * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around | |
1174 | ".extern". | |
1175 | (pdr_seg): Declare unconditionally. | |
1176 | (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. | |
1177 | (s_mips_end): Likewise. Generate stabs function markers. | |
1178 | (s_mips_ent): Generate stabs function markers. | |
1179 | (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not | |
1180 | ELF. | |
1181 | (s_mips_mask): Likewise. | |
1182 | (mips_flag_mdebug): New. | |
1183 | (md_longopts): Add "mdebug" and "no-mdebug". | |
1184 | (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG. | |
1185 | (mips_after_parse_args): Set mips_flag_mdebug. | |
1186 | * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS. | |
1187 | ||
d6e9d61a MR |
1188 | 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1189 | ||
1190 | * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's | |
1191 | value twice for RELA relocations. | |
1192 | ||
03e83a45 BE |
1193 | 2002-06-12 Ben Elliston <bje@redhat.com> |
1194 | ||
1195 | * symbols.c (resolve_symbol_value): Initialise final_val. | |
1196 | ||
1197 | * subsegs.c (subsegs_print_statistics): Cast frchp to void *. | |
1198 | ||
b4f96c78 TR |
1199 | 2002-06-11 Tom Rix <trix@redhat.com> |
1200 | ||
1201 | * config/tc-ppc.c (ppc_subseg_align): Delete. | |
1202 | (ppc_change_csect): Default csect align is 2. | |
a2c36061 | 1203 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete |
b4f96c78 | 1204 | |
8a6def3b MM |
1205 | 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1206 | ||
1207 | * config/tc-avr.c (mcu_types): Update. | |
1208 | ||
7542c0f2 JT |
1209 | 2002-06-08 Matt Thomas <matt@3am-software.com> |
1210 | ||
1211 | * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*) | |
1212 | (vax-*-netbsd*): New targets. | |
1213 | * configure: Regenerate. | |
a2c36061 | 1214 | * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD. |
7542c0f2 | 1215 | * config/tc-vax.c: Add support for ELF and PIC. |
a2c36061 | 1216 | (flag_want_pic): New flag. |
7542c0f2 JT |
1217 | (float_cons): Fix prototype. |
1218 | (md_apply_fix3): Adjust for BFD_ASSEMBLER. | |
1219 | (md_assemble): Introduce a new is_absolute local, and use it | |
1220 | rather than repeating the test. Make fatal errors actually | |
a2c36061 | 1221 | fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER. |
7542c0f2 | 1222 | Add support for ELF. Add support for PIC. |
a2c36061 | 1223 | (md_convert_frag): Adjust for BFD_ASSEMBLER. |
7542c0f2 JT |
1224 | (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not |
1225 | BFD_ASSEMBLER. | |
a2c36061 | 1226 | (vax_reg_parse): Make the % register prefix mandatory for ELF, |
7542c0f2 JT |
1227 | optional for a.out, and not allowed for VMS. Adjust all callers. |
1228 | (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments. | |
a2c36061 | 1229 | (md_create_long_jump): Likewise. |
7542c0f2 JT |
1230 | (md_undefined_symbol): Likewise. |
1231 | (md_section_align): Likewise. | |
1232 | (md_shortopts): Allow -k and -K for ELF. | |
1233 | (md_parse_option): Set flag_want_pic if -k or -K. | |
1234 | (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER. | |
1235 | (tc_gen_reloc): New function if BFD_ASSEMBLER. | |
1236 | * config/tc-vax.h (tc_headers_hook): Remove. | |
1237 | (TARGET_FORMAT): Set according to object format and target | |
1238 | environment. | |
1239 | (BFD_ARCH, TARGET_ARCH): Define. | |
1240 | (NO_RELOC): Adjust for BFD_ASSEMBLER. | |
1241 | (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE) | |
1242 | (tc_fix_adjustable): Define if BFD_ASSEMBLER. | |
1243 | * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define. | |
1244 | ||
5a38dc70 AM |
1245 | 2002-06-08 Alan Modra <amodra@bigpond.net.au> |
1246 | ||
e90b95f6 AM |
1247 | * Makefile.am: Run "make dep-am". |
1248 | * Makefile.in: Regenerate. | |
1249 | ||
5a38dc70 AM |
1250 | * as.c: Replace CONST with const. |
1251 | * write.c: Likewise. | |
1252 | * config/obj-coff.c: Likewise. | |
1253 | * config/tc-a29k.c: Likewise. | |
1254 | * config/tc-arm.c: Likewise. | |
1255 | * config/tc-dlx.c: Likewise. | |
1256 | * config/tc-h8300.c: Likewise. | |
1257 | * config/tc-h8500.c: Likewise. | |
1258 | * config/tc-i370.c: Likewise. | |
1259 | * config/tc-i860.c: Likewise. | |
1260 | * config/tc-i960.c: Likewise. | |
1261 | * config/tc-m68hc11.c: Likewise. | |
1262 | * config/tc-m68k.c: Likewise. | |
1263 | * config/tc-m88k.c: Likewise. | |
1264 | * config/tc-mcore.c: Likewise. | |
1265 | * config/tc-mips.c: Likewise. | |
1266 | * config/tc-ns32k.c: Likewise. | |
1267 | * config/tc-pdp11.c: Likewise. | |
1268 | * config/tc-pj.c: Likewise. | |
1269 | * config/tc-s390.c: Likewise. | |
1270 | * config/tc-sh.c: Likewise. | |
1271 | * config/tc-sparc.c: Likewise. | |
1272 | * config/tc-tahoe.c: Likewise. | |
1273 | * config/tc-tic80.c: Likewise. | |
1274 | * config/tc-v850.c: Likewise. | |
1275 | * config/tc-vax.c: Likewise. | |
1276 | * config/tc-w65.c: Likewise. | |
1277 | * config/tc-z8k.c: Likewise. | |
1278 | ||
c5dd6aab DJ |
1279 | 2002-06-08 Daniel Jacobowitz <drow@mvista.com> |
1280 | ||
1281 | Based on patch from Matt Green: | |
1282 | * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable. | |
a2c36061 | 1283 | * config/tc-mips.c (s_mips_file): Renamed from s_file. |
c5dd6aab DJ |
1284 | (s_mips_loc): New function. |
1285 | (mips_nonecoff_pseudo_table): Call them. | |
a2c36061 | 1286 | (append_insn): Call dwarf2_emit_insn. |
c5dd6aab | 1287 | |
a4672219 TS |
1288 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1289 | ||
1290 | * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set | |
1291 | to -1. | |
1292 | (file_ase_mips16): New veriable. | |
1293 | (mips_eabi64): Remove. | |
1294 | (CPU_HAS_MIPS16): New define. | |
1295 | (CPU_HAS_MDMX): Fix data type. | |
1296 | (md_begin): Code cleanup. Use file_ase_mips16. | |
1297 | (mips_elf_final_processing): Handle mips16 header flag. | |
1298 | Handle EABI flag without intermediate variable. | |
1299 | ||
437ee9d5 TS |
1300 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1301 | ||
1302 | * doc/as.texinfo: Update MIPS documentation. | |
1303 | ||
85b51719 TS |
1304 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1305 | ||
1306 | * config/tc-mips.c: Add define for $zero register. | |
1307 | (md_begin): Add $zero as alias name for $0. | |
1308 | (insn_uses_reg): Use ZERO define. | |
1309 | (mips_ip): Add $zero as alias name for $0. | |
1310 | (mips16_ip): Likewise. | |
1311 | (s_cplocal): Demand empty rest of input line. | |
1312 | (tc_get_register): Likewise. Add support for $kt0, kt1 register | |
1313 | names. Use ZERO define. Fix input_line_pointer progress. | |
1314 | ||
9758f3fc AM |
1315 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
1316 | ||
1317 | * symbols.c: Replace CONST by const throughout. | |
1318 | (symbol_find_exact): Split out from.. | |
1319 | (symbol_find_base): ..here. | |
1320 | * symbols.h: Replace CONST by const throughout. | |
1321 | (symbol_find_exact): Declare. | |
1322 | * config/obj-elf.c: #include "struc-symbol.h". | |
1323 | (elf_frob_file): If group name matches an exported symbol, use that | |
1324 | symbol for the signature and ".group" as the section name. | |
1325 | ||
6c6783ff | 1326 | 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com> |
9691d64f JR |
1327 | |
1328 | * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again, | |
1329 | but warn about it. | |
1330 | * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc). | |
1331 | * testsuite/gas/sh/pcrel.d: Update. | |
1332 | * testsuite/gas/sh/pcrel.l: New file. | |
1333 | ||
ffdefa66 DJ |
1334 | 2002-06-06 Daniel Jacobowitz <drow@mvista.com> |
1335 | ||
1336 | * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d | |
1337 | and mips_opts.ase_mdmx if they are uninitialized. | |
1338 | ||
ec8b3afd JL |
1339 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1340 | ||
1341 | * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. | |
1342 | (hppa_force_relocation): Check if a stub just before the start symbol | |
1343 | of the last call_info is reachable before forcing relocation. Fix | |
1344 | typo. | |
1345 | ||
e9670677 MR |
1346 | 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1347 | ||
1348 | * config/tc-mips.c (mips_after_parse_args): New function. | |
1349 | (md_begin): Move processing of defaults to mips_after_parse_args. | |
1350 | config/tc-mips.h (md_after_parse_args): Define. | |
1351 | ||
5b0e55b6 JT |
1352 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
1353 | ||
1354 | * configure.in (sh5*): Set cpu_type to sh64 and endian to big. | |
1355 | (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. | |
1356 | (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. | |
1357 | * configure: Regenerate. | |
1358 | * config/tc-sh64.c (sh64_target_format): Add support for NetBSD | |
1359 | environment. | |
1360 | ||
a074e149 JT |
1361 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
1362 | ||
1363 | * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining. | |
1364 | ||
d2dab548 AM |
1365 | 2002-06-04 Alan Modra <amodra@bigpond.net.au> |
1366 | ||
1367 | * config/obj-elf.c (obj_elf_change_section): Set and check elf | |
1368 | linkonce flag. Print all warnings. | |
1369 | (obj_elf_section): Parse ",comdat" for groups. | |
1370 | (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check | |
1371 | consistency of comdat flag. | |
1372 | ||
20e130e9 RH |
1373 | 2002-06-02 Richard Henderson <rth@redhat.com> |
1374 | ||
1375 | * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko | |
1376 | with LITERALs without sequence numbers. | |
1377 | ||
9e756d64 RH |
1378 | 2002-06-01 Richard Henderson <rth@redhat.com> |
1379 | ||
1380 | * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". | |
1381 | Rename them LITUSE_ALPHA_*. | |
1382 | ||
3048287a NC |
1383 | 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com> |
1384 | ||
1385 | * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to | |
1386 | accept parentheses enclosed register lists. | |
1387 | ||
194b5210 AM |
1388 | 2002-05-31 Alan Modra <amodra@bigpond.net.au> |
1389 | ||
1390 | * Makefile.am: Run "make dep-am". | |
1391 | * Makefile.in: Regenerate. | |
1392 | * po/POTFILES.in: Regenerate. | |
1393 | ||
34e97952 AM |
1394 | 2002-05-31 Graeme Peterson <gp@qnx.com> |
1395 | ||
1396 | * configure.in: Add i386-*-nto-qnx*. | |
1397 | * configure: Regenerate. | |
1398 | ||
793b27f4 TS |
1399 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1400 | ||
1401 | * config/tc-mips.c (mips_ip): Use unsigned long values for | |
1402 | warning output. | |
1403 | ||
80245285 TS |
1404 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1405 | ||
1406 | * config/tc-mips.c (s_cpsetup): Fix initialization of | |
1407 | mips_cpreturn_register and mips_cpreturn_offset. | |
1408 | ||
698b7d9d TS |
1409 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1410 | ||
1411 | * config/tc-mips.c (s_cpsetup): Fix comment. | |
1412 | ||
76db943d TS |
1413 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1414 | ||
1415 | * config/tc-mips.c (md_begin): Add $ra as alias name for $31. | |
1416 | (mips_ip): Likewise. | |
1417 | (mips16_ip): Likewise. | |
1418 | (tc_get_register): Likewise. | |
1419 | ||
deec1734 | 1420 | 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> |
a2c36061 | 1421 | Ed Satterthwaite <ehs@broadcom.com> |
deec1734 CD |
1422 | |
1423 | * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. | |
1424 | (mips_opts): Initialize "ase_mdmx" member. | |
1425 | (file_ase_mdmx): New variable. | |
1426 | (CPU_HAS_MDMX): New macro. | |
1427 | (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx | |
1428 | based on command line options and configuration defaults. | |
1429 | (macro_build): Note in comment that use of MDMX in macros is | |
1430 | not currently allowed. | |
1431 | (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and | |
1432 | "Z" MDMX operand types. | |
1433 | (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, | |
1434 | and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand | |
1435 | types. | |
1436 | (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): | |
1437 | Add support for "-mdmx" and "-no-mdmx" options. | |
1438 | (OPTION_ELF_BASE): Move to accomodate new options. | |
1439 | (s_mipsset): Support ".set mdmx" and ".set nomdmx". | |
1440 | (mips_elf_final_processing): Set MDMX ASE ELF header flag if | |
1441 | file_ase_mdmx was set. | |
1442 | * doc/as.texinfo: Document -mdmx and -no-mdmx options. | |
1443 | * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set | |
1444 | nomdmx" directives. | |
1445 | ||
9ee72ff1 TS |
1446 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1447 | ||
1448 | * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to | |
1449 | OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" | |
1450 | command line switch conforming to gcc conventions. | |
1451 | * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000. | |
1452 | ||
438c16b8 TS |
1453 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1454 | ||
1455 | * config/tc-mips.c (macro_build_jalr): New Function. | |
1456 | (md_begin): NewABI uses big GOTs. | |
1457 | (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, | |
1458 | BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. | |
1459 | (load_address): Add some NewABI PIC support. | |
1460 | (macro): Likewise. | |
1461 | (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. | |
1462 | (tc_gen_reloc): Don't encode NewABI vtables in REL relocations. | |
1463 | ||
f7ea7ef2 TS |
1464 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1465 | ||
1466 | * config/tc-mips.c (load_address): Use mips_gp_register instead | |
1467 | of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES | |
1468 | instead. | |
1469 | (macro): Use mips_gp_register instead of hardcoded value. | |
1470 | ||
3765b1be RH |
1471 | 2002-05-30 Richard Henderson <rth@redhat.com> |
1472 | ||
1473 | * expr.h (operatorT): Add O_md17..O_md32. | |
1474 | * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, | |
1475 | O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, | |
1476 | O_tprelhi, O_tprello, O_tprel): New. | |
1477 | (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. | |
1478 | (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. | |
1479 | (LITUSE_TLSGD, LITUSE_TLSLDM): New. | |
1480 | (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, | |
1481 | saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. | |
1482 | (md_apply_fix3): Handle TLS relocations. | |
1483 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
1484 | (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the | |
1485 | associated TLS reloc. Check lituse_tls relocs match up. | |
1486 | (emit_insn): Handle TLS relocations. | |
1487 | (ldX_op): Remove. | |
1488 | ||
1c5cec28 RH |
1489 | * doc/c-alpha.texi: Add docs for tls relocations. |
1490 | ||
def2e0dd TS |
1491 | 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1492 | ||
1493 | * config/tc-mips.c (mips_gprel_offset): New variable. | |
1494 | (s_gpvalue): Use it. | |
1495 | ||
8ade06a8 TR |
1496 | 2002-05-30 Diego Novillo <dnovillo@redhat.com> |
1497 | ||
a2c36061 AM |
1498 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
1499 | write-write conflicts. | |
1500 | (md_assemble): Reformat introductory comment. | |
1501 | (parallel_ok): Prevent packing only if the first | |
1502 | instruction cannot be packed. | |
8ade06a8 TR |
1503 | |
1504 | 2002-05-30 Jason Eckhardt <jle@redhat.com> | |
1505 | Tom Rix <trix@redhat.com> | |
1506 | ||
1507 | * config/tc-d10v.c (build_insn): Check for immediates. | |
1508 | ||
c9914766 TS |
1509 | 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1510 | ||
1511 | * config/tc-mips.c: Replace GP in comments by $gp. | |
1512 | (mips_big_got): Initialize. | |
1513 | (mips_trap): Initialize. | |
1514 | (load_address): Use mips_gp_register instead of hardcoded value. | |
1515 | Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. | |
1516 | (macro): Use mips_gp_register instead of hardcoded value. | |
1517 | (macro2): Change load_address calls. | |
1518 | (md_pcrel_from): Comment formatting. | |
1519 | (s_cpload): Use mips_gp_register instead of hardcoded value. | |
1520 | (s_cprestore): Likewise. Comment formatting. | |
1521 | (s_gpword): Fix data type. | |
1522 | (s_cpadd): Use mips_gp_register instead of hardcoded value. | |
1523 | (nopic_need_relax): Replace GP in comments by $gp. | |
1524 | (mips_elf_final_processing): Better comment. | |
1525 | ||
d172d4ba NC |
1526 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
1527 | ||
1528 | * configure.in: Add DLX configuraton | |
1529 | * Makefile.am: Add DLX configuraton | |
1530 | * configure: Regenerate. | |
1531 | * Makefile.in: Regenerate. | |
1532 | * config/tc-dlx.c: New file. | |
1533 | * config/tc-dlx.h: New files. | |
52216602 | 1534 | * NEWS: Mention new support. |
d172d4ba | 1535 | |
e9732b6d NC |
1536 | 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com> |
1537 | ||
1538 | * config/obj-coff.c (write_object_file): Add missing semicolon. | |
1539 | ||
f9419b05 TS |
1540 | 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1541 | ||
1542 | * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA | |
1543 | by the define. Remove superfluous check of mips_opts.mips16. | |
1544 | (append_insn): Likewise. Canonicalize variable increments. | |
1545 | (macro_build): Canonicalize variable increments. | |
1546 | (macro_build_lui): Likewise. | |
1547 | (load_register): Likewise. | |
1548 | (load_address): Move pointer initialization. | |
1549 | (macro): Move pointer to a more local scope. Canonicalize variable | |
1550 | increments. Better comments. Replace magic constant for RA by the | |
1551 | define. | |
1552 | (macro2): Replace magic constant for RA by the define. Canonicalize | |
1553 | variable increments. | |
1554 | (mips_ip): Canonicalize variable increments. | |
1555 | (mips16_ip): Replace magic constant for RA by the define. | |
1556 | (my_getSmallParser): Canonicalize variable increments/decrements. | |
1557 | (my_getPercentOp): Likewise. | |
1558 | (my_getSmallExpression): Likewise. | |
1559 | (s_align): Likewise. | |
1560 | (s_mipsset): Likewise. | |
1561 | (s_cpsetup): Likewise. | |
1562 | (s_insn): Remove superfluous check of mips_opts.mips16. | |
1563 | (s_mips_stab): Likewise. | |
1564 | (mips_handle_align): Canonicalize variable increments. | |
1565 | (s_mips_ent): Likewise. | |
1566 | (s_mips_end): Add comment. | |
1567 | ||
aa501e5c JT |
1568 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1569 | ||
1570 | * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. | |
1571 | * configure: Regenerate. | |
1572 | ||
29589b0c AM |
1573 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
1574 | ||
1575 | * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. | |
1576 | * Makefile.in: Regenerate. | |
1577 | * dep-in.sed: Reorder to match OBJS in Makefile.am. | |
1578 | * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. | |
1579 | * configure: Regenerate. | |
1580 | * as.h: Use #include "" instead of <> for local header files. | |
1581 | * flonum-konst.c: Likewise. | |
1582 | * flonum-mult.c: Likewise. | |
1583 | * gasp.c: Likewise. | |
1584 | * listing.c: Likewise. | |
1585 | * config/tc-ia64.h: Likewise. | |
1586 | * config/tc-v850.h: Likewise. | |
1587 | ||
436e8db0 NC |
1588 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
1589 | ||
1590 | * configure.in: Add a target for i386-netbsdpe. | |
1591 | * configure: Regenerate. | |
1592 | ||
13ae64f3 JJ |
1593 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
1594 | ||
1595 | * config/obj-elf.c (elf_common): Renamed from obj_elf_common. | |
1596 | (obj_elf_common): Call elf_common. | |
1597 | (obj_elf_tls_common): New function. | |
1598 | (elf_pseudo_tab): Support .tls_common. | |
1599 | (special_sections): Add .tdata and .tbss. | |
1600 | (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS | |
1601 | sections. | |
1602 | (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). | |
1603 | (obj_elf_parse_section_letters): Include T in error message. | |
1604 | * config/tc-ppc.c (ppc_section_letter): Likewise. | |
1605 | * config/tc-alpha.c (alpha_elf_section_letter): Likewise. | |
1606 | (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as | |
1607 | SEC_MERGE. | |
1608 | * config/tc-sparc.c (md_apply_fix3): Likewise. | |
1609 | * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. | |
1610 | Define them if not BFD_ASSEMBLER. | |
1611 | (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF | |
1612 | and @NTPOFF. | |
1613 | (md_apply_fix3): Add TLS relocs. | |
1614 | * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, | |
1615 | FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, | |
1616 | FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. | |
1617 | (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). | |
1618 | (ia64_elf_section_letter): Include T in error message. | |
1619 | (md_begin): Support TLS operators. | |
1620 | (md_operand): Likewise. | |
1621 | (ia64_gen_real_reloc_type): Support TLS relocs. | |
1622 | * testsuite/gas/i386/tlspic.s: New file. | |
1623 | * testsuite/gas/i386/tlsd.s: New file. | |
1624 | * testsuite/gas/i386/tlsnopic.s: New file. | |
1625 | * testsuite/gas/i386/tlsd.d: New file. | |
1626 | * testsuite/gas/i386/tlsnopic.d: New file. | |
1627 | * testsuite/gas/i386/tlspic.d: New file. | |
1628 | * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests. | |
1629 | * testsuite/gas/ia64/tls.s: New file. | |
1630 | * testsuite/gas/ia64/tls.d: New file. | |
1631 | * testsuite/gas/ia64/ia64.exp: Add tls test. | |
1632 | * write.c (adjust_reloc_syms): Don't change symbols in | |
1633 | SEC_THREAD_LOCAL sections to STT_SECTION + addend. | |
1634 | ||
c62e1cc3 NC |
1635 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
1636 | ||
1637 | * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc | |
1638 | round the relocation up rather than down. | |
1639 | ||
6ff96af6 NC |
1640 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
1641 | ||
1642 | * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' | |
1643 | flag. | |
a2c36061 | 1644 | * doc/as.texinfo: Document that the COFF version of .section |
6ff96af6 NC |
1645 | ignores the 'a' flag. |
1646 | ||
18e1d487 AM |
1647 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
1648 | ||
69108c1f AM |
1649 | * config/tc-alpha.c (assemble_tokens): Protect use of |
1650 | ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. | |
1651 | ||
18e1d487 AM |
1652 | * write.c (size_seg): Check adjustment to last frag. |
1653 | (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to | |
1654 | section alignment. | |
1655 | * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. | |
1656 | * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. | |
1657 | (write_object_file): Invoke md_do_align if available, and use | |
1658 | frag_align_code on text sections. | |
1659 | * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. | |
1660 | * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. | |
1661 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. | |
1662 | * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. | |
1663 | * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for | |
1664 | BFD_ASSEMBLER too. | |
1665 | ||
9d66a1d9 L |
1666 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
1667 | ||
1668 | * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file | |
1669 | for source file. | |
1670 | ||
76feaaf3 NC |
1671 | 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com> |
1672 | ||
1673 | * config/tc-arm.c (arm_s_section): Enable for COFF builds as well | |
1674 | as ELF builds. | |
1675 | ||
1080e97d L |
1676 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
1677 | ||
1678 | * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol | |
1679 | for one .loc for compiler. | |
1680 | ||
c90bbe5b TS |
1681 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1682 | ||
1683 | * config/tc-mips.c (macro): Relax warning, it's toot strict for | |
1684 | embedded-PIC. | |
1685 | ||
771c7ce4 TS |
1686 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1687 | ||
1688 | * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. | |
1689 | Optimize the rotate by zero case. | |
1690 | ||
fa70f2ed NC |
1691 | 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com> |
1692 | ||
1693 | * configure.in: Remove accidental enabling of bfd_gas=yes for | |
1694 | sh-coff targets. | |
1695 | * configure: Regenerate. | |
1696 | ||
411863a4 KH |
1697 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
1698 | ||
1699 | * app.c: Fix formatting. | |
1700 | * as.c: Likewise. | |
1701 | * ehopt.c: Likewise. | |
1702 | * expr.c: Likewise. | |
1703 | * input-file.c: Likewise. | |
1704 | * listing.c: Likewise. | |
1705 | * macro.h: Likewise. | |
1706 | * stabs.c: Likewise. | |
1707 | * symbols.c: Likewise. | |
1708 | ||
eb268f46 AM |
1709 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
1710 | ||
1711 | * config/obj-generic.c: Delete file. | |
1712 | * config/obj-generic.h: Likewise. | |
1713 | ||
bdfdba87 MM |
1714 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1715 | ||
1716 | * config/tc-avr.c (mcu_types): Update for new devices. | |
1717 | ||
3bec30a8 TS |
1718 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1719 | ||
1720 | * config/tc-mips.c (macro): Warn about wrong la/dla use. | |
1721 | ||
8586fc66 TS |
1722 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1723 | ||
1724 | * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had | |
1725 | worked sometimes by accident. Fix copy&paste comment. | |
1726 | ||
195325d2 TS |
1727 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1728 | ||
1729 | * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section | |
1730 | alignment for NewABI. Let n32 use .reginfo. Remove useless casts. | |
1731 | (mips_elf_final_processing): Let n32 use .reginfo. | |
1732 | ||
4db1a35d TS |
1733 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1734 | ||
1735 | * config/tc-mips.c (append_insn): Fix too small range of variable. | |
1736 | ||
7f367f01 NC |
1737 | 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com> |
1738 | ||
1739 | * config/tc-arm.c (arm_cleanup): Remove redundant call to | |
1740 | listing_prev_line(). | |
1741 | ||
7193a0e7 NC |
1742 | 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com> |
1743 | ||
f5b4e9e4 NC |
1744 | * config/tc-arm.c (md_assemble): Remove redundant call to |
1745 | listing_prev(). | |
1746 | ||
b6675117 NC |
1747 | * dwarf2dbg.c (dwarf2_emit_insn): Do not reset |
1748 | loc_directive_seen. | |
1749 | ||
7193a0e7 NC |
1750 | * stabs.c (s_stab_generic): Fix grammatical error in warning |
1751 | message. | |
1752 | ||
50b31228 AM |
1753 | 2002-05-13 Alan Modra <amodra@bigpond.net.au> |
1754 | ||
1755 | * write.c (subsegs_finish): Don't specially align last subseg. | |
1756 | ||
cce5a618 NC |
1757 | 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
1758 | ||
6360824b NC |
1759 | * stabs.c (s_stab_generic): Warn about a description field that is |
1760 | too big. | |
1761 | ||
f8e42b8c NC |
1762 | * config/obj-coff.c: Fix compile time warnings when compiling |
1763 | without BFD_ASSEMBLER defined. | |
1764 | Fix formatting. | |
1765 | ||
cce5a618 NC |
1766 | * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms |
1767 | target. | |
1768 | (md_pcrel_from_section): Use md_pcrel_from(). | |
1769 | ||
d7c310c2 NC |
1770 | 2002-05-11 Bruno Haible <bruno@clisp.org> |
1771 | ||
1772 | * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled | |
1773 | by dwarf2_directive_loc, instead of calling dwarf2_where. | |
1774 | ||
5d6255fe KH |
1775 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
1776 | ||
1777 | * config/obj-coff.h: Fix formatting. | |
1778 | * config/tc-mcore.c: Likewise. | |
1779 | * config/tc-mn10300.c: Likewise. | |
1780 | * config/tc-openrisc.c: Likewise. | |
1781 | * config/tc-or32.c: Likewise. | |
1782 | * config/tc-pdp11.c: Likewise. | |
1783 | * config/tc-ppc.c: Likewise. | |
1784 | * config/tc-ppc.h: Likewise. | |
1785 | * config/tc-sh64.c: Likewise. | |
1786 | * config/tc-sh.c: Likewise. | |
1787 | * config/tc-tic54x.c: Likewise. | |
1788 | * config/tc-xstormy16.c: Likewise. | |
1789 | * config/tc-xstormy16.h: Likewise. | |
1790 | ||
cc8a6dd0 KH |
1791 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
1792 | ||
1793 | * config/obj-coff.c: Fix formatting. | |
1794 | * config/obj-elf.c: Likewise. | |
1795 | * config/tc-alpha.c: Likewise. | |
1796 | * config/tc-arm.c: Likewise. | |
1797 | * config/tc-d10v.c: Likewise. | |
1798 | * config/tc-d30v.c: Likewise. | |
1799 | * config/tc-h8300.c: Likewise. | |
1800 | * config/tc-hppa.c: Likewise. | |
1801 | ||
412167cb AM |
1802 | 2002-05-09 Alan Modra <amodra@bigpond.net.au> |
1803 | ||
1804 | * config/tc-i386.c (md_estimate_size_before_relax) Don't lose | |
1805 | reloc when no_cond_jump_promotion. | |
1806 | ||
91975467 JW |
1807 | 2002-05-08 Jim Wilson <wilson@redhat.com> |
1808 | ||
1809 | * config/tc-i960.c (md_estimate_size_before_relax): Return size of | |
1810 | current variable part of frag. | |
1811 | ||
a1b6236b KH |
1812 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
1813 | ||
1814 | * config/tc-mmix.c: Fix formatting. | |
1815 | * config/tc-mmix.h: Likewise. | |
1816 | ||
c8615825 AM |
1817 | 2002-05-08 Alan Modra <amodra@bigpond.net.au> |
1818 | ||
1819 | * configure: Regenerate. | |
1820 | ||
8a104df9 KH |
1821 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
1822 | ||
1823 | * config/tc-m68k.c: Fix formatting. | |
1824 | ||
d3d8a9ee NC |
1825 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
1826 | ||
1827 | * Makefile.am: Honour DESTDIR. | |
1828 | * Makefile.in: Regenerate. | |
1829 | ||
40449e9f KH |
1830 | 2002-05-06 Kazu Hirata <kazu@cs.umass.edu> |
1831 | ||
1832 | * config/tc-ia64.c: Fix formatting. | |
1833 | * config/tc-ia64.h: Likewise. | |
1834 | ||
98d3f06f KH |
1835 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
1836 | ||
1837 | * config/tc-mips.c: Fix formatting. | |
1838 | * config/tc-s390.c: Likewise. | |
1839 | * config/tc-s390.h: Likewise. | |
1840 | ||
8f5b2891 AO |
1841 | 2002-05-03 Alexandre Oliva <aoliva@redhat.com> |
1842 | ||
1843 | * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number | |
1844 | information for instructions. | |
1845 | ||
d1a6c242 KH |
1846 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
1847 | ||
1848 | * as.h: Fix formatting. | |
1849 | * cgen.c: Likewise. | |
1850 | * cgen.h: Likewise. | |
1851 | * dwarf2dbg.c: Likewise. | |
1852 | * frags.h: Likewise. | |
1853 | * gasp.c: Likewise. | |
1854 | * macro.c: Likewise. | |
1855 | * read.c: Likewise. | |
1856 | * stabs.c: Likewise. | |
1857 | * symbols.c: Likewise. | |
1858 | ||
1cfc59d5 AM |
1859 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
1860 | ||
72297628 AM |
1861 | * app.c (mri_pseudo): Only declare for TC_M68K. |
1862 | ||
1cfc59d5 AM |
1863 | * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. |
1864 | (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with | |
1865 | BFD_RELOC_16_BASEREL. | |
1866 | (md_assemble): Likewise. | |
1867 | (md_apply_fix3): Likewise. | |
1868 | ||
358b94bd NC |
1869 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
1870 | ||
1871 | * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of | |
1872 | zero into an add of zero - it is not the same. | |
1873 | ||
d8731e7d NC |
1874 | 2002-05-01 Arati Dikey <aratid@kpit.com> |
1875 | ||
1876 | * tc-sh.c (get_specific): Generate warning if the same | |
1877 | destination register is used in parallel instructions. | |
1878 | ||
200dbde8 AM |
1879 | 2002-05-01 Andrew Macleod <amacleod@cygnus.com> |
1880 | ||
1881 | * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. | |
1882 | ||
3f3cdb03 AM |
1883 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
1884 | ||
1885 | * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org | |
1886 | backwards to prevent cascading errors. | |
1887 | ||
9b2b7d69 MM |
1888 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
1889 | ||
1890 | * configure.in: Add support for powerpc-*-windiss. | |
1891 | * configure: Regenerated. | |
a2c36061 | 1892 | |
0f3f3d8b AM |
1893 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
1894 | ||
819e6420 AM |
1895 | * config/tc-s390.c (md_parse_option): Formatting. |
1896 | ||
0f3f3d8b AM |
1897 | * config/tc-i386.c: Formatting fixes, add missing space in error |
1898 | message. | |
1899 | ||
3c25c5f6 NC |
1900 | 2002-04-24 Christian Groessler <chris@groessler.org> |
1901 | ||
1902 | * config/tc-z8k.c (build_bytes): Add support for new cases: | |
1903 | CLASS_IGNORE and ARG_NIM4. | |
1904 | (md_assemble): Prevent destruction of input_line_pointer if | |
1905 | get_operands returns failure. | |
1906 | ||
af55c2e6 CD |
1907 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
1908 | ||
1909 | * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D | |
1910 | instructions to be generated by macros. | |
1911 | ||
062cd5e7 AS |
1912 | 2002-04-24 Andreas Schwab <schwab@suse.de> |
1913 | ||
1914 | * config/tc-i386.c (output_jump, output_disp) | |
1915 | (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any | |
1916 | more. | |
1917 | (md_apply_fix3): Remember addend value for rela relocations. | |
1918 | (tc_gen_reloc): Correctly compute pc-relative relocation addend. | |
1919 | ||
2b2e39bf CD |
1920 | 2002-04-22 Chris Demetriou <cgd@broadcom.com> |
1921 | ||
1922 | * config/tc-mips.c (macro_build): Add close-parenthesis missing | |
1923 | from previous change. | |
1924 | ||
80cc45a5 EC |
1925 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
1926 | ||
2b2e39bf CD |
1927 | * config/tc-mips.c (macro_build): Add warning if macro instructions |
1928 | are expanded into a branch delay slot. | |
80cc45a5 | 1929 | |
ffa554ed GK |
1930 | 2002-04-17 Geoffrey Keating <geoffk@redhat.com> |
1931 | ||
1932 | * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line | |
1933 | numbers, gdb relies on them to detect the start of the prologue. | |
1934 | ||
302576af MS |
1935 | 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1936 | ||
1937 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to | |
1938 | symbols in merge sections. | |
1939 | ||
0f3f3d8b | 1940 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
091e58c1 AM |
1941 | |
1942 | * as.c (main): Don't reference _bfd_chunksize. | |
1943 | ||
76b999d0 TR |
1944 | 2002-04-15 Tom Rix <trix@redhat.com> |
1945 | ||
80cc45a5 | 1946 | * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to |
76b999d0 TR |
1947 | symbols in merge sections. |
1948 | ||
580a832e RS |
1949 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
1950 | ||
1951 | * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. | |
1952 | * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an | |
1953 | argument for the precision. | |
1954 | (gen_to_words): Update accordingly. | |
1955 | ||
edde18a5 AM |
1956 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
1957 | ||
1958 | * as.c (parse_args <OPTION_VERSION>): Use VERSION is | |
1959 | BFD_VERSION_STRING unavailable. | |
1960 | * config/tc-i386.c (INLINE): Define (for non-BFD assembler). | |
1961 | ||
6c6783ff | 1962 | 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com> |
5bcd00a6 JR |
1963 | |
1964 | * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if | |
1965 | symbol_used_in_reloc_p is true. | |
2ed5f585 JR |
1966 | |
1967 | * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big | |
1968 | endian hosts. | |
1969 | ||
8e42bcb6 AM |
1970 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
1971 | ||
1972 | * dep-in.sed: Cope with absolute paths. | |
1973 | * Makefile.am (dep.sed): Subst TOPDIR. | |
1974 | Run "make dep-am". | |
1975 | * Makefile.in: Regenerate. | |
1976 | ||
874e8986 TS |
1977 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1978 | ||
1979 | * config/tc-mips.c (mips16_macro_build): Cast type mismatch. | |
1980 | (mips_ip): Remove unused variable. | |
1981 | (md_apply_fix3): Cast signed/unsignes mismatches. Replace | |
1982 | unsigned char with bfd_byte. | |
1983 | (s_file): Remove unused variable. | |
1984 | (s_mips_ent): Likewise. | |
1985 | ||
fbdbf472 TR |
1986 | 2002-04-03 Tom Rix <trix@redhat.com> |
1987 | ||
1988 | * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. | |
1989 | (build_insn): Same. | |
1990 | (find_opcode): Fix warning in as_warn. | |
1991 | * config/tc-d10v.h: Update Copyright. | |
1992 | ||
1993 | 2002-04-03 Alan Matsuoka <alanm@redhat.com> | |
1994 | Tom Rix <trix@redhat.com> | |
1995 | ||
1996 | From Jeff Knaggs <jknaggs@redhat.com> | |
80cc45a5 | 1997 | * config/tc-d10v.c (check_resource_conflict): New function to |
fbdbf472 TR |
1998 | check for resource conflicts. |
1999 | ||
2000 | From Jason Eckhardt <jle@redhat.com> | |
a2c36061 AM |
2001 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or |
2002 | imm3 fields. | |
2003 | * config/tc-d10v.c (find_opcode): Emit a warning if one of the | |
2004 | reserved control registers is used. | |
2005 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or | |
2006 | imm3 fields. | |
fbdbf472 TR |
2007 | |
2008 | From 2001-03-28 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
2009 | * tc-d10v.c (parallel_ok): Prevent packing only if the first |
2010 | instruction cannot be packed. | |
fbdbf472 TR |
2011 | |
2012 | From 2001-03-30 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
2013 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
2014 | write-write conflicts. | |
2015 | (md_assemble): Reformat introductory comment. | |
2016 | * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its | |
2017 | arguments. | |
fbdbf472 | 2018 | |
784b640d AM |
2019 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
2020 | ||
2021 | * symbols.c (resolve_symbol_value <O_uminus, O_bit_not, | |
2022 | O_logical_not>): Derive final_seg from add_symbol. | |
2023 | <O_multiply..O_logical_or>: More final_seg twiddles. | |
2024 | ||
5f44c186 RH |
2025 | 2002-04-01 Jessica Han <jessica@cup.hp.com> |
2026 | ||
a2c36061 | 2027 | * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc |
5f44c186 RH |
2028 | in 32-bit mode. |
2029 | ||
3458b54c AS |
2030 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
2031 | ||
2032 | * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of | |
2033 | field for pc-relative fixups. | |
2034 | (output_disp): Likewise. | |
2035 | (md_estimate_size_before_relax): Likewise. | |
2036 | (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for | |
2037 | pc-relative fixups in 64bit mode. | |
2038 | ||
815b453c AM |
2039 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
2040 | ||
2041 | * config/te-aix5.h: Typo fix. | |
2042 | ||
d5b32339 AM |
2043 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
2044 | ||
2045 | * Makefile.am: Run "make dep-am". | |
2046 | * Makefile.in: Regenerate. | |
2047 | * doc/Makefile.in: Regenerate. | |
2048 | ||
f201ccb3 NC |
2049 | 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com> |
2050 | ||
2051 | * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo | |
2052 | (vfp_sp_reg_pos -> vfp_dp_reg_pos). | |
2053 | ||
177b4a6a AO |
2054 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
2055 | ||
2056 | * config/tc-mips.c (md_estimate_size_before_relax): Do not modify | |
2057 | the EXTENDED bit here; report the estimate according to the | |
2058 | current size. | |
2059 | ||
eb1e0e80 NC |
2060 | 2002-03-18 Tom Rix <trix@redhat.com> |
2061 | ||
2062 | * configure.in: Add AIX 5 support. | |
2063 | * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. | |
2064 | * config/te-aix5.h: New file. AIX 5 support. | |
2065 | * configure: Regenerate. | |
2066 | ||
a1c259a1 NC |
2067 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
2068 | ||
2069 | * po/fr.po: Updated version. | |
2070 | ||
949f2b5c AJ |
2071 | 2002-03-16 Andreas Jaeger <aj@suse.de> |
2072 | ||
2073 | * doc/c-mips.texi (Machine Dependencies): Add new node. | |
2074 | ||
1f25f5d3 CD |
2075 | 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> |
2076 | ||
2077 | * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. | |
2078 | (mips_opts): Initialize "ase_mips3d" member. | |
2079 | (file_ase_mips3d): New variable. | |
2080 | (CPU_HAS_MIPS3D): New macro. | |
2081 | (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d | |
2082 | based on command line options and configuration defaults. | |
2083 | (macro_build, mips_ip): Accept MIPS-3D instructions if | |
2084 | mips_opts.ase_mips3d is set. | |
2085 | (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): | |
2086 | Add support for "-mips3d" and "-no-mips3d" options. | |
2087 | (OPTION_ELF_BASE): Move to accomodate new options. | |
2088 | (s_mipsset): Support ".set mips3d" and ".set nomips3d". | |
2089 | (mips_elf_final_processing): Add a comment indicating that a | |
2090 | MIPS-3D ASE ELF header flag should be set, when one exists. | |
2091 | * doc/as.texinfo: Document -mips3d and -no-mips3d options. | |
2092 | * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set | |
2093 | nomips3d" directives. | |
949f2b5c | 2094 | |
2be11e7e HPN |
2095 | 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com> |
2096 | ||
2097 | * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider | |
2098 | a weak symbol in same section to be within reach. | |
2099 | ||
9ce88e60 NC |
2100 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
2101 | ||
2102 | * po/fr.po: Updated version. | |
2103 | ||
1e16b528 AS |
2104 | 2002-03-12 Andreas Schwab <schwab@suse.de> |
2105 | ||
2106 | * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a | |
2107 | body record so that an error is given for misplaced .save | |
2108 | pseudo-ops. | |
2109 | ||
29b0f896 AM |
2110 | 2002-03-09 Alan Modra <amodra@bigpond.net.au> |
2111 | ||
2112 | * config/tc-i386.h (REX_OPCODE): Define. | |
2113 | (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. | |
2114 | (rex_byte): typedef to int. | |
2115 | * config/tc-i386.c: Group prototypes and vars together. | |
2116 | Formatting fixes. Remove occurrences of "register" keyword. | |
2117 | (true): Delete. | |
2118 | (false): Delete. | |
2119 | (mode_from_disp_size): Add INLINE keyword to prototype. | |
2120 | (fits_in_signed_byte): Likewise. | |
2121 | (fits_in_unsigned_byte): Likewise. | |
2122 | (fits_in_unsigned_word): Likewise. | |
2123 | (fits_in_signed_word): Likewise. | |
2124 | (fits_in_unsigned_long): Likewise. | |
2125 | (fits_in_signed_long): Likewise. | |
2126 | (type_names): Constify. | |
2127 | (intel_float_operand): Constify param. | |
2128 | (add_prefix): Use REX_OPCODE. | |
2129 | (md_assemble): Likewise. Modify for changed rex_byte. | |
2130 | (parse_insn): Split out of md_assemble. | |
2131 | (parse_operands): Likewise. | |
2132 | (swap_operands): Likewise. | |
2133 | (optimize_imm): Likewise. | |
2134 | (optimize_disp): Likewise. | |
2135 | (match_template): Likewise. | |
2136 | (check_string): Likewise. | |
2137 | (process_suffix): Likewise. | |
2138 | (check_byte_reg): Likewise. | |
2139 | (check_long_reg): Likewise. | |
2140 | (check_qword_reg): Likewise. | |
2141 | (check_word_reg): Likewise. | |
2142 | (finalize_imm): Likewise. | |
2143 | (process_operands): Likewise. | |
2144 | (build_modrm_byte): Likewise. | |
2145 | (output_insn): Likewise. | |
2146 | (output_branch): Likewise. | |
2147 | (output_jump): Likewise. | |
2148 | (output_interseg_jump): Likewise. | |
2149 | (output_disp): Likewise. | |
2150 | (output_imm): Likewise. | |
2151 | ||
2e64b665 DJ |
2152 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
2153 | ||
2154 | * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. | |
2155 | ||
937149dd AM |
2156 | 2002-03-06 Alan Modra <amodra@bigpond.net.au> |
2157 | ||
2158 | * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte | |
2159 | relocs except when BFD64. | |
2160 | ||
2161 | * write.c (number_to_chars_bigendian): Don't abort when N is | |
2162 | larger than sizeof (VAL). | |
2163 | (number_to_chars_littleendian): Likewise. | |
2164 | ||
40d74fb1 JL |
2165 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2166 | ||
2167 | * config/tc-hppa.c (md_apply_fix3): Add cast. | |
2168 | (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and | |
2169 | e_rrsel. | |
2170 | ||
cd3cde86 AM |
2171 | 2002-03-05 Paul Koning <pkoning@equallogic.com> |
2172 | ||
2173 | * tc-pdp11.c: Use VAX float format support for PDP-11 target. | |
2174 | (parse_ac5): New function for parsing float regs in float operand. | |
2175 | (parse_expression): Remove attempt to make literals be octal. | |
2176 | (parse_op_no_deferred): Support float literals. | |
2177 | (parse_op): Reject attempts to refer to float regs. | |
2178 | (parse_fop): New function, like parse_op but for float operand. | |
949f2b5c | 2179 | (md_assemble): Add cases to parse float operands. Also fix |
cd3cde86 AM |
2180 | IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. |
2181 | ||
e9682144 L |
2182 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
2183 | ||
2184 | * config/obj-elf.c (special_section): Add .init_array, | |
2185 | .fini_array and .preinit_array. | |
2186 | ||
2187 | * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove | |
2188 | .init_array and .fini_array. | |
2189 | ||
26eb4093 JJ |
2190 | 2002-03-01 Jakub Jelinek <jakub@redhat.com> |
2191 | ||
2192 | * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy | |
2193 | visibility. | |
2194 | (obj_frob_symbol): Copy visibility. | |
2195 | ||
559e22f3 JJ |
2196 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
2197 | ||
2198 | * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not | |
2199 | s_text. | |
2200 | (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. | |
2201 | ||
ef412327 NC |
2202 | 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com> |
2203 | ||
2204 | * po/es.po: Updated. | |
2205 | ||
b25a253c CD |
2206 | 2002-02-26 Chris Demetriou <cgd@broadcom.com> |
2207 | ||
2208 | * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC | |
2209 | only, undo the changes made on 2001-06-08, with the | |
2210 | effect being that common or extern symbols are | |
2211 | adjusted for embedded-PIC, but weak symbols are not. | |
2212 | (md_estimate_size_before_relax: Likewise, with the effect | |
2213 | that extern symbols are treated the same as weak symbols | |
2214 | only if not embedded-PIC. | |
2215 | (mips_fix_adjustable) Likewise, with the effect that | |
2216 | weak or extern symbols are not adjusted for embedded-PIC. | |
2217 | (md_apply_fix3): Tweak so that the case where value is zero | |
2218 | is handled more correctly for embedded-PIC code. | |
2219 | ||
fe41178f NC |
2220 | 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com> |
2221 | ||
587fe2b3 NC |
2222 | * doc/as.texinfo (Overview): Add missing @ifset IA64 |
2223 | ||
fe41178f NC |
2224 | * configure.in (LINGUAS): Add es.po. |
2225 | * configure: Regenerate. | |
2226 | * po/es.po: New file. | |
2227 | ||
4d34fb5f TS |
2228 | 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2229 | ||
2230 | * config/tc-mips.c (set_at): Fix handling of 64bit register loads. | |
2231 | (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC | |
2232 | and NO_PIC cases. Code cleanup. | |
2233 | (macro2): Fix handling of 64bit register loads. | |
2234 | ||
9e32ca89 NC |
2235 | 2002-02-25 David Mosberger <davidm@hpl.hp.com> |
2236 | ||
2237 | * doc/as.texinfo: Add entry for IA64. | |
2238 | * doc/c-ia64.texi: New file. | |
2239 | ||
23e1d84c AM |
2240 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
2241 | ||
c7d004c5 AM |
2242 | * config/tc-hppa.c: Update copyright date. |
2243 | ||
2244 | * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 | |
23e1d84c AM |
2245 | Remove references to chip manufacturers. |
2246 | * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. | |
2247 | Correct comments. | |
2248 | (md_show_usage): Remove references to chip manufacturers. Mention | |
2249 | -mpower4. | |
2250 | (md_begin): Test power4 opcode flag bits. | |
2251 | ||
b1c6bf70 | 2252 | 2002-02-22 David Mosberger <davidm@hpl.hp.com> |
6290819d NC |
2253 | |
2254 | * config/tc-ia64.c (dot_restore): Issue error message of epilogue | |
2255 | count exceeds prologue count. | |
2256 | (md_show_usage): Describe -mconstant-gp and -mauto-pic. | |
2257 | (unwind.label_prologue_count): New member. | |
2258 | ||
2259 | Based on a patch by Hans Boehm <hboehm@hpl.hp.com>: | |
2260 | ||
2261 | (get_saved_prologue_count): New function. | |
2262 | (save_prologue_count): New function. | |
2263 | (free_saved_prologue_count): New function. | |
2264 | (dot_label_state): Record state label by calling save_prologue_count(). | |
2265 | (dot_copy_state): Restore prologue count by calling | |
2266 | get_saved_prologue_count(). | |
2267 | (generate_unwind_image): Free up list of saved prologue | |
2268 | counts by calling free_saved_prologue_counts(). | |
2269 | ||
f1e7a2c9 NC |
2270 | 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com> |
2271 | ||
2272 | * config/tc-tic54x.c: Add missing prototypes and remove ANSI style | |
2273 | function declarations. | |
2274 | ||
3f965e60 NC |
2275 | 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com> |
2276 | ||
2277 | * NEWS: Note that GASP is now deprecated. | |
2278 | * Makefile.am: Do not build gasp-new by default. | |
2279 | * Makefile.in: Regenerate. | |
2280 | * doc/Makefile.am: Do not install gasp.info. | |
2281 | * doc/Makefile.in: Regenerate. | |
2282 | * gas/gasp.texi: Note that gasp is now deprecated. | |
2283 | ||
9a66911f NC |
2284 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
2285 | ||
2286 | * NEWS: Mark 2.12 branch. | |
2287 | ||
f88fd9fe TT |
2288 | 2002-02-19 Tom Tromey <tromey@redhat.com> |
2289 | ||
2290 | * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. | |
2291 | ||
da0e507f TS |
2292 | 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2293 | ||
2294 | * config/tc-mips.c (md_parse_option): Complain about invalid -mabi | |
2295 | option input. | |
2296 | ||
ff0fb565 MS |
2297 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2298 | ||
2299 | * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. | |
2300 | Make bit size independent of architecture switch. | |
2301 | (md_begin): Add warning for -m64 with -Aesa. | |
2302 | (s390_md_end): Use renamed architecture defines. | |
2303 | ||
a245a9aa DJ |
2304 | 2002-02-18 Daniel Jacobowitz <drow@mvista.com> |
2305 | ||
2306 | * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. | |
2307 | ||
8bf549a8 NC |
2308 | 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com> |
2309 | ||
2310 | * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used | |
2311 | instead of CRIS. | |
2312 | ||
9151e8bf CD |
2313 | 2002-02-15 Chris Demetriou <cgd@broadcom.com> |
2314 | ||
a2c36061 | 2315 | * config/tc-mips.c (md_estimate_size_before_relax): Really |
9151e8bf CD |
2316 | make sure we treat weak like extern only for ELF. (Fixes |
2317 | patch from 2001-07-25.) | |
2318 | ||
59455fb1 BE |
2319 | 2002-02-15 Ben Elliston <bje@redhat.com> |
2320 | ||
2321 | * doc/as.texinfo: Add duplicate directory entry so that "info gas" | |
2322 | works as expected. | |
2323 | ||
49fda6c8 HPN |
2324 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
2325 | ||
2326 | * NEWS: Mention support for MMIX. | |
2327 | ||
2d2bf3e0 CD |
2328 | 2002-02-13 Chris Demetriou <cgd@broadcom.com> |
2329 | ||
2330 | * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into | |
2331 | a sequence of indpendent 'if' statements for easier debugging | |
2332 | and future modification. | |
2333 | ||
76f57f3a JT |
2334 | 2002-02-13 Matt Fredette <fredette@netbsd.org> |
2335 | ||
2336 | * config/tc-m68k.c (md_show_usage): No longer display a | |
2337 | hard-coded "68020" for the default CPU, instead display the | |
2338 | canonical name of the true, configured default CPU. | |
2339 | (m68k_elf_final_processing): Mark objects for sub-68020 | |
2340 | CPUs with the new EF_M68000 flag. | |
2341 | ||
3bf057fa AS |
2342 | 2002-02-13 Andreas Schwab <schwab@suse.de> |
2343 | ||
2344 | * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust | |
2345 | pc-relative relocations to merge sections in 64-bit mode. | |
2346 | ||
6334e312 | 2347 | 2002-02-13 Ben Elliston <bje@redhat.com> |
1ac57253 BE |
2348 | |
2349 | * NEWS: Document floating point number handling in gasp. | |
2350 | * gasp.c: Include <assert.h> and "xregex.h". | |
2351 | (is_flonum): New function. | |
2352 | (chew_flownum): Likewise. | |
2353 | (change_base): Consume flonums from the input, where possible. | |
2354 | * doc/gasp.texi (Constants): Document floating point numbers. | |
2355 | ||
3dcfe21d AM |
2356 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2357 | ||
2358 | * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types | |
2359 | that implicitly use LR and RR selectors. | |
2360 | ||
913572ec AO |
2361 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
2362 | ||
2363 | * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' | |
2364 | and `epsw' as available on AM33 and above only. | |
2365 | (other_register_name): Add logic to handle machine type encoded in | |
2366 | reg_number. | |
2367 | ||
9b90b531 TR |
2368 | 2002-02-11 Tom Rix <trix@redhat.com> |
2369 | ||
949f2b5c | 2370 | * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for |
9b90b531 TR |
2371 | xcoff64. |
2372 | ||
6c6783ff | 2373 | 2002-06-11 Alexandre Oliva <aoliva@redhat.com> |
6c1b24e4 AO |
2374 | |
2375 | * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. | |
2376 | Use all over. | |
2377 | ||
6c6783ff | 2378 | 2002-02-11 Jan Hubicka <jh@suse.cz> |
7ecd2f8b JH |
2379 | |
2380 | * i386.c (md_assemble): Support 32bit address prefix. | |
2381 | (i386_displacement): Likewise. | |
2382 | (i386_index_check): Accept 32bit addressing in 64bit mode. | |
2383 | ||
7eb27ef2 AO |
2384 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
2385 | ||
2386 | * config/tc-sh.c (dot): Removed unused function. | |
2387 | ||
fa702524 AM |
2388 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
2389 | ||
2390 | * Makefile.am: "make dep-am". | |
2391 | * Makefile.in: Regenerate. | |
2392 | * aclocal.m4: Regenerate. | |
2393 | * config.in: Regenerate. | |
2394 | * configure: Regenerate. | |
2395 | * doc/Makefile.in: Regenerate. | |
2396 | ||
625e1353 RH |
2397 | 2002-02-10 Richard Henderson <rth@redhat.com> |
2398 | ||
2399 | * doc/c-alpha.texi: New file. | |
2400 | * doc/Makefile.am (CPU_DOCS): Add it. | |
2401 | * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. | |
2402 | ||
543833df RH |
2403 | 2002-02-09 Richard Henderson <rth@redhat.com> |
2404 | ||
2405 | * config/tc-alpha.c (O_samegp): New. | |
2406 | (USER_RELOC_P): Include it. | |
2407 | (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. | |
2408 | (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. | |
2409 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
2410 | (alpha_validate_fix): New. | |
2411 | * config/tc-alpha.h (TC_VALIDATE_FIX): New. | |
2412 | ||
328eb32e HPN |
2413 | 2002-02-09 Hans-Peter Nilsson <hp@axis.com> |
2414 | ||
2415 | * doc/c-cris.texi: New. | |
2416 | * doc/all.texi: @set CRIS. | |
2417 | * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. | |
2418 | Include c-cris.texi. | |
2419 | * doc/Makefile.am (CPU_DOCS): Add c-cris.texi | |
2420 | * doc/Makefile.in: Regenerate. | |
2421 | ||
6373ee54 CD |
2422 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
2423 | ||
2424 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to | |
2425 | determine if a number is a sign-extended 32-bit number. | |
2426 | (load_register): Use IS_SEXT_32BIT_NUM. | |
2427 | (macro): Check if load/store macro handling is using a | |
2428 | constant 32-bit address on 64-bit address systems, and if | |
2429 | so optimize the generation of that address. | |
2430 | ||
50a4c611 RH |
2431 | 2002-02-08 Richard Henderson <rth@redhat.com> |
2432 | ||
2433 | * config/tc-alpha.c (alpha_force_relocation): Don't assert that | |
2434 | we've eliminated all foreign relocation types yet. | |
2435 | (alpha_fix_adjustable): Likewise. | |
2436 | ||
324bfcf3 AO |
2437 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
2438 | ||
2439 | Contribute sh64-elf. | |
2440 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> | |
2441 | Stephen Clarke <Stephen.Clarke@st.com> | |
2442 | * doc/c-sh64.texi: Fix citation of SH64 architecture manual. | |
2443 | 2002-01-31 Alexandre Oliva <aoliva@redhat.com> | |
2444 | * config/tc-sh.c (md_relax_table): Added default sizes for | |
2445 | non-PC-relative UNDEF_MOVI, and relaxation sequences for | |
2446 | MOVI_16, MOVI_32 and MOVI_48. | |
2447 | * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. | |
2448 | (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI | |
2449 | and MOVI_16. | |
2450 | (shmedia_md_estimate_size_before_relax): Remove redundant | |
2451 | blocks. Set fragP->fr_var even if relaxation type unchanged. | |
2452 | Retain UNDEF_MOVI until expression decays to number. | |
2453 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
2454 | * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC | |
2455 | relocation types. Take fixP->fx_addnumber into account too. | |
2456 | (shmedia_md_apply_fix): Likewise. | |
2457 | (shmedia_md_convert_frag): Likewise. | |
2458 | (shmedia_build_Mytes): Likewise. | |
2459 | (sh64_consume_datalabel): Complain about nested datalabel. | |
2460 | Support PIC relocs. Call sh_parse_name. | |
2461 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition | |
2462 | in tc-sh.h to SHmedia reloc types. | |
2463 | * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, | |
2464 | MOVI_GOTPC): New relaxation constants. | |
2465 | (md_relax_table): Introduce relaxation directives for PIC-related | |
2466 | constants. | |
2467 | (sh_PIC_related_p): Handle datalabel. | |
2468 | (sh_check_fixup): Choose SH5 PIC relocations. | |
2469 | (sh_cons_fix_new): Added BDF_RELOC_64. | |
2470 | (md_apply_fix3, sh_parse_name): Handle GOTPLT. | |
2471 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
2472 | * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the | |
2473 | current ISA is SHmedia, get 7 bytes. | |
2474 | 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> | |
2475 | * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a | |
2476 | void function. | |
2477 | * config/tc-sh64.c (shmedia_apply_fix): Rename to | |
2478 | shmedia_apply_fix3 and make void. | |
2479 | 2001-05-17 Alexandre Oliva <aoliva@redhat.com> | |
2480 | * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to | |
2481 | as_bad. | |
2482 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> | |
2483 | * config/tc-sh64.h (md_parse_name): Take &c as argument. | |
2484 | 2001-03-14 DJ Delorie <dj@redhat.com> | |
2485 | * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi | |
2486 | * doc/Makefile.in(CPU_DOCS): Ditto. | |
2487 | * doc/c-sh64.texi: New file. | |
2488 | * doc/as.texinfo: Add SH64 support. | |
2489 | 2001-03-13 DJ Delorie <dj@redhat.com> | |
2490 | * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to | |
2491 | A_REUSE_PREV so that its purpose is more obvious. | |
2492 | (shmedia_build_Mytes): Ditto. | |
2493 | 2001-03-07 DJ Delorie <dj@redhat.com> | |
2494 | * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels | |
2495 | before processing. | |
2496 | (sh64_vtable_inherit): Ditto. | |
2497 | (strip_datalabels): New, strip "datalabel" from given line. | |
2498 | * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable | |
2499 | pseudos. | |
2500 | 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
2501 | * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn | |
2502 | call ... | |
2503 | (shmedia_build_Mytes): ... to here. | |
2504 | 2001-03-06 DJ Delorie <dj@redhat.com> | |
2505 | * config/tc-sh.c: Remove sh64-specific uaquad now that there | |
2506 | is a generic one. | |
2507 | 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> | |
2508 | * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. | |
2509 | * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn | |
2510 | address by one in call to dwarf2_emit_insn. | |
2511 | 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> | |
2512 | Implement ".abi" pseudo and correct .cranges descriptors. Correct | |
2513 | alignment handling broken by imported changes. | |
2514 | * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. | |
2515 | (sh64_handle_align): Declare. | |
2516 | (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. | |
2517 | (sh64_max_mem_for_rs_align_code): Declare. | |
2518 | (enum sh64_isa_values): Moved here from tc-sh64.c. | |
2519 | (md_do_align): Define. | |
2520 | (sh64_do_align): Declare. | |
2521 | (struct sh64_tc_frag_data): New. | |
2522 | (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users | |
2523 | changed. | |
2524 | (TC_FRAG_INIT): Change to set new datatype. | |
2525 | (struct sh64_segment_info_type): Rename member | |
2526 | last_flushed_location to last_contents_mark. All users changed. | |
2527 | (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. | |
2528 | (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. | |
2529 | * config/tc-sh.c (md_pseudo_table): Add ".abi". | |
2530 | (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead | |
2531 | of unsetting seen_insn. | |
2532 | (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also | |
2533 | call sh64_update_contents_mark. | |
2534 | (sh_handle_align): Remove HAVE_SH64-conditioned code. | |
2535 | * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to | |
2536 | enum sh64_isa_values. | |
2537 | (sh64_set_contents_type): Drop segT parameter. All callers changed. | |
2538 | (emitting_crange): Boolean guard moved to file scope from function | |
2539 | scope in sh64_set_contents_type. | |
2540 | (s_sh64_abi): New. | |
2541 | (sh64_update_contents_mark): New; most split out from | |
2542 | sh64_flush_pending_output. | |
2543 | (shmedia_md_end): Call sh64_update_contents_mark. Set | |
2544 | sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. | |
2545 | (sh64_do_align): New function. | |
2546 | (sh64_max_mem_for_rs_align_code): New function. | |
2547 | (sh64_handle_align): Rename from shmedia_do_align. Make | |
2548 | non-static. Add head comment. Emit zero bytes for n bytes modulo | |
2549 | four. Change return-type to void. | |
2550 | (shmedia_elf_new_section): Remove. | |
2551 | (shmedia_md_assemble): Call sh64_update_contents_mark. | |
2552 | (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make | |
2553 | new frag. Call sh64_update_contents_mark after making the new | |
2554 | frag. | |
2555 | (sh64_flush_pending_output): Just call sh64_update_contents_mark | |
2556 | and sh_flush_pending_output. | |
2557 | (sh64_flag_output): Also call md_flush_pending_output, but add | |
2558 | condition on not emitting_crange. | |
2559 | (sh64_tc_cons_fix_new): Remove. | |
2560 | 2001-01-12 Nick Clifton <nickc@redhat.com> | |
2561 | * config/tc-sh64.c (shmedia_do_align): Fix to work with new | |
2562 | alignment handling scheme imported from sourceware. | |
2563 | 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
2564 | * config/tc-sh64.h (TARGET_FORMAT): Define. | |
2565 | (sh64_target_format): Prototype. | |
2566 | * config/tc-sh64.c (sh64_target_mach): New function. | |
2567 | 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
2568 | * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use | |
2569 | zero_address_frag instead of copying the frag of the symbol. | |
2570 | (shmedia_frob_file_before_adjust): Ditto. | |
2571 | (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask | |
2572 | to valueT to remove signedness. | |
2573 | (shmedia_md_convert_frag): Add parameter final. Rename parameter | |
2574 | headers to output_bfd. Do not evaluate symbols if final is false; | |
2575 | do emit fixups. | |
2576 | (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, | |
2577 | UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative | |
2578 | to the current frag, call shmedia_md_convert_frag to emit fixups | |
2579 | and make frag_wane neutralize the frag. Update comments. | |
2580 | * config/tc-sh.c (md_convert_frag): Change caller of | |
2581 | shmedia_md_convert_frag. | |
2582 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
2583 | * config/tc-sh64.h: Tweak comments and correct formatting. | |
2584 | * config/tc-sh64.c: Ditto. | |
2585 | (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit | |
2586 | expansion, MOVI pcrel expansion>: Fix thinko calculating offset | |
2587 | for the no-relocation case. | |
2588 | (shmedia_check_limits): Fix range check being off-by-one for PTA. | |
2589 | * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef | |
2590 | wrappers. | |
2591 | (SH64PCREL16_F): Increment for proper max-PTA handling. Update | |
2592 | comment. | |
2593 | (SH64PCREL16_M, MOVI_16_M): Correct range thinko. | |
2594 | (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of | |
2595 | expansion. | |
2596 | (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. | |
2597 | Correct comment. | |
2598 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
2599 | * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case | |
2600 | BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. | |
2601 | (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et | |
2602 | al>: Set lowest bit of field to relocate to 1 and rest to empty, | |
949f2b5c | 2603 | if reloc is emitted. |
324bfcf3 AO |
2604 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> |
2605 | New options plus bugfixes. | |
2606 | * config/tc-sh.c (md_longopts): New options "-no-expand" and | |
2607 | "-expand-pt32". | |
2608 | (md_parse_option): Handle new options. | |
2609 | (md_show_usage): Add blurb for new options. | |
2610 | * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. | |
2611 | (sh64_expand, sh64_pt32): New variables. | |
2612 | (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. | |
2613 | (shmedia_md_apply_fix): Hold original fixP->fx_r_type in | |
2614 | orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into | |
2615 | BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. | |
2616 | <resolved previously-pc-relative relocs>: Handle | |
2617 | SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. | |
2618 | (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), | |
2619 | case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand | |
2620 | points to SHcompact code. | |
2621 | <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, | |
2622 | SH64PCREL16)>: Check that ISA of what operand points at and | |
2623 | PTA/PTB matches, or emit error. | |
2624 | (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and | |
2625 | SHMEDIA_BFD_RELOC_PT. | |
2626 | (shmedia_immediate_op): If pcrel, emit fixup also for constant | |
2627 | operand. | |
2628 | (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in | |
2629 | condition for MOVI expansion. | |
2630 | <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if | |
2631 | sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not | |
2632 | sh64_expand. | |
2633 | <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT | |
2634 | fixup. | |
2635 | (sh64_target_format): Error-check setting of sh64_pt32 and | |
2636 | sh64_expand. Fix typo in check for sh64_shcompact_const_crange. | |
2637 | (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and | |
2638 | SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. | |
2639 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> | |
2640 | * config/tc-sh64.c: Improve comments. | |
2641 | (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do | |
2642 | not say the linker will check correctness of PTA/PTB expansion. | |
2643 | (shmedia_md_end): Make non-static. | |
2644 | * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add | |
2645 | prototype. | |
2646 | * config/tc-sh.c (sh_finalize): Remove. | |
2647 | * config/tc-sh.h (md_end): Do not define. | |
2648 | Remove prototype for sh_finalize. | |
2649 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
2650 | * config/tc-sh64.c (shmedia_frob_section_type): Use a struct | |
2651 | sh64_section_data container when storing section type in tdata | |
2652 | field in elf_section_data. | |
2653 | * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to | |
2654 | EF_SH5. | |
2655 | * Makefile.am: Update dependencies. | |
2656 | * Makefile.in: Regenerate. | |
2657 | 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> | |
2658 | * config/tc-sh64.c (shmedia_md_assemble): Don't protect | |
2659 | dwarf2_emit_insn call with test on debug_type. | |
2660 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
2661 | * config/tc-sh64.c (sh64_set_contents_type): Make contents-type | |
2662 | CRT_SH5_ISA32 sticky for 64-bit. | |
2663 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
2664 | Generate .crange sections when switching ISA mode or emitting | |
2665 | constants in same section as code. | |
2666 | * config/tc-sh64.c: Reformat structure definitions. | |
2667 | (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New | |
2668 | variables. | |
2669 | (sh64_set_contents_type): Rename from sh64_init_section. Rewrite | |
2670 | to emit a .cranges descriptor when contents type changes. Only | |
2671 | emit error if changing contents type and -no-mix is in effect. | |
2672 | (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, | |
2673 | sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. | |
2674 | (shmedia_md_end): Set sh64_end_of_assembly. Pass | |
2675 | sh64_flush_last_crange over sections. | |
2676 | When checking main symbol of datalabel symbol, check for | |
2677 | STO_SH5_ISA32, not ISA type of section in definition. | |
2678 | (shmedia_frob_file_before_adjust): Check main symbol for | |
2679 | STO_SH5_ISA32; don't check ISA type of section in definition. | |
2680 | (shmedia_frob_section_type): Adjust for .cranges; set section flag | |
2681 | to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether | |
2682 | .cranges entries have been output. | |
2683 | (shmedia_elf_new_section): Just call md_flush_pending_output. | |
2684 | (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE | |
2685 | fix. Do not set tc_segment_info_data.in_code for section. Call | |
2686 | sh64_set_contents_type for SHmedia code. | |
2687 | (s_sh64_mode): Do not call sh64_init_section or set seen_insn to | |
2688 | false. Call md_flush_pending_output. | |
2689 | (sh64_target_format): Check that -no-mix and | |
2690 | -shcompact-const-crange are used in sane combination with other | |
2691 | options. | |
2692 | (shmedia_md_pcrel_from_section): Check type of fix for how to | |
2693 | adjust pc-relative. | |
2694 | (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, | |
2695 | not ISA type of section in definition. | |
2696 | * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to | |
2697 | hold contents-type state. | |
2698 | (md_flush_pending_output): Redefine to sh64_flush_pending_output. | |
2699 | (sh64_flush_pending_output): Declare. | |
2700 | (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. | |
2701 | (sh64_tc_cons_fix_new): Declare. | |
2702 | * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and | |
2703 | call sh64_flag_output. | |
2704 | (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just | |
2705 | call sh64_set_contents_type to mark SHcompact code and set | |
2706 | seen_insn. | |
2707 | (md_longopts): New options "-no-mix" and | |
2708 | "-shcompact-const-crange". | |
2709 | (md_parse_option): Handle new options. | |
2710 | (md_show_usage): Add blurb for new options. | |
2711 | (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. | |
2712 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> | |
2713 | * config/tc-sh64.c: Delete investigated and obsolete fixme:s. | |
2714 | (sh64_last_insn_frag): New. | |
2715 | (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag | |
2716 | to get frag for insn opcode for generating fixups; do not assume it | |
2717 | is the same frag. | |
2718 | (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag | |
2719 | for new insn. | |
2720 | * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges | |
2721 | section. | |
2722 | (TC_FRAG_TYPE): Define as fragS *. | |
2723 | (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. | |
2724 | (sh64_last_insn_frag): Declare. | |
2725 | (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, | |
2726 | not == NULL before dereferencing. | |
2727 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
2728 | Get rid of BFD section flag and EF_SH64_ABI64. | |
2729 | * config/tc-sh64.c (shmedia_frob_section_type): Use | |
2730 | elf_section_data (sec)->tdata, not a specific BFD section flag, to | |
2731 | communicate the section as containing SHmedia code. Describe why. | |
2732 | * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set | |
2733 | EF_SH64 regardless of ABI. | |
2734 | * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" | |
2735 | in error message. Handle resolved expressions for | |
2736 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
2737 | BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. | |
2738 | (shmedia_check_limits): Handle BFD_RELOC_64. | |
2739 | (sh64_adjust_symtab): Do not decrement the GAS symbol value for | |
2740 | a STO_SH5_ISA32 symbol, only the BFD value. | |
2741 | 2000-12-11 Ben Elliston <bje@redhat.com> | |
2742 | * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct | |
2743 | dwarf2_generate_asm_lineno. | |
2744 | 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> | |
2745 | Handle PC-relative MOVI expansions with assembler relaxation. | |
2746 | Generate PC-relative relocs from 16-bit PC-relative expressions. | |
2747 | * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... | |
2748 | (shmedia_md_pcrel_from_section): ...here. | |
2749 | (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has | |
2750 | turned completely resolved. Adjust relocation type for 16-bit | |
2751 | immediate operands that has turned PC-relative. Adjust back for | |
2752 | MD_PCREL_FROM_SECTION being applied twice. | |
2753 | (shmedia_md_convert_frag): Always emit reloc for expression with | |
2754 | global or weak symbol. Handle relaxation result for PC-relative | |
2755 | expressions. | |
2756 | (shmedia_md_estimate_size_before_relax): An expression with a weak | |
2757 | or global symbol can not be relaxed. Break out tests for | |
2758 | relaxable symbol into variable sym_relaxable. | |
2759 | <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, | |
2760 | UNDEF_MOVI)>: Break out any PC-relative expression and change | |
2761 | relaxation type. | |
2762 | (shmedia_build_Mytes): CSE &operands->operands[j] into variable | |
2763 | opjp. | |
2764 | <case A_IMMS16>: Fix typo for initial minor relaxation type of | |
2765 | MOVI expansion. If X_op_symbol of the immediate expression is | |
2766 | set, make an expression symbol for the argument to frag_var. | |
2767 | * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New | |
2768 | relaxations. | |
2769 | (END): Adjust for new relaxations. | |
2770 | (md_relax_table): Add entries for new relaxations. | |
2771 | 2000-12-07 Ben Elliston <bje@redhat.com> | |
2772 | * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. | |
2773 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
2774 | * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and | |
2775 | SHORI operand offsets in PT/PTA/PTB expansions. | |
2776 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
2777 | Implement DataLabel semantics. | |
2778 | * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call | |
2779 | shmedia_frob_file_before_adjust. | |
2780 | * config/tc-sh64.c [! OBJ_ELF]: Emit #error. | |
2781 | (DATALABEL_SUFFIX): Define. | |
2782 | (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk | |
2783 | symbol list to update "datalabel" symbols to their main symbol | |
2784 | counterparts. | |
2785 | (shmedia_frob_file_before_adjust): New. | |
2786 | (sh64_adjust_symtab): For remaining datalabel symbols, set to | |
2787 | undefined and set STT_DATALABEL. | |
2788 | (sh64_frob_label): Initialize TC symbol field. | |
2789 | (sh64_consume_datalabel): Actually implement semantics. New | |
2790 | parameter operandf, call it instead of expression. | |
2791 | (sh64_exclude_symbol): New. | |
2792 | * config/tc-sh64.h (md_parse_name): Pass on the function operand | |
2793 | to sh64_consume_datalabel. | |
2794 | (tc_symbol_new_hook): Define to tc_frob_symbol. | |
2795 | (TC_SYMFIELD_TYPE): Define to symbolS *. | |
2796 | (tc_frob_symbol): Define to call sh64_exclude_symbol. | |
2797 | 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> | |
2798 | * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default | |
2799 | case. | |
2800 | (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if | |
2801 | generating dwarf2 debug information. | |
2802 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
2803 | * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and | |
2804 | elf64-sh64 for the 64-bit ABI. | |
2805 | * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* | |
2806 | option. | |
2807 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
2808 | * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for | |
2809 | case-insensitivity. | |
2810 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
2811 | * config/tc-sh64.c: Tweak comments, formatting and error messages. | |
2812 | (enum sh64_abi_values): New type. | |
2813 | (enum sh64_isa_values): New type. | |
2814 | (sh64_isa_mode): Replace shmedia_mode. All referers changed. | |
2815 | (seen_shcompact_mode, seen_shmedia_mode): Delete. | |
2816 | (sh64_abi): Replace shmedia_64. | |
2817 | (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), | |
2818 | C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. | |
2819 | (s_sh64_mode): Check validity for this target. | |
2820 | (sh64_target_format): Initialize defaults for ISA and ABI. | |
2821 | Fallback to old object format if no SH64 ISA or ABI has been | |
2822 | specified. | |
2823 | * config/tc-sh.c (md_parse_option): Check combinations for errors. | |
2824 | (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit | |
2825 | ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. | |
2826 | * config/tc-sh64.h: Fix typo in comment. | |
2827 | 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> | |
2828 | * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) | |
2829 | <PT fixups for absolute values>: Size will be longest, not | |
2830 | shortest. | |
2831 | (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct | |
2832 | all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. | |
2833 | * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 | |
2834 | and l1 to hold lowercase of two first characters. Change all | |
2835 | remaining TO_LOWER to tolower. | |
2836 | * config/tc-sh64.c (TO_LOWER): Delete. | |
2837 | (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. | |
2838 | (md_parse_name): Define. | |
2839 | (sh64_consume_datalabel): Declare. | |
2840 | (DOLLAR_DOT): Define. | |
2841 | * config/tc-sh64.c (shmedia_parse_exp): New. | |
2842 | (sh64_consume_datalabel): New; just ignoring datalabel semantics. | |
2843 | (shmedia_parse_reg): Remove const from src | |
2844 | parameter. | |
2845 | (shmedia_get_operands): Ditto for args parameter and ptr variable. | |
2846 | (shmedia_md_assemble): Ditto for op_end variable. | |
2847 | (shmedia_get_operand): Ditto for ptr parameter and src variable. | |
2848 | Use shmedia_parse_exp, not parse_exp. | |
2849 | * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type | |
2850 | parameter. All callers changed. | |
2851 | (shmedia_get_operand): Add shmedia_arg_type parameter. All | |
2852 | callers changed. | |
2853 | (shmedia_parse_reg): Put first two character in local variables. | |
2854 | Use tolower, not TO_LOWER. If no register is found and argtype | |
2855 | indicates a control register, scan shmedia_creg_table | |
2856 | case-insensitive. | |
2857 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
2858 | * Makefile.am (CPU_TYPES): Add sh64. | |
2859 | (TARGET_CPU_CFILES): Add config/tc-sh64.c. | |
2860 | (TARGET_CPU_HFILES): Add config/tc-sh64.h. | |
2861 | Regenerate dependencies. | |
2862 | * Makefile.in: Regenerate. | |
2863 | * configure.in: Add support for sh64-*-elf*. | |
2864 | * configure: Regenerate. | |
2865 | * config/tc-sh64.h: New. | |
2866 | * config/tc-sh64.c: New. | |
2867 | * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos | |
2868 | .mode, .isa and .uaquad. | |
2869 | [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, | |
2870 | SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. | |
2871 | [HAVE_SH64] (END): Define as 10. | |
2872 | [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, | |
2873 | SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, | |
2874 | MOVI_64): Define. | |
2875 | [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, | |
2876 | SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, | |
2877 | SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, | |
2878 | MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): | |
2879 | Define. | |
2880 | (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. | |
2881 | (md_begin) [HAVE_SH64]: Call shmedia_md_begin. | |
2882 | (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. | |
2883 | (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling | |
2884 | SHmedia instructions. Handle state-change after switching to | |
2885 | SHcompact. | |
2886 | (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. | |
2887 | (md_parse_option) [HAVE_SH64]: Parse new options. | |
2888 | (md_show_usage) [HAVE_SH64]: Show usage of new options. | |
2889 | (md_convert_frag) [HAVE_SH64] <default>: Call | |
2890 | shmedia_md_convert_frag instead of abort. | |
2891 | (sh_force_relocation) [HAVE_SH64]: Also force relocation for | |
2892 | BFD_RELOC_SH_SHMEDIA_CODE. | |
2893 | (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying | |
2894 | SHcompact or SHmedia code. | |
2895 | (md_apply_fix) [HAVE_SH64] <default>: Return result from calling | |
2896 | shmedia_md_apply_fix instead of abort. | |
2897 | (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return | |
2898 | result from calling shmedia_md_estimate_size_before_relax instead | |
2899 | of calling abort. | |
2900 | (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align | |
2901 | do the work. | |
2902 | (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call | |
2903 | shmedia_init_reloc and do nothing more if it returns non-zero. | |
2904 | (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. | |
2905 | * po/POTFILES.in: Regenerate. | |
2906 | * po/gas.pot: Regenerate. | |
2907 | ||
ac3f04d7 AO |
2908 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
2909 | ||
6b32719e AO |
2910 | * config/tc-sh.c (parse_at): Install the correct version of |
2911 | 2002-02-04's patch. | |
949f2b5c | 2912 | |
ac3f04d7 AO |
2913 | * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't |
2914 | assume fixP->fx_subsy is non-NULL. | |
2915 | ||
7679ead9 AO |
2916 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> |
2917 | ||
2918 | * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to | |
fdf4122d | 2919 | A_DISP_PC_ABS, and adjust it by -4. |
7679ead9 AO |
2920 | (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is |
2921 | expected. | |
2922 | (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if | |
2923 | the operand type is not A_DISP_PC_ABS. | |
2924 | ||
5459d7a0 HPN |
2925 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
2926 | ||
2927 | * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of | |
2928 | common and weak symbols. Handle common and weak symbols as | |
2929 | undefined symbols with regards to GREG handling and merging. | |
2930 | (mmix_frob_file): Ditto. | |
2931 | ||
006336b8 JT |
2932 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
2933 | ||
2934 | * configure.in (hppa-*-netbsd*): New target. | |
2935 | * configure: Regenerate. | |
2936 | * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. | |
2937 | ||
9e0665bc AM |
2938 | 2002-02-02 Alan Modra <amodra@bigpond.net.au> |
2939 | ||
2940 | * config/tc-v850.c: Add missing prototypes amd use old-style | |
2941 | function definitions. | |
2942 | (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. | |
2943 | (sdata_section tdata_section, zdata_section, sbss_section, | |
2944 | tbss_section, zbss_section, rosdata_section, rozdata_section, | |
2945 | scommon_section, tcommon_section, zcommon_section, | |
2946 | call_table_data_section, call_table_text_section): Delete. | |
2947 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
2948 | v850_zbss, v850_bss, v850_rosdata, v850_rozdata, | |
2949 | v850_call_table_data, v850_call_table_text): Delete. | |
2950 | (struct v850_seg_entry): New. | |
2951 | (v850_seg_table): New. | |
2952 | (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, | |
2953 | TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, | |
2954 | ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, | |
2955 | CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. | |
2956 | (do_v850_seg): New. | |
2957 | (v850_seg): New. | |
2958 | (v850_comm): Use do_v850_seg and v850_seg_table. Simplify | |
2959 | recording of alignment. | |
2960 | (md_pseudo_table): Use v850_seg. | |
2961 | (md_begin): Don't init .call_table_data and .call_table_text here. | |
2962 | Set v850_seg_table bss entry. | |
2963 | ||
973eb340 HPN |
2964 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
2965 | ||
2966 | Support on-demand global register allocation by passing on | |
2967 | base-plus-offset relocs to the linker. | |
2968 | * config/tc-mmix.c: Tweak and fix typos in comments. | |
949f2b5c | 2969 | (allocate_undefined_gregs_in_linker): New variable. |
973eb340 HPN |
2970 | (OPTION_LINKER_ALLOCATED_GREGS): New option macro. |
2971 | (md_longopts): Add --linker-allocated-gregs. | |
2972 | (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. | |
2973 | <case OPTION_LINKER_ALLOCATED_GREGS>: New. | |
2974 | (md_show_usage): Update text for -x. Add text for | |
2975 | --linker-allocated-gregs. | |
2976 | (tc_gen_reloc): Derive default value for addend from val and | |
2977 | baddsy. Use addsec and bfd_is_abs_section in more places. Don't | |
2978 | emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable | |
2979 | GREG if allocate_undefined_gregs_in_linker. | |
2980 | * doc/as.texinfo (Overview) <Target MMIX options>: Add | |
2981 | --linker-allocated-gregs. | |
2982 | * doc/c-mmix.texi (MMIX-Opts): Add blurb about | |
2983 | --linker-allocated-gregs. Mention that it's implied by -x. | |
2984 | (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. | |
2985 | (MMIX-mmixal): Clarify dated comparison and location of MMIXware. | |
2986 | ||
2987 | * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. | |
2988 | ||
ba323545 AM |
2989 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
2990 | ||
2991 | * Makefile.am: Run "make dep-am" | |
2992 | * Makefile.in: Regenerate. | |
2993 | ||
3b16e843 NC |
2994 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
2995 | ||
2996 | * config/tc-or32.c: New file. | |
2997 | * config/tc-or32.h: New file. | |
2998 | * configure.in: Add support for or32 targets. | |
2999 | * configure: Regenerate. | |
3000 | * config/obj-coff.c: Add support for or32 targets. | |
3001 | * config/obj-coff.h: Add support for or32 targets. | |
3002 | * Makefile.am: Add support for or32 targets. | |
3003 | * Makefile.in: Regenerate. | |
3004 | * NEWS: Mention support for OpenRISC. | |
3005 | * doc/Makefile.in: Regenerate. | |
3006 | * po/POTFILES.in: Regenerate. | |
3007 | * po/gas.pot: Regenerate. | |
3008 | ||
912a07db RS |
3009 | 2002-01-30 Richard Sandiford <rsandifo@redhat.com> |
3010 | ||
3011 | * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy | |
3012 | and mod. | |
3013 | ||
4514d474 CD |
3014 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
3015 | ||
3016 | * config/tc-mips.c (tc_gen_reloc): Arrange for | |
3017 | BFD_RELOC_PCREL_HI16_S relocations to be output relative to | |
3018 | their LO16 parts, even for ELF. | |
3019 | ||
246fcdee DJ |
3020 | 2002-01-29 Daniel Jacobowitz <drow@mvista.com> |
3021 | ||
3022 | * config/tc-i386.c: Protect definitions of true and false | |
3023 | from redefinition. | |
3024 | ||
00e6e13d JJ |
3025 | 2002-01-28 Jakub Jelinek <jakub@redhat.com> |
3026 | ||
3027 | * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols | |
3028 | made because of .weak, if they are neither defined nor used in any | |
3029 | way. | |
3030 | ||
4867be41 DJ |
3031 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
3032 | ||
3033 | * configure: Regenerated. | |
3034 | ||
7562a296 HPN |
3035 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
3036 | ||
3037 | * doc/Makefile.am (install): Depend on install-info. | |
3038 | * doc/Makefile.in: Regenerate. | |
3039 | ||
1caa7b23 NC |
3040 | 2002-01-26 Nick Clifton <nick@redhat.com> |
3041 | ||
3042 | * po/fr.po: Updated version | |
3043 | ||
166e23f9 KH |
3044 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
3045 | ||
3046 | * config/tc-h8300.c (check_operand): Don't print a warning | |
3047 | when a valid 24-bit address is given to a 16-bit address | |
3048 | operand. | |
3049 | ||
538cd60f AO |
3050 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
3051 | ||
3052 | * config/tc-sh.c (sh_elf_suffix): Removed. | |
3053 | (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, | |
3054 | sh_end_of_match, sh_parse_name): New functions. | |
3055 | (sh_elf_cons): Simplify. | |
3056 | (parse_exp): Reject misplaced PIC operands. | |
3057 | (md_undefined_symbol): Simplify. | |
3058 | (sh_fix_adjustable): Let @GOTOFF be adjusted. | |
3059 | (md_apply_fix3): Write @PLT and @GOTOFF addends in place. | |
3060 | (tc_gen_reloc): Move fixp subsy absolute value into addnumber. | |
3061 | Complain if subsy remains at the end. | |
3062 | * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. | |
3063 | (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. | |
3064 | ||
b386f24b AO |
3065 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
3066 | ||
3067 | * config/tc-mn10300.c (xr_registers): Move `pc'... | |
3068 | (other_registers): ... here. | |
3069 | ||
c46f0c34 AM |
3070 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
3071 | ||
3072 | * Makefile.am: Run "make dep-am". | |
3073 | * Makefile.in: Regenerate. | |
3074 | * gas/po/POTFILES.in: Regenerate. | |
3075 | ||
23deb923 DD |
3076 | 2002-01-21 DJ Delorie <dj@redhat.com> |
3077 | ||
3078 | * config/obj-coff.c (obj_coff_init_stab_section): Make the | |
3079 | stabstr_name allocation permanent, as it will be referenced from | |
3080 | the section hash. | |
3081 | ||
9596feea JT |
3082 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
3083 | ||
3084 | * configure.in (ia64-*-netbsd*): New target. | |
949f2b5c | 3085 | * configure: Regenerate. |
9596feea | 3086 | |
92081f48 HPN |
3087 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
3088 | ||
3089 | * doc/as.texinfo (Overview) <Target ARM options>: Add missing {} | |
3090 | to @dots call. | |
3091 | <Detailed description, ARM options>: Ditto. | |
3092 | * doc/c-arm.texi (ARM Options): Ditto. | |
3093 | ||
63e63b07 RE |
3094 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3095 | ||
3096 | * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from | |
3097 | do_mia, do_mar and do_mra respectively. | |
3098 | (do_mav_*): Renamed from do_c_*. | |
3099 | (mav_reg_required_here, mav_parse_offset): Renamed from | |
3100 | cirrus_reg_required_here and cirrus_parse_offset respectively. | |
3101 | (MAV_MODE?): Renamed from CIRRUS_MODE?. | |
3102 | ||
ea6ef066 RE |
3103 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3104 | Keith Walker <keith.walker@arm.com> | |
3105 | ||
3106 | * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. | |
3107 | (insns): Add pattern for bxj instruction. | |
3108 | (do_bxj): New function. | |
3109 | (arm_cpus): Add arm926ej. | |
3110 | (arm_archs): Add armv5tej. | |
3111 | ||
bc89618b RE |
3112 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3113 | ||
3114 | * doc/c-arm.texi: Add new fpe options to list of supported flags. | |
3115 | ||
d193a22a RE |
3116 | 2002-01-19 Keith Walker <keith.walker@arm.com> |
3117 | ||
3118 | * tc-arm.c (arm_fpus): Add fpe2 and fpe3. | |
3119 | ||
03b1477f RE |
3120 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3121 | ||
3122 | * NEWS: Mention new ARM command-line options and VFP support. | |
3123 | ||
949f2b5c | 3124 | * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All |
03b1477f RE |
3125 | uses changed. |
3126 | (ARM_CEXT_MAVERICK): Similarly. | |
3127 | (ARM_ANY): Now means any core instruction. | |
3128 | (CPU_DEFAULT): Default to ARM_ANY. | |
3129 | (uses_apcs_26, atcps, support_interwork, uses_apcs_float) | |
3130 | (pic_code): Declare for all object types. Make type int. | |
3131 | (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) | |
3132 | (march_fpu_opt, mfpu_opt): Declare. | |
3133 | (md_longopts): Tidy up conditional definitions. | |
3134 | (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) | |
3135 | (arm_long_opts): New tables. | |
3136 | (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. | |
3137 | (arm_parse_extension): New function. | |
3138 | (md_parse_option): Rewrite using new table-driven system. | |
3139 | (md_show_usage): Use new table-driven system. | |
3140 | (md_begin): Calculate cpu_variant from command line option data. | |
3141 | * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific | |
3142 | command-line options. | |
3143 | * doc/c-arm.texi: Likewise. | |
3144 | ||
2a538ba5 AJ |
3145 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
3146 | ||
3147 | * as.c (parse_args): Update year. | |
3148 | ||
b1ffc257 | 3149 | 2002-01-17 Timothy Wall <twall@alum.mit.edu> |
2a538ba5 | 3150 | |
b1ffc257 TW |
3151 | * config/tc-tic54x.c (encode_address): Add a more informative |
3152 | warning about incorrect syntax. | |
3153 | ||
328577ad NC |
3154 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
3155 | ||
3156 | * po/gas.pot: Regenerate. | |
3157 | ||
06f030db NC |
3158 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
3159 | ||
3160 | * macro.c (get_any_string): Add no-c-format comment to prevent | |
3161 | confusion when translating string. | |
3162 | * gasp.c (get_any_string): Add no-c-format comment to prevent | |
3163 | confusion when translating string. | |
3164 | ||
394f9b3a TS |
3165 | 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3166 | Johannes Stezenbach <js@convergence.de> | |
3167 | * config/tc-mips.c (percent_op): Ensure longer percent_op's are | |
3168 | matched before the shorter ones. | |
3169 | (my_getSmallParser): Fix handling of nested parentheses in | |
3170 | percent_op's. Code cleanup. | |
3171 | (my_getPercentOp): New function, code from my_getSmallParser. | |
3172 | (my_getSmallExpression): Fix handling of closing parentheses. | |
3173 | Code cleanup. Better comments. | |
3174 | ||
af3ae48d NC |
3175 | 2002-01-16 Nick Clifton <nickc@redhat.com> |
3176 | ||
3177 | po/tr.po: New file: Turkish translation. | |
3178 | configure.in (LINGUAS): Add "tr". | |
3179 | configure: Regenerate. | |
3180 | ||
bfae80f2 RE |
3181 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
3182 | ||
3183 | Support for VFP instructions | |
3184 | * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. | |
3185 | (cp_address_required_here): New argument wb_ok. When false, do not | |
3186 | accept write-back forms of addressing. Change all callers. | |
3187 | (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) | |
3188 | (FPU_VFP_EXT_V2): Define. | |
3189 | (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): | |
3190 | Define in terms of above. | |
3191 | (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. | |
3192 | (vfp_reg): New struct. | |
3193 | (vfp_regs): New array of registers. | |
3194 | (insns): Add VFP instructions. | |
3195 | (sn_table): New array of VFP single-precision register names. | |
3196 | (dn_table): New array of VFP double-precision register names. | |
3197 | (all_reg_maps): Add the new register tables. | |
3198 | (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. | |
3199 | (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) | |
3200 | (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) | |
3201 | (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) | |
3202 | (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) | |
3203 | (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) | |
3204 | (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) | |
3205 | (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) | |
3206 | (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) | |
3207 | (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) | |
3208 | (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) | |
3209 | (do_vfp_sp_dp_cvt): New functions. | |
3210 | (md_begin): Set soft-float flag for appropriate VFP work. | |
3211 | (md_atof): Handle VFP-format doubles. | |
3212 | (md_parse_option): Handle VFP command-line options. | |
3213 | (md_show_usage): Display VFP command-line options. | |
3214 | ||
fcd6d8d6 RE |
3215 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
3216 | ||
2a538ba5 | 3217 | * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for |
fcd6d8d6 RE |
3218 | various command line options. |
3219 | ||
1f7fd478 NC |
3220 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
3221 | ||
3222 | * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix | |
3223 | vtinherit relocs. | |
3224 | (xstormy16_md_apply_fix3): Do not return a value. | |
3225 | ||
21f0f23a RE |
3226 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
3227 | ||
3228 | * tc-arm.c (md_longopts): On targets that aren't bi-endian, support | |
3229 | the -EL/-EB option that matches the target's endianness. | |
3230 | (md_parse_option): Likewise. | |
3231 | ||
ce058b6c RE |
3232 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
3233 | ||
2a538ba5 | 3234 | * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option |
ce058b6c RE |
3235 | is not dependent on ARM_BI_ENDIAN. |
3236 | ||
f03698e6 RE |
3237 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
3238 | ||
3239 | * tc-arm.c (all error messages): Normalize capitalization of messages. | |
3240 | ||
3241 | * tc-arm.h (md_operand): Delete define. | |
3242 | * tc-arm.c (in_my_get_expression): New static variable. | |
3243 | (my_get_expression): Set and clear it. | |
3244 | (md_operand): New function. If called from my_get_expression | |
3245 | put the error in inst.error. | |
3246 | (output_inst): Now takes argument of instruction being assembled. | |
3247 | Print it out with any error message. | |
3248 | (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store | |
3249 | with '=' syntax. | |
3250 | (end_of_line): Don't update inst.error if it is already set. | |
3251 | ||
e28cd48c RE |
3252 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
3253 | ||
6088b00e | 3254 | * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo |
e28cd48c RE |
3255 | op that can be translated into a mvn instruction. |
3256 | ||
1cd8ff38 NC |
3257 | 2002-01-11 Steve Ellcey <sje@cup.hp.com> |
3258 | ||
3259 | * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for | |
3260 | setting default md.flags. | |
3261 | (SHT_INIT_ARRAY): New elf special section used by HP-UX. | |
3262 | (SHT_FINI_ARRAY): New elf special section used by HP-UX. | |
3263 | * gas/config/tc-ia64.c (setup_unwind_header): Add support | |
3264 | for 32 bit unwind info blocks. | |
3265 | (generate_unwind_image): Add support for different types | |
3266 | of unwind images (32 bits and/or big-endian). | |
3267 | (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. | |
3268 | (ia64_target_format): Add support for hpux target formats. | |
3269 | (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. | |
3270 | (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and | |
3271 | SHT_FINI_ARRAY elf section types. | |
3272 | ||
6c43fab6 RE |
3273 | 2002-01-10 Richard Earnshaw <rearnsha@arm.com> |
3274 | ||
3275 | * tc-arm.c (struct reg_entry): Move before prototypes. | |
3276 | (int_register, cp_register, fp_register): Delete. | |
3277 | (reg_table): Delete. Replaced with ... | |
3278 | (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) | |
3279 | (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) | |
3280 | (mav_dspsc_table): ... one table per register set. | |
3281 | (arm_reg_hsh): Delete. | |
3282 | (struct reg_map): New structure. | |
3283 | (all_reg_maps): New array. | |
3284 | (enum arm_reg_type): New enums. | |
3285 | (build_reg_hsh): New function. | |
3286 | (insert_reg_alias): Use hash table passed by caller. Adjust all | |
3287 | callers. | |
3288 | (create_register_alias): New function, split out from ... | |
3289 | (md_assemble): ... here. | |
3290 | (md_begin): Build new register hash tables. | |
3291 | (arm_reg_parse): New argument for the hash table to search. Adjust all | |
3292 | callers. | |
3293 | (arm_reg_parse_any): New function. | |
3294 | (co_proc_number): Look up the processor number in the processor hash | |
3295 | table. | |
3296 | (cirrus_regtype): Delete. | |
3297 | (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) | |
3298 | (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) | |
3299 | (ARM_EXT_MAVERICKsc_register): Delete. | |
3300 | (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. | |
3301 | (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New | |
3302 | functions. | |
3303 | (do_c_triple_4, do_c_triple_5): Delete. | |
3304 | (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. | |
3305 | (do_c_quad_6): Delete. | |
3306 | (do_c_quad_6[ab]): New functions. | |
3307 | (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework | |
3308 | arguments to use new register parsing methods. | |
3309 | (cirrus_reg_required_here): Likewise. | |
3310 | (insns): Reclassify cirrus maverick worker functions. | |
3311 | (cirrus_valid_reg): Delete. | |
3312 | ||
8d05742f JT |
3313 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
3314 | ||
3315 | * configure.in (sh*le): Set cpu_type=sh and endian=little. | |
3316 | (sh*-*-netbsdelf*): New target. | |
3317 | * configure: Regenerate. | |
2a538ba5 | 3318 | * tc-sh.h: Update copyright years. |
8d05742f JT |
3319 | (TARGET_FORMAT): Add version for TE_NetBSD. |
3320 | ||
ceac3f62 NC |
3321 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
3322 | ||
3323 | * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go | |
3324 | negative. | |
3325 | ||
d7861ad2 AM |
3326 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
3327 | ||
3328 | * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. | |
3329 | * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. | |
3330 | ||
7a621144 DJ |
3331 | 2002-01-05 Daniel Jacobowitz <drow@mvista.com> |
3332 | ||
3333 | * tc-mips.c (mips_cprestore_valid): New flag. | |
3334 | (mips_frame_reg_valid): New flag. | |
3335 | (macro) [M_JAL_2]: Check both flags. | |
3336 | [M_JAL_A]: Likewise. | |
3337 | (s_cprestore): Set mips_cprestore_valid. | |
3338 | (tc_get_register): If setting mips_frame_reg, set | |
3339 | mips_frame_reg_valid and clear mips_cprestore_valid. | |
3340 | (s_mips_ent): Clear both flags. | |
3341 | (s_mips_end): Clear both flags. | |
3342 | ||
7c6beb69 AM |
3343 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
3344 | ||
3345 | * write.c (write_object_file): Make use of bfd_section_list_remove. | |
3346 | * config/obj-ecoff.c (ecoff_frob_file): Likewise. | |
3347 | * config/tc-mmix.c (mmix_frob_file): Likewise. | |
3348 | ||
8a8b2d4b AJ |
3349 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
3350 | ||
3351 | * configure.in (i386-*-netbsdelf*): Collapse target into... | |
3352 | (i386-*-netbsd*): ...this. Add support for x86-64. | |
3353 | * configure: Regenerated. | |
3354 | ||
a09cf9bd MG |
3355 | 2002-01-03 matthew green <mrg@redhat.com> |
3356 | ||
3357 | * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. | |
3358 | ||
23b7f870 NC |
3359 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
3360 | ||
3361 | * config/tc-m68k.c (md_estimate_size_before_relax): Test for a | |
3362 | NULL frag link. | |
3363 | ||
08d56133 NC |
3364 | For older changes see ChangeLog-0001 |
3365 | \f | |
3366 | Local Variables: | |
3367 | mode: change-log | |
3368 | left-margin: 8 | |
3369 | fill-column: 74 | |
3370 | version-control: never | |
3371 | End: |