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