Commit | Line | Data |
---|---|---|
fde78edd NC |
1 | 2003-02-10 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * config/tc-arm.c (md_begin): If the Maverick co-processor is | |
4 | selected, set the EF_ARM_MAVERICK_FLOAT flag and | |
5 | bfd_mach_arm_ep9312 machine number. | |
6 | ||
5919d012 RS |
7 | 2003-02-08 Richard Sandiford <rsandifo@redhat.com> |
8 | ||
9 | * config/tc-mips.c (reloc_needs_lo_p): New function. | |
10 | (fixup_has_matching_lo_p): New function. | |
11 | (append_insn): Use reloc_needs_lo_p to check whether a relocation | |
12 | might need a matching %lo(). Reuse the head of mips_hi_fixup_list | |
13 | if that fixup already has a matching %lo(). Don't call frag_wane here. | |
14 | (macro): Call frag_wane here if the last unmatched hi was in the | |
15 | current frag. | |
16 | (pic_need_relax): New function, split out from... | |
17 | (md_estimate_size_before_relax): ...here. | |
18 | (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test | |
19 | whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols. | |
20 | ||
09b8f35a RS |
21 | 2003-02-07 Richard Sandiford <rsandifo@redhat.com> |
22 | ||
23 | * config/tc-mips.c (my_getSmallExpression): Rework bracket handling. | |
24 | ||
5f6db75a AM |
25 | 2003-02-06 Alan Modra <amodra@bigpond.net.au> |
26 | ||
27 | * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that | |
28 | x@toc+off works. | |
29 | ||
cdba85ec AM |
30 | 2003-02-05 Alan Modra <amodra@bigpond.net.au> |
31 | ||
32 | * config/tc-ppc.c (mapping): Handle new TLS reloc specs. | |
33 | (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't | |
34 | accept x@got+off etc. | |
35 | (md_assemble): Handle TLS relocs. | |
36 | (ppc_force_relocation): Force for all TLS relocs. | |
37 | (ppc_fix_adjustable): Likewise. | |
38 | (md_apply_fix3): Handle TLS relocs. | |
39 | ||
68bfbfcc AM |
40 | 2003-02-04 Alan Modra <amodra@bigpond.net.au> |
41 | ||
42 | * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and | |
43 | SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p. | |
44 | ||
5e0116d5 RS |
45 | 2003-02-02 Richard Sandiford <rsandifo@redhat.com> |
46 | ||
47 | * config/tc-mips.c (enum small_ex_type): Remove. | |
48 | (imm_unmatched_hi): Remove. | |
49 | (md_assemble): Remove use of imm_unmatched_hi. Remove the last | |
50 | argument from calls to append_insn. | |
51 | (append_insn): Remove unmatched_hi parameter; check reloc_type[0] | |
52 | instead. | |
53 | (macro_build): Update append_insn calls. | |
54 | (mips16_macro_build, macro_build_lui): Likewise. | |
55 | (mips_ip): Rework handling of small expressions. Move explicit | |
56 | relocation handling into my_getSmallExpression. Assume that the | |
57 | value of 'o' operands is zero if there is only one bracketed | |
58 | expression left. | |
59 | (percent_op): Make constant. Record the BFD relocation code | |
60 | associated with each operator. | |
61 | (my_getSmallParser, my_getPercentOp): Remove. | |
62 | (parse_relocation): New function. | |
63 | (my_getSamllExpression): Rework. Fill in relocations here | |
64 | rather than in mips_ip. | |
65 | ||
0d9f6d04 NC |
66 | 2003-01-29 Nick Clifton <nickc@redhat.com> |
67 | ||
68 | * config/tc-i386.c (line_comment_chars): Add '#'. This makes the | |
69 | assembler's handling of # <linenum> "<filename>" directives work. | |
70 | ||
a7ed1ca2 NC |
71 | 2003-01-28 Jakub Jelinek <jakub@redhat.com> |
72 | ||
73 | * dwarf2dbg.c: Include filenames.h. | |
74 | (struct file_entry): Make filename const char *. | |
75 | (dirs, dirs_in_use, dirs_allocated): New variables. | |
76 | (get_filenum): Add NUM argument. Build directory table. | |
77 | (dwarf2_where): Adjust caller. | |
78 | (dwarf2_directive_file): Use get_filenum to allocate | |
79 | slot in file and directory tables. | |
80 | (dwarf2_directive_loc): Recreate full filename from | |
81 | directory and filename part if needed for listing. | |
82 | (out_file_list): Output directory table. | |
83 | Output main source file dirname before its filename. | |
84 | ||
df25fda5 NC |
85 | 2003-01-28 Dmitry Diky <diwil@mail.ru> |
86 | ||
87 | * config/tc-msp430.c: Replace occurences of 'tolower' with | |
88 | 'TOLOWER'. | |
89 | ||
69906a9b JW |
90 | 2003-01-27 David Mosberger <davidm@hpl.hp.com> |
91 | ||
92 | * config/tc-ia64.c (dot_vframesp): Correct error message. | |
93 | (dot_vframepsp): Ditto. | |
94 | ||
1de5b6a1 AO |
95 | 2003-01-27 Alexandre Oliva <aoliva@redhat.com> |
96 | ||
97 | * configure.in (em): Set to irix on all Irix systems. | |
98 | * configure: Rebuilt. | |
99 | * config/te-irix.h: New file. | |
100 | * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide | |
101 | whether to use Irix-specific 64-bit format. | |
102 | ||
5cfbfc2b MS |
103 | 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> |
104 | ||
105 | * config/tc-s390.c (s390_elf_cons): Avoid designated initializers. | |
106 | ||
b9734f35 JJ |
107 | 2003-01-25 Jakub Jelinek <jakub@redhat.com> |
108 | ||
109 | * config/tc-sparc.c (sparc_ip): Handle TLS % operators. | |
110 | (tc_gen_reloc): Handle TLS relocs. | |
111 | (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff. | |
112 | * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS | |
113 | relocs. | |
114 | * config/obj-elf.c (obj_elf_section_word): Handle tls. | |
115 | (obj_elf_type): Handle tls_object. | |
116 | ||
1971b29d MS |
117 | 2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com> |
118 | ||
119 | * config/tc-s390.c (s390_tls_suffix): New function. | |
120 | (elf_suffix_type): Add suffix enums for TLS relocations. | |
121 | (s390_elf_suffix): Add suffix strings for TLS relocations. | |
122 | (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to | |
123 | bfd relocations. | |
124 | (md_gather_operands): Map new instruction operand/elf suffix | |
125 | combinations for TLS to bfd relocations. | |
126 | (tc_s390_fix_adjustable): Add new TLS relocations. | |
127 | (tc_s390_force_relocation): Likewise. | |
128 | (md_apply_fix3): Likewise. | |
129 | ||
d4c7c971 AM |
130 | 2003-01-24 Alan Modra <amodra@bigpond.net.au> |
131 | ||
1d3b2b27 AM |
132 | * as.h: Update copyright date. |
133 | * symbols.c: Likewise. | |
134 | * config/tc-d10v.h: Likewise. | |
135 | * config/tc-fr30.h: Likewise. | |
136 | * config/tc-i960.h: Likewise. | |
137 | * config/tc-mips.h: Likewise. | |
138 | ||
d4c7c971 AM |
139 | * config/tc-hppa.h (DIFF_EXPR_OK): Define. |
140 | (MD_APPLY_SYM_VALUE): Move. | |
141 | ||
5177500f NC |
142 | 2003-01-23 Nick Clifton <nickc@redhat.com> |
143 | ||
144 | NEWS: Announce sh2e support. | |
145 | ||
146 | * Add sh2e support: | |
147 | ||
148 | 2002-04-02 Alexandre Oliva <aoliva@redhat.com> | |
149 | ||
150 | * config/tc-sh.c (md_show_usage): Added sh2e next to | |
151 | sh3e. | |
152 | (sh_elf_final_processing): Handle arch_sh2e. | |
153 | ||
ae6063d4 AM |
154 | 2003-01-23 Alan Modra <amodra@bigpond.net.au> |
155 | ||
156 | * symbols.c (S_FORCE_RELOC): Add "strict" param. | |
157 | * symbols.h (S_FORCE_RELOC): Likewise. | |
158 | * config/obj-aout.h (S_FORCE_RELOC): Likewise. | |
159 | * config/obj-bout.h (S_FORCE_RELOC): Likewise. | |
160 | * config/obj-coff.h (S_FORCE_RELOC): Likewise. | |
161 | * config/obj-ieee.h (S_FORCE_RELOC): Likewise. | |
162 | * config/obj-vms.h (S_FORCE_RELOC): Likewise. | |
163 | * write.c (generic_force_reloc): New function. | |
164 | (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC. | |
165 | (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. | |
166 | (adjust_reloc_syms): Adjust S_FORCE_RELOC call. | |
167 | * as.h (generic_force_reloc): Declare. | |
168 | * doc/internals.texi (S_FORCE_RELOC): Update. | |
169 | (TC_FORCE_RELOCATION_SUB_SAME): Update. | |
170 | ||
171 | * config/tc-alpha.c (alpha_force_relocation): Adjust to use | |
172 | generic_force_reloc. | |
173 | (alpha_fix_adjustable): Likewise. | |
174 | * config/tc-arm.c (arm_force_relocation): Likewise. | |
175 | * config/tc-cris.c (md_cris_force_relocation): Likewise. | |
176 | * config/tc-frv.c (frv_force_relocation): Likewise. | |
177 | * config/tc-i386.c (md_apply_fix3): Likewise. | |
178 | * config/tc-ia64.c (ia64_force_relocation): Likewise. | |
179 | * config/tc-ip2k.c (ip2k_force_relocation): Likewise. | |
180 | * config/tc-m32r.c (m32r_force_relocation): Likewise. | |
181 | * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise. | |
182 | * config/tc-mcore.c (mcore_force_relocation): Likewise. | |
183 | * config/tc-mips.c (mips_force_relocation): Likewise. | |
184 | * config/tc-mmix.c (mmix_force_relocation): Likewise. | |
185 | * config/tc-ppc.c (ppc_force_relocation): Likewise. | |
186 | * config/tc-s390.c (tc_s390_force_relocation): Likewise. | |
187 | * config/tc-sh.c (sh_force_relocation): Likewise. | |
188 | (md_pcrel_from_section): Likewise. | |
189 | * config/tc-sparc.c (tc_gen_reloc): Likewise. | |
190 | * config/tc-v850.c (v850_force_relocation): Likewise. | |
191 | * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise. | |
192 | * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise. | |
193 | * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise. | |
194 | * config/tc-sparc.h (tc_fix_adjustable): Likewise. | |
195 | ||
196 | * config/tc-d10v.c (d10v_force_relocation): Delete. | |
197 | * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define. | |
198 | * config/tc-dlx.c (md_dlx_force_relocation): Delete. | |
199 | * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define. | |
200 | * config/tc-fr30.c (fr30_force_relocation): Delete. | |
201 | * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define. | |
202 | * config/tc-mn10300.c (mn10300_force_relocation): Delete. | |
203 | * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define. | |
204 | (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. | |
205 | * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. | |
206 | * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call. | |
207 | * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix. | |
208 | * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define. | |
209 | * config/tc-openrisc.c (openrisc_force_relocation): Delete. | |
210 | * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define. | |
211 | * config/tc-sparc.c (elf32_sparc_force_relocation): Delete. | |
212 | * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF. | |
213 | * config/tc-i386.c (i386_force_relocation): Delete. | |
214 | * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for | |
215 | BFD_ASSEMBLER. | |
216 | (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting. | |
217 | * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define. | |
218 | * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define. | |
219 | * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call | |
220 | S_FORCE_RELOC. | |
221 | (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. | |
222 | * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. | |
223 | ||
f0abc2a1 AM |
224 | 2003-01-23 Alan Modra <amodra@bigpond.net.au> |
225 | ||
226 | * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed | |
227 | sh64_elf_section_data. | |
228 | * config/tc-sh64.h: Include elf32-sh64.h. | |
229 | * config/tc-m68hc11.c: Don't include stdio.h. | |
230 | (md_show_usage): Fix missing continuation. | |
231 | * Makefile.am: Run "make dep-am". | |
232 | * Makefile.in: Regenerate. | |
233 | ||
177a493c NC |
234 | 2003-01-22 Nick Clifton <nickc@redhat.com> |
235 | ||
236 | * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts. | |
237 | ||
da896d3f NC |
238 | 2003-01-21 Fabio Alemagna <falemagn@aros.org> |
239 | ||
240 | * configure.in: Handle *-*-aros*. | |
241 | * configure: Regenerated from configure.in. | |
242 | ||
2a19f73f MS |
243 | 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
244 | ||
245 | * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff, | |
246 | gotplt and pltoff relocations. | |
247 | (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff. | |
248 | (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff, | |
249 | gotplt and pltoff to bfd relocations. | |
250 | (md_gather_operands): Map new instruction operand/elf suffix | |
251 | combinations to bfd relocations. | |
252 | (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations | |
253 | to the list of unadjustable relocations. | |
254 | (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt | |
255 | and pltoff relocations. | |
256 | (md_apply_fix3): Add the new relocations. | |
257 | ||
f1fc51da MS |
258 | 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
259 | ||
260 | * config/tc-s390.c (md_apply_fix3): Emit error message for relocations | |
261 | with a subsy symbol. | |
262 | ||
2d94a61a SC |
263 | 2003-01-17 Stephane Carrez <stcarrez@nerim.fr> |
264 | ||
265 | * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment | |
266 | of relocs for memory bank addressing. | |
267 | ||
d01030e6 SC |
268 | 2003-01-17 Stephane Carrez <stcarrez@nerim.fr> |
269 | ||
270 | * config/tc-m68hc11.c (md_show_usage): Update usage. | |
271 | (md_parse_option): Recognize -m68hcs12. | |
272 | (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify | |
273 | HCS12. | |
274 | * doc/as.texinfo (Overview): Document new option -m68hcs12. | |
275 | ||
b3dfd7fe JJ |
276 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
277 | ||
278 | * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data. | |
279 | ||
f62ba8f2 AM |
280 | 2003-01-16 Alan Modra <amodra@bigpond.net.au> |
281 | ||
282 | * Makefile.am: Run "make dep-am". | |
283 | * Makefile.in: Regenerate. | |
284 | * po/POTFILES.in: Regenerate. | |
285 | ||
a0ea3e1d AM |
286 | 2003-01-11 Alan Modra <amodra@bigpond.net.au> |
287 | ||
288 | * read.c (get_absolute_expr): New, split out from.. | |
289 | (get_absolute_expression): ..here. | |
290 | * read.h (get_absolute_expr): Declare. | |
291 | * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size". | |
292 | Trim size to arch bits_per_address, and test for negative input | |
293 | via get_absolute_expr. | |
294 | ||
2d10acd2 DD |
295 | 2003-01-07 DJ Delorie <dj@redhat.com> |
296 | ||
297 | * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based | |
298 | on operand type. | |
299 | (xstormy16_md_apply_fix3): Use adjustment. | |
300 | ||
1c53c80d SC |
301 | 2003-01-02 Ben Elliston <bje@redhat.com> |
302 | ||
303 | * configure.in: Add iq2000-elf target. | |
304 | * configure: Regenerate. | |
305 | * config/tc-iq2000.c: New file. | |
306 | * config/tc-iq2000.h: Likewise. | |
307 | * po/gas.pot: Regenerate. | |
308 | ||
071742cf CD |
309 | 2003-01-02 Chris Demetriou <cgd@broadcom.com> |
310 | ||
311 | * config/tc-mips.c: Update copyright years to include 2003. | |
312 | (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. | |
313 | Additionally, clean up their code slightly and clean up their | |
314 | comments some more. | |
315 | ||
316 | * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. | |
317 | ||
55ac548d DJ |
318 | 2003-01-01 Daniel Jacobowitz <drow@mvista.com> |
319 | ||
320 | * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi | |
321 | $(CPU_DOCS)". | |
322 | * doc/Makefile.in: Regenerate. | |
323 | ||
db66b292 DA |
324 | 2003-01-01 John David Anglin <dave.anglin@nrc.ca> |
325 | ||
326 | * config/obj-elf.c (special_sections): Work around HP's incorrect usage | |
327 | of .init and .fini sections for array initializers and finalizers. | |
328 | ||
bbcc0807 CD |
329 | 2002-12-31 Chris Demetriou <cgd@broadcom.com> |
330 | ||
331 | * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize | |
332 | the "+D" operand, which will be used only by the disassembler. | |
333 | ||
af7ee8bf CD |
334 | 2002-12-30 Chris Demetriou <cgd@broadcom.com> |
335 | ||
336 | * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and | |
337 | CPU variants. | |
338 | * configure: Regenerate. | |
339 | * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. | |
340 | (macro_build): Handle "K" operand. | |
341 | (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where | |
342 | CPU_HAS_DROR and CPU_HAS_ROR are currently used. | |
343 | (mips_ip): New variable "lastpos", and implement "+A", "+B", | |
344 | and "+C" operands for MIPS32 Release 2 ins/ext instructions. | |
345 | Implement "K" operand for MIPS32 Release 2 rdhwr instruction. | |
346 | (validate_mips_insn): Implement "+" as a way to extend the | |
347 | allowed operands, and implement "K", "+A", "+B", and "+C" | |
348 | operands. | |
349 | (OPTION_MIPS32R2): New define. | |
350 | (md_longopts): Add entry for OPTION_MIPS32R2. | |
351 | (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2. | |
352 | (md_parse_option): Handle OPTION_MIPS32R2. | |
353 | (s_mipsset): Reimplement handling of ".set mipsN" options | |
354 | and add support for ".set mips32r2". | |
355 | (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). | |
356 | (md_show_usage): Document "-mips32r2" option. | |
357 | * doc/as.texinfo: Document "-mips32r2" option. | |
358 | * doc/c-mips.texi: Likewise. | |
359 | ||
2469cfa2 NC |
360 | 2002-12-30 Dmitry Diky <diwil@mail.ru> |
361 | ||
362 | * configure.in: Add msp430 target. | |
363 | * configure: Regenerate. | |
364 | * Makefile.am: Add msp430 target. | |
365 | * Makefile.in: Regenerate. | |
366 | * config/tc-msp430.c: New file: msp430 assembler. | |
367 | * config/tc-msp430.h: New file: target macros for msp430. | |
368 | * doc/Makefile.am: Add msp430 target. | |
369 | * doc/Makefile.in: Regenerate. | |
370 | * doc/as.texinfo: Include msp430 documenation. | |
371 | * doc/all.texi: Enable msp430 documentation. | |
372 | * doc/c-msp430.texi: New file: document msp430 specific features | |
373 | of the assembler. | |
374 | ||
9605f328 AO |
375 | 2002-12-25 Alexandre Oliva <aoliva@redhat.com> |
376 | ||
377 | * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro. | |
378 | (dwarf2_finish): Use it. | |
379 | * doc/internals.texi (DWARF2_ADDR_SIZE): Document it. | |
380 | * config/tc-mips.h (DWARF2_ADDR_SIZE): Override. | |
381 | ||
8f46beda DD |
382 | 2002-12-20 DJ Delorie <dj@redhat.com> |
383 | ||
384 | * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support | |
385 | BFD_RELOC_XSTORMY16_12. | |
386 | ||
5f5e16be AM |
387 | 2002-12-19 Alan Modra <amodra@bigpond.net.au> |
388 | ||
389 | * doc/as.texinfo (Invoking): Typo fix. | |
390 | * config/tc-tic54x.c (encode_operand): Comment typo fix. | |
391 | ||
062b7c0c KH |
392 | 2002-12-18 Kazu Hirata <kazu@cs.umass.edu> |
393 | ||
394 | * doc/c-alpha.texi: Fix typos. | |
395 | * doc/c-arm.texi: Likewise. | |
396 | * doc/c-d10v.texi: Likewise. | |
397 | * doc/c-i370.texi: Likewise. | |
398 | * doc/c-i960.texi: Likewise. | |
399 | * doc/c-ia64.texi: Likewise. | |
400 | * doc/c-mmix.texi: Likewise. | |
401 | * doc/c-ns32k.texi: Likewise. | |
402 | * doc/c-pdp11.texi: Likewise. | |
403 | * doc/c-pj.texi: Likewise. | |
404 | * doc/c-sh64.texi: Likewise. | |
405 | * doc/c-sparc.texi: Likewise. | |
406 | * doc/c-tic54x.texi: Likewise. | |
407 | * doc/c-v850.texi: Likewise. | |
408 | * doc/c-vax.texi: Likewise. | |
409 | * doc/internals.texi: Likewise. | |
410 | ||
82dd0097 CD |
411 | 2002-12-18 Chris Demetriou <cgd@broadcom.com> |
412 | ||
413 | * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR, | |
414 | use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I, | |
415 | M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and | |
416 | arrange not to issue warnings about use of AT when AT is not | |
417 | actually used. | |
418 | ||
9c3b31c6 NC |
419 | 2002-12-17 Nick Clifton <nickc@redhat.com> |
420 | ||
421 | * as.c (std_longopts): Duplicate --keep-locals entry in order to | |
422 | prevent it being confused with -k. | |
423 | ||
9bb76eb8 DD |
424 | 2002-12-16 Andrew MacLeod <amacleod@redhat.com> |
425 | ||
426 | * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation | |
427 | has already been set up, use it. | |
428 | ||
c03099e6 KH |
429 | 2002-12-16 Kazu Hirata <kazu@cs.umass.edu> |
430 | ||
431 | * ChangeLog-9295: Fix a typo. | |
432 | * README: Likewise. | |
433 | * config/tc-d10v.c: Fix a comment typo. | |
434 | * config/tc-dlx.c: Likewise. | |
435 | * config/tc-h8300.h: Likewise. | |
436 | * config/tc-h8500.h: Likewise. | |
437 | * config/tc-mips.c: Likewise. | |
438 | * config/tc-s390.c: Likewise. | |
439 | * config/tc-sh.h: Likewise. | |
440 | * config/tc-tic80.h: Likewise. | |
441 | * config/tc-w65.h: Likewise. | |
442 | * config/tc-z8k.c: Likewise. | |
443 | * config/tc-z8k.h: Likewise. | |
444 | * testsuite/gas/h8300/cmpsi2.s: Likewise. | |
445 | ||
4cd62c96 AM |
446 | 2002-12-16 Alan Modra <amodra@bigpond.net.au> |
447 | ||
30cdfbed AM |
448 | * config/tc-d30v.c (check_range): Warning fixes, formatting. |
449 | Simplify sign extension. Remove redundant unsigned < 0 test. | |
450 | * config/tc-i960.c (md_ri_to_chars): Prototype. | |
451 | * config/tc-mcore.c (md_pseudo_table): Fix typo. | |
452 | (dump_literals): Init brarsym, and test later instead of isforce. | |
453 | ||
4cd62c96 AM |
454 | * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP. |
455 | (parse): Constify line and lineptr. | |
456 | (md_begin): Calculate endop here. | |
457 | ||
ebd0428f AM |
458 | 2002-12-13 Alan Modra <amodra@bigpond.net.au> |
459 | ||
4eb4336c AM |
460 | * config/obj-vms.c: Formatting. Include fnctl.h. |
461 | (Create_VMS_Object_File): Fix creat call for sane unix systems. | |
462 | (Object_Record_Offset): Make it a size_t. | |
463 | (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning. | |
464 | (VMS_TBT_Routine_End <Size>): Make var unsigned long. | |
465 | (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT. | |
466 | (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED. | |
467 | (vms_fixup_data_section <data_size>): Add here instead. | |
ebd0428f AM |
468 | * config/e-criself.c: Fix typo in last change. |
469 | ||
78a33af2 AM |
470 | 2002-12-13 Alan Modra <amodra@bigpond.net.au> |
471 | ||
17fc154e AM |
472 | * write.c (write_object_file): Fix signed/unsigned warning. |
473 | * config/e-crisaout.c (crisaout_bfd_name): Prototype. | |
474 | * config/e-criself.c (criself_bfd_name): Prototype. | |
475 | * config/obj-aout.c (s_sect): Remove unused function. | |
476 | * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED. | |
477 | * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF. | |
478 | (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED. | |
479 | * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise. | |
480 | * config/obj-vms.c (setup_basic_type <spnt>): Likewise. | |
481 | (VMS_RSYM_Parse <Current_Routine>): Likewise. | |
482 | (vms_fixup_text_section <text_siz>): Likewise. | |
483 | (synthesize_data_segment <data_size>): Likewise. | |
484 | (vms_fixup_xtors_section <sect_no>): Likewise. | |
485 | (structure_count): Don't use implicit int type. | |
bfc866a6 AM |
486 | * config/tc-a29k.c (insert_sreg): Prototype. |
487 | (define_some_regs): Prototype, make static. | |
488 | (parse_operand): Likewise. | |
489 | (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED. | |
490 | (md_show_usage <stream>): Likewise. | |
491 | (md_section_align <segment>): Likewise. | |
492 | (md_convert_frag <all args>): Likewise. | |
493 | (md_estimate_size_before_relax <all args>): Likewise. | |
494 | (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s. | |
495 | * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF. | |
ebf19f1b AM |
496 | * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED. |
497 | (md_undefined_symbol <name>): Likewise. | |
498 | (md_convert_frag <all args>): Likewise. | |
499 | (write_long <opcode>): Likewise. | |
500 | (tc_gen_reloc <seg>): Likewise. | |
501 | (md_estimate_size_before_relax <all args>): Likewise. | |
502 | (md_apply_fix3 <seg>): Likewise. | |
503 | (s_d30v_align <ignore>): Likewise. | |
504 | (build_insn): Correct format string. | |
505 | (md_apply_fix3): Likewise. | |
33b5881a AM |
506 | * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED. |
507 | (md_undefined_symbol <name>): Likewise. | |
508 | (md_convert_frag <all args>): Likewise. | |
509 | (md_cgen_lookup_reloc <insn>): Likewise. | |
510 | (md_begin): Delete unused vars. | |
511 | (md_assemble): Likewise. | |
512 | (md_estimate_size_before_relax): Likewise. | |
513 | (fr30_relax_frag): #if 0 out, seems unused. | |
514 | (md_atof): Remove declaration of atof_ieee. | |
515 | (restore_colon): Prototype. | |
a08333bb AM |
516 | * config/tc-frv.c (frv_insert_vliw_insn): Prototype. |
517 | (frv_find_in_vliw): Likewise. | |
518 | (frv_debug_tomcat): Likewise. | |
519 | (frv_adjust_vliw_count): Likewise. | |
520 | (frv_tomcat_shuffle): Likewise. | |
521 | (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to | |
522 | frv_find_in_vliw call. | |
523 | (md_atof): Remove declaration of atof_ieee. | |
45e85b87 AM |
524 | * config/tc-h8500.c (cons): Delete declaration. |
525 | (md_begin <opcode>): Constify. | |
526 | (displacement_size, immediate_size, absolute_size): Remove. | |
527 | (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED. | |
528 | (tc_crawl_symbol_chain <headers>): Likewise. | |
529 | (md_undefined_symbol <name>): Likewise. | |
530 | (tc_headers_hook <headers>): Likewise. | |
531 | (md_parse_option <c,arg>): Likewise. | |
532 | (md_show_usage <stream>): Likewise. | |
533 | (md_convert_frag <headers, seg>): Likewise. | |
534 | (tc_coff_symbol_emit_hook <ignore>): Likewise. | |
535 | (md_atof): Remove declaration of atof_ieee. | |
536 | (tc_aout_fix_to_chars): Remove unused function. | |
537 | (parse_reg): Prototype. | |
538 | (parse_exp): Prototype. | |
539 | (skip_colonthing): Prototype. Use &&, not & in logical expressions. | |
540 | (parse_reglist): Prototype. | |
541 | (get_operand): Prototype. | |
542 | (get_operands): Prototype. | |
543 | (get_specific): Prototype. Make "this_index" signed. | |
544 | (check): Prototype, make static. | |
545 | (insert): Prototype | |
546 | (build_relaxable_instruction): Prototype, make static. | |
547 | (build_bytes): Prototype. | |
548 | (wordify_scb): Prototype. | |
549 | * config/tc-h8500.h (start_label): Declare. | |
550 | (tc_coff_sizemachdep): Declare. | |
650f02e9 AM |
551 | * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED. |
552 | (i370_rmode <unused>): Likewise. | |
553 | (i370_csect <unused>): Likewise. | |
554 | (i370_dc <unused>): Likewise. | |
555 | (i370_ds <unused>): Likewise. | |
556 | (i370_elf_lcomm <unused>): Likewise. | |
557 | (i370_ltorg <ignore>): Likewise. | |
558 | (i370_using <ignore>): Likewise. | |
559 | (i370_drop <ignore>): Likewise. | |
560 | (i370_byte <ignore>): Likewise. | |
561 | (i370_tc <ignore>): Likewise. | |
562 | (md_estimate_size_before_relax <fragp, seg>): Likewise. | |
563 | (md_convert_frag <all args>): Likewise. | |
564 | (md_undefined_symbol <name>): Likewise. | |
565 | (md_pcrel_from_section <sec>): Likewise. | |
566 | (tc_gen_reloc <seg>): Likewise. | |
567 | (i370_section_letter): #if 0 unused functions. | |
568 | (i370_section_word, i370_section_type, i370_section_flags): Likewise. | |
569 | (symbol_locate): Prototype. | |
d444b726 AM |
570 | * config/tc-i860.c (md_atof): Remove declaration of atof_ieee. |
571 | (md_number_to_disp, md_number_to_field): Remove. | |
572 | (md_apply_fix3): Correct format string and cast "fup". | |
b9195351 AM |
573 | * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args. |
574 | (s_endian <ignore>): Likewise. | |
575 | (md_undefined_symbol <name>): Likewise. | |
576 | (tc_crawl_symbol_chain <headers>): Likewise. | |
577 | (tc_set_bal_of_call): Likewise. | |
578 | (tc_coff_symbol_emit_hook <symbolP>): Likewise. | |
579 | (i960_handle_align <fragp>): Likewise. | |
580 | (i960_validate_fix <this_segment_type>): Likewise | |
581 | (tc_gen_reloc <section>): Likewise. | |
582 | (tc_coff_symbol_emit_hook): Only define for OBJ_COFF. | |
583 | (struct memS, struct regop): Forward declare. | |
584 | (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args, | |
585 | get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb, | |
586 | parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop, | |
587 | reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax, | |
588 | targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype. | |
589 | (md_chars_to_number, md_number_to_imm): Make static, prototype. | |
590 | (md_number_to_field): Likewise. | |
591 | (md_number_to_disp): Remove unused function. | |
592 | (md_atof): Remove declaration of atof_ieee. | |
593 | (md_apply_fix3): Correct md_number_to_imm call. | |
64384dfd | 594 | * config/tc-ip2k.c (md_assemble): Warning fix. |
78a0c6fb AM |
595 | * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED. |
596 | (fill_insn <ignore>): Likewise. | |
597 | (debug_sym <ignore>): Likewise. | |
598 | (md_undefined_symbol <name>): Likewise. | |
599 | (m32r_scomm <ignore>): Likewise. | |
600 | (md_convert_frag <abfd>): Likewise. | |
601 | (md_cgen_lookup_reloc <insn>): Likewise. | |
602 | (m32r_record_hi16 <seg>): Likewise. | |
603 | (md_estimate_size_before_relax): #if 0 old_fr_fix. | |
604 | (allow_m32rx): Prototype. | |
605 | (first_writes_to_seconds_operands): Prototype. | |
606 | (writes_to_pc): Prototype. | |
607 | (can_make_parallel): Prototype. | |
608 | (make_parallel): Prototype. | |
609 | (target_make_parallel): Prototype. | |
610 | (assemble_two_insns): Prototype. | |
611 | (m32r_record_hi16): Prototype. | |
612 | (md_atof): Remove declaration of atof_ieee. | |
613 | * config/tc-m32r.h (m32r_fix_adjustable): Declare. | |
614 | (m32r_force_relocation): Prototype. | |
615 | (m32r_elf_section_change_hook): Prototype. | |
f1f5ef86 AM |
616 | * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED. |
617 | (md_show_usage): Fix signed/unsigned warning. | |
38b9ac49 AM |
618 | * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned. |
619 | (calcop): Ditto for reg_prefix var. | |
620 | (hexval): Add cast to fix signed/unsigned warning. | |
621 | (md_number_to_disp): Delete unused function. | |
622 | (md_number_to_field): Likewise. | |
623 | (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl. | |
624 | (match_name): Prototype. | |
625 | (get_bf2): Prototype. | |
626 | (get_bf_offset_expression): Prototype. | |
aa699a2c AM |
627 | * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED. |
628 | (md_undefined_symbol <ignore>): Likewise. | |
629 | (md_create_short_jump <all args>): Likewise. | |
630 | (md_create_long_jump <all args>): Likewise. | |
631 | (md_convert_frag <abfd, sec>): Likewise. | |
632 | (md_apply_fix3 <segment>): Likewise. | |
633 | (md_section_align <segment>): Likewise. | |
634 | (md_pcrel_from_section <sec>): Likewise. | |
635 | (tc_gen_reloc <section>): Likewise. | |
636 | (reg_m, reg_n, immediate): Delete unused vars. | |
637 | (dump_literals): Fix signed/unsigned warning. | |
638 | (enter_literal): Likewise. | |
639 | (parse_imm): Likewise. Also fix format string. | |
640 | (parse_mem): Remove unused var. | |
641 | (md_assemble <LS>): Abort on unexpected inst. | |
642 | (md_atof): Remove declaration of atof_ieee. | |
643 | (md_parse_option): Remove unused vars. | |
644 | (md_apply_fix3): Fix format strings, cast args. | |
645 | (tc_gen_reloc): Delete unused var. | |
646 | * config/tc-mcore.h (tc_coff_sizemachdep): Declare. | |
2a8ce8da AM |
647 | * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED. |
648 | (md_undefined_symbol <name>): Likewise. | |
649 | (md_convert_frag <abfd>): Likewise. | |
650 | (tc_gen_reloc <seg>): Likewise. | |
651 | (check_operand <insn>): Likewise. | |
652 | (md_convert_frag): Fix format strings. | |
653 | (tc_gen_reloc): Delete fx_addsy - fx_subsy code. | |
717acf4b AM |
654 | * config/tc-openrisc.c (ignore_pseudo): Prototype. |
655 | (md_atof): Remove declaration of atof_ieee. | |
656 | * config/tc-or32.c (parse_operand): Prototype non-BFD too. | |
657 | (md_apply_fix3): Fix bogus >>='s. | |
658 | (md_undefined_symbol): Delete unused var. | |
0e073f4c AM |
659 | * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype. |
660 | (c_to_r, ipush_code, fake_opcode, alias): Likewise. | |
661 | (fake_opcode): Adjust for pj_opc_int_t change. | |
662 | (md_begin): Likewise. | |
663 | (md_assemble): Likewise. | |
664 | (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc | |
665 | instead of non-existent third arg of parse_exp_save_ilp. | |
666 | (md_parse_option): Correct "little" and "big" calls. | |
a7982600 AM |
667 | * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF. |
668 | (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED. | |
669 | (tc_gen_reloc <section>): Likewise. | |
167795c4 AM |
670 | * config/tc-tic30.c: #include stdarg.h or varargs.h. |
671 | (debug): Rewrite using VA_* macros. | |
672 | (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args. | |
673 | (md_convert_frag): Likewise. | |
674 | (md_parse_option): Likewise. | |
675 | (md_show_usage): Likewise. | |
676 | (md_undefined_symbol): Likewise. | |
677 | (tc_gen_reloc): Likewise. | |
678 | (md_operand): Likewise. | |
679 | (tc_aout_pre_write_hook): Delete. | |
680 | (struct tic30_insn): Make "operands" unsigned. | |
681 | (struct tic30_par_insn): Likewise. | |
682 | (md_assemble): Likewise for "count", "i" and "numops". | |
683 | (tic30_parallel_insn): Likewise for vars here. | |
684 | (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison. | |
685 | * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty. | |
686 | * config/tc-tic80.c (obj_coff_section): Delete declaration. | |
687 | (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args. | |
688 | (md_undefined_symbol): Likewise. | |
689 | (md_parse_option): Likewise. | |
690 | (md_convert_frag): Likewise. | |
691 | (tc_coff_symbol_emit_hook): Likewise. | |
692 | (md_atof): Remove declaration of atof_ieee. | |
693 | (const_overflow): Warning fixes, tidy. | |
694 | (get_operands): Delete unused vars. | |
695 | (internal_error_a): Adjust format string to expect a long for arg. | |
696 | (find_opcode): Warning fixes, simplify. | |
697 | (build_insn): Cast internal_error_a arg. | |
698 | (md_begin): Likewise. | |
699 | (md_apply_fix3): Likewise. | |
700 | (md_assemble): Delete unused var. | |
701 | * config/tc-tic80.h (tc_coff_fix2rtype): Prototype. | |
78a33af2 AM |
702 | * config/tc-z8k.c (cons, obj_coff_section): Delete declarations. |
703 | (whatreg, parse_reg, parse_exp): Make static, prototype. | |
704 | (checkfor, regword, regaddr, get_ctrl_operand): Prototype. | |
705 | (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise. | |
706 | (get_operand, get_operands, get_specific, newfix): Likewise. | |
707 | (apply_fix, build_bytes): Likewise. | |
708 | (md_atof): Remove declaration of atof_ieee. | |
709 | (tc_aout_fix_to_chars): Delete. | |
710 | (md_begin): Constify "opcode". Don't try to init opcode->idx. | |
711 | Fix s_unseg call. | |
712 | (md_parse_option): Fix s_segm and s_unseg calls. | |
713 | ||
af6ae2ad AO |
714 | 2002-12-12 Alexandre Oliva <aoliva@redhat.com> |
715 | ||
716 | * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument. | |
717 | Adjust callers. | |
718 | (RELAX_BRANCH_RELOC_S2): Delete. | |
719 | (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches. | |
720 | Do not handle BFD_RELOC_16_PCREL. | |
721 | (macro_build, mips_ip): Likewise. | |
722 | (md_pcrel_from): Return 4 for undefined symbols regardless of | |
723 | mips_pic. | |
724 | (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches. | |
725 | Don't dereference howto if no such relocation is available. | |
726 | Do not apply hack for in-place zero addend in NEWABI. | |
727 | (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches. | |
728 | ||
074d08b0 | 729 | 2002-12-12 Alexandre Oliva <aoliva@redhat.com>, |
78a33af2 | 730 | Alan Modra <amodra@bigpond.net.au> |
074d08b0 AO |
731 | |
732 | * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define. | |
733 | (TC_LINKRELAX_FIXUP): Add comments. | |
734 | ||
497f322d AO |
735 | 2002-12-12 Alexandre Oliva <aoliva@redhat.com> |
736 | ||
737 | * config/tc-mn10300.c (set_arch_mach): Change argument type to | |
738 | avoid warnings. | |
739 | (r_register_name, xr_register_name): Add prototype declarations. | |
740 | ||
ffbceea9 L |
741 | 2002-12-08 H.J. Lu <hjl@gnu.org> |
742 | ||
743 | * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack | |
744 | copied from tc-i386.c. | |
745 | ||
75538612 SC |
746 | 2002-12-08 Stephane Carrez <stcarrez@nerim.fr> |
747 | ||
748 | Fix Bug savannah/1825: | |
749 | * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code. | |
750 | (md_relax_table): Define specific relax for PC-rel offsets. | |
751 | (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code. | |
752 | (m68hc11_relax_frag): Handle the new relax code. | |
753 | (md_convert_frag): Likewise. | |
754 | (md_estimate_size_before_relax): Likewise. | |
755 | ||
546c73f9 AM |
756 | 2002-12-08 Alan Modra <amodra@bigpond.net.au> |
757 | ||
758 | * subsegs.c (section_symbol): Use the symbol, not the section, name. | |
759 | ||
fa2c7eff RH |
760 | 2002-12-05 Richard Henderson <rth@redhat.com> |
761 | ||
762 | * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X. | |
763 | (ia64_gen_real_reloc_type): Handle it. | |
764 | (pseudo_func): Add @ltoffx. | |
765 | (md_begin): Build .<ltoffx>. | |
766 | (ia64_force_relocation): True for LTOFF22X and LDXMOV. | |
767 | ||
114424c6 AM |
768 | 2002-12-05 Alan Modra <amodra@bigpond.net.au> |
769 | ||
770 | * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF. | |
771 | Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles | |
772 | ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF. | |
773 | * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and | |
774 | COFF to call arm_force_relocation. | |
775 | ||
c10d9d8f JW |
776 | 2002-12-04 David Mosberger <davidm@hpl.hp.com> |
777 | ||
778 | * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint" | |
779 | instruction. | |
780 | (emit_one_bundle): Handle "hint" instruction. | |
781 | (operand_match): Match IA64_OPND_AR_CSD. | |
782 | ||
c8970b4b AM |
783 | 2002-12-04 Alan Modra <amodra@bigpond.net.au> |
784 | ||
785 | * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype | |
786 | inside #if. | |
787 | ||
e1a9cb8e NC |
788 | 2002-12-03 Nick Clifton <nickc@redhat.com> |
789 | ||
790 | * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on | |
6b0817e5 | 791 | .PPC.EMB.apuinfo sections. |
e1a9cb8e | 792 | |
a823923b RH |
793 | 2002-12-03 Richard Henderson <rth@redhat.com> |
794 | ||
795 | * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case. | |
796 | ||
61b5f74b AM |
797 | 2002-12-03 Alan Modra <amodra@bigpond.net.au> |
798 | ||
6297c1fe AM |
799 | * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg. |
800 | (cons, s_align_bytes): Delete declaration. | |
801 | (relax): Delete. | |
802 | (md_begin): Constify "struct opinfo *" var. Don't try to make "name" | |
803 | strings common. | |
804 | (dot): Delete unused function. | |
805 | (w65_expression): Remove unused arg. | |
806 | (parse_exp): Prototype. Remove unused arg. Adjust w65_expression | |
807 | call. | |
808 | (get_operands): Prototype. Constify "struct opinfo *" arg. Fix | |
809 | parse_exp call. | |
810 | (get_specific): Prototype. Constify "struct opinfo *" arg and return | |
811 | value. | |
812 | (check): Remove unused function. | |
813 | (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort | |
814 | on unhandled switch case. | |
815 | (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify | |
816 | "opcode". | |
817 | (tc_crawl_symbol_chain): Delete unused function. | |
818 | (tc_headers_hook): Likewise. | |
819 | (tc_Nout_fix_to_chars): Likewise. | |
820 | (md_undefined_symbol): Add ATTRIBUTE_UNUSED. | |
821 | (md_parse_option): Likewise. | |
822 | (md_convert_frag): Likewise. | |
823 | (tc_coff_symbol_emit_hook): Likewise. | |
824 | (md_show_usage): Likewise. | |
825 | * config/tc-w65.h (tc_coff_sizemachdep): Declare. | |
826 | (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg. | |
827 | (w65_expression): Declare. | |
828 | ||
829 | * po/POTFILES.in: Regenerate. | |
830 | ||
61b5f74b AM |
831 | * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE |
832 | and ARM_ADRL_IMMEDIATE. | |
833 | ||
fea17916 NC |
834 | 2002-12-02 Nick Clifton <nickc@redhat.com> |
835 | ||
836 | * gasp.c: Delete. It has been deprecated. | |
837 | * NEWS: Mention that gasp has been removed. | |
838 | * Makefile.am: Remove references to gasp. | |
839 | * makefile.vms: Likewise. | |
840 | * mpw-make.sed: Likewise. | |
841 | * Makeile.in: Regenerate. | |
842 | * doc/gasp.texi: Delete. | |
843 | * doc/Makefile.am: Remove references to gasp.texi. | |
844 | * doc/Makefile.in: Regenerate. | |
845 | * macro.c: Delete references to gasp. | |
846 | Remove use of comment_char function parameter as it is no longer | |
847 | needed. | |
848 | * macro.h: Update prototypes to remove comment_char parameter. | |
849 | Fix formatting. | |
850 | * read.c (read_a_source_file, s_irp): Remove comment_char | |
ebd0428f AM |
851 | parameter from invocation of functions in macro.c |
852 | ||
dc59a897 HPN |
853 | 2002-12-02 Hans-Peter Nilsson <hp@axis.com> |
854 | ||
4c83186b | 855 | * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump. |
dc59a897 | 856 | |
1910266d SC |
857 | 2002-12-01 Stephane Carrez <stcarrez@nerim.fr> |
858 | ||
859 | * config/tc-m68hc11.c (md_begin): Fix qsort warning. | |
860 | (tc_gen_reloc): Mark section param as not used. | |
861 | ||
c9e03e8b SC |
862 | 2002-12-01 Stephane Carrez <stcarrez@nerim.fr> |
863 | ||
864 | Fix Bug savannah/1825: | |
865 | * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations | |
866 | that are not pc-relative. | |
867 | (m68hc11_relax_frag): Declare. | |
868 | ||
869 | * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle | |
870 | the offsetable indexed addressing modes (n,r). | |
871 | (build_insn): Cleanup some locals. | |
872 | (m68hc11_relax_frag): New function imported from tc-cris.c to handle | |
873 | relaxation of difference between two symbols of same section. | |
874 | (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement | |
875 | only when this is a PC-relative operand and the offset is not absolute. | |
876 | (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag | |
877 | to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will | |
878 | be handled by m68hc11_relax_frag. | |
879 | ||
2f904664 SC |
880 | 2002-12-01 Stephane Carrez <stcarrez@nerim.fr> |
881 | ||
882 | * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default | |
883 | (32-bit int, 64-bit double). | |
884 | (md_longopts): New options -mshort, -mlong, -mshort-double and | |
885 | -mlong-double to control the ABI. | |
886 | (md_show_usage): Update. | |
887 | (md_parse_option): Handle new options. | |
888 | * doc/as.texinfo (Overview): Document new options for HC11/HC12. | |
889 | ||
0909233e AM |
890 | 2002-12-01 Nathan Sidwell <nathan@codesourcery.com> |
891 | ||
892 | * symbols.c (report_op_error): New function, broken out of ... | |
893 | (resolve_symbol_value): ... here. Use for both monadic and dyadic | |
894 | operators. | |
895 | ||
0174e383 KK |
896 | 2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
897 | ||
898 | * config/tc-sh.c (md_apply_fix3): Take account of fx_offset | |
899 | for BFD_RELOC_32_PLT_PCREL. | |
900 | ||
b34976b6 AM |
901 | 2002-11-30 Alan Modra <amodra@bigpond.net.au> |
902 | ||
903 | * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c, | |
904 | config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c, | |
905 | config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c, | |
906 | config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h, | |
907 | config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, | |
908 | config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c, | |
909 | config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c, | |
910 | config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h, | |
911 | config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c, | |
912 | config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c, | |
913 | config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c, | |
914 | config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c, | |
915 | config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c, | |
916 | config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with | |
917 | TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with | |
918 | TRUE/FALSE. Formatting. | |
919 | ||
143c8e19 NC |
920 | 2002-11-29 Nick Clifton <nickc@redhat.com> |
921 | ||
922 | * config/tc-arm.c (do_t_bkpt): If no operand is specified, | |
923 | assume a value of zero. | |
924 | (do_bkpt): Likewise. | |
925 | ||
2bba4140 KK |
926 | 2002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
927 | ||
928 | * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL | |
929 | for TLS relocations. | |
930 | ||
7925dd68 JJ |
931 | 2002-11-29 Jakub Jelinek <jakub@redhat.com> |
932 | ||
933 | * config/tc-ia64.c (md_apply_fix3): Add default case. | |
934 | ||
00f7efb6 JJ |
935 | 2002-11-28 Jakub Jelinek <jakub@redhat.com> |
936 | ||
937 | * symbols.c (S_SET_THREAD_LOCAL): New function. | |
938 | * symbols.h (S_SET_THREAD_LOCAL): New prototype. | |
939 | * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL | |
940 | for TLS relocations. | |
941 | * config/tc-ia64.c (md_apply_fix3): Likewise. | |
942 | * config/tc-alpha.c (md_apply_fix3): Likewise. | |
943 | ||
381a1ab3 JJ |
944 | 2002-11-28 Jakub Jelinek <jakub@redhat.com> |
945 | ||
946 | * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment | |
947 | to entsize. | |
948 | ||
a3b75434 DD |
949 | 2002-11-26 DJ Delorie <dj@redhat.com. |
950 | ||
951 | * dwarf2dbg.c (scale_addr_delta): New. | |
952 | (size_inc_line_addr): Use it. | |
953 | (emit_inc_line_addr): Use it. | |
954 | ||
fb2fd3e1 HPN |
955 | 2002-11-26 Hans-Peter Nilsson <hp@axis.com> |
956 | ||
957 | * config/tc-cris.c (cris_relax_frag): Fix typo in comment. | |
958 | (md_assemble): Don't pass on branches to constants as relaxable. | |
959 | Tweak comment. | |
960 | ||
da91385d SS |
961 | 2002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com> |
962 | ||
963 | * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode | |
964 | ||
1d421636 DA |
965 | 2002-11-21 Randolph Chung <randolph@tausq.org> |
966 | ||
967 | * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols | |
968 | only if they have default visibility. | |
969 | ||
33bf47a8 RH |
970 | 2002-11-21 Richard Henderson <rth@redhat.com> |
971 | ||
972 | * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant | |
973 | S_IS_DEFINED test. | |
974 | ||
5f8075fa AM |
975 | 2002-11-21 Alan Modra <amodra@bigpond.net.au> |
976 | ||
977 | * config/tc-mcore.c (mcore_pool_count): New function. | |
978 | (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it. | |
979 | ||
5ff37431 KD |
980 | 2002-11-20 Klee Dienes <kdienes@apple.com> |
981 | ||
982 | * config/tc-mcore.c (md_begin): Use a const iterator. Don't | |
983 | coalesce the name fields to use the same pointer. | |
984 | ||
985 | * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce | |
986 | the name fields to use the same pointer. | |
987 | (get_specific): Check for opcodes with the same name using strcmp | |
988 | as well as comparing the pointer. | |
989 | ||
5045ec7a AM |
990 | 2002-11-20 Alan Modra <amodra@bigpond.net.au> |
991 | ||
992 | * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with | |
993 | fx_subsy non-NULL. | |
994 | ||
20e420c2 RH |
995 | 2002-11-19 Richard Henderson <rth@redhat.com> |
996 | ||
997 | * config/obj-elf.c (obj_elf_visibility): Overwrite only the | |
998 | visibility portion of st_other. | |
999 | ||
a720f7bc KD |
1000 | 2002-11-19 Klee Dienes <kdienes@apple.com> |
1001 | ||
1002 | * config/tc-h8300.c (struct h8_instruction): New type, used to | |
1003 | wrap h8_opcodes with length, noperands, idx, and size fields | |
1004 | (computed at run-time). | |
1005 | (h8_instructions): New variable. | |
1006 | (md_begin): Allocate the storage for h8_instructions. Fill | |
1007 | h8_instructions with pointers to the appropriate opcode and the | |
1008 | correct value for the additional fields. | |
1009 | (clever_message): Update to use h8_instructions instead of | |
1010 | h8_opcodes. | |
1011 | (build_bytes): Ditto. | |
1012 | (get_specific): Ditto. | |
1013 | (md_assemble): Ditto. | |
bbce6ab7 | 1014 | |
0a00dd48 MS |
1015 | 2002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1016 | ||
1017 | * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent | |
1018 | adjustments to symbols in merge sections. | |
1019 | ||
81283cde AM |
1020 | 2002-11-19 Luke Deller <luked@cse.unsw.edu.au> |
1021 | ||
1022 | * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL. | |
1023 | ||
14e777e0 KB |
1024 | 2002-11-18 Kevin Buettner <kevinb@redhat.com> |
1025 | ||
1026 | * dwarf2dbg.h (dwarf2_format): New enum. | |
1027 | * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition. | |
1028 | (out_debug_line, out_debug_info): Add code for handling 64-bit | |
1029 | DWARF 2 formats. | |
1030 | * config/tc-mips.h (mips_dwarf2_format): Declare. | |
1031 | * config/tc-mips.c (mips_dwarf2_format): New function. | |
1032 | * doc/internals.texi (DWARF2_FORMAT): Document. | |
1033 | ||
a816d1ed AO |
1034 | 2002-11-18 Alexandre Oliva <aoliva@redhat.com> |
1035 | ||
1036 | * config/tc-mips.c (s_change_section): Make sure input buffer | |
1037 | is not accessed past the end. Don't hand | |
1038 | obj_elf_change_section a pointer into the input buffer. | |
1039 | ||
6b70243f AO |
1040 | 2002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com> |
1041 | ||
1042 | * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of | |
1043 | GOT_LO16 on NEWABI. | |
1044 | ||
48c5eb8a SS |
1045 | 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com> |
1046 | ||
9c87d6c7 SS |
1047 | * config/tc-tic4x.c: Fixed proper commandline |
1048 | parameters. Added support for new opcode-list format. General | |
1049 | error message fixups. | |
1050 | (c4x_inst_add): Reject insn not for our CPU | |
1051 | (md_begin): Added matrix for setting the proper opcode-level & | |
1052 | device-flags according to cpu type and revision. Rewrite the | |
1053 | opcode hasher. | |
1054 | (c4x_operand_parse): Fix opcode bug | |
1055 | (c4x_operands_match): New function argument. Added dry-run | |
1056 | mechanism, that is optional error generation. Added constraint 'i' | |
1057 | and 'j'. | |
1058 | (c4x_insn_check): Added new function for post-verification of the | |
1059 | generated insn. | |
1060 | (md_assemble): Check all opcodes before croaking because of an | |
1061 | argument mismatch. Need this to be able to fully support | |
1062 | ortogonally arguments. | |
1063 | (md_parse_options): Revised commandprompt swicthes and added new | |
1064 | ones. | |
1065 | (md_show_usage): Complete rewrite of printout. | |
bbce6ab7 | 1066 | |
44287f60 SS |
1067 | 2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com> |
1068 | ||
1069 | * config/tc-tic4x.c: Remove c4x_pseudo_ignore function. | |
1070 | (c4x_operands_match): Added check for 8-bits LDF insn. Give | |
1071 | warning when using constant direct bigger than 2^16. Add the new | |
1072 | arguments. | |
1073 | ||
591d4689 CF |
1074 | 2002-11-11 Christopher Faylor <cgf@redhat.com> |
1075 | ||
1076 | * configure.in: Use .gdbinit under Cygwin. | |
1077 | * configure: Regenerate. | |
1078 | ||
1a89f85f CF |
1079 | 2002-11-11 Christopher Faylor <cgf@redhat.com> |
1080 | ||
1081 | * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if | |
1082 | STRICT_PE_FORMAT. | |
1083 | ||
247b1fe6 SS |
1084 | 2002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com> |
1085 | ||
1086 | * config/tc-tic4x.c: Declare as many functions as possible as | |
1087 | static. Maintenance on the general indenting. Removed unnecessary | |
1088 | pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore | |
1089 | function. Add support for new DSP, TMS320VC33. Fix bug for | |
1090 | converting flonum constants. | |
1091 | (c4x_do_align): Add proper align handling. Setup align to insert | |
bbce6ab7 | 1092 | NOP's. |
247b1fe6 SS |
1093 | (c4x_gen_to_words): Support for extended TI type floats. |
1094 | (md_atof): Proper dumping of multiple-word littlenums. | |
1095 | (c4x_atof): Added support for extended TI type floats. | |
1096 | (c4x_stringer): Added new function to handle compact strings. | |
1097 | (c4x_emit_char): Added new function argument to handle custom | |
1098 | length inserts, like single-byte strings. | |
1099 | * config/tc-tic4x.h: Add proper align handling with NOP's. | |
98199d8f SS |
1100 | * Makefile.am: Added tic4x dependecy |
1101 | * Makefile.in: Regenerate | |
247b1fe6 | 1102 | |
9df59bba HPN |
1103 | 2002-11-11 Hans-Peter Nilsson <hp@bitrange.com> |
1104 | ||
1105 | * macro.c (get_any_string): Correct logic for not going beyond end | |
1106 | of in->ptr[]. | |
1107 | ||
32c27eed HPN |
1108 | 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com> |
1109 | ||
480c8d94 HPN |
1110 | * config/tc-mmix.c (get_putget_operands): Mark both possible |
1111 | operands as invalid at beginning. | |
1112 | ||
32c27eed HPN |
1113 | * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>: |
1114 | Initialize target of fixup to zero. | |
1115 | ||
78e1bb40 AO |
1116 | 2002-11-07 Alexandre Oliva <aoliva@redhat.com> |
1117 | ||
1118 | * config/tc-mips.c (macro_build_lui): _gp_disp is not special on | |
1119 | NEWABI, but we should still emit HI16_S for non-PIC n32. | |
1120 | ||
66ba4c77 RH |
1121 | 2002-11-06 Richard Henderson <rth@redhat.com> |
1122 | ||
1123 | * config/tc-alpha.c (alpha_validate_fix): Move code ... | |
1124 | (alpha_fix_adjustable): ... here. | |
1125 | * config/tc-alpha.h (TC_VALIDATE_FIX): Remove. | |
1126 | ||
bbce6ab7 | 1127 | 2002-11-07 Eric Kohl <ekohl@rz-online.de> |
c9e38879 NC |
1128 | |
1129 | * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character | |
1130 | of a label. | |
1131 | ||
aa3d8fdf L |
1132 | 2002-11-05 H.J. Lu <hjl@gnu.org> |
1133 | ||
1134 | * config/tc-mips.c (support_64bit_objects): Check *l before it | |
1135 | is freed. | |
1136 | ||
e96c5464 NC |
1137 | 2002-11-04 Danny Smith <dannysmith@users.sourceforge.net> |
1138 | ||
1139 | * config/obj-coff.c (obj-coff-section): Set SEC_DATA and | |
1140 | SEC_LOAD flags for sections marked as 's'. | |
1141 | ||
4d0b3220 AM |
1142 | 2002-11-01 Alan Modra <amodra@bigpond.net.au> |
1143 | ||
4f3cafa2 AM |
1144 | * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero. |
1145 | (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK. | |
1146 | * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed | |
1147 | default. | |
1148 | ||
4d0b3220 AM |
1149 | * dep-in.sed: Fix typo. |
1150 | ||
54847c76 DJ |
1151 | 2002-10-30 Daniel Jacobowitz <drow@mvista.com> |
1152 | ||
1153 | * configure.in: Update ARM CPU patterns. | |
1154 | * configure: Regenerated. | |
1155 | ||
3d82a647 DJ |
1156 | 2002-10-29 Daniel Jacobowitz <drow@mvista.com> |
1157 | ||
1158 | * itbl-lex.l: Use #include <> for generated headers. | |
1159 | * itbl-ops.c: Likewise. | |
1160 | ||
b1744eab DJ |
1161 | 2002-10-28 Daniel Jacobowitz <drow@mvista.com> |
1162 | ||
1163 | * doc/gasp.texi: Fix typo in deprecation note. | |
1164 | ||
8df7094c NC |
1165 | 2002-10-23 Nick Clifton <nickc@redhat.com> |
1166 | ||
1167 | * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to | |
1168 | _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc. | |
1169 | ||
3a99b990 HPN |
1170 | 2002-10-23 Hans-Peter Nilsson <hp@bitrange.com> |
1171 | ||
1cd2bb72 | 1172 | * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare. |
3a99b990 HPN |
1173 | (tc_frob_file_before_adjust): Don't define. |
1174 | * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused | |
1175 | function. | |
1176 | (mmix_frob_file_before_adjust): Remove ineffective function. | |
1177 | ||
1c971160 HPN |
1178 | 2002-10-23 Hans-Peter Nilsson <hp@axis.com> |
1179 | ||
1180 | * config/tc-cris.c (SIMPLE_EXPR): New macro. | |
1181 | (cris_relax_frag): New function. | |
1182 | (md_estimate_size_before_relax) <case ENCODE_RELAX | |
1183 | (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved | |
1184 | expressions that will become absolute expressions to relaxation. | |
1185 | (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, | |
1186 | STATE_WORD)>: Expect only absolute expressions. Use the symbol | |
1187 | value, not distance to symbol. | |
1188 | <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>: | |
1189 | Ditto. Correct placement of fixup. | |
1190 | (md_assemble): Use SIMPLE_EXPR when dissecting expressions. | |
1191 | (gen_bdap): Ditto. | |
1192 | * config/tc-cris.h (cris_relax_frag): Declare. | |
1193 | (md_relax_frag): Define. | |
1194 | ||
7ed1d346 AM |
1195 | 2002-10-22 Alan Modra <amodra@bigpond.net.au> |
1196 | ||
1197 | * config/obj-elf.c (special_sections): Use correct types for init | |
1198 | array sections. | |
1199 | (obj_elf_change_section): Don't mess with init array section type. | |
1200 | ||
631cb423 RS |
1201 | 2002-10-21 Richard Sandiford <rsandifo@redhat.com> |
1202 | ||
1203 | * config/tc-mips.c (mips_need_elf_addend_fixup): Return true | |
1204 | for relocs against symbols in a merged section. | |
1205 | ||
6047c971 AO |
1206 | 2002-10-18 Alexandre Oliva <aoliva@redhat.com> |
1207 | ||
1208 | * config/tc-mips.c (md_begin): Add $fcc registers to the symbol | |
1209 | table as register names. | |
1210 | ||
75504fed MS |
1211 | 2002-10-18 Ulrich Weigand <uweigand@de.ibm.com> |
1212 | ||
1213 | * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32 | |
1214 | for option -m31. | |
1215 | ||
02000999 AM |
1216 | 2002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com> |
1217 | ||
1218 | * expr.c (operand): Add support for n.nn flonums. | |
1219 | ||
311797d5 AM |
1220 | 2002-10-17 Johannes Stezenbach <js@convergence.de> |
1221 | ||
1222 | * itbl-parse.y (entry): Provide empty action. | |
1223 | ||
4001ad8c AM |
1224 | 2002-10-16 Alan Modra <amodra@bigpond.net.au> |
1225 | ||
1226 | * configure.in (BFDVER_H): Set and subst. | |
1227 | * dep-in.sed: Replace bfdver.h with $(BFDVER_H). | |
1228 | * Makefile.am: Run "make dep-am". | |
1229 | (BFDVER_H): Define. | |
1230 | * configure: Regenerate. | |
1231 | * Makefile.in: Regenerate. | |
1232 | * doc/Makefile.in: Regenerate. | |
1233 | ||
3ca4bdc3 AM |
1234 | 2002-10-15 Alan Modra <amodra@bigpond.net.au> |
1235 | ||
1236 | * config/tc-i386.h (EXTERN_FORCE_RELOC): Define. | |
1237 | (MD_APPLY_SYM_VALUE): Define for PE too. | |
1238 | ||
b95d15c6 AM |
1239 | 2002-10-14 Alan Modra <amodra@bigpond.net.au> |
1240 | ||
1241 | * Makefile.am: Run "make dep-am". | |
1242 | (CPU_OBJ_VALID): sh64 coff is invalid. | |
1243 | * as.c: #include "bfdver.h". | |
1244 | * Makefile.in: Regenerate. | |
1245 | * config.in: Regenerate. | |
1246 | ||
ec266e19 AM |
1247 | 2002-10-14 Momchil Velikov <velco@fadata.bg> |
1248 | ||
1249 | * config/tc-v850.c (CHECK_): Remove token pasting operator. | |
1250 | ||
8f6847cb RS |
1251 | 2002-10-14 Richard Sandiford <rsandifo@redhat.com> |
1252 | ||
1253 | * configure.in (mips64vr-elf, mips64vrel-elf): New config. | |
1254 | * configure: Regenerate. | |
1255 | ||
ec266e19 AM |
1256 | 2002-10-13 Eric Christopher <echristo@redhat.com> |
1257 | Alexandre Oliva <aoliva@redhat.com> | |
10181a0d AO |
1258 | |
1259 | * config/tc-mips.c (s_gpdword): New function. | |
1260 | (mips_pseudo_table): Add .gpdword. | |
1261 | (mips_need_elf_addend_fixup): never for NEWABI. | |
1262 | (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or | |
1263 | GPREL32 as done. | |
1264 | (s_cpadd): Generate .cpadd on NEWABI. | |
1265 | ||
49181a6a AM |
1266 | 2002-10-12 Elias Athanasopoulos <eathan@otenet.gr> |
1267 | ||
1268 | * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int. | |
1269 | ||
4a6a3df4 AO |
1270 | 2002-10-12 Alexandre Oliva <aoliva@redhat.com> |
1271 | ||
1272 | * config/tc-mips.h (mips_relax_frag): Take segment as argument. | |
1273 | (md_relax_frag): Adjust macro. | |
1274 | * config/tc-mips.c (mips_relax_branch): New variable. | |
1275 | (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY, | |
1276 | RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New. | |
1277 | (RELAX_MIPS16_P): Adjust. | |
1278 | (append_insn): Emit branch to non-constant in a frag_var if | |
1279 | branch-relaxation is desirable and possible. | |
1280 | (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options. | |
1281 | (OPTION_ELF_BASE): Adjust. | |
1282 | (md_parse_option): Handle new options. | |
1283 | (md_apply_fix3): Update comment on EMBEDDED_PIC conditional | |
1284 | branch relaxation. | |
1285 | (relaxed_branch_length): New function. | |
1286 | (md_estimate_size_before_relax): Handle branch frags. | |
1287 | (mips_relax_frag): Likewise. | |
1288 | (md_convert_frag): Handle branch frags. Warn if branch is | |
1289 | relaxed. | |
1290 | ||
9efb3b7b KK |
1291 | 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1292 | ||
1293 | * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get | |
1294 | emitted. | |
1295 | (md_apply_fix3): Add TLS relocs. | |
1296 | (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and | |
1297 | @DTPOFF. | |
1298 | ||
3e02c1cc AM |
1299 | 2002-10-11 Michel Six <msix@ccr.jussieu.fr> |
1300 | Alan Modra <amodra@bigpond.net.au> | |
1301 | ||
1302 | * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz. | |
1303 | (md_estimate_size_before_relax): Likewise for 8 bit branches. | |
1304 | ||
ac62e7a3 JR |
1305 | Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1306 | ||
1307 | * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n | |
1308 | inside loop. | |
1309 | ||
f61dfddf SC |
1310 | 2002-10-09 Richard Shann <richard.shann@superh.com> |
1311 | Stephen Clarke <stephen.clarke@superh.com> | |
1312 | ||
1313 | * config/tc-sh64.c (sh64_target_format): Add support for sh64 | |
1314 | Linux environment. | |
1315 | ||
28602ebf KK |
1316 | 2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1317 | ||
1318 | * contig/tc-sh.c (sh_local_pcrel): New. | |
1319 | (sh_force_relocation): Use sh_local_pcrel. | |
1320 | (md_pcrel_from_section): Check the relocation type whether it | |
1321 | should be resolved locally. Use S_FORCE_RELOC. | |
1322 | ||
97724570 AM |
1323 | 2002-10-01 Alan Modra <amodra@bigpond.net.au> |
1324 | ||
1325 | * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
1326 | (TC_FORCE_RELOCATION): Tidy arg. | |
1327 | ||
60b63b72 | 1328 | 2002-09-30 Gavin Romig-Koch <gavin@redhat.com> |
3e02c1cc AM |
1329 | Ken Raeburn <raeburn@cygnus.com> |
1330 | Aldy Hernandez <aldyh@redhat.com> | |
1331 | DJ Delorie <dj@redhat.com> | |
1332 | Michael Meissner <meissner@redhat.com> | |
1333 | Eric Christopher <echristo@redhat.com> | |
1334 | Richard Sandiford <rsandifo@redhat.com> | |
60b63b72 RS |
1335 | |
1336 | * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, | |
1337 | vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. | |
1338 | * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. | |
1339 | (hilo_interlocks): True for CPU_VR5500. | |
1340 | (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. | |
1341 | (mips_fix_vr4122_bugs): New. | |
1342 | (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. | |
1343 | (mips_emit_delays): Likewise. | |
1344 | (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. | |
1345 | [M_ROLI]: Likewise ror if CPU_HAS_ROR. | |
1346 | (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. | |
1347 | (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. | |
1348 | (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. | |
1349 | (OPTION_ELF_BASE): Bump. | |
1350 | (md_parse_option): Handle the new options. | |
1351 | (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, | |
1352 | vr5400 and vr5500. | |
1353 | ||
7a49a8c2 L |
1354 | 2002-09-29 H.J. Lu <hjl@gnu.org> |
1355 | ||
1356 | * config/tc-mips.c (md_apply_fix3): Subtract the symbol value | |
1357 | twice if howto->pcrel_offset is true. | |
1358 | ||
04ff5cb5 | 1359 | 2002-09-28 Matt Thomas <matt@3am-software.com> |
3e02c1cc | 1360 | Jason Thorpe <thorpej@wasabisystems.com> |
04ff5cb5 JT |
1361 | |
1362 | * config/tc-vax.c (md_estimate_size_before_relax): Only try to | |
1363 | convert undefined references to GOT32/PLT32 if PIC code is | |
1364 | requested. Fix comment. | |
1365 | ||
8ba4dac0 DJ |
1366 | 2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1367 | ||
1368 | * config/tc-sh.c (sh_force_relocation): Return 0 for | |
1369 | some PC relative relocations when not relaxing. | |
1370 | ||
bffbf940 JJ |
1371 | 2002-09-26 Jakub Jelinek <jakub@redhat.com> |
1372 | ||
1373 | * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs. | |
1374 | Define them if not BFD_ASSEMBLER. | |
1375 | (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add | |
1376 | @tlsld. | |
1377 | (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD, | |
1378 | BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF. | |
1379 | (tc_gen_reloc): Handle x86-64 TLS relocs. | |
1380 | ||
87733541 AM |
1381 | 2002-09-27 Alan Modra <amodra@bigpond.net.au> |
1382 | ||
1383 | * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel | |
1384 | fixups to current or absolute section. | |
1385 | ||
825487fa JW |
1386 | 2002-09-26 Jim Wilson <wilson@redhat.com> |
1387 | ||
1388 | * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix | |
1389 | and frag_more. | |
1390 | ||
3396de36 TS |
1391 | 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1392 | ||
1393 | * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16 | |
1394 | capable configuration. | |
1395 | (macro_build): Check for MIPS16 capability, not for actual MIPS16 code | |
1396 | generation. | |
1397 | (mips_ip): Likewise. | |
1398 | ||
f3c0ec86 TS |
1399 | 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1400 | ||
1401 | * config/tc-mips.c (append_insn): Fix jump overflow check. | |
1402 | ||
52271982 AM |
1403 | 2002-09-24 Alan Modra <amodra@bigpond.net.au> |
1404 | ||
1405 | * config/tc-i386.c (process_operands): Warn about "lea" segment | |
1406 | overrides. | |
1407 | ||
823882f5 DD |
1408 | 2002-09-22 Mark Elbrecht <snowball3@softhome.net> |
1409 | ||
1410 | * write.c: Delete set_segment_vma and prototype. Update all callers. | |
1411 | ||
6539b54b AM |
1412 | 2002-09-21 Alan Modra <amodra@bigpond.net.au> |
1413 | ||
1414 | * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL, | |
1415 | S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment. | |
1416 | Rename "fseg" to "sym_seg". | |
1417 | * Makefile.am: Run "make dep-am". | |
1418 | * Makefile.in: Regenerate. | |
1419 | * doc/Makefile.in: Regenerate. | |
1420 | ||
9f269a72 NC |
1421 | 2002-09-20 Nick Clifton <nickc@redhat.com> |
1422 | ||
1423 | * symbols.c (colon): Do not allow symbols to be created in the | |
7cf10893 NC |
1424 | absolute section if WORKING_DOT_WORD is not defined and |
1425 | new_broken_words would require a new frag to be created. | |
9f269a72 | 1426 | |
26346241 AM |
1427 | 2002-09-20 Alan Modra <amodra@bigpond.net.au> |
1428 | ||
f6cf69d7 AM |
1429 | * expr.c (expr): Simplify foo-foo here. |
1430 | (clean_up_expression): Remove O_subtract code. | |
1431 | ||
26346241 AM |
1432 | * write.h (struct fix): Add fx_dot_value. |
1433 | (dot_value): Declare. | |
1434 | * write.c (dot_value): New var. | |
1435 | (fix_new_internal): Save dot_value as fx_dot_value. | |
f6cf69d7 | 1436 | (fixup_segment): Adjust fx_offset using fx_dot_value. |
26346241 AM |
1437 | * expr.c (expr): Update dot_value. |
1438 | ||
37e55690 JJ |
1439 | 2002-09-19 Jakub Jelinek <jakub@redhat.com> |
1440 | ||
1441 | * config/tc-i386.c (tc_i386_fix_adjustable): Handle | |
1442 | BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. | |
1443 | (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 | |
1444 | if not defined. | |
1445 | (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. | |
1446 | (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and | |
1447 | BFD_RELOC_386_TLS_GOTIE. | |
1448 | ||
021c2b5e RH |
1449 | 2002-09-19 Richard Henderson <rth@redhat.com> |
1450 | ||
1451 | * config/tc-alpha.c (md_pcrel_from): Only adjust special for | |
1452 | branch type relocs. | |
1453 | (alpha_force_relocation): Don't special-case branch type relocs. | |
1454 | ||
4f2a7c9e NC |
1455 | 2002-09-19 Nick Clifton <nickc@redhat.com> |
1456 | ||
1457 | * config/tc-m68k.c (select_control_regs): Handle situation where | |
1458 | architecture has not yet been selected. | |
1459 | ||
885add95 CD |
1460 | 2002-09-18 Chris Demetriou <cgd@broadcom.com> |
1461 | ||
1462 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file. | |
1463 | (IS_SEXT_16BIT_NUM): New macro. | |
1464 | (macro_build_ldst_constoffset): New function, to build a set of | |
1465 | instructions to do a load or store from a constant offset relative | |
1466 | to a given register. | |
1467 | (macro, s_cprestore): Use macro_build_ldst_constoffset to implement | |
1468 | .cprestore pseudo-op. | |
1469 | ||
65551fa4 CD |
1470 | 2002-09-18 Chris Demetriou <cgd@broadcom.com> |
1471 | ||
1472 | * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. | |
1473 | ||
4cf0dd0d TS |
1474 | 2002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1475 | ||
1476 | * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup. | |
1477 | ||
ed6fb7bd SC |
1478 | 2002-09-17 Stan Cox <scox@redhat.com> |
1479 | ||
1480 | * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi. | |
1481 | (macro): Likewise for la. Likewise for ld. | |
1482 | (mips_after_parse_args): Make -xgot optional, not the default. | |
1483 | (md_apply_fix3): Allow composite relocation to set up gp. | |
1484 | (tc_gen_reloc): Allow relaxing for newabi. | |
1485 | Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local. | |
1486 | Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local. | |
1487 | ||
6189168b NC |
1488 | 2002-09-17 Nick Clifton <nickc@redhat.com> |
1489 | ||
1490 | * config/tc-arm.c (md_apply_fix3): Note that an implemented | |
1491 | BFD_RELOC_ARM_IMMEDIATE has been done. | |
f6cf69d7 | 1492 | (tc_gen_reloc): Do not issue reloc number of unimplemented |
6189168b NC |
1493 | BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs - |
1494 | their name is already in the error message - plus remove them | |
1495 | from the default case. | |
1496 | ||
1497 | * config/tc-arm.c (do_ldmstm): Warn about unpredictable | |
1498 | behavior of instructions. | |
1499 | ||
75d12d11 AM |
1500 | 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com> |
1501 | ||
1502 | * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. | |
1503 | Convert functions to K&R format. | |
1504 | ||
7ed4a06a TS |
1505 | 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1506 | ||
1507 | * config/tc-mips.c (pdr_seg): Define only for ELF. | |
1508 | (s_change_section): Remove unused variable. Don't use for nonELF. | |
1509 | ||
e8cf2216 TS |
1510 | 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1511 | ||
1512 | * config/obj-elf.c (obj_elf_change_section): Move prototype to | |
1513 | obj-elf.h | |
1514 | * config/obj-elf.h (obj_elf_change_section): Likewise. | |
1515 | ||
48b91938 RH |
1516 | 2002-09-16 Elias Athanasopoulos <eathan@otenet.gr> |
1517 | ||
1518 | * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field. | |
1519 | (out_debug_info): Likewise. | |
1520 | ||
4ada7262 DB |
1521 | 2002-09-16 Bruno Haible <bruno@clisp.org> |
1522 | ||
1523 | * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. | |
1524 | (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". | |
1525 | * config/tc-i386.c (i386_target_format): Likewise. | |
1526 | * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. | |
1527 | (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". | |
1528 | ||
7fe9cf6b NC |
1529 | 2002-09-13 Nick Clifton <nickc@redhat.com> |
1530 | ||
1531 | * config/tc-ppc.c (md_assemble): Do not count FAKE operands | |
1532 | when deciding if any operands have been skipped. | |
1533 | ||
e09f4395 NC |
1534 | 2002-09-11 Nick Clifton <nickc@redhat.com> |
1535 | ||
004d9caf NC |
1536 | * NEWS: New TI port supports both C4x and C3x series of DSPs. |
1537 | ||
e09f4395 NC |
1538 | * po/tr.po: Updated Turkish translation. |
1539 | ||
9dfe7b39 JJ |
1540 | 2002-09-11 Jakub Jelinek <jakub@redhat.com> |
1541 | ||
1542 | * config/tc-i386.c (md_apply_fix3): Allow addend for | |
1543 | BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and | |
1544 | BFD_RELOC_386_TLS_LE_32. | |
1545 | ||
502b19cb JL |
1546 | 2002-09-05 Jeff Law <law@redhat.com> |
1547 | ||
f6cf69d7 AM |
1548 | * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for |
1549 | marker relocations such as ENTRY/EXIT. | |
1550 | * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies | |
1551 | to both OBJ_ELF and OBJ_SOM. | |
502b19cb | 1552 | |
a161fe53 AM |
1553 | 2002-09-05 Alan Modra <amodra@bigpond.net.au> |
1554 | ||
1555 | * doc/internals.texi (md_apply_fix3): Expand. | |
1556 | (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS, | |
1557 | TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME, | |
1558 | TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, | |
1559 | TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC, | |
1560 | EXTERN_FORCE_RELOC): Document. | |
1561 | (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove. | |
1562 | * as.h: Don't include struc-symbol.h for arc. | |
1563 | (IS_ELF): Define. | |
1564 | * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to | |
1565 | subtract absolute symbol. | |
1566 | * obj.h (struct format_ops): Add frob_file_before_fix. | |
1567 | * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag. | |
1568 | * symbols.c (S_FORCE_RELOC): New function. | |
1569 | * symbols.h (S_FORCE_RELOC): Declare. | |
1570 | * write.c (TC_FORCE_RELOCATION): Change default. | |
1571 | (TC_FORCE_RELOCATION_ABS): Define. | |
1572 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1573 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1574 | (TC_FORCE_RELOCATION_SECTION): Don't define. | |
1575 | (TC_FORCE_RELOCATION_SUB_SAME): Define this instead. | |
1576 | (TC_FORCE_RELOCATION_SUB_ABS): Define. | |
1577 | (TC_FORCE_RELOCATION_SUB_LOCAL): Define. | |
1578 | (TC_VALIDATE_FIX_SUB): Define. | |
1579 | (TC_FIX_ADJUSTABLE): Don't define. | |
1580 | (MD_APPLY_SYM_VALUE): Define this instead. | |
1581 | (abs_section_sym): New variable. | |
1582 | (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable | |
1583 | call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests. | |
1584 | Don't put the absolute section sym on fixups here. | |
1585 | (fix_segment): New function. | |
1586 | (write_relocs): Don't call fixup_segment from here. | |
1587 | (write_object_file): Instead call tc_frob_file_before_fix, | |
1588 | obj_frob_file_before_fix, and fix_segment prior to symbol table code. | |
1589 | Don't output the absolute section symbol. | |
1590 | (fixup_segment): Rewrite. | |
1591 | * write.h (abs_section_sym): Declare. | |
1592 | * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from | |
1593 | obj_aout_frob_file. | |
1594 | (aout_format_ops): Adjust to suit. | |
1595 | * config/obj-aout.h (obj_frob_file): Don't define. | |
1596 | (obj_frob_file_before_fix): Define. | |
1597 | (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file. | |
1598 | (S_FORCE_RELOC): Define. | |
1599 | * config/obj-bout.h (S_FORCE_RELOC): Define. | |
1600 | * config/obj-coff.c (coff_format_ops): Init new field. | |
1601 | * config/obj-coff.h: Formatting fixes. | |
1602 | (obj_sec_sym_ok_for_reloc): Define. | |
1603 | (S_FORCE_RELOC): Define. | |
1604 | * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out .. | |
1605 | (ecoff_frob_file): .. from here. | |
1606 | (ecoff_format_ops): Add new function. | |
1607 | * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare. | |
1608 | (obj_frob_file_before_fix): Define. | |
1609 | * config/obj-elf.c (elf_format_ops): Init new field. | |
1610 | * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment. | |
1611 | * config/obj-ieee.h: Formatting fixes. | |
1612 | (S_FORCE_RELOC): Define. | |
1613 | * config/obj-multi.h (obj_frob_file_before_fix): Define. | |
1614 | * config/obj-vms.h (S_FORCE_RELOC): Define. | |
1615 | * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment. | |
1616 | (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0 | |
1617 | for BFD_RELOC_32 and BFD_RELOC_64. | |
1618 | (alpha_fix_adjustable): Remove extern and weak tests. | |
1619 | (alpha_before_fix): Rename from alpha_adjust_symtab. | |
1620 | (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs. | |
1621 | * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare. | |
1622 | (TC_VALIDATE_FIX): Tweak param name. | |
1623 | (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise. | |
1624 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1625 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1626 | (MD_APPLY_SYM_VALUE): Define. | |
1627 | (tc_adjust_symtab): Don't define. | |
1628 | (alpha_adjust_symtab): Don't declare. | |
1629 | (tc_frob_file_before_fix): Define. | |
1630 | (alpha_before_fix): Declare. | |
1631 | (TC_INIT_FIX_DATA): Tweak param names. | |
1632 | * config/tc-arc.c: Include "struc-symbol.h". | |
1633 | (md_pcrel_from): Remove undefined sym fudge. | |
1634 | (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. | |
1635 | Don't set fx_addnumber. | |
1636 | (tc_gen_reloc): Remove spurious fx_addnumber comment. | |
1637 | * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define. | |
1638 | (EXTERN_FORCE_RELOC): Define. | |
1639 | * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove. | |
1640 | (tc_gen_reloc): Fudge ARM_GOTPC addend. | |
1641 | (arm_validate_fix): Return void. | |
1642 | (arm_fix_adjustable <elf version>): Remove extern and weak tests. | |
1643 | Add plt and got reloc tests. | |
1644 | (arm_force_relocation): Call S_FORCE_RELOC. | |
1645 | * config/tc-arm.h (struct fix): Forward declare. | |
1646 | (TC_VALIDATE_FIX): No longer set add_symbolP. | |
1647 | (arm_validate_fix): Adjust declaration. | |
1648 | (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC. | |
1649 | (TC_FORCE_RELOCATION): Tweak param name. | |
1650 | (TC_INIT_FIX_DATA): Likewise. | |
1651 | (obj_fix_adjustable): Don't define. | |
1652 | (tc_fix_adjustable): Call arm_fix_adjustable. | |
1653 | (TC_FIX_ADJUSTABLE): Don't define. | |
1654 | (MD_APPLY_SYM_VALUE): Define. | |
1655 | (EXTERN_FORCE_RELOC): Define. | |
1656 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1657 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1658 | * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type. | |
1659 | Remove *valP fudges and code to subtract abs sym. Don't set | |
1660 | fx_addnumber. | |
1661 | * config/tc-avr.h: Formatting. | |
1662 | (EXTERN_FORCE_RELOC): Define. | |
1663 | (MD_APPLY_SYM_VALUE): Define. | |
1664 | * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber. | |
1665 | (md_apply_fix3): Remove code to subtract abs sym. | |
1666 | (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC. | |
1667 | * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name. | |
1668 | (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise. | |
1669 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1670 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1671 | (tc_fix_adjustable): Remove extern, weak tests. | |
1672 | * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of | |
1673 | BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber. | |
1674 | (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges | |
1675 | and code to subtract abs sym. | |
1676 | (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests. | |
1677 | (d10v_force_relocation): Call S_FORCE_RELOC. | |
1678 | * config/tc-d10v.h: Don't include write.h. | |
1679 | (struct fix): Instead, forward declare. | |
1680 | (MD_PCREL_FROM_SECTION): Tweak param names. | |
1681 | (md_pcrel_from_section): Use "struct fix" instead of "fixS". | |
1682 | (d10v_fix_adjustable): Likewise. | |
1683 | (obj_fix_adjustable): Don't define. | |
1684 | (tc_fix_adjustable): Define. | |
1685 | (TC_FORCE_RELOCATION): Tweak param name. | |
1686 | (MD_APPLY_SYM_VALUE): Define. | |
1687 | (EXTERN_FORCE_RELOC): Define. | |
1688 | * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber. | |
1689 | (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges | |
1690 | and code to subtract abs sym. | |
1691 | * config/tc-d30v.h: Don't include write.h. | |
1692 | (struct fix): Instead, forward declare. | |
1693 | (MD_PCREL_FROM_SECTION): Tweak param names. | |
1694 | (md_pcrel_from_section): Use "struct fix" instead of "fixS". | |
1695 | (MD_APPLY_SYM_VALUE): Define. | |
1696 | (EXTERN_FORCE_RELOC): Define. | |
1697 | * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC. | |
1698 | (md_dlx_fix_adjustable): Don't test for NULL fx_addsy. | |
1699 | (md_apply_fix3): No need to test fx_pcrel before setting fx_done. | |
1700 | (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. | |
1701 | Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. | |
1702 | Don't use fx_addnumber. | |
1703 | * config/tc-dlx.h: Don't include write.h. | |
1704 | (md_convert_frag): We're not alpha twice over. | |
1705 | (EXTERN_FORCE_RELOC): Define. | |
1706 | (obj_fix_adjustable): Don't define. | |
1707 | (tc_fix_adjustable): Define. | |
1708 | (TC_FIX_ADJUSTABLE): Don't define. | |
1709 | (MD_APPLY_SYM_VALUE): Define. | |
1710 | (LOCAL_LABELS_DOLLAR): Undef always. | |
1711 | * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC. | |
1712 | (fr30_fix_adjustable): Remove extern, weak tests. | |
1713 | * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define. | |
1714 | (obj_fix_adjustable): Don't define. | |
1715 | (tc_fix_adjustable): Define. | |
1716 | (struct fix): Forward declare. | |
1717 | (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate. | |
1718 | * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC. | |
1719 | (frv_fix_adjustable): Don't do extern, weak tests. | |
1720 | * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define. | |
1721 | (TC_FIX_ADJUSTABLE): Don't define. | |
1722 | (obj_fix_adjustable): Don't define. | |
1723 | (tc_fix_adjustable): Define. | |
1724 | (struct fix): Forward declare. | |
1725 | (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\ | |
1726 | * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type. | |
1727 | * config/tc-h8300.h (struct fix): Forward declare. | |
1728 | (EXTERN_FORCE_RELOC): Define. | |
1729 | * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value. | |
1730 | (hppa_fix_adjustable): Don't test extern or weak. Don't | |
1731 | symbol_mark_used_in_reloc. | |
1732 | (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL | |
1733 | and S_IS_WEAK. | |
1734 | * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define | |
1735 | (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name. | |
1736 | (TC_FORCE_RELOCATION_SECTION): Don't define. | |
1737 | (MD_APPLY_SYM_VALUE): Define. | |
1738 | * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code | |
1739 | to subtract abs sym. | |
1740 | * config/tc-i370.h: Remove ifdef OBJ_ELF tests. | |
1741 | (MD_APPLY_SYM_VALUE): Define. | |
1742 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
1743 | * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests. | |
1744 | (md_apply_fix3): Test fx_addsy, not fx_pcrel. | |
1745 | (i386_force_relocation): New function. | |
1746 | * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name. | |
1747 | (TC_VALIDATE_FIX): Likewise. | |
1748 | (TC_FIX_ADJUSTABLE): Don't define. | |
1749 | (MD_APPLY_SYM_VALUE): Define. | |
1750 | (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation. | |
1751 | (i386_force_relocation): Declare. | |
1752 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1753 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1754 | (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC. | |
1755 | * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type. | |
1756 | * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define. | |
1757 | (EXTERN_FORCE_RELOC): Define. | |
1758 | * config/tc-i960.c (reloc_callj): Remove declaration. Return false. | |
1759 | (md_apply_fix3): Don't cast valP pointer type. Move code here from | |
1760 | old fixup_segment. No need to test fx_pcrel before setting fx_done. | |
1761 | (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro. | |
1762 | Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad. | |
1763 | Remove #if 0 code. Invert return boolean. | |
1764 | * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name. | |
1765 | (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise. | |
1766 | (tc_headers_hook, tc_coff_fix2rtype): Remove declaration. | |
1767 | (tc_coff_sizemachdep): Prototype. | |
1768 | (i960_handle_align): Likewise. | |
1769 | (i960_validate_fix): Adjust declaration. | |
1770 | (reloc_callj): Likewise. | |
1771 | (EXTERN_FORCE_RELOC): Define. | |
1772 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
1773 | (TC_FORCE_RELOCATION_ABS): Define. | |
1774 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1775 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1776 | (TC_FIX_ADJUSTABLE): Don't define. | |
1777 | (MD_APPLY_SYM_VALUE): Define. | |
1778 | * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC. | |
1779 | * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define. | |
1780 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1781 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1782 | * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC. | |
1783 | * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define. | |
1784 | (MD_APPLY_SYM_VALUE): Define. | |
1785 | (EXTERN_FORCE_RELOC): Define. | |
1786 | (TC_FORCE_RELOCATION): Tweak param name. | |
1787 | * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC. | |
1788 | (m32r_fix_adjustable): Don't test extern, weak. | |
1789 | * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name. | |
1790 | (MD_APPLY_SYM_VALUE): Define. | |
1791 | (obj_fix_adjustable): Don't define. | |
1792 | (tc_fix_adjustable): Define. | |
1793 | (tc_frob_file): Don't define. | |
1794 | (tc_frob_file_before_fix): Define. | |
1795 | (EXTERN_FORCE_RELOC): Define. | |
1796 | * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust | |
1797 | BFD_RELOC_VTABLE_ENTRY address. | |
1798 | (tc_m68hc11_force_relocation): Call S_FORCE_RELOC. | |
1799 | (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol. | |
1800 | (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. | |
1801 | Remove duplicated fx_done code. | |
1802 | * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define. | |
1803 | (EXTERN_FORCE_RELOC): Define. | |
1804 | * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test | |
1805 | relaxable_symbol. | |
1806 | * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name. | |
1807 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
a161fe53 AM |
1808 | (TC_FIX_ADJUSTABLE): Don't define. |
1809 | (EXTERN_FORCE_RELOC): Define. | |
1810 | (MD_APPLY_SYM_VALUE): Define. | |
1811 | (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. | |
1812 | * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type. | |
1813 | Remove fx_addsy tests. | |
1814 | (mcore_force_relocation): Call S_FORCE_RELOC. | |
1815 | (mcore_fix_adjustable): Don't test fx_addsy. | |
1816 | * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name. | |
1817 | (EXTERN_FORCE_RELOC): Define. | |
1818 | (obj_fix_adjustable): Don't define. | |
1819 | (tc_fix_adjustable): Define. | |
1820 | (MD_APPLY_SYM_VALUE): Define. | |
1821 | * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h. | |
1822 | (mips_pic): No longer static. | |
1823 | (mips_force_relocation): Call S_FORCE_RELOC. | |
1824 | (mips_fix_adjustable): Remove extern, weak tests. | |
1825 | * config/tc-mips.h (enum mips_pic_level): Declare. | |
1826 | (mips_pic): Declare. | |
1827 | (tc_frob_file): Don't define. | |
1828 | (tc_frob_file_before_fix): Define this instead. | |
1829 | (EXTERN_FORCE_RELOC): Define. | |
1830 | * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests | |
1831 | with reg_section tests. Set fx_done instead of calling | |
1832 | symbol_clear_used_in_reloc on bad relocs. | |
1833 | (tc_gen_reloc): Zero fx_addsy on bad relocs. | |
1834 | (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC. | |
1835 | (mmix_adjust_symtab): Simplify list handling. Abort on any | |
1836 | nonsense. | |
1837 | * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check | |
1838 | BFD_RELOC_MMIX_LOCAL. | |
1839 | (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt. | |
1840 | (EXTERN_FORCE_RELOC): Define. | |
1841 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
1842 | (tc_frob_file): Don't define. | |
1843 | (tc_frob_file_before_fix): Define this instead. | |
1844 | * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC. | |
1845 | Remove SEC_CODE checks. | |
1846 | (mn10300_fix_adjustable): Remove extern and weak tests. | |
1847 | * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define. | |
1848 | (TC_FORCE_RELOCATION): Tweak param name. | |
1849 | (obj_fix_adjustable): Don't define. | |
1850 | (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE. | |
1851 | * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name. | |
1852 | * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC. | |
1853 | (openrisc_fix_adjustable): Don't test fx_addsy. | |
1854 | * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define. | |
1855 | (obj_fix_adjustable): Don't define. | |
1856 | (tc_fix_adjustable): Define this instead. | |
1857 | (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. | |
1858 | * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type. | |
1859 | (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. | |
1860 | Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. | |
1861 | * config/tc-or32.h (EXTERN_FORCE_RELOC): Define. | |
1862 | (MD_APPLY_SYM_VALUE): Define. | |
1863 | * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type. | |
1864 | Don't subtract symbol value. | |
1865 | * config/tc-pj.h (md_pcrel_from): Tweak param name. | |
1866 | (EXTERN_FORCE_RELOC): Define. | |
1867 | (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. | |
1868 | (MD_APPLY_SYM_VALUE): Define. | |
1869 | (obj_fix_adjustable): Don't define. | |
1870 | (tc_fix_adjustable): Define this instead. | |
1871 | * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute | |
1872 | section sym. | |
1873 | (ppc_force_relocation <coff version>): Call S_FORCE_RELOC. | |
1874 | (ppc_force_relocation <elf version>): New. | |
1875 | (ppc_fix_adjustable <elf version>): Remove extern and weak tests. | |
1876 | (md_apply_fix3): Don't subtract symbol values for ELF. Update | |
1877 | comments. Don't subtract fx_subsy as that is already done. | |
1878 | * config/tc-ppc.h (tc_fix_adjustable): Tweak param name. | |
1879 | (MD_PCREL_FROM_SECTION): Likewise. | |
1880 | (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling | |
1881 | ppc_force_relocation. | |
1882 | (TC_FORCE_RELOCATION_SECTION): Delete. | |
1883 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1884 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1885 | (MD_APPLY_SYM_VALUE): Define. | |
1886 | * config/tc-s390.c: #include "dwarf2dbg.h". | |
1887 | (s390_insn): Remove excess parens. | |
1888 | (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests. | |
1889 | (tc_s390_force_relocation): Call S_FORCE_RELOC. | |
1890 | (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy | |
1891 | non-NULL. Don't subtract off fx_addsy value. | |
1892 | * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1893 | (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. | |
1894 | (TC_FIX_ADJUSTABLE): Don't define. | |
1895 | (MD_APPLY_SYM_VALUE): Define. | |
1896 | * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h. | |
1897 | (SWITCH_TABLE): Likewise. | |
1898 | (sh_force_relocation): Call S_FORCE_RELOC. | |
1899 | (sh_fix_adjustable): Remove "return 1" cases handled by the default. | |
1900 | Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests. | |
1901 | (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify, | |
1902 | fx_addnumber is zero on entry. Save val in fx_addnumber. | |
1903 | (tc_gen_reloc): Don't subtract fx_subsy. | |
1904 | * config/tc-sh.h (struct fix): Move. | |
1905 | (obj_fix_adjustable): Don't define. | |
1906 | (tc_fix_adjustable): Define this instead. | |
1907 | (TC_FIX_ADJUSTABLE): Don't define. | |
1908 | (MD_APPLY_SYM_VALUE): Define. | |
1909 | (SWITCH_TABLE_CONS): Define. | |
1910 | (SWITCH_TABLE): Define. | |
1911 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
1912 | (TC_VALIDATE_FIX_SUB): Define. | |
1913 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
1914 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1915 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1916 | (TC_FORCE_RELOCATION_SUB_ABS): Define. | |
1917 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1918 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1919 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
1920 | (TC_VALIDATE_FIX_SUB): Define. | |
1921 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
1922 | * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value. | |
1923 | (tc_gen_reloc): Use S_FORCE_RELOC. | |
1924 | (elf32_sparc_force_relocation): Call S_FORCE_RELOC. | |
1925 | * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove. | |
1926 | (TC_FORCE_RELOCATION_ABS): Define this instead. | |
1927 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1928 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1929 | (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC. | |
1930 | (MD_APPLY_SYM_VALUE): Define. | |
1931 | (TC_FIX_DATA_PRINT): Tweak param name. | |
1932 | * config/tc-tic30.c (USE_STDOUT): Don't define. | |
1933 | (md_parse_option): Remove stupid debug code. | |
1934 | (tc_gen_reloc): Don't use fx_addnumber. | |
1935 | * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests. | |
1936 | (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC. | |
1937 | * config/tc-v850.h (obj_fix_adjustable): Don't define. | |
1938 | (tc_fix_adjustable): Define this instead. | |
1939 | (TC_FIX_ADJUSTABLE): Don't define. | |
1940 | (MD_APPLY_SYM_VALUE): Define this instead. | |
1941 | (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. | |
1942 | * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1943 | (TC_FIX_ADJUSTABLE): Don't define. | |
1944 | (MD_APPLY_SYM_VALUE): Define this instead. | |
1945 | (tc_fix_adjustable): Remove extern and weak tests. | |
1946 | * config/tc-w65.h (struct fix): Forward declare. | |
1947 | * config/tc-xstormy16.c (xstormy16_force_relocation): Call | |
1948 | S_FORCE_RELOC. | |
1949 | (xstormy16_fix_adjustable): Remove extern and weak tests. Don't | |
1950 | call xstormy16_force_relocation; Instead test for FPTR16 reloc. | |
1951 | (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract | |
1952 | absolute symbol. | |
1953 | * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define. | |
1954 | (MD_APPLY_SYM_VALUE): Define. | |
1955 | (obj_fix_adjustable): Don't define. | |
1956 | (tc_fix_adjustable): Define this instead. | |
1957 | (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. | |
1958 | ||
2a98c3a6 AM |
1959 | 2002-09-04 Alan Modra <amodra@bigpond.net.au> |
1960 | ||
b782de16 AM |
1961 | * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix. |
1962 | (ppc_fix_adjustable <coff version>): Cleanup. | |
1963 | ||
2a98c3a6 AM |
1964 | * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning. |
1965 | (md_parse_option): No -a64 without BFD64. | |
1966 | (ppc_set_cpu): Select appropriate cpu when ppc_obj64. | |
1967 | (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000. | |
1968 | ||
341026c1 NC |
1969 | 2002-09-04 Nick Clifton <nickc@redhat.com> |
1970 | ||
1971 | * config/tc-ppc.c (md_begin): Do not insert non-BookE32 | |
1972 | instructions into the hash table if the target cpu is the BookE32. | |
1973 | ||
a6bd2a4f HPN |
1974 | 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com> |
1975 | ||
1976 | * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not | |
1977 | ATTRIBUTE_UNUSED. | |
1978 | ||
86aba9db NC |
1979 | 2000-08-28 Catherine Moore <clm@redhat.com> |
1980 | ||
1981 | * tc-v850.c (v850_relax): Declare. | |
1982 | (v850_longcode): New routine. | |
1983 | (v850_handle_align): New routine. | |
1984 | (md_pseudo_table): Add longcall and longjump. | |
1985 | (md_parse_option): Check for relax option. | |
1986 | (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL, | |
1987 | BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN. | |
1988 | (md_apply_fix3): Likewise. | |
1989 | (v850_force_relocation): Likewise. | |
1990 | (v850_comm): Change the current section. | |
e4512afa | 1991 | (md_assemble): Ensure that the correct value is put in the |
86aba9db NC |
1992 | fixup. |
1993 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
1994 | v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping. | |
e4512afa | 1995 | Remove redundant v850ea support. |
86aba9db NC |
1996 | * tc-v850.h (HANDLE_ALIGN): Define. |
1997 | (v850_handle_align): Declare. | |
1998 | * doc/c-v850.c: Document -mrelax, .longcall and .longjump. | |
1999 | ||
026df7c5 NC |
2000 | 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> |
2001 | ||
2002 | * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets. | |
2003 | * configure: Regenerate. | |
2004 | * NEWS: Mention new port. | |
2005 | ||
2006 | 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
2007 | ||
2008 | * config/obj-coff.c: Add sdef definition. | |
2009 | * config/obj-coff.h: Add tic4x include file and set | |
2010 | target format. | |
2011 | * config/tc-tic4x.c: New file. | |
2012 | * config/tc-tic4x.h: New file. | |
2013 | ||
4252e537 AM |
2014 | 2002-08-28 Alan Modra <amodra@bigpond.net.au> |
2015 | ||
df44284e AM |
2016 | * write.c (BFD_FAST_SECTION_FILL): Remove unused macro. |
2017 | (TC_ADJUST_RELOC_COUNT): Tweak param name. | |
2018 | (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise. | |
2019 | (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise. | |
2020 | (RELOC_ENUM): Define. | |
2021 | (fix_new_internal): Use RELOC_ENUM. | |
2022 | (fix_new, fix_new_exp): Likewise. | |
2023 | (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL. | |
2024 | Replace gotos with continue. | |
2025 | (write_relocs): Formatting. Avoid symbol loops in | |
2026 | RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange | |
2027 | errors, and error number in other cases. | |
2028 | (fixup_segment): Remove param names from prototype. Rename | |
2029 | "this_segment_type" to "this_segment". Update linkrelax comment. | |
2030 | Remove "size, "place" and "where" local vars. Formatting. Update | |
2031 | "no symbol" comment. Remove #if 0 and #if 1. | |
2032 | ||
4252e537 AM |
2033 | * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy. |
2034 | ||
70658493 AM |
2035 | 2002-08-27 Alan Modra <amodra@bigpond.net.au> |
2036 | ||
2037 | * dwarf2dbg.c: Always include dwarf2dbg.h. | |
2038 | (dwarf2_directive_file): Adjust dummy version args. | |
2039 | * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED. | |
2040 | * expr.c (clean_up_expression <O_subtract>): Allow subtraction | |
2041 | when symbol values differ. | |
2042 | * read.c (do_align): Add ATTRIBUTE_UNUSED to label. | |
2043 | (pseudo_set <O_subtract>): Remove unnecessary segment test. | |
2044 | * config/obj-bout.c (obj_pseudo_table): Warning fix. | |
2045 | ||
a2199cc1 AM |
2046 | 2002-08-26 Alan Modra <amodra@bigpond.net.au> |
2047 | ||
2048 | * config/tc-w65.c (md_section_align): Fix typo. | |
2049 | (md_parse_option): Return 0, not 1. | |
2050 | ||
ececec60 NC |
2051 | 2002-08-22 Nick Clifton <nickc@redhat.com> |
2052 | ||
2053 | * doc/as.texinfo (Section): Note that if '@' is a comment | |
2054 | character then another symbol is used to prefix the section's | |
2055 | type. | |
2056 | ||
14899840 NC |
2057 | 2002-08-22 Christian Groessler <chris@groessler.org> |
2058 | ||
2059 | * config/tc-z8k.c (get_operands): Adjust ptr variable also in | |
2060 | "case 0" case. | |
2061 | ||
ed71e111 NC |
2062 | 2002-08-12 Graeme Peterson <gp@qnx.com> |
2063 | ||
2064 | * configure.in: Add support for sh-**-nto* target. | |
2065 | * configure: Regenerate. | |
2066 | ||
dfe0d3fe JL |
2067 | 2002-08-21 Nitin Gupta <niting@noida.hcltech.com> |
2068 | ||
2069 | * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. | |
2070 | ||
dc1d03fc EZ |
2071 | 2002-08-21 Elena Zannoni <ezannoni@redhat.com> |
2072 | ||
70658493 AM |
2073 | * config/tc-ppc.c (ppc_cleanup): Do something only if format |
2074 | is ELF. | |
2075 | (ppc_apuinfo_section_add): Define only if format is ELF. | |
2076 | (md_assemble): Emit APUinfo section only if format is ELF. | |
2077 | Fix formatting. | |
dc1d03fc | 2078 | |
9f1838ed AM |
2079 | 2002-08-21 Alan Modra <amodra@bigpond.net.au> |
2080 | ||
70658493 | 2081 | * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast. |
9f1838ed AM |
2082 | * config/tc-frv.c: Likewise. |
2083 | * config/tc-hppa.c: Likewise. | |
2084 | * config/tc-ia64.c: Likewise. | |
2085 | * config/tc-ip2k.c: Likewise. | |
2086 | * config/tc-m68hc11.c: Likewise. | |
2087 | * config/tc-m68k.c: Likewise. | |
2088 | * config/tc-mmix.c: Likewise. | |
2089 | * config/tc-mn10300.c: Likewise. | |
2090 | * config/tc-sh.c: Likewise. | |
2091 | * config/tc-sparc.c: Likewise. | |
2092 | * config/tc-v850.c: Likewise. | |
2093 | ||
483fc7cd RS |
2094 | 2002-08-20 Richard Sandiford <rsandifo@redhat.com> |
2095 | ||
2096 | * config/tc-mips.c (macro2): Implement rotates by zero using shifts | |
2097 | by zero. | |
2098 | ||
6a0c61b7 EZ |
2099 | 2002-08-19 Elena Zannoni <ezannoni@redhat.com> |
2100 | ||
70658493 | 2101 | From matthew green <mrg@redhat.com> |
6a0c61b7 | 2102 | |
70658493 AM |
2103 | * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere |
2104 | PPC_OPCODE_PPC is, except for BookE architectures. | |
2105 | (md_parse_option): Add support for -mspe. | |
2106 | (md_show_usage): Add -mspe. | |
2107 | (md_parse_option): Add support for -me500 and | |
2108 | -me500x2 to generate code for Motorola e500 core complex. | |
2109 | (md_show_usage): Add -me500 and -me500x2. | |
6a0c61b7 | 2110 | |
70658493 AM |
2111 | (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI, |
2112 | PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS, | |
2113 | PPC_APUINFO_BRLOCK): New macros. | |
6a0c61b7 | 2114 | |
70658493 AM |
2115 | (ppc_cleanup): New function. |
2116 | (ppc_apuinfo_section_add): New function. | |
2117 | (APUID): New macro. | |
2118 | (md_assemble): Collect info and write the APUinfo section. | |
6a0c61b7 | 2119 | |
70658493 AM |
2120 | * config/tc-ppc.h (md_cleanup): Define. |
2121 | (ppc_cleanup): Export. | |
2122 | (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section. | |
6a0c61b7 | 2123 | |
cca86cc8 SC |
2124 | 2002-08-17 Stan Cox <scox@redhat.com> |
2125 | ||
2126 | * config/obj-elf.c (obj_elf_change_section): Make non-static. | |
2127 | config/tc-mips.c (s_change_section): New function to support | |
2128 | IRIX .section pseudo-op. | |
2129 | ||
50b15da2 NC |
2130 | 2002-08-16 Nick Clifton <nickc@redhat.com> |
2131 | ||
2132 | * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f". | |
2133 | ||
f21f8242 AO |
2134 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> |
2135 | ||
2136 | * config/tc-mips.c (macro_build_jalr): Make sure we generate | |
2137 | the fix-up against on the right frag. | |
2138 | (s_cpsetup): Likewise. Parse third argument as expression, to | |
2139 | handle global symbols and forward/backward labels correctly. | |
2140 | ||
11f45fb5 NC |
2141 | 2002-08-14 Nick Clifton <nickc@redhat.com> |
2142 | ||
8ac9ba6c NC |
2143 | * read.c (stringer): Catch attempts to create strings in the abs |
2144 | section. | |
2145 | ||
11f45fb5 NC |
2146 | * config/tc-alpha.c: Fix compiling for COFF targets. |
2147 | Some minor formatting tidyups. | |
2148 | ||
e371935f SC |
2149 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
2150 | ||
2151 | * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove. | |
2152 | (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag | |
2153 | according to the reloc. | |
2154 | (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define. | |
2155 | (TC_FORCE_RELOCATION): Define. | |
2156 | (tc_m68hc11_force_relocation): Declare. | |
2157 | ||
2158 | * config/tc-m68hc11.c (md_pseudo_table): Add relax command. | |
2159 | (s_m68hc11_relax): New function for relax group. | |
70658493 | 2160 | (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at |
e371935f SC |
2161 | beginning of jump instruction. |
2162 | (md_pcrel_from): Rename from md_pcrel_from_section and fix | |
2163 | address computation. | |
2164 | (tc-gen_reloc): Update. | |
70658493 | 2165 | (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as |
e371935f SC |
2166 | PC-relative fixup. |
2167 | (tc_m68hc11_force_relocation): New function, handle new relocs. | |
2168 | (tc_m68hc11_fix_adjustable): New to make sure there are enough | |
2169 | reloc for the linker relax pass. | |
2170 | (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP | |
2171 | and VTABLE relocs. | |
2172 | ||
eb086b59 SC |
2173 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
2174 | ||
2175 | * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function. | |
2176 | (md_pseudo_table): Add .mode, .far and .interrupt pseudo op. | |
2177 | (s_m68hc11_mode): New function for .mode pseudo op. | |
2178 | (s_m68hc11_mark_symbol): New function for .far and .interrupt | |
2179 | pseudo op. | |
2180 | * config/tc-m68hc11.h (elf_tc_final_processing): Define. | |
2181 | (m68hc11_elf_final_processing): Declare. | |
2182 | ||
7bfda7eb SC |
2183 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
2184 | ||
2185 | * config/tc-m68hc11.c (md_begin): Take into account additional | |
2186 | page operand for call instruction. | |
2187 | (print_opcode_format): Likewise. | |
2188 | (check_range): Likewise for page range checking. | |
2189 | (get_operand): Don't skip a possible comma in operands. | |
2190 | (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc. | |
2191 | (fixup16): Likwise with BFD_RELOC_M68HC11_LO16. | |
2192 | (fixup24): New to handle call reloc. | |
2193 | (build_insn): Handle missing page operand for call instruction. | |
2194 | (find): Likewise. | |
2195 | (md_apply_fix3): Take into account new relocs. | |
2196 | (get_operand): Fix the mode for indexed indirect addressing. | |
2197 | (build_indexed_byte): Fix post index byte for indexed indirect mode. | |
2198 | ||
fdb987ee RS |
2199 | 2002-08-12 Richard Sandiford <rsandifo@redhat.com> |
2200 | ||
2201 | * config/tc-mips.c (mips_ip): Don't work out the value of | |
2202 | constant %hi()s here. | |
2203 | ||
31312f95 AM |
2204 | 2002-08-10 Alan Modra <amodra@bigpond.net.au> |
2205 | ||
2206 | * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR | |
2207 | for ELF, and don't bother checking ELF relocs when non-ELF. | |
2208 | (i386_immediate): Allow absolute_section expressions for aout. | |
2209 | (i386_displacement): Likewise. Also test bfd_is_com_section. | |
2210 | (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF. | |
2211 | (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel, | |
2212 | not when fx_addsy. Remove dead code. | |
2213 | ||
59bc061d NC |
2214 | 2002-08-09 Graeme Peterson <gp@qnx.com> |
2215 | ||
2216 | * configure.in: Add support for ppc-*-nto* target. | |
2217 | * configure: Regenerate. | |
70658493 | 2218 | |
6088b00e AM |
2219 | 2002-08-09 Alan Modra <amodra@bigpond.net.au> |
2220 | ||
2221 | * config/tc-i386.h: Reorganize. | |
2222 | ||
0c11417f MR |
2223 | 2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2224 | ||
2225 | * config/tc-mips.c (macro): Handle a register plus a 16-bit | |
2226 | immediate offset in "dla" and "la" expansions. | |
2227 | ||
79500683 AM |
2228 | 2002-08-09 Alan Modra <amodra@bigpond.net.au> |
2229 | ||
2230 | * configure.in: bfd_gas=yes for all i386 targets. Formatting. | |
2231 | Remove "bfd_gas=yes" from target table when covered later. | |
2232 | Consolidate some entries. | |
2233 | * configure: Regenerate | |
2234 | ||
2bbd9c25 JJ |
2235 | 2002-08-09 Jakub Jelinek <jakub@redhat.com> |
2236 | ||
2237 | * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix () | |
2238 | at start of insn, pass it to output_disp and output_imm. | |
2239 | (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen | |
2240 | in displacement for R_386_32 reloc, use R_386_GOTPC and compute | |
2241 | properly addend. | |
2242 | (output_imm): Added arguments. Compute properly addend for | |
2243 | R_386_GOTPC. | |
2244 | (md_apply_fix3): Remove R_386_GOTPC handling. | |
2bbd9c25 | 2245 | |
dbac4f5b RH |
2246 | 2002-08-06 George France <france@handhelds.org> |
2247 | ||
2248 | * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a | |
2249 | and m21264b processor names and cpu types. | |
2250 | * doc/c-alpha.texi: Documented new types. | |
2251 | ||
95210096 AM |
2252 | 2002-08-06 Alan Modra <amodra@bigpond.net.au> |
2253 | ||
2254 | * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset. | |
2255 | ||
98605598 RS |
2256 | 2002-08-01 Richard Sandiford <rsandifo@redhat.com> |
2257 | ||
2258 | * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend | |
2259 | handling to BFD_RELOC_MIPS16_GPREL. | |
2260 | ||
08df2379 NC |
2261 | 2002-08-01 Nick Clifton <nickc@redhat.com> |
2262 | ||
2263 | * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal | |
2264 | pool is computed using signed arithmetic so that proper sign | |
2265 | extension is performed if X_add_number is a 64-bit integer. | |
2266 | ||
70ee4658 DJ |
2267 | 2002-08-01 H.J. Lu <hjl@gnu.org> |
2268 | Daniel Jacobowitz <drow@mvista.com> | |
2269 | ||
2270 | * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced | |
2271 | .debug_line section unless it has line information. | |
2272 | ||
4eb6b71c NC |
2273 | 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
2274 | ||
2275 | * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype. | |
2276 | * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage): | |
2277 | Allow default displacement size to be an option "--disp-size-default". | |
2278 | (md_number_to_disp): Make error messages include value. Use %d to | |
2279 | print integers, not %s. | |
2280 | (fix_new_ns32k): Conditionally set fx_no_overflow so we don't | |
2281 | get duplicate messages sometimes. | |
2282 | (convert_iif): Grow frag to max possible instruction size. Avoid | |
2283 | creating unnecessary fixes. | |
2284 | (md_number_to_field) Add prototype. | |
2285 | (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add | |
2286 | prototypes and make static. | |
2287 | (struct addr_mode): Make mode and scaled_mode explicitly signed. | |
2288 | (evaluate_expr): Use resultP argument instead of exprP global. | |
2289 | (get_addr_mode): Quiten compiler warnings. | |
2290 | (encode_operand): eliminate unused variables. Quiten compiler | |
2291 | warnings. Eliminate nul character in format strings. | |
2292 | (parse): argc is unsigned. | |
2293 | (reloc): Type cast index to quieten compiler. | |
2294 | (md_pcrel_adjust, md_apply_fix3): Remove unused variable. | |
2295 | (md_convert_frag): Note unused parameters. Remove unused | |
2296 | variables. | |
2297 | (md_create_long_jump, md_create_short_jump, | |
2298 | md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note | |
2299 | unused parameters. | |
70658493 | 2300 | |
500800ca NC |
2301 | 2002-07-31 Nick Clifton <nickc@redhat.com> |
2302 | ||
2303 | * NEWS: Retroactively add entry for Lars Brinkhoff's contribution | |
2304 | of the PDP-11 and 2.11BSD a.out support. | |
2305 | ||
03223580 NC |
2306 | 2002-07-31 Momchil Velikov <velco@fadata.bg> |
2307 | ||
2308 | * config/tc-v850.c (md_assemble): Fix range check for immediate | |
2309 | operand. | |
2310 | ||
c7a23324 CD |
2311 | 2002-07-30 Chris Demetriou <cgd@broadcom.com> |
2312 | ||
2313 | * config/tc-mips.c (mips_cpu_info_table): Clean up entries related | |
2314 | to Broadcom SB-1 core support. | |
2315 | ||
cfe86eaa TS |
2316 | 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2317 | ||
2318 | * config/tc-mips.c (mips_target_format): Fix formatting. | |
2319 | Add recognition of n32 ABI formats. | |
2320 | ||
460597ba MR |
2321 | 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2322 | ||
2323 | * tc-mips.c (load_address): Don't clobber $at when loading a | |
2324 | 64-bit address in non-PIC code if noat is in effect. | |
2325 | (macro): Likewise. | |
2326 | ||
9bd7d936 MR |
2327 | 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2328 | ||
2329 | * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions | |
2330 | used in division/multiply macro expansions similarly to how they | |
2331 | are used in the variants with break instructions. | |
2332 | (macro2): Likewise. | |
2333 | ||
7e392df6 NC |
2334 | 2002-07-30 Graeme Peterson <gp@qnx.com> |
2335 | ||
2336 | * configure.in: Add support for arm-*-nto target. | |
2337 | * configure: Regenerate. | |
70658493 | 2338 | |
3d0c9500 NC |
2339 | 2002-07-30 Nick Clifton <nickc@redhat.com> |
2340 | ||
2341 | * config/tc-arm.c (struct literal_pool): Add fields to allow | |
2342 | multiple literal pools to be maintained. | |
2343 | (find_literal_pool): New function. | |
2344 | (find_or_make_literal_pool): New function. | |
2345 | (add_to_literal_pool): Use find_or_make_literal_pool. | |
6088b00e | 2346 | (arm_s_text, arm_s_data, arm_s_section): Remove - no longer |
3d0c9500 NC |
2347 | needed. |
2348 | (s_ltorg): Use find_literal_pool. | |
2349 | (arm_cleanup): Dump all literal pools. | |
6088b00e | 2350 | * doc/c-arm.texi: Document new behaviour of only dumping literal |
3d0c9500 NC |
2351 | pools upon request. |
2352 | ||
dfff24c9 AM |
2353 | 2002-07-26 Alan Modra <amodra@bigpond.net.au> |
2354 | ||
2355 | * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default | |
2356 | rather than PPC_OPCODE_32 for powerpc64*. | |
2357 | ||
219576a4 NC |
2358 | 2002-07-25 Nick Clifton <nickc@redhat.com> |
2359 | ||
2360 | * po/es.po: Updated Spanish translation. | |
2361 | * po/fr.po: Updated French translation. | |
2362 | ||
316f5878 RS |
2363 | 2002-07-25 Richard Sandiford <rsandifo@redhat.com> |
2364 | ||
2365 | * doc/c-mips.texi: Remove -mcpu. Document -mabi. | |
2366 | * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro. | |
2367 | (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros. | |
2368 | * configure, config.in: Regenerate. | |
2369 | * config/tc-mips.c (file_mips_abi): Rename to mips_abi. | |
2370 | (mips_set_options): Remove "abi" field. | |
2371 | (mips_opts): Update accordingly. Replace all uses of mips_opts.abi | |
2372 | with mips_abi. | |
2373 | (mips_cpu): Remove. | |
2374 | (mips_arch_string, mips_arch_info): New vars. | |
2375 | (mips_tune_string, mips_tune_info): New vars. | |
2376 | (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros. | |
2377 | (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI. | |
2378 | (mips_isa_to_str, mips_cpu_to_str): Remove. | |
2379 | (mips_ip): If the selected architecture is a generic ISA rather | |
2380 | than a processor, only mention the ISA level in error messages. | |
2381 | (OPTION_MCPU): Remove. | |
2382 | (OPTION_FP64): New. | |
2383 | (md_longopts): Add -mfp64, remove -mcpu. | |
2384 | (mips_set_option_string): New fn. | |
2385 | (md_parse_option): Make -mipsN update file_mips_isa rather than | |
2386 | mips_opts.isa. Use mips_set_option_string to set -march or -mtune. | |
2387 | Don't let -mgp32 and -mfp32 change the ABI. | |
2388 | (show): Move to end of file. Constify string argument. | |
2389 | (md_show_usage): Move to the end of the file. Read available | |
2390 | architectures from mips_cpu_info_table. | |
2391 | (mips_set_architecture): New fn. | |
2392 | (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN | |
2393 | is an alias for -march=mipsN. Don't change the ABI based on other | |
2394 | flags. Infer the register size from the ABI as well as the | |
2395 | architecture. Complain about more conflicting arguments. | |
2396 | Unify logic with GCC. | |
2397 | (s_mipsset): Don't change the ABI. | |
2398 | (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32. | |
2399 | (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just | |
2400 | "mipsN"-type entries. Remove entries that vary only in the | |
2401 | manufacturer's prefix, or that have "000" replaced by "k". | |
2402 | Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000. | |
2403 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. | |
2404 | (mips_parse_cpu): New fn. | |
2405 | (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove. | |
2406 | (mips_cpu_info_from_isa): Minor formatting tweak. | |
2407 | ||
ff3063f5 NC |
2408 | 2002-07-24 Nick Clifton <nickc@redhat.com> |
2409 | ||
2410 | * po/sv.po: Updated Swedish translation. | |
2411 | * po/es.po: Updated Spanish translation. | |
2412 | ||
55eab186 AM |
2413 | 2002-07-23 Alan Modra <amodra@bigpond.net.au> |
2414 | ||
2415 | * Makefile.am: Run "make dep-am". | |
2416 | * Makefile.in: Regenerate. | |
2417 | * doc/Makefile.in: Regenerate. | |
2418 | * config.in: Regenerate. | |
2419 | * po/POTFILES.in: Regenerate. | |
2420 | ||
0461a601 NC |
2421 | 2002-07-23 Nick Clifton <nickc@redhat.com> |
2422 | ||
ff3063f5 | 2423 | * po/fr.po: Updated French translation. |
0461a601 | 2424 | |
ee8929cf NC |
2425 | 2002-07-23 Nick Clifton <nickc@redhat.com> |
2426 | ||
2427 | * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for | |
2428 | GAS. | |
2429 | ||
bad9ca53 TS |
2430 | 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2431 | ||
2432 | * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL | |
2433 | instead of S_IS_EXTERN. | |
2434 | (md_estimate_size_before_relax): Likewise. | |
2435 | (mips_fix_adjustable): Likewise. | |
2436 | ||
a37de3d3 TS |
2437 | 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2438 | ||
2439 | * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC. | |
2440 | ||
8dfa0188 | 2441 | 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz> |
dfff24c9 | 2442 | Nick Clifton <nickc@redhat.com> |
8dfa0188 NC |
2443 | |
2444 | * cond.c (s_ifdef): Treat a referenced but not yet defined | |
2445 | symbol as if it were undefined, in exactly the same way as | |
2446 | .equiv. | |
2447 | ||
dfff24c9 AM |
2448 | * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv |
2449 | consider referenced bug not yet defined symbols to be | |
2450 | undefined. | |
8dfa0188 | 2451 | |
a40cbfa3 NC |
2452 | 2002-07-18 Denis Chertykov <denisc@overta.ru> |
2453 | Frank Ch. Eigler <fche@redhat.com> | |
2454 | Alan Lehotsky <alehotsky@cygnus.com> | |
2455 | John Healy <jhealy@redhat.com> | |
2456 | Jeff Johnston <jjohnstn@redhat.com> | |
2457 | ||
2458 | * configure.in: Add ip2k configuraton. | |
2459 | * configure: Regenerate. | |
2460 | * Makefile.am: Add ip2k configuraton. | |
2461 | * Makefile.in: Regenerate. | |
2462 | * configure: Regenerate. | |
2463 | * Makefile.in: Regenerate. | |
2464 | * config/tc-ip2k.c: New file. | |
2465 | * config/tc-ip2k.h: New files. | |
2466 | * NEWS: Mention new support. | |
2467 | * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi. | |
2468 | * doc/Makefile.in: Regenerate. | |
2469 | * doc/all.texi: Set IP2K | |
2470 | * doc/as.texinfo: Add IP2K description. | |
2471 | * doc/c-ip2k.texi: New file. | |
dfff24c9 | 2472 | |
a40cbfa3 NC |
2473 | 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com> |
2474 | ||
2475 | * NEWS: Reformat to match style of other NEWS files. | |
dfff24c9 | 2476 | |
a40cbfa3 | 2477 | 2002-07-17 Jan Hubicka <jh@suse.cz> |
33fef721 JH |
2478 | |
2479 | * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers. | |
2480 | ||
25d3fb58 AM |
2481 | 2002-07-16 Moritz Jodeit <moritz@jodeit.org> |
2482 | ||
2483 | * config/tc-z8k.c (build_bytes): Correct order of memset args. | |
2484 | ||
2cbb2eef NC |
2485 | 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com> |
2486 | ||
2487 | * NEWS: Add 'Changes in 2.13'. | |
2488 | ||
da06c61e AM |
2489 | 2002-07-15 Matt Fredette <fredette@netbsd.org> |
2490 | ||
2491 | * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD. | |
2492 | ||
9146926a AM |
2493 | 2002-07-12 Alan Modra <amodra@bigpond.net.au> |
2494 | ||
2495 | * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte | |
2496 | case with non CODE_64BIT case. Don't warn on "qword ptr" if | |
2497 | not CODE_64BIT. | |
2498 | ||
2b3c4602 AM |
2499 | 2002-07-11 Alan Modra <amodra@bigpond.net.au> |
2500 | ||
7e8d4ab4 AM |
2501 | * config/tc-ppc.c (ppc_elf_frob_symbol): Delete. |
2502 | (ppc_frob_file_before_adjust): New function. | |
2503 | * config/tc-ppc.h (tc_frob_symbol): Don't define. | |
2504 | (ppc_elf_frob_symbol): Don't declare. | |
2505 | (tc_frob_file_before_adjust): Define. | |
2506 | (ppc_frob_file_before_adjust): Declare. | |
2507 | ||
2b3c4602 AM |
2508 | * config/tc-ppc.c (md_pseudo_table): Warning fix. |
2509 | (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode | |
2510 | flags. | |
2511 | (ppc_size): Delete. | |
2512 | (ppc_xcoff64): Rename to ppc_obj64. | |
2513 | (md_parse_option <m>): Encode old ppc_size value in ppc_cpu. | |
2514 | (ppc_set_cpu): Set PPC_OPCODE_32 too. | |
2515 | (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64 | |
2516 | or bfd_mach_ppc. | |
2517 | (ppc_target_format): Use ppc_obj64 to select format. | |
2518 | (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu. | |
2519 | (ppc_insert_operand): Use ppc_obj64 instead of ppc_size. | |
2520 | (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE. | |
2521 | (tc_frob_symbol): Likewise. | |
2522 | (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on | |
2523 | BFD_DEFAULT_TARGET_SIZE. | |
2524 | (ppc_tc): Likewise. | |
2525 | (ppc_is_toc_sym): Likewise. | |
2526 | (md_apply_fix3): Likewise. | |
2527 | * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on | |
2528 | BFD_DEFAULT_TARGET_SIZE. | |
2529 | (ELF_TC_SPECIAL_SECTIONS): Likewise. | |
2530 | (tc_frob_symbol): Likewise. | |
2531 | ||
aec421e0 TS |
2532 | 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2533 | ||
2534 | * config/tc-mips.c (macro_build): Handle MIPS16 insns. | |
2535 | (mips_ip): Likewise. | |
2536 | ||
c6682705 AM |
2537 | 2002-07-09 Alan Modra <amodra@bigpond.net.au> |
2538 | ||
2539 | * config/tc-i386.c (md_pseudo_table <file>): Warning fix. | |
2540 | (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD. | |
2541 | (md_apply_fix3): Formatting. Remove redundant test. | |
2542 | (tc_gen_reloc): Remove redundant code. | |
2543 | (tc_i386_force_relocation): Delete. Movy body of function to.. | |
2544 | * config/tc-i386.h (TC_FORCE_RELOCATION): .. here. | |
2545 | ||
03111e83 AM |
2546 | 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> |
2547 | ||
2548 | * configure.in: Add hppa-*-openbsd* target, change | |
2549 | alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd* | |
2550 | with sparc64 cpu. | |
2551 | * configure: Regenerate. | |
2552 | ||
78d32a17 MR |
2553 | 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2554 | ||
2555 | * config/tc-mips.c (macro): Shift the 32-bit address range | |
2556 | accessible with a lone "lui" down by 32768. | |
2557 | ||
3a482fd5 MR |
2558 | 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2559 | ||
2560 | * config/tc-mips.c (load_address): Use non-trapping "daddu" | |
2561 | instead of "dadd" in address calculations. | |
2562 | (macro): Likewise. | |
2563 | ||
cd61ebfe AM |
2564 | 2002-07-08 Alan Modra <amodra@bigpond.net.au> |
2565 | ||
2566 | * config/tc-i386.c (process_suffix): Remove intel mode movsx and | |
2567 | movzx fudges. | |
2568 | (md_assemble): Instead, zap the suffix here. | |
2569 | ||
a5d3c309 NC |
2570 | 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com> |
2571 | ||
2572 | * NEWS: Remove next release number until the release is actually | |
2573 | upon us. | |
2574 | ||
ce4f7385 AM |
2575 | 2002-07-03 Alan Modra <amodra@bigpond.net.au> |
2576 | ||
2577 | * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. | |
2578 | Run "make dep-am". | |
2579 | * Makefile.in: Regenerate. | |
2580 | ||
148b4c7a MS |
2581 | 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2582 | ||
2583 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment | |
2584 | to symbols in merge sections, even non pc-relative ones. | |
2585 | ||
2916066e SC |
2586 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
2587 | ||
2588 | * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning. | |
2589 | ||
96e87417 SC |
2590 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
2591 | ||
2592 | * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections | |
2593 | .softregs and .eeprom. | |
2594 | ||
83518699 DB |
2595 | 2002-06-28 David O'Brien <obrien@FreeBSD.org> |
2596 | ||
2597 | * NEWS: Note the next release is 2.13. | |
2598 | ||
6c6783ff NC |
2599 | 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com> |
2600 | ||
2601 | * po/tr.po: New translation imported. | |
2602 | ||
a2c36061 AM |
2603 | 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr> |
2604 | ||
2605 | * ecoff.c: (get_tag): Replace strcpy with xstrdup. | |
2606 | (ecoff_directive_def): Likewise. | |
2607 | (ecoff_directive_tag): Likewise. | |
2608 | * listing.c (file_info): Likewise. | |
2609 | * hash.c (what): Likewise. | |
2610 | ||
a13a0de8 L |
2611 | 2002-06-25 H.J. Lu <hjl@gnu.org> |
2612 | ||
2613 | * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. | |
2614 | * Makefile.in: Regenerated. | |
2615 | ||
6c6783ff | 2616 | 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
5db33d76 JR |
2617 | |
2618 | * config/tc-sh.c (get_specific): Revert 2002-05-01 change. | |
2619 | (assemble_ppi): Generate warning if the same register is used | |
2620 | twice as destination in the same padd / pmuls instruction. | |
2621 | ||
0ebb9a87 DB |
2622 | 2002-06-18 Dave Brolley <brolley@redhat.com> |
2623 | ||
a2c36061 | 2624 | From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley |
0ebb9a87 DB |
2625 | * po/POTFILES.in: Add tc-frv.c, tc-frv.h. |
2626 | * configure.in: Support frv-*-*. | |
2627 | * Makefile.am (CPU_TYPES): Add frv. | |
2628 | (TARGET_CPU_CFILES): Add tc-frv.c. | |
2629 | (TARGET_CPU_HFILES): Add tc-frv.h. | |
2630 | (DEPTC_frv_coff): New variable. | |
2631 | (DEPTC_frv_elf): New variable. | |
2632 | (DEPOBJ_frv_coff): New variable. | |
2633 | (DEPOBJ_frv_elf): New variable. | |
2634 | (DEP_frv_coff): New variable. | |
2635 | (DEP_frv_elf): New variable. | |
2636 | * tc-frv.c: New file. | |
2637 | * tc-frv.h: New file. | |
2638 | ||
2a24298d CM |
2639 | 2002-06-17 Catherine Moore <clm@redhat.com> |
2640 | ||
a2c36061 | 2641 | * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define. |
2a24298d | 2642 | |
6c6783ff | 2643 | 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com> |
96f31fc7 JR |
2644 | |
2645 | * config/tc-sh.c (assemble_ppi): Initialize reg_n. | |
2646 | ||
184e65b1 TR |
2647 | 2002-06-17 Tom Rix <trix@redhat.com> |
2648 | ||
2649 | * config/tc-i370.h (tc_comment_chars): Define for i370-elf. | |
2650 | ||
ecb4347a DJ |
2651 | 2002-06-14 H.J. Lu <hjl@gnu.org> |
2652 | Daniel Jacobowitz <drow@mvista.com> | |
2653 | ||
2654 | * dwarf2dbg.h (dwarf2_directive_file): Return char *. | |
2655 | * dwarf2dbg.c (dwarf2_directive_file): Return filename. | |
2656 | * config/tc-mips.c (s_mips_file): Call s_app_file_string | |
2657 | and new_logical_line for the first .file directive. | |
2658 | * read.c (s_app_file_string): New function. | |
2659 | (s_app_file): Call it. | |
2660 | * read.h (s_app_file_string): Add declaration. | |
2661 | ||
2662 | 2002-06-14 Daniel Jacobowitz <drow@mvista.com> | |
2663 | ||
2664 | * configure.in: Remove MIPS_STABS_ELF. | |
2665 | * configure: Regenerated. | |
2666 | * config.in: Regenerated. | |
2667 | * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug | |
2668 | for MIPS targets. | |
2669 | * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around | |
2670 | ".extern". | |
2671 | (pdr_seg): Declare unconditionally. | |
2672 | (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. | |
2673 | (s_mips_end): Likewise. Generate stabs function markers. | |
2674 | (s_mips_ent): Generate stabs function markers. | |
2675 | (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not | |
2676 | ELF. | |
2677 | (s_mips_mask): Likewise. | |
2678 | (mips_flag_mdebug): New. | |
2679 | (md_longopts): Add "mdebug" and "no-mdebug". | |
2680 | (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG. | |
2681 | (mips_after_parse_args): Set mips_flag_mdebug. | |
2682 | * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS. | |
2683 | ||
d6e9d61a MR |
2684 | 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2685 | ||
2686 | * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's | |
2687 | value twice for RELA relocations. | |
2688 | ||
03e83a45 BE |
2689 | 2002-06-12 Ben Elliston <bje@redhat.com> |
2690 | ||
2691 | * symbols.c (resolve_symbol_value): Initialise final_val. | |
2692 | ||
2693 | * subsegs.c (subsegs_print_statistics): Cast frchp to void *. | |
2694 | ||
b4f96c78 TR |
2695 | 2002-06-11 Tom Rix <trix@redhat.com> |
2696 | ||
2697 | * config/tc-ppc.c (ppc_subseg_align): Delete. | |
2698 | (ppc_change_csect): Default csect align is 2. | |
a2c36061 | 2699 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete |
b4f96c78 | 2700 | |
8a6def3b MM |
2701 | 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl> |
2702 | ||
2703 | * config/tc-avr.c (mcu_types): Update. | |
2704 | ||
7542c0f2 JT |
2705 | 2002-06-08 Matt Thomas <matt@3am-software.com> |
2706 | ||
2707 | * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*) | |
2708 | (vax-*-netbsd*): New targets. | |
2709 | * configure: Regenerate. | |
a2c36061 | 2710 | * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD. |
7542c0f2 | 2711 | * config/tc-vax.c: Add support for ELF and PIC. |
a2c36061 | 2712 | (flag_want_pic): New flag. |
7542c0f2 JT |
2713 | (float_cons): Fix prototype. |
2714 | (md_apply_fix3): Adjust for BFD_ASSEMBLER. | |
2715 | (md_assemble): Introduce a new is_absolute local, and use it | |
2716 | rather than repeating the test. Make fatal errors actually | |
a2c36061 | 2717 | fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER. |
7542c0f2 | 2718 | Add support for ELF. Add support for PIC. |
a2c36061 | 2719 | (md_convert_frag): Adjust for BFD_ASSEMBLER. |
7542c0f2 JT |
2720 | (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not |
2721 | BFD_ASSEMBLER. | |
a2c36061 | 2722 | (vax_reg_parse): Make the % register prefix mandatory for ELF, |
7542c0f2 JT |
2723 | optional for a.out, and not allowed for VMS. Adjust all callers. |
2724 | (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments. | |
a2c36061 | 2725 | (md_create_long_jump): Likewise. |
7542c0f2 JT |
2726 | (md_undefined_symbol): Likewise. |
2727 | (md_section_align): Likewise. | |
2728 | (md_shortopts): Allow -k and -K for ELF. | |
2729 | (md_parse_option): Set flag_want_pic if -k or -K. | |
2730 | (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER. | |
2731 | (tc_gen_reloc): New function if BFD_ASSEMBLER. | |
2732 | * config/tc-vax.h (tc_headers_hook): Remove. | |
2733 | (TARGET_FORMAT): Set according to object format and target | |
2734 | environment. | |
2735 | (BFD_ARCH, TARGET_ARCH): Define. | |
2736 | (NO_RELOC): Adjust for BFD_ASSEMBLER. | |
2737 | (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE) | |
2738 | (tc_fix_adjustable): Define if BFD_ASSEMBLER. | |
2739 | * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define. | |
2740 | ||
5a38dc70 AM |
2741 | 2002-06-08 Alan Modra <amodra@bigpond.net.au> |
2742 | ||
e90b95f6 AM |
2743 | * Makefile.am: Run "make dep-am". |
2744 | * Makefile.in: Regenerate. | |
2745 | ||
5a38dc70 AM |
2746 | * as.c: Replace CONST with const. |
2747 | * write.c: Likewise. | |
2748 | * config/obj-coff.c: Likewise. | |
2749 | * config/tc-a29k.c: Likewise. | |
2750 | * config/tc-arm.c: Likewise. | |
2751 | * config/tc-dlx.c: Likewise. | |
2752 | * config/tc-h8300.c: Likewise. | |
2753 | * config/tc-h8500.c: Likewise. | |
2754 | * config/tc-i370.c: Likewise. | |
2755 | * config/tc-i860.c: Likewise. | |
2756 | * config/tc-i960.c: Likewise. | |
2757 | * config/tc-m68hc11.c: Likewise. | |
2758 | * config/tc-m68k.c: Likewise. | |
2759 | * config/tc-m88k.c: Likewise. | |
2760 | * config/tc-mcore.c: Likewise. | |
2761 | * config/tc-mips.c: Likewise. | |
2762 | * config/tc-ns32k.c: Likewise. | |
2763 | * config/tc-pdp11.c: Likewise. | |
2764 | * config/tc-pj.c: Likewise. | |
2765 | * config/tc-s390.c: Likewise. | |
2766 | * config/tc-sh.c: Likewise. | |
2767 | * config/tc-sparc.c: Likewise. | |
2768 | * config/tc-tahoe.c: Likewise. | |
2769 | * config/tc-tic80.c: Likewise. | |
2770 | * config/tc-v850.c: Likewise. | |
2771 | * config/tc-vax.c: Likewise. | |
2772 | * config/tc-w65.c: Likewise. | |
2773 | * config/tc-z8k.c: Likewise. | |
2774 | ||
c5dd6aab DJ |
2775 | 2002-06-08 Daniel Jacobowitz <drow@mvista.com> |
2776 | ||
2777 | Based on patch from Matt Green: | |
2778 | * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable. | |
a2c36061 | 2779 | * config/tc-mips.c (s_mips_file): Renamed from s_file. |
c5dd6aab DJ |
2780 | (s_mips_loc): New function. |
2781 | (mips_nonecoff_pseudo_table): Call them. | |
a2c36061 | 2782 | (append_insn): Call dwarf2_emit_insn. |
c5dd6aab | 2783 | |
a4672219 TS |
2784 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2785 | ||
2786 | * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set | |
2787 | to -1. | |
2788 | (file_ase_mips16): New veriable. | |
2789 | (mips_eabi64): Remove. | |
2790 | (CPU_HAS_MIPS16): New define. | |
2791 | (CPU_HAS_MDMX): Fix data type. | |
2792 | (md_begin): Code cleanup. Use file_ase_mips16. | |
2793 | (mips_elf_final_processing): Handle mips16 header flag. | |
2794 | Handle EABI flag without intermediate variable. | |
2795 | ||
437ee9d5 TS |
2796 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2797 | ||
2798 | * doc/as.texinfo: Update MIPS documentation. | |
2799 | ||
85b51719 TS |
2800 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2801 | ||
2802 | * config/tc-mips.c: Add define for $zero register. | |
2803 | (md_begin): Add $zero as alias name for $0. | |
2804 | (insn_uses_reg): Use ZERO define. | |
2805 | (mips_ip): Add $zero as alias name for $0. | |
2806 | (mips16_ip): Likewise. | |
2807 | (s_cplocal): Demand empty rest of input line. | |
2808 | (tc_get_register): Likewise. Add support for $kt0, kt1 register | |
2809 | names. Use ZERO define. Fix input_line_pointer progress. | |
2810 | ||
9758f3fc AM |
2811 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
2812 | ||
2813 | * symbols.c: Replace CONST by const throughout. | |
2814 | (symbol_find_exact): Split out from.. | |
2815 | (symbol_find_base): ..here. | |
2816 | * symbols.h: Replace CONST by const throughout. | |
2817 | (symbol_find_exact): Declare. | |
2818 | * config/obj-elf.c: #include "struc-symbol.h". | |
2819 | (elf_frob_file): If group name matches an exported symbol, use that | |
2820 | symbol for the signature and ".group" as the section name. | |
2821 | ||
6c6783ff | 2822 | 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com> |
9691d64f JR |
2823 | |
2824 | * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again, | |
2825 | but warn about it. | |
9691d64f | 2826 | |
ffdefa66 DJ |
2827 | 2002-06-06 Daniel Jacobowitz <drow@mvista.com> |
2828 | ||
2829 | * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d | |
2830 | and mips_opts.ase_mdmx if they are uninitialized. | |
2831 | ||
ec8b3afd JL |
2832 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2833 | ||
2834 | * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. | |
2835 | (hppa_force_relocation): Check if a stub just before the start symbol | |
2836 | of the last call_info is reachable before forcing relocation. Fix | |
2837 | typo. | |
2838 | ||
e9670677 MR |
2839 | 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2840 | ||
2841 | * config/tc-mips.c (mips_after_parse_args): New function. | |
2842 | (md_begin): Move processing of defaults to mips_after_parse_args. | |
2843 | config/tc-mips.h (md_after_parse_args): Define. | |
2844 | ||
5b0e55b6 JT |
2845 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
2846 | ||
2847 | * configure.in (sh5*): Set cpu_type to sh64 and endian to big. | |
2848 | (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. | |
2849 | (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. | |
2850 | * configure: Regenerate. | |
2851 | * config/tc-sh64.c (sh64_target_format): Add support for NetBSD | |
2852 | environment. | |
2853 | ||
a074e149 JT |
2854 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
2855 | ||
2856 | * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining. | |
2857 | ||
d2dab548 AM |
2858 | 2002-06-04 Alan Modra <amodra@bigpond.net.au> |
2859 | ||
2860 | * config/obj-elf.c (obj_elf_change_section): Set and check elf | |
2861 | linkonce flag. Print all warnings. | |
2862 | (obj_elf_section): Parse ",comdat" for groups. | |
2863 | (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check | |
2864 | consistency of comdat flag. | |
2865 | ||
20e130e9 RH |
2866 | 2002-06-02 Richard Henderson <rth@redhat.com> |
2867 | ||
2868 | * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko | |
2869 | with LITERALs without sequence numbers. | |
2870 | ||
9e756d64 RH |
2871 | 2002-06-01 Richard Henderson <rth@redhat.com> |
2872 | ||
2873 | * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". | |
2874 | Rename them LITUSE_ALPHA_*. | |
2875 | ||
3048287a NC |
2876 | 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com> |
2877 | ||
2878 | * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to | |
2879 | accept parentheses enclosed register lists. | |
2880 | ||
194b5210 AM |
2881 | 2002-05-31 Alan Modra <amodra@bigpond.net.au> |
2882 | ||
2883 | * Makefile.am: Run "make dep-am". | |
2884 | * Makefile.in: Regenerate. | |
2885 | * po/POTFILES.in: Regenerate. | |
2886 | ||
34e97952 AM |
2887 | 2002-05-31 Graeme Peterson <gp@qnx.com> |
2888 | ||
2889 | * configure.in: Add i386-*-nto-qnx*. | |
2890 | * configure: Regenerate. | |
2891 | ||
793b27f4 TS |
2892 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2893 | ||
2894 | * config/tc-mips.c (mips_ip): Use unsigned long values for | |
2895 | warning output. | |
2896 | ||
80245285 TS |
2897 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2898 | ||
2899 | * config/tc-mips.c (s_cpsetup): Fix initialization of | |
2900 | mips_cpreturn_register and mips_cpreturn_offset. | |
2901 | ||
698b7d9d TS |
2902 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2903 | ||
2904 | * config/tc-mips.c (s_cpsetup): Fix comment. | |
2905 | ||
76db943d TS |
2906 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2907 | ||
2908 | * config/tc-mips.c (md_begin): Add $ra as alias name for $31. | |
2909 | (mips_ip): Likewise. | |
2910 | (mips16_ip): Likewise. | |
2911 | (tc_get_register): Likewise. | |
2912 | ||
deec1734 | 2913 | 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> |
a2c36061 | 2914 | Ed Satterthwaite <ehs@broadcom.com> |
deec1734 CD |
2915 | |
2916 | * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. | |
2917 | (mips_opts): Initialize "ase_mdmx" member. | |
2918 | (file_ase_mdmx): New variable. | |
2919 | (CPU_HAS_MDMX): New macro. | |
2920 | (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx | |
2921 | based on command line options and configuration defaults. | |
2922 | (macro_build): Note in comment that use of MDMX in macros is | |
2923 | not currently allowed. | |
2924 | (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and | |
2925 | "Z" MDMX operand types. | |
2926 | (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, | |
2927 | and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand | |
2928 | types. | |
2929 | (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): | |
2930 | Add support for "-mdmx" and "-no-mdmx" options. | |
2931 | (OPTION_ELF_BASE): Move to accomodate new options. | |
2932 | (s_mipsset): Support ".set mdmx" and ".set nomdmx". | |
2933 | (mips_elf_final_processing): Set MDMX ASE ELF header flag if | |
2934 | file_ase_mdmx was set. | |
2935 | * doc/as.texinfo: Document -mdmx and -no-mdmx options. | |
2936 | * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set | |
2937 | nomdmx" directives. | |
2938 | ||
9ee72ff1 TS |
2939 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2940 | ||
2941 | * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to | |
2942 | OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" | |
2943 | command line switch conforming to gcc conventions. | |
2944 | * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000. | |
2945 | ||
438c16b8 TS |
2946 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2947 | ||
2948 | * config/tc-mips.c (macro_build_jalr): New Function. | |
2949 | (md_begin): NewABI uses big GOTs. | |
2950 | (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, | |
2951 | BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. | |
2952 | (load_address): Add some NewABI PIC support. | |
2953 | (macro): Likewise. | |
2954 | (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. | |
2955 | (tc_gen_reloc): Don't encode NewABI vtables in REL relocations. | |
2956 | ||
f7ea7ef2 TS |
2957 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2958 | ||
2959 | * config/tc-mips.c (load_address): Use mips_gp_register instead | |
2960 | of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES | |
2961 | instead. | |
2962 | (macro): Use mips_gp_register instead of hardcoded value. | |
2963 | ||
3765b1be RH |
2964 | 2002-05-30 Richard Henderson <rth@redhat.com> |
2965 | ||
2966 | * expr.h (operatorT): Add O_md17..O_md32. | |
2967 | * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, | |
2968 | O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, | |
2969 | O_tprelhi, O_tprello, O_tprel): New. | |
2970 | (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. | |
2971 | (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. | |
2972 | (LITUSE_TLSGD, LITUSE_TLSLDM): New. | |
2973 | (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, | |
2974 | saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. | |
2975 | (md_apply_fix3): Handle TLS relocations. | |
2976 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
2977 | (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the | |
2978 | associated TLS reloc. Check lituse_tls relocs match up. | |
2979 | (emit_insn): Handle TLS relocations. | |
2980 | (ldX_op): Remove. | |
2981 | ||
1c5cec28 RH |
2982 | * doc/c-alpha.texi: Add docs for tls relocations. |
2983 | ||
def2e0dd TS |
2984 | 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2985 | ||
2986 | * config/tc-mips.c (mips_gprel_offset): New variable. | |
2987 | (s_gpvalue): Use it. | |
2988 | ||
8ade06a8 TR |
2989 | 2002-05-30 Diego Novillo <dnovillo@redhat.com> |
2990 | ||
a2c36061 AM |
2991 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
2992 | write-write conflicts. | |
2993 | (md_assemble): Reformat introductory comment. | |
2994 | (parallel_ok): Prevent packing only if the first | |
2995 | instruction cannot be packed. | |
8ade06a8 TR |
2996 | |
2997 | 2002-05-30 Jason Eckhardt <jle@redhat.com> | |
2998 | Tom Rix <trix@redhat.com> | |
2999 | ||
3000 | * config/tc-d10v.c (build_insn): Check for immediates. | |
3001 | ||
c9914766 TS |
3002 | 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3003 | ||
3004 | * config/tc-mips.c: Replace GP in comments by $gp. | |
3005 | (mips_big_got): Initialize. | |
3006 | (mips_trap): Initialize. | |
3007 | (load_address): Use mips_gp_register instead of hardcoded value. | |
3008 | Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. | |
3009 | (macro): Use mips_gp_register instead of hardcoded value. | |
3010 | (macro2): Change load_address calls. | |
3011 | (md_pcrel_from): Comment formatting. | |
3012 | (s_cpload): Use mips_gp_register instead of hardcoded value. | |
3013 | (s_cprestore): Likewise. Comment formatting. | |
3014 | (s_gpword): Fix data type. | |
3015 | (s_cpadd): Use mips_gp_register instead of hardcoded value. | |
3016 | (nopic_need_relax): Replace GP in comments by $gp. | |
3017 | (mips_elf_final_processing): Better comment. | |
3018 | ||
d172d4ba NC |
3019 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
3020 | ||
3021 | * configure.in: Add DLX configuraton | |
3022 | * Makefile.am: Add DLX configuraton | |
3023 | * configure: Regenerate. | |
3024 | * Makefile.in: Regenerate. | |
3025 | * config/tc-dlx.c: New file. | |
3026 | * config/tc-dlx.h: New files. | |
52216602 | 3027 | * NEWS: Mention new support. |
d172d4ba | 3028 | |
e9732b6d NC |
3029 | 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com> |
3030 | ||
3031 | * config/obj-coff.c (write_object_file): Add missing semicolon. | |
3032 | ||
f9419b05 TS |
3033 | 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3034 | ||
3035 | * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA | |
3036 | by the define. Remove superfluous check of mips_opts.mips16. | |
3037 | (append_insn): Likewise. Canonicalize variable increments. | |
3038 | (macro_build): Canonicalize variable increments. | |
3039 | (macro_build_lui): Likewise. | |
3040 | (load_register): Likewise. | |
3041 | (load_address): Move pointer initialization. | |
3042 | (macro): Move pointer to a more local scope. Canonicalize variable | |
3043 | increments. Better comments. Replace magic constant for RA by the | |
3044 | define. | |
3045 | (macro2): Replace magic constant for RA by the define. Canonicalize | |
3046 | variable increments. | |
3047 | (mips_ip): Canonicalize variable increments. | |
3048 | (mips16_ip): Replace magic constant for RA by the define. | |
3049 | (my_getSmallParser): Canonicalize variable increments/decrements. | |
3050 | (my_getPercentOp): Likewise. | |
3051 | (my_getSmallExpression): Likewise. | |
3052 | (s_align): Likewise. | |
3053 | (s_mipsset): Likewise. | |
3054 | (s_cpsetup): Likewise. | |
3055 | (s_insn): Remove superfluous check of mips_opts.mips16. | |
3056 | (s_mips_stab): Likewise. | |
3057 | (mips_handle_align): Canonicalize variable increments. | |
3058 | (s_mips_ent): Likewise. | |
3059 | (s_mips_end): Add comment. | |
3060 | ||
aa501e5c JT |
3061 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
3062 | ||
3063 | * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. | |
3064 | * configure: Regenerate. | |
3065 | ||
29589b0c AM |
3066 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
3067 | ||
3068 | * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. | |
3069 | * Makefile.in: Regenerate. | |
3070 | * dep-in.sed: Reorder to match OBJS in Makefile.am. | |
3071 | * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. | |
3072 | * configure: Regenerate. | |
3073 | * as.h: Use #include "" instead of <> for local header files. | |
3074 | * flonum-konst.c: Likewise. | |
3075 | * flonum-mult.c: Likewise. | |
3076 | * gasp.c: Likewise. | |
3077 | * listing.c: Likewise. | |
3078 | * config/tc-ia64.h: Likewise. | |
3079 | * config/tc-v850.h: Likewise. | |
3080 | ||
436e8db0 NC |
3081 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
3082 | ||
3083 | * configure.in: Add a target for i386-netbsdpe. | |
3084 | * configure: Regenerate. | |
3085 | ||
13ae64f3 JJ |
3086 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
3087 | ||
3088 | * config/obj-elf.c (elf_common): Renamed from obj_elf_common. | |
3089 | (obj_elf_common): Call elf_common. | |
3090 | (obj_elf_tls_common): New function. | |
3091 | (elf_pseudo_tab): Support .tls_common. | |
3092 | (special_sections): Add .tdata and .tbss. | |
3093 | (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS | |
3094 | sections. | |
3095 | (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). | |
3096 | (obj_elf_parse_section_letters): Include T in error message. | |
3097 | * config/tc-ppc.c (ppc_section_letter): Likewise. | |
3098 | * config/tc-alpha.c (alpha_elf_section_letter): Likewise. | |
3099 | (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as | |
3100 | SEC_MERGE. | |
3101 | * config/tc-sparc.c (md_apply_fix3): Likewise. | |
3102 | * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. | |
3103 | Define them if not BFD_ASSEMBLER. | |
3104 | (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF | |
3105 | and @NTPOFF. | |
3106 | (md_apply_fix3): Add TLS relocs. | |
3107 | * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, | |
3108 | FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, | |
3109 | FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. | |
3110 | (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). | |
3111 | (ia64_elf_section_letter): Include T in error message. | |
3112 | (md_begin): Support TLS operators. | |
3113 | (md_operand): Likewise. | |
3114 | (ia64_gen_real_reloc_type): Support TLS relocs. | |
13ae64f3 JJ |
3115 | * write.c (adjust_reloc_syms): Don't change symbols in |
3116 | SEC_THREAD_LOCAL sections to STT_SECTION + addend. | |
3117 | ||
c62e1cc3 NC |
3118 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
3119 | ||
3120 | * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc | |
3121 | round the relocation up rather than down. | |
3122 | ||
6ff96af6 NC |
3123 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
3124 | ||
3125 | * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' | |
3126 | flag. | |
a2c36061 | 3127 | * doc/as.texinfo: Document that the COFF version of .section |
6ff96af6 NC |
3128 | ignores the 'a' flag. |
3129 | ||
18e1d487 AM |
3130 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
3131 | ||
69108c1f AM |
3132 | * config/tc-alpha.c (assemble_tokens): Protect use of |
3133 | ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. | |
3134 | ||
18e1d487 AM |
3135 | * write.c (size_seg): Check adjustment to last frag. |
3136 | (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to | |
3137 | section alignment. | |
3138 | * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. | |
3139 | * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. | |
3140 | (write_object_file): Invoke md_do_align if available, and use | |
3141 | frag_align_code on text sections. | |
3142 | * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. | |
3143 | * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. | |
3144 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. | |
3145 | * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. | |
3146 | * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for | |
3147 | BFD_ASSEMBLER too. | |
3148 | ||
9d66a1d9 L |
3149 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
3150 | ||
3151 | * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file | |
3152 | for source file. | |
3153 | ||
76feaaf3 NC |
3154 | 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com> |
3155 | ||
3156 | * config/tc-arm.c (arm_s_section): Enable for COFF builds as well | |
3157 | as ELF builds. | |
3158 | ||
1080e97d L |
3159 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
3160 | ||
3161 | * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol | |
3162 | for one .loc for compiler. | |
3163 | ||
c90bbe5b TS |
3164 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3165 | ||
3166 | * config/tc-mips.c (macro): Relax warning, it's toot strict for | |
3167 | embedded-PIC. | |
3168 | ||
771c7ce4 TS |
3169 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3170 | ||
3171 | * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. | |
3172 | Optimize the rotate by zero case. | |
3173 | ||
fa70f2ed NC |
3174 | 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com> |
3175 | ||
3176 | * configure.in: Remove accidental enabling of bfd_gas=yes for | |
3177 | sh-coff targets. | |
3178 | * configure: Regenerate. | |
3179 | ||
411863a4 KH |
3180 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
3181 | ||
3182 | * app.c: Fix formatting. | |
3183 | * as.c: Likewise. | |
3184 | * ehopt.c: Likewise. | |
3185 | * expr.c: Likewise. | |
3186 | * input-file.c: Likewise. | |
3187 | * listing.c: Likewise. | |
3188 | * macro.h: Likewise. | |
3189 | * stabs.c: Likewise. | |
3190 | * symbols.c: Likewise. | |
3191 | ||
eb268f46 AM |
3192 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
3193 | ||
3194 | * config/obj-generic.c: Delete file. | |
3195 | * config/obj-generic.h: Likewise. | |
3196 | ||
bdfdba87 MM |
3197 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
3198 | ||
3199 | * config/tc-avr.c (mcu_types): Update for new devices. | |
3200 | ||
3bec30a8 TS |
3201 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3202 | ||
3203 | * config/tc-mips.c (macro): Warn about wrong la/dla use. | |
3204 | ||
8586fc66 TS |
3205 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3206 | ||
3207 | * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had | |
3208 | worked sometimes by accident. Fix copy&paste comment. | |
3209 | ||
195325d2 TS |
3210 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3211 | ||
3212 | * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section | |
3213 | alignment for NewABI. Let n32 use .reginfo. Remove useless casts. | |
3214 | (mips_elf_final_processing): Let n32 use .reginfo. | |
3215 | ||
4db1a35d TS |
3216 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3217 | ||
3218 | * config/tc-mips.c (append_insn): Fix too small range of variable. | |
3219 | ||
7f367f01 NC |
3220 | 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com> |
3221 | ||
3222 | * config/tc-arm.c (arm_cleanup): Remove redundant call to | |
3223 | listing_prev_line(). | |
3224 | ||
7193a0e7 NC |
3225 | 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com> |
3226 | ||
f5b4e9e4 NC |
3227 | * config/tc-arm.c (md_assemble): Remove redundant call to |
3228 | listing_prev(). | |
3229 | ||
b6675117 NC |
3230 | * dwarf2dbg.c (dwarf2_emit_insn): Do not reset |
3231 | loc_directive_seen. | |
3232 | ||
7193a0e7 NC |
3233 | * stabs.c (s_stab_generic): Fix grammatical error in warning |
3234 | message. | |
3235 | ||
50b31228 AM |
3236 | 2002-05-13 Alan Modra <amodra@bigpond.net.au> |
3237 | ||
3238 | * write.c (subsegs_finish): Don't specially align last subseg. | |
3239 | ||
cce5a618 NC |
3240 | 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
3241 | ||
6360824b NC |
3242 | * stabs.c (s_stab_generic): Warn about a description field that is |
3243 | too big. | |
3244 | ||
f8e42b8c NC |
3245 | * config/obj-coff.c: Fix compile time warnings when compiling |
3246 | without BFD_ASSEMBLER defined. | |
3247 | Fix formatting. | |
3248 | ||
cce5a618 NC |
3249 | * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms |
3250 | target. | |
3251 | (md_pcrel_from_section): Use md_pcrel_from(). | |
3252 | ||
d7c310c2 NC |
3253 | 2002-05-11 Bruno Haible <bruno@clisp.org> |
3254 | ||
3255 | * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled | |
3256 | by dwarf2_directive_loc, instead of calling dwarf2_where. | |
3257 | ||
5d6255fe KH |
3258 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
3259 | ||
3260 | * config/obj-coff.h: Fix formatting. | |
3261 | * config/tc-mcore.c: Likewise. | |
3262 | * config/tc-mn10300.c: Likewise. | |
3263 | * config/tc-openrisc.c: Likewise. | |
3264 | * config/tc-or32.c: Likewise. | |
3265 | * config/tc-pdp11.c: Likewise. | |
3266 | * config/tc-ppc.c: Likewise. | |
3267 | * config/tc-ppc.h: Likewise. | |
3268 | * config/tc-sh64.c: Likewise. | |
3269 | * config/tc-sh.c: Likewise. | |
3270 | * config/tc-tic54x.c: Likewise. | |
3271 | * config/tc-xstormy16.c: Likewise. | |
3272 | * config/tc-xstormy16.h: Likewise. | |
3273 | ||
cc8a6dd0 KH |
3274 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
3275 | ||
3276 | * config/obj-coff.c: Fix formatting. | |
3277 | * config/obj-elf.c: Likewise. | |
3278 | * config/tc-alpha.c: Likewise. | |
3279 | * config/tc-arm.c: Likewise. | |
3280 | * config/tc-d10v.c: Likewise. | |
3281 | * config/tc-d30v.c: Likewise. | |
3282 | * config/tc-h8300.c: Likewise. | |
3283 | * config/tc-hppa.c: Likewise. | |
3284 | ||
412167cb AM |
3285 | 2002-05-09 Alan Modra <amodra@bigpond.net.au> |
3286 | ||
3287 | * config/tc-i386.c (md_estimate_size_before_relax) Don't lose | |
3288 | reloc when no_cond_jump_promotion. | |
3289 | ||
91975467 JW |
3290 | 2002-05-08 Jim Wilson <wilson@redhat.com> |
3291 | ||
3292 | * config/tc-i960.c (md_estimate_size_before_relax): Return size of | |
3293 | current variable part of frag. | |
3294 | ||
a1b6236b KH |
3295 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
3296 | ||
3297 | * config/tc-mmix.c: Fix formatting. | |
3298 | * config/tc-mmix.h: Likewise. | |
3299 | ||
c8615825 AM |
3300 | 2002-05-08 Alan Modra <amodra@bigpond.net.au> |
3301 | ||
3302 | * configure: Regenerate. | |
3303 | ||
8a104df9 KH |
3304 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
3305 | ||
3306 | * config/tc-m68k.c: Fix formatting. | |
3307 | ||
d3d8a9ee NC |
3308 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
3309 | ||
3310 | * Makefile.am: Honour DESTDIR. | |
3311 | * Makefile.in: Regenerate. | |
3312 | ||
40449e9f KH |
3313 | 2002-05-06 Kazu Hirata <kazu@cs.umass.edu> |
3314 | ||
3315 | * config/tc-ia64.c: Fix formatting. | |
3316 | * config/tc-ia64.h: Likewise. | |
3317 | ||
98d3f06f KH |
3318 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
3319 | ||
3320 | * config/tc-mips.c: Fix formatting. | |
3321 | * config/tc-s390.c: Likewise. | |
3322 | * config/tc-s390.h: Likewise. | |
3323 | ||
8f5b2891 AO |
3324 | 2002-05-03 Alexandre Oliva <aoliva@redhat.com> |
3325 | ||
3326 | * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number | |
3327 | information for instructions. | |
3328 | ||
d1a6c242 KH |
3329 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
3330 | ||
3331 | * as.h: Fix formatting. | |
3332 | * cgen.c: Likewise. | |
3333 | * cgen.h: Likewise. | |
3334 | * dwarf2dbg.c: Likewise. | |
3335 | * frags.h: Likewise. | |
3336 | * gasp.c: Likewise. | |
3337 | * macro.c: Likewise. | |
3338 | * read.c: Likewise. | |
3339 | * stabs.c: Likewise. | |
3340 | * symbols.c: Likewise. | |
3341 | ||
1cfc59d5 AM |
3342 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
3343 | ||
72297628 AM |
3344 | * app.c (mri_pseudo): Only declare for TC_M68K. |
3345 | ||
1cfc59d5 AM |
3346 | * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. |
3347 | (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with | |
3348 | BFD_RELOC_16_BASEREL. | |
3349 | (md_assemble): Likewise. | |
3350 | (md_apply_fix3): Likewise. | |
3351 | ||
358b94bd NC |
3352 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
3353 | ||
3354 | * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of | |
3355 | zero into an add of zero - it is not the same. | |
3356 | ||
d8731e7d NC |
3357 | 2002-05-01 Arati Dikey <aratid@kpit.com> |
3358 | ||
3359 | * tc-sh.c (get_specific): Generate warning if the same | |
3360 | destination register is used in parallel instructions. | |
3361 | ||
200dbde8 AM |
3362 | 2002-05-01 Andrew Macleod <amacleod@cygnus.com> |
3363 | ||
3364 | * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. | |
3365 | ||
3f3cdb03 AM |
3366 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
3367 | ||
3368 | * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org | |
3369 | backwards to prevent cascading errors. | |
3370 | ||
9b2b7d69 MM |
3371 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
3372 | ||
3373 | * configure.in: Add support for powerpc-*-windiss. | |
3374 | * configure: Regenerated. | |
a2c36061 | 3375 | |
0f3f3d8b AM |
3376 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
3377 | ||
819e6420 AM |
3378 | * config/tc-s390.c (md_parse_option): Formatting. |
3379 | ||
0f3f3d8b AM |
3380 | * config/tc-i386.c: Formatting fixes, add missing space in error |
3381 | message. | |
3382 | ||
3c25c5f6 NC |
3383 | 2002-04-24 Christian Groessler <chris@groessler.org> |
3384 | ||
3385 | * config/tc-z8k.c (build_bytes): Add support for new cases: | |
3386 | CLASS_IGNORE and ARG_NIM4. | |
3387 | (md_assemble): Prevent destruction of input_line_pointer if | |
3388 | get_operands returns failure. | |
3389 | ||
af55c2e6 CD |
3390 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
3391 | ||
3392 | * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D | |
3393 | instructions to be generated by macros. | |
3394 | ||
062cd5e7 AS |
3395 | 2002-04-24 Andreas Schwab <schwab@suse.de> |
3396 | ||
3397 | * config/tc-i386.c (output_jump, output_disp) | |
3398 | (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any | |
3399 | more. | |
3400 | (md_apply_fix3): Remember addend value for rela relocations. | |
3401 | (tc_gen_reloc): Correctly compute pc-relative relocation addend. | |
3402 | ||
2b2e39bf CD |
3403 | 2002-04-22 Chris Demetriou <cgd@broadcom.com> |
3404 | ||
3405 | * config/tc-mips.c (macro_build): Add close-parenthesis missing | |
3406 | from previous change. | |
3407 | ||
80cc45a5 EC |
3408 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
3409 | ||
2b2e39bf CD |
3410 | * config/tc-mips.c (macro_build): Add warning if macro instructions |
3411 | are expanded into a branch delay slot. | |
80cc45a5 | 3412 | |
ffa554ed GK |
3413 | 2002-04-17 Geoffrey Keating <geoffk@redhat.com> |
3414 | ||
3415 | * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line | |
3416 | numbers, gdb relies on them to detect the start of the prologue. | |
3417 | ||
302576af MS |
3418 | 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3419 | ||
3420 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to | |
3421 | symbols in merge sections. | |
3422 | ||
0f3f3d8b | 3423 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
091e58c1 AM |
3424 | |
3425 | * as.c (main): Don't reference _bfd_chunksize. | |
3426 | ||
76b999d0 TR |
3427 | 2002-04-15 Tom Rix <trix@redhat.com> |
3428 | ||
80cc45a5 | 3429 | * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to |
76b999d0 TR |
3430 | symbols in merge sections. |
3431 | ||
580a832e RS |
3432 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
3433 | ||
3434 | * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. | |
3435 | * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an | |
3436 | argument for the precision. | |
3437 | (gen_to_words): Update accordingly. | |
3438 | ||
edde18a5 AM |
3439 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
3440 | ||
3441 | * as.c (parse_args <OPTION_VERSION>): Use VERSION is | |
3442 | BFD_VERSION_STRING unavailable. | |
3443 | * config/tc-i386.c (INLINE): Define (for non-BFD assembler). | |
3444 | ||
6c6783ff | 3445 | 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com> |
5bcd00a6 JR |
3446 | |
3447 | * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if | |
3448 | symbol_used_in_reloc_p is true. | |
2ed5f585 JR |
3449 | |
3450 | * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big | |
3451 | endian hosts. | |
3452 | ||
8e42bcb6 AM |
3453 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
3454 | ||
3455 | * dep-in.sed: Cope with absolute paths. | |
3456 | * Makefile.am (dep.sed): Subst TOPDIR. | |
3457 | Run "make dep-am". | |
3458 | * Makefile.in: Regenerate. | |
3459 | ||
874e8986 TS |
3460 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3461 | ||
3462 | * config/tc-mips.c (mips16_macro_build): Cast type mismatch. | |
3463 | (mips_ip): Remove unused variable. | |
3464 | (md_apply_fix3): Cast signed/unsignes mismatches. Replace | |
3465 | unsigned char with bfd_byte. | |
3466 | (s_file): Remove unused variable. | |
3467 | (s_mips_ent): Likewise. | |
3468 | ||
fbdbf472 TR |
3469 | 2002-04-03 Tom Rix <trix@redhat.com> |
3470 | ||
3471 | * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. | |
3472 | (build_insn): Same. | |
3473 | (find_opcode): Fix warning in as_warn. | |
3474 | * config/tc-d10v.h: Update Copyright. | |
3475 | ||
3476 | 2002-04-03 Alan Matsuoka <alanm@redhat.com> | |
3477 | Tom Rix <trix@redhat.com> | |
3478 | ||
3479 | From Jeff Knaggs <jknaggs@redhat.com> | |
80cc45a5 | 3480 | * config/tc-d10v.c (check_resource_conflict): New function to |
fbdbf472 TR |
3481 | check for resource conflicts. |
3482 | ||
3483 | From Jason Eckhardt <jle@redhat.com> | |
a2c36061 AM |
3484 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or |
3485 | imm3 fields. | |
3486 | * config/tc-d10v.c (find_opcode): Emit a warning if one of the | |
3487 | reserved control registers is used. | |
3488 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or | |
3489 | imm3 fields. | |
fbdbf472 TR |
3490 | |
3491 | From 2001-03-28 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
3492 | * tc-d10v.c (parallel_ok): Prevent packing only if the first |
3493 | instruction cannot be packed. | |
fbdbf472 TR |
3494 | |
3495 | From 2001-03-30 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
3496 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
3497 | write-write conflicts. | |
3498 | (md_assemble): Reformat introductory comment. | |
3499 | * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its | |
3500 | arguments. | |
fbdbf472 | 3501 | |
784b640d AM |
3502 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
3503 | ||
3504 | * symbols.c (resolve_symbol_value <O_uminus, O_bit_not, | |
3505 | O_logical_not>): Derive final_seg from add_symbol. | |
3506 | <O_multiply..O_logical_or>: More final_seg twiddles. | |
3507 | ||
5f44c186 RH |
3508 | 2002-04-01 Jessica Han <jessica@cup.hp.com> |
3509 | ||
a2c36061 | 3510 | * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc |
5f44c186 RH |
3511 | in 32-bit mode. |
3512 | ||
3458b54c AS |
3513 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
3514 | ||
3515 | * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of | |
3516 | field for pc-relative fixups. | |
3517 | (output_disp): Likewise. | |
3518 | (md_estimate_size_before_relax): Likewise. | |
3519 | (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for | |
3520 | pc-relative fixups in 64bit mode. | |
3521 | ||
815b453c AM |
3522 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
3523 | ||
3524 | * config/te-aix5.h: Typo fix. | |
3525 | ||
d5b32339 AM |
3526 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
3527 | ||
3528 | * Makefile.am: Run "make dep-am". | |
3529 | * Makefile.in: Regenerate. | |
3530 | * doc/Makefile.in: Regenerate. | |
3531 | ||
f201ccb3 NC |
3532 | 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com> |
3533 | ||
3534 | * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo | |
3535 | (vfp_sp_reg_pos -> vfp_dp_reg_pos). | |
3536 | ||
177b4a6a AO |
3537 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
3538 | ||
3539 | * config/tc-mips.c (md_estimate_size_before_relax): Do not modify | |
3540 | the EXTENDED bit here; report the estimate according to the | |
3541 | current size. | |
3542 | ||
eb1e0e80 NC |
3543 | 2002-03-18 Tom Rix <trix@redhat.com> |
3544 | ||
3545 | * configure.in: Add AIX 5 support. | |
3546 | * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. | |
3547 | * config/te-aix5.h: New file. AIX 5 support. | |
3548 | * configure: Regenerate. | |
3549 | ||
a1c259a1 NC |
3550 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
3551 | ||
3552 | * po/fr.po: Updated version. | |
3553 | ||
949f2b5c AJ |
3554 | 2002-03-16 Andreas Jaeger <aj@suse.de> |
3555 | ||
3556 | * doc/c-mips.texi (Machine Dependencies): Add new node. | |
3557 | ||
1f25f5d3 CD |
3558 | 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> |
3559 | ||
3560 | * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. | |
3561 | (mips_opts): Initialize "ase_mips3d" member. | |
3562 | (file_ase_mips3d): New variable. | |
3563 | (CPU_HAS_MIPS3D): New macro. | |
3564 | (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d | |
3565 | based on command line options and configuration defaults. | |
3566 | (macro_build, mips_ip): Accept MIPS-3D instructions if | |
3567 | mips_opts.ase_mips3d is set. | |
3568 | (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): | |
3569 | Add support for "-mips3d" and "-no-mips3d" options. | |
3570 | (OPTION_ELF_BASE): Move to accomodate new options. | |
3571 | (s_mipsset): Support ".set mips3d" and ".set nomips3d". | |
3572 | (mips_elf_final_processing): Add a comment indicating that a | |
3573 | MIPS-3D ASE ELF header flag should be set, when one exists. | |
3574 | * doc/as.texinfo: Document -mips3d and -no-mips3d options. | |
3575 | * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set | |
3576 | nomips3d" directives. | |
949f2b5c | 3577 | |
2be11e7e HPN |
3578 | 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com> |
3579 | ||
3580 | * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider | |
3581 | a weak symbol in same section to be within reach. | |
3582 | ||
9ce88e60 NC |
3583 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
3584 | ||
3585 | * po/fr.po: Updated version. | |
3586 | ||
1e16b528 AS |
3587 | 2002-03-12 Andreas Schwab <schwab@suse.de> |
3588 | ||
3589 | * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a | |
3590 | body record so that an error is given for misplaced .save | |
3591 | pseudo-ops. | |
3592 | ||
29b0f896 AM |
3593 | 2002-03-09 Alan Modra <amodra@bigpond.net.au> |
3594 | ||
3595 | * config/tc-i386.h (REX_OPCODE): Define. | |
3596 | (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. | |
3597 | (rex_byte): typedef to int. | |
3598 | * config/tc-i386.c: Group prototypes and vars together. | |
3599 | Formatting fixes. Remove occurrences of "register" keyword. | |
3600 | (true): Delete. | |
3601 | (false): Delete. | |
3602 | (mode_from_disp_size): Add INLINE keyword to prototype. | |
3603 | (fits_in_signed_byte): Likewise. | |
3604 | (fits_in_unsigned_byte): Likewise. | |
3605 | (fits_in_unsigned_word): Likewise. | |
3606 | (fits_in_signed_word): Likewise. | |
3607 | (fits_in_unsigned_long): Likewise. | |
3608 | (fits_in_signed_long): Likewise. | |
3609 | (type_names): Constify. | |
3610 | (intel_float_operand): Constify param. | |
3611 | (add_prefix): Use REX_OPCODE. | |
3612 | (md_assemble): Likewise. Modify for changed rex_byte. | |
3613 | (parse_insn): Split out of md_assemble. | |
3614 | (parse_operands): Likewise. | |
3615 | (swap_operands): Likewise. | |
3616 | (optimize_imm): Likewise. | |
3617 | (optimize_disp): Likewise. | |
3618 | (match_template): Likewise. | |
3619 | (check_string): Likewise. | |
3620 | (process_suffix): Likewise. | |
3621 | (check_byte_reg): Likewise. | |
3622 | (check_long_reg): Likewise. | |
3623 | (check_qword_reg): Likewise. | |
3624 | (check_word_reg): Likewise. | |
3625 | (finalize_imm): Likewise. | |
3626 | (process_operands): Likewise. | |
3627 | (build_modrm_byte): Likewise. | |
3628 | (output_insn): Likewise. | |
3629 | (output_branch): Likewise. | |
3630 | (output_jump): Likewise. | |
3631 | (output_interseg_jump): Likewise. | |
3632 | (output_disp): Likewise. | |
3633 | (output_imm): Likewise. | |
3634 | ||
2e64b665 DJ |
3635 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
3636 | ||
3637 | * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. | |
3638 | ||
937149dd AM |
3639 | 2002-03-06 Alan Modra <amodra@bigpond.net.au> |
3640 | ||
3641 | * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte | |
3642 | relocs except when BFD64. | |
3643 | ||
3644 | * write.c (number_to_chars_bigendian): Don't abort when N is | |
3645 | larger than sizeof (VAL). | |
3646 | (number_to_chars_littleendian): Likewise. | |
3647 | ||
40d74fb1 JL |
3648 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3649 | ||
3650 | * config/tc-hppa.c (md_apply_fix3): Add cast. | |
3651 | (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and | |
3652 | e_rrsel. | |
3653 | ||
cd3cde86 AM |
3654 | 2002-03-05 Paul Koning <pkoning@equallogic.com> |
3655 | ||
3656 | * tc-pdp11.c: Use VAX float format support for PDP-11 target. | |
3657 | (parse_ac5): New function for parsing float regs in float operand. | |
3658 | (parse_expression): Remove attempt to make literals be octal. | |
3659 | (parse_op_no_deferred): Support float literals. | |
3660 | (parse_op): Reject attempts to refer to float regs. | |
3661 | (parse_fop): New function, like parse_op but for float operand. | |
949f2b5c | 3662 | (md_assemble): Add cases to parse float operands. Also fix |
cd3cde86 AM |
3663 | IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. |
3664 | ||
e9682144 L |
3665 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
3666 | ||
3667 | * config/obj-elf.c (special_section): Add .init_array, | |
3668 | .fini_array and .preinit_array. | |
3669 | ||
3670 | * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove | |
3671 | .init_array and .fini_array. | |
3672 | ||
26eb4093 JJ |
3673 | 2002-03-01 Jakub Jelinek <jakub@redhat.com> |
3674 | ||
3675 | * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy | |
3676 | visibility. | |
3677 | (obj_frob_symbol): Copy visibility. | |
3678 | ||
559e22f3 JJ |
3679 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
3680 | ||
3681 | * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not | |
3682 | s_text. | |
3683 | (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. | |
3684 | ||
ef412327 NC |
3685 | 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com> |
3686 | ||
3687 | * po/es.po: Updated. | |
3688 | ||
b25a253c CD |
3689 | 2002-02-26 Chris Demetriou <cgd@broadcom.com> |
3690 | ||
3691 | * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC | |
3692 | only, undo the changes made on 2001-06-08, with the | |
3693 | effect being that common or extern symbols are | |
3694 | adjusted for embedded-PIC, but weak symbols are not. | |
3695 | (md_estimate_size_before_relax: Likewise, with the effect | |
3696 | that extern symbols are treated the same as weak symbols | |
3697 | only if not embedded-PIC. | |
3698 | (mips_fix_adjustable) Likewise, with the effect that | |
3699 | weak or extern symbols are not adjusted for embedded-PIC. | |
3700 | (md_apply_fix3): Tweak so that the case where value is zero | |
3701 | is handled more correctly for embedded-PIC code. | |
3702 | ||
fe41178f NC |
3703 | 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com> |
3704 | ||
587fe2b3 NC |
3705 | * doc/as.texinfo (Overview): Add missing @ifset IA64 |
3706 | ||
fe41178f NC |
3707 | * configure.in (LINGUAS): Add es.po. |
3708 | * configure: Regenerate. | |
3709 | * po/es.po: New file. | |
3710 | ||
4d34fb5f TS |
3711 | 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3712 | ||
3713 | * config/tc-mips.c (set_at): Fix handling of 64bit register loads. | |
3714 | (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC | |
3715 | and NO_PIC cases. Code cleanup. | |
3716 | (macro2): Fix handling of 64bit register loads. | |
3717 | ||
9e32ca89 NC |
3718 | 2002-02-25 David Mosberger <davidm@hpl.hp.com> |
3719 | ||
3720 | * doc/as.texinfo: Add entry for IA64. | |
3721 | * doc/c-ia64.texi: New file. | |
3722 | ||
23e1d84c AM |
3723 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
3724 | ||
c7d004c5 AM |
3725 | * config/tc-hppa.c: Update copyright date. |
3726 | ||
3727 | * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 | |
23e1d84c AM |
3728 | Remove references to chip manufacturers. |
3729 | * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. | |
3730 | Correct comments. | |
3731 | (md_show_usage): Remove references to chip manufacturers. Mention | |
3732 | -mpower4. | |
3733 | (md_begin): Test power4 opcode flag bits. | |
3734 | ||
b1c6bf70 | 3735 | 2002-02-22 David Mosberger <davidm@hpl.hp.com> |
6290819d NC |
3736 | |
3737 | * config/tc-ia64.c (dot_restore): Issue error message of epilogue | |
3738 | count exceeds prologue count. | |
3739 | (md_show_usage): Describe -mconstant-gp and -mauto-pic. | |
3740 | (unwind.label_prologue_count): New member. | |
3741 | ||
3742 | Based on a patch by Hans Boehm <hboehm@hpl.hp.com>: | |
3743 | ||
3744 | (get_saved_prologue_count): New function. | |
3745 | (save_prologue_count): New function. | |
3746 | (free_saved_prologue_count): New function. | |
3747 | (dot_label_state): Record state label by calling save_prologue_count(). | |
3748 | (dot_copy_state): Restore prologue count by calling | |
3749 | get_saved_prologue_count(). | |
3750 | (generate_unwind_image): Free up list of saved prologue | |
3751 | counts by calling free_saved_prologue_counts(). | |
3752 | ||
f1e7a2c9 NC |
3753 | 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com> |
3754 | ||
3755 | * config/tc-tic54x.c: Add missing prototypes and remove ANSI style | |
3756 | function declarations. | |
3757 | ||
3f965e60 NC |
3758 | 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com> |
3759 | ||
3760 | * NEWS: Note that GASP is now deprecated. | |
3761 | * Makefile.am: Do not build gasp-new by default. | |
3762 | * Makefile.in: Regenerate. | |
3763 | * doc/Makefile.am: Do not install gasp.info. | |
3764 | * doc/Makefile.in: Regenerate. | |
3765 | * gas/gasp.texi: Note that gasp is now deprecated. | |
3766 | ||
9a66911f NC |
3767 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
3768 | ||
3769 | * NEWS: Mark 2.12 branch. | |
3770 | ||
f88fd9fe TT |
3771 | 2002-02-19 Tom Tromey <tromey@redhat.com> |
3772 | ||
3773 | * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. | |
3774 | ||
da0e507f TS |
3775 | 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3776 | ||
3777 | * config/tc-mips.c (md_parse_option): Complain about invalid -mabi | |
3778 | option input. | |
3779 | ||
ff0fb565 MS |
3780 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3781 | ||
3782 | * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. | |
3783 | Make bit size independent of architecture switch. | |
3784 | (md_begin): Add warning for -m64 with -Aesa. | |
3785 | (s390_md_end): Use renamed architecture defines. | |
3786 | ||
a245a9aa DJ |
3787 | 2002-02-18 Daniel Jacobowitz <drow@mvista.com> |
3788 | ||
3789 | * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. | |
3790 | ||
8bf549a8 NC |
3791 | 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com> |
3792 | ||
3793 | * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used | |
3794 | instead of CRIS. | |
3795 | ||
9151e8bf CD |
3796 | 2002-02-15 Chris Demetriou <cgd@broadcom.com> |
3797 | ||
a2c36061 | 3798 | * config/tc-mips.c (md_estimate_size_before_relax): Really |
9151e8bf CD |
3799 | make sure we treat weak like extern only for ELF. (Fixes |
3800 | patch from 2001-07-25.) | |
3801 | ||
59455fb1 BE |
3802 | 2002-02-15 Ben Elliston <bje@redhat.com> |
3803 | ||
3804 | * doc/as.texinfo: Add duplicate directory entry so that "info gas" | |
3805 | works as expected. | |
3806 | ||
49fda6c8 HPN |
3807 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
3808 | ||
3809 | * NEWS: Mention support for MMIX. | |
3810 | ||
2d2bf3e0 CD |
3811 | 2002-02-13 Chris Demetriou <cgd@broadcom.com> |
3812 | ||
3813 | * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into | |
3814 | a sequence of indpendent 'if' statements for easier debugging | |
3815 | and future modification. | |
3816 | ||
76f57f3a JT |
3817 | 2002-02-13 Matt Fredette <fredette@netbsd.org> |
3818 | ||
3819 | * config/tc-m68k.c (md_show_usage): No longer display a | |
3820 | hard-coded "68020" for the default CPU, instead display the | |
3821 | canonical name of the true, configured default CPU. | |
3822 | (m68k_elf_final_processing): Mark objects for sub-68020 | |
3823 | CPUs with the new EF_M68000 flag. | |
3824 | ||
3bf057fa AS |
3825 | 2002-02-13 Andreas Schwab <schwab@suse.de> |
3826 | ||
3827 | * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust | |
3828 | pc-relative relocations to merge sections in 64-bit mode. | |
3829 | ||
6334e312 | 3830 | 2002-02-13 Ben Elliston <bje@redhat.com> |
1ac57253 BE |
3831 | |
3832 | * NEWS: Document floating point number handling in gasp. | |
3833 | * gasp.c: Include <assert.h> and "xregex.h". | |
3834 | (is_flonum): New function. | |
3835 | (chew_flownum): Likewise. | |
3836 | (change_base): Consume flonums from the input, where possible. | |
3837 | * doc/gasp.texi (Constants): Document floating point numbers. | |
3838 | ||
3dcfe21d AM |
3839 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3840 | ||
3841 | * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types | |
3842 | that implicitly use LR and RR selectors. | |
3843 | ||
913572ec AO |
3844 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
3845 | ||
3846 | * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' | |
3847 | and `epsw' as available on AM33 and above only. | |
3848 | (other_register_name): Add logic to handle machine type encoded in | |
3849 | reg_number. | |
3850 | ||
9b90b531 TR |
3851 | 2002-02-11 Tom Rix <trix@redhat.com> |
3852 | ||
949f2b5c | 3853 | * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for |
9b90b531 TR |
3854 | xcoff64. |
3855 | ||
6c6783ff | 3856 | 2002-06-11 Alexandre Oliva <aoliva@redhat.com> |
6c1b24e4 AO |
3857 | |
3858 | * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. | |
3859 | Use all over. | |
3860 | ||
6c6783ff | 3861 | 2002-02-11 Jan Hubicka <jh@suse.cz> |
7ecd2f8b JH |
3862 | |
3863 | * i386.c (md_assemble): Support 32bit address prefix. | |
3864 | (i386_displacement): Likewise. | |
3865 | (i386_index_check): Accept 32bit addressing in 64bit mode. | |
3866 | ||
7eb27ef2 AO |
3867 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
3868 | ||
3869 | * config/tc-sh.c (dot): Removed unused function. | |
3870 | ||
fa702524 AM |
3871 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
3872 | ||
3873 | * Makefile.am: "make dep-am". | |
3874 | * Makefile.in: Regenerate. | |
3875 | * aclocal.m4: Regenerate. | |
3876 | * config.in: Regenerate. | |
3877 | * configure: Regenerate. | |
3878 | * doc/Makefile.in: Regenerate. | |
3879 | ||
625e1353 RH |
3880 | 2002-02-10 Richard Henderson <rth@redhat.com> |
3881 | ||
3882 | * doc/c-alpha.texi: New file. | |
3883 | * doc/Makefile.am (CPU_DOCS): Add it. | |
3884 | * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. | |
3885 | ||
543833df RH |
3886 | 2002-02-09 Richard Henderson <rth@redhat.com> |
3887 | ||
3888 | * config/tc-alpha.c (O_samegp): New. | |
3889 | (USER_RELOC_P): Include it. | |
3890 | (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. | |
3891 | (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. | |
3892 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
3893 | (alpha_validate_fix): New. | |
3894 | * config/tc-alpha.h (TC_VALIDATE_FIX): New. | |
3895 | ||
328eb32e HPN |
3896 | 2002-02-09 Hans-Peter Nilsson <hp@axis.com> |
3897 | ||
3898 | * doc/c-cris.texi: New. | |
3899 | * doc/all.texi: @set CRIS. | |
3900 | * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. | |
3901 | Include c-cris.texi. | |
3902 | * doc/Makefile.am (CPU_DOCS): Add c-cris.texi | |
3903 | * doc/Makefile.in: Regenerate. | |
3904 | ||
6373ee54 CD |
3905 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
3906 | ||
3907 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to | |
3908 | determine if a number is a sign-extended 32-bit number. | |
3909 | (load_register): Use IS_SEXT_32BIT_NUM. | |
3910 | (macro): Check if load/store macro handling is using a | |
3911 | constant 32-bit address on 64-bit address systems, and if | |
3912 | so optimize the generation of that address. | |
3913 | ||
50a4c611 RH |
3914 | 2002-02-08 Richard Henderson <rth@redhat.com> |
3915 | ||
3916 | * config/tc-alpha.c (alpha_force_relocation): Don't assert that | |
3917 | we've eliminated all foreign relocation types yet. | |
3918 | (alpha_fix_adjustable): Likewise. | |
3919 | ||
324bfcf3 AO |
3920 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
3921 | ||
3922 | Contribute sh64-elf. | |
3923 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> | |
3924 | Stephen Clarke <Stephen.Clarke@st.com> | |
3925 | * doc/c-sh64.texi: Fix citation of SH64 architecture manual. | |
3926 | 2002-01-31 Alexandre Oliva <aoliva@redhat.com> | |
3927 | * config/tc-sh.c (md_relax_table): Added default sizes for | |
3928 | non-PC-relative UNDEF_MOVI, and relaxation sequences for | |
3929 | MOVI_16, MOVI_32 and MOVI_48. | |
3930 | * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. | |
3931 | (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI | |
3932 | and MOVI_16. | |
3933 | (shmedia_md_estimate_size_before_relax): Remove redundant | |
f6cf69d7 | 3934 | blocks. Set fragP->fr_var even if relaxation type unchanged. |
324bfcf3 AO |
3935 | Retain UNDEF_MOVI until expression decays to number. |
3936 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
3937 | * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC | |
3938 | relocation types. Take fixP->fx_addnumber into account too. | |
3939 | (shmedia_md_apply_fix): Likewise. | |
3940 | (shmedia_md_convert_frag): Likewise. | |
3941 | (shmedia_build_Mytes): Likewise. | |
3942 | (sh64_consume_datalabel): Complain about nested datalabel. | |
3943 | Support PIC relocs. Call sh_parse_name. | |
3944 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition | |
3945 | in tc-sh.h to SHmedia reloc types. | |
3946 | * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, | |
3947 | MOVI_GOTPC): New relaxation constants. | |
3948 | (md_relax_table): Introduce relaxation directives for PIC-related | |
3949 | constants. | |
3950 | (sh_PIC_related_p): Handle datalabel. | |
3951 | (sh_check_fixup): Choose SH5 PIC relocations. | |
3952 | (sh_cons_fix_new): Added BDF_RELOC_64. | |
3953 | (md_apply_fix3, sh_parse_name): Handle GOTPLT. | |
3954 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
3955 | * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the | |
3956 | current ISA is SHmedia, get 7 bytes. | |
3957 | 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> | |
3958 | * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a | |
3959 | void function. | |
3960 | * config/tc-sh64.c (shmedia_apply_fix): Rename to | |
3961 | shmedia_apply_fix3 and make void. | |
3962 | 2001-05-17 Alexandre Oliva <aoliva@redhat.com> | |
3963 | * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to | |
3964 | as_bad. | |
3965 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> | |
3966 | * config/tc-sh64.h (md_parse_name): Take &c as argument. | |
3967 | 2001-03-14 DJ Delorie <dj@redhat.com> | |
3968 | * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi | |
3969 | * doc/Makefile.in(CPU_DOCS): Ditto. | |
3970 | * doc/c-sh64.texi: New file. | |
3971 | * doc/as.texinfo: Add SH64 support. | |
3972 | 2001-03-13 DJ Delorie <dj@redhat.com> | |
3973 | * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to | |
3974 | A_REUSE_PREV so that its purpose is more obvious. | |
3975 | (shmedia_build_Mytes): Ditto. | |
3976 | 2001-03-07 DJ Delorie <dj@redhat.com> | |
3977 | * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels | |
3978 | before processing. | |
3979 | (sh64_vtable_inherit): Ditto. | |
3980 | (strip_datalabels): New, strip "datalabel" from given line. | |
3981 | * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable | |
3982 | pseudos. | |
3983 | 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
3984 | * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn | |
3985 | call ... | |
3986 | (shmedia_build_Mytes): ... to here. | |
3987 | 2001-03-06 DJ Delorie <dj@redhat.com> | |
3988 | * config/tc-sh.c: Remove sh64-specific uaquad now that there | |
3989 | is a generic one. | |
3990 | 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> | |
3991 | * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. | |
3992 | * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn | |
3993 | address by one in call to dwarf2_emit_insn. | |
3994 | 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> | |
3995 | Implement ".abi" pseudo and correct .cranges descriptors. Correct | |
3996 | alignment handling broken by imported changes. | |
3997 | * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. | |
3998 | (sh64_handle_align): Declare. | |
3999 | (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. | |
4000 | (sh64_max_mem_for_rs_align_code): Declare. | |
4001 | (enum sh64_isa_values): Moved here from tc-sh64.c. | |
4002 | (md_do_align): Define. | |
4003 | (sh64_do_align): Declare. | |
4004 | (struct sh64_tc_frag_data): New. | |
4005 | (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users | |
4006 | changed. | |
4007 | (TC_FRAG_INIT): Change to set new datatype. | |
4008 | (struct sh64_segment_info_type): Rename member | |
4009 | last_flushed_location to last_contents_mark. All users changed. | |
4010 | (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. | |
4011 | (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. | |
4012 | * config/tc-sh.c (md_pseudo_table): Add ".abi". | |
4013 | (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead | |
4014 | of unsetting seen_insn. | |
4015 | (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also | |
4016 | call sh64_update_contents_mark. | |
4017 | (sh_handle_align): Remove HAVE_SH64-conditioned code. | |
4018 | * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to | |
4019 | enum sh64_isa_values. | |
4020 | (sh64_set_contents_type): Drop segT parameter. All callers changed. | |
4021 | (emitting_crange): Boolean guard moved to file scope from function | |
4022 | scope in sh64_set_contents_type. | |
4023 | (s_sh64_abi): New. | |
4024 | (sh64_update_contents_mark): New; most split out from | |
4025 | sh64_flush_pending_output. | |
4026 | (shmedia_md_end): Call sh64_update_contents_mark. Set | |
4027 | sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. | |
4028 | (sh64_do_align): New function. | |
4029 | (sh64_max_mem_for_rs_align_code): New function. | |
4030 | (sh64_handle_align): Rename from shmedia_do_align. Make | |
4031 | non-static. Add head comment. Emit zero bytes for n bytes modulo | |
4032 | four. Change return-type to void. | |
4033 | (shmedia_elf_new_section): Remove. | |
4034 | (shmedia_md_assemble): Call sh64_update_contents_mark. | |
4035 | (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make | |
4036 | new frag. Call sh64_update_contents_mark after making the new | |
4037 | frag. | |
4038 | (sh64_flush_pending_output): Just call sh64_update_contents_mark | |
4039 | and sh_flush_pending_output. | |
4040 | (sh64_flag_output): Also call md_flush_pending_output, but add | |
4041 | condition on not emitting_crange. | |
4042 | (sh64_tc_cons_fix_new): Remove. | |
4043 | 2001-01-12 Nick Clifton <nickc@redhat.com> | |
4044 | * config/tc-sh64.c (shmedia_do_align): Fix to work with new | |
4045 | alignment handling scheme imported from sourceware. | |
4046 | 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
4047 | * config/tc-sh64.h (TARGET_FORMAT): Define. | |
4048 | (sh64_target_format): Prototype. | |
4049 | * config/tc-sh64.c (sh64_target_mach): New function. | |
4050 | 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
4051 | * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use | |
4052 | zero_address_frag instead of copying the frag of the symbol. | |
4053 | (shmedia_frob_file_before_adjust): Ditto. | |
4054 | (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask | |
4055 | to valueT to remove signedness. | |
f6cf69d7 | 4056 | (shmedia_md_convert_frag): Add parameter final. Rename parameter |
324bfcf3 AO |
4057 | headers to output_bfd. Do not evaluate symbols if final is false; |
4058 | do emit fixups. | |
4059 | (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, | |
4060 | UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative | |
4061 | to the current frag, call shmedia_md_convert_frag to emit fixups | |
f6cf69d7 | 4062 | and make frag_wane neutralize the frag. Update comments. |
324bfcf3 AO |
4063 | * config/tc-sh.c (md_convert_frag): Change caller of |
4064 | shmedia_md_convert_frag. | |
4065 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
4066 | * config/tc-sh64.h: Tweak comments and correct formatting. | |
4067 | * config/tc-sh64.c: Ditto. | |
4068 | (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit | |
4069 | expansion, MOVI pcrel expansion>: Fix thinko calculating offset | |
4070 | for the no-relocation case. | |
4071 | (shmedia_check_limits): Fix range check being off-by-one for PTA. | |
4072 | * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef | |
4073 | wrappers. | |
f6cf69d7 | 4074 | (SH64PCREL16_F): Increment for proper max-PTA handling. Update |
324bfcf3 AO |
4075 | comment. |
4076 | (SH64PCREL16_M, MOVI_16_M): Correct range thinko. | |
4077 | (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of | |
4078 | expansion. | |
4079 | (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. | |
4080 | Correct comment. | |
4081 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
4082 | * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case | |
4083 | BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. | |
4084 | (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et | |
4085 | al>: Set lowest bit of field to relocate to 1 and rest to empty, | |
949f2b5c | 4086 | if reloc is emitted. |
324bfcf3 AO |
4087 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> |
4088 | New options plus bugfixes. | |
4089 | * config/tc-sh.c (md_longopts): New options "-no-expand" and | |
4090 | "-expand-pt32". | |
4091 | (md_parse_option): Handle new options. | |
4092 | (md_show_usage): Add blurb for new options. | |
4093 | * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. | |
4094 | (sh64_expand, sh64_pt32): New variables. | |
4095 | (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. | |
4096 | (shmedia_md_apply_fix): Hold original fixP->fx_r_type in | |
f6cf69d7 | 4097 | orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into |
324bfcf3 AO |
4098 | BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. |
4099 | <resolved previously-pc-relative relocs>: Handle | |
4100 | SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. | |
4101 | (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), | |
4102 | case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand | |
4103 | points to SHcompact code. | |
4104 | <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, | |
4105 | SH64PCREL16)>: Check that ISA of what operand points at and | |
4106 | PTA/PTB matches, or emit error. | |
4107 | (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and | |
4108 | SHMEDIA_BFD_RELOC_PT. | |
4109 | (shmedia_immediate_op): If pcrel, emit fixup also for constant | |
4110 | operand. | |
4111 | (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in | |
4112 | condition for MOVI expansion. | |
4113 | <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if | |
4114 | sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not | |
4115 | sh64_expand. | |
4116 | <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT | |
4117 | fixup. | |
4118 | (sh64_target_format): Error-check setting of sh64_pt32 and | |
4119 | sh64_expand. Fix typo in check for sh64_shcompact_const_crange. | |
4120 | (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and | |
4121 | SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. | |
4122 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> | |
4123 | * config/tc-sh64.c: Improve comments. | |
4124 | (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do | |
4125 | not say the linker will check correctness of PTA/PTB expansion. | |
4126 | (shmedia_md_end): Make non-static. | |
4127 | * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add | |
4128 | prototype. | |
4129 | * config/tc-sh.c (sh_finalize): Remove. | |
4130 | * config/tc-sh.h (md_end): Do not define. | |
4131 | Remove prototype for sh_finalize. | |
4132 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
4133 | * config/tc-sh64.c (shmedia_frob_section_type): Use a struct | |
4134 | sh64_section_data container when storing section type in tdata | |
4135 | field in elf_section_data. | |
4136 | * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to | |
4137 | EF_SH5. | |
4138 | * Makefile.am: Update dependencies. | |
4139 | * Makefile.in: Regenerate. | |
4140 | 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> | |
4141 | * config/tc-sh64.c (shmedia_md_assemble): Don't protect | |
4142 | dwarf2_emit_insn call with test on debug_type. | |
4143 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
4144 | * config/tc-sh64.c (sh64_set_contents_type): Make contents-type | |
4145 | CRT_SH5_ISA32 sticky for 64-bit. | |
4146 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
4147 | Generate .crange sections when switching ISA mode or emitting | |
4148 | constants in same section as code. | |
4149 | * config/tc-sh64.c: Reformat structure definitions. | |
4150 | (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New | |
4151 | variables. | |
4152 | (sh64_set_contents_type): Rename from sh64_init_section. Rewrite | |
4153 | to emit a .cranges descriptor when contents type changes. Only | |
4154 | emit error if changing contents type and -no-mix is in effect. | |
4155 | (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, | |
4156 | sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. | |
4157 | (shmedia_md_end): Set sh64_end_of_assembly. Pass | |
4158 | sh64_flush_last_crange over sections. | |
4159 | When checking main symbol of datalabel symbol, check for | |
4160 | STO_SH5_ISA32, not ISA type of section in definition. | |
4161 | (shmedia_frob_file_before_adjust): Check main symbol for | |
4162 | STO_SH5_ISA32; don't check ISA type of section in definition. | |
4163 | (shmedia_frob_section_type): Adjust for .cranges; set section flag | |
4164 | to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether | |
4165 | .cranges entries have been output. | |
4166 | (shmedia_elf_new_section): Just call md_flush_pending_output. | |
4167 | (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE | |
4168 | fix. Do not set tc_segment_info_data.in_code for section. Call | |
4169 | sh64_set_contents_type for SHmedia code. | |
4170 | (s_sh64_mode): Do not call sh64_init_section or set seen_insn to | |
4171 | false. Call md_flush_pending_output. | |
4172 | (sh64_target_format): Check that -no-mix and | |
4173 | -shcompact-const-crange are used in sane combination with other | |
4174 | options. | |
4175 | (shmedia_md_pcrel_from_section): Check type of fix for how to | |
4176 | adjust pc-relative. | |
4177 | (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, | |
4178 | not ISA type of section in definition. | |
4179 | * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to | |
4180 | hold contents-type state. | |
4181 | (md_flush_pending_output): Redefine to sh64_flush_pending_output. | |
4182 | (sh64_flush_pending_output): Declare. | |
4183 | (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. | |
4184 | (sh64_tc_cons_fix_new): Declare. | |
4185 | * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and | |
4186 | call sh64_flag_output. | |
4187 | (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just | |
4188 | call sh64_set_contents_type to mark SHcompact code and set | |
4189 | seen_insn. | |
4190 | (md_longopts): New options "-no-mix" and | |
4191 | "-shcompact-const-crange". | |
4192 | (md_parse_option): Handle new options. | |
4193 | (md_show_usage): Add blurb for new options. | |
4194 | (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. | |
4195 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> | |
4196 | * config/tc-sh64.c: Delete investigated and obsolete fixme:s. | |
4197 | (sh64_last_insn_frag): New. | |
4198 | (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag | |
4199 | to get frag for insn opcode for generating fixups; do not assume it | |
4200 | is the same frag. | |
4201 | (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag | |
4202 | for new insn. | |
4203 | * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges | |
4204 | section. | |
4205 | (TC_FRAG_TYPE): Define as fragS *. | |
4206 | (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. | |
4207 | (sh64_last_insn_frag): Declare. | |
4208 | (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, | |
4209 | not == NULL before dereferencing. | |
4210 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
4211 | Get rid of BFD section flag and EF_SH64_ABI64. | |
4212 | * config/tc-sh64.c (shmedia_frob_section_type): Use | |
4213 | elf_section_data (sec)->tdata, not a specific BFD section flag, to | |
4214 | communicate the section as containing SHmedia code. Describe why. | |
4215 | * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set | |
4216 | EF_SH64 regardless of ABI. | |
4217 | * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" | |
4218 | in error message. Handle resolved expressions for | |
4219 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
4220 | BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. | |
4221 | (shmedia_check_limits): Handle BFD_RELOC_64. | |
4222 | (sh64_adjust_symtab): Do not decrement the GAS symbol value for | |
4223 | a STO_SH5_ISA32 symbol, only the BFD value. | |
4224 | 2000-12-11 Ben Elliston <bje@redhat.com> | |
4225 | * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct | |
4226 | dwarf2_generate_asm_lineno. | |
4227 | 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> | |
4228 | Handle PC-relative MOVI expansions with assembler relaxation. | |
4229 | Generate PC-relative relocs from 16-bit PC-relative expressions. | |
4230 | * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... | |
4231 | (shmedia_md_pcrel_from_section): ...here. | |
4232 | (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has | |
4233 | turned completely resolved. Adjust relocation type for 16-bit | |
f6cf69d7 | 4234 | immediate operands that has turned PC-relative. Adjust back for |
324bfcf3 AO |
4235 | MD_PCREL_FROM_SECTION being applied twice. |
4236 | (shmedia_md_convert_frag): Always emit reloc for expression with | |
4237 | global or weak symbol. Handle relaxation result for PC-relative | |
4238 | expressions. | |
4239 | (shmedia_md_estimate_size_before_relax): An expression with a weak | |
4240 | or global symbol can not be relaxed. Break out tests for | |
4241 | relaxable symbol into variable sym_relaxable. | |
4242 | <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, | |
4243 | UNDEF_MOVI)>: Break out any PC-relative expression and change | |
4244 | relaxation type. | |
4245 | (shmedia_build_Mytes): CSE &operands->operands[j] into variable | |
4246 | opjp. | |
4247 | <case A_IMMS16>: Fix typo for initial minor relaxation type of | |
f6cf69d7 | 4248 | MOVI expansion. If X_op_symbol of the immediate expression is |
324bfcf3 AO |
4249 | set, make an expression symbol for the argument to frag_var. |
4250 | * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New | |
4251 | relaxations. | |
4252 | (END): Adjust for new relaxations. | |
4253 | (md_relax_table): Add entries for new relaxations. | |
4254 | 2000-12-07 Ben Elliston <bje@redhat.com> | |
4255 | * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. | |
4256 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
4257 | * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and | |
4258 | SHORI operand offsets in PT/PTA/PTB expansions. | |
4259 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
4260 | Implement DataLabel semantics. | |
4261 | * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call | |
4262 | shmedia_frob_file_before_adjust. | |
4263 | * config/tc-sh64.c [! OBJ_ELF]: Emit #error. | |
4264 | (DATALABEL_SUFFIX): Define. | |
4265 | (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk | |
4266 | symbol list to update "datalabel" symbols to their main symbol | |
4267 | counterparts. | |
4268 | (shmedia_frob_file_before_adjust): New. | |
4269 | (sh64_adjust_symtab): For remaining datalabel symbols, set to | |
4270 | undefined and set STT_DATALABEL. | |
4271 | (sh64_frob_label): Initialize TC symbol field. | |
f6cf69d7 | 4272 | (sh64_consume_datalabel): Actually implement semantics. New |
324bfcf3 AO |
4273 | parameter operandf, call it instead of expression. |
4274 | (sh64_exclude_symbol): New. | |
4275 | * config/tc-sh64.h (md_parse_name): Pass on the function operand | |
4276 | to sh64_consume_datalabel. | |
4277 | (tc_symbol_new_hook): Define to tc_frob_symbol. | |
4278 | (TC_SYMFIELD_TYPE): Define to symbolS *. | |
4279 | (tc_frob_symbol): Define to call sh64_exclude_symbol. | |
4280 | 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> | |
4281 | * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default | |
4282 | case. | |
4283 | (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if | |
4284 | generating dwarf2 debug information. | |
4285 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
4286 | * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and | |
4287 | elf64-sh64 for the 64-bit ABI. | |
4288 | * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* | |
4289 | option. | |
4290 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
4291 | * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for | |
4292 | case-insensitivity. | |
4293 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
4294 | * config/tc-sh64.c: Tweak comments, formatting and error messages. | |
4295 | (enum sh64_abi_values): New type. | |
4296 | (enum sh64_isa_values): New type. | |
4297 | (sh64_isa_mode): Replace shmedia_mode. All referers changed. | |
4298 | (seen_shcompact_mode, seen_shmedia_mode): Delete. | |
4299 | (sh64_abi): Replace shmedia_64. | |
4300 | (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), | |
4301 | C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. | |
4302 | (s_sh64_mode): Check validity for this target. | |
4303 | (sh64_target_format): Initialize defaults for ISA and ABI. | |
4304 | Fallback to old object format if no SH64 ISA or ABI has been | |
4305 | specified. | |
4306 | * config/tc-sh.c (md_parse_option): Check combinations for errors. | |
4307 | (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit | |
4308 | ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. | |
4309 | * config/tc-sh64.h: Fix typo in comment. | |
4310 | 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> | |
4311 | * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) | |
4312 | <PT fixups for absolute values>: Size will be longest, not | |
4313 | shortest. | |
4314 | (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct | |
4315 | all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. | |
4316 | * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 | |
4317 | and l1 to hold lowercase of two first characters. Change all | |
4318 | remaining TO_LOWER to tolower. | |
4319 | * config/tc-sh64.c (TO_LOWER): Delete. | |
4320 | (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. | |
4321 | (md_parse_name): Define. | |
4322 | (sh64_consume_datalabel): Declare. | |
4323 | (DOLLAR_DOT): Define. | |
4324 | * config/tc-sh64.c (shmedia_parse_exp): New. | |
4325 | (sh64_consume_datalabel): New; just ignoring datalabel semantics. | |
4326 | (shmedia_parse_reg): Remove const from src | |
4327 | parameter. | |
4328 | (shmedia_get_operands): Ditto for args parameter and ptr variable. | |
4329 | (shmedia_md_assemble): Ditto for op_end variable. | |
4330 | (shmedia_get_operand): Ditto for ptr parameter and src variable. | |
4331 | Use shmedia_parse_exp, not parse_exp. | |
4332 | * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type | |
4333 | parameter. All callers changed. | |
4334 | (shmedia_get_operand): Add shmedia_arg_type parameter. All | |
4335 | callers changed. | |
4336 | (shmedia_parse_reg): Put first two character in local variables. | |
4337 | Use tolower, not TO_LOWER. If no register is found and argtype | |
4338 | indicates a control register, scan shmedia_creg_table | |
4339 | case-insensitive. | |
4340 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
4341 | * Makefile.am (CPU_TYPES): Add sh64. | |
4342 | (TARGET_CPU_CFILES): Add config/tc-sh64.c. | |
4343 | (TARGET_CPU_HFILES): Add config/tc-sh64.h. | |
4344 | Regenerate dependencies. | |
4345 | * Makefile.in: Regenerate. | |
4346 | * configure.in: Add support for sh64-*-elf*. | |
4347 | * configure: Regenerate. | |
4348 | * config/tc-sh64.h: New. | |
4349 | * config/tc-sh64.c: New. | |
4350 | * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos | |
4351 | .mode, .isa and .uaquad. | |
4352 | [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, | |
4353 | SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. | |
4354 | [HAVE_SH64] (END): Define as 10. | |
4355 | [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, | |
4356 | SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, | |
4357 | MOVI_64): Define. | |
4358 | [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, | |
4359 | SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, | |
4360 | SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, | |
4361 | MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): | |
4362 | Define. | |
4363 | (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. | |
4364 | (md_begin) [HAVE_SH64]: Call shmedia_md_begin. | |
4365 | (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. | |
4366 | (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling | |
4367 | SHmedia instructions. Handle state-change after switching to | |
4368 | SHcompact. | |
4369 | (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. | |
4370 | (md_parse_option) [HAVE_SH64]: Parse new options. | |
4371 | (md_show_usage) [HAVE_SH64]: Show usage of new options. | |
4372 | (md_convert_frag) [HAVE_SH64] <default>: Call | |
4373 | shmedia_md_convert_frag instead of abort. | |
4374 | (sh_force_relocation) [HAVE_SH64]: Also force relocation for | |
4375 | BFD_RELOC_SH_SHMEDIA_CODE. | |
4376 | (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying | |
4377 | SHcompact or SHmedia code. | |
4378 | (md_apply_fix) [HAVE_SH64] <default>: Return result from calling | |
4379 | shmedia_md_apply_fix instead of abort. | |
4380 | (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return | |
4381 | result from calling shmedia_md_estimate_size_before_relax instead | |
4382 | of calling abort. | |
4383 | (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align | |
4384 | do the work. | |
4385 | (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call | |
4386 | shmedia_init_reloc and do nothing more if it returns non-zero. | |
4387 | (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. | |
4388 | * po/POTFILES.in: Regenerate. | |
4389 | * po/gas.pot: Regenerate. | |
4390 | ||
ac3f04d7 AO |
4391 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
4392 | ||
6b32719e AO |
4393 | * config/tc-sh.c (parse_at): Install the correct version of |
4394 | 2002-02-04's patch. | |
949f2b5c | 4395 | |
ac3f04d7 AO |
4396 | * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't |
4397 | assume fixP->fx_subsy is non-NULL. | |
4398 | ||
7679ead9 AO |
4399 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> |
4400 | ||
4401 | * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to | |
fdf4122d | 4402 | A_DISP_PC_ABS, and adjust it by -4. |
7679ead9 AO |
4403 | (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is |
4404 | expected. | |
4405 | (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if | |
4406 | the operand type is not A_DISP_PC_ABS. | |
4407 | ||
5459d7a0 HPN |
4408 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
4409 | ||
4410 | * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of | |
4411 | common and weak symbols. Handle common and weak symbols as | |
4412 | undefined symbols with regards to GREG handling and merging. | |
4413 | (mmix_frob_file): Ditto. | |
4414 | ||
006336b8 JT |
4415 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
4416 | ||
4417 | * configure.in (hppa-*-netbsd*): New target. | |
4418 | * configure: Regenerate. | |
4419 | * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. | |
4420 | ||
9e0665bc AM |
4421 | 2002-02-02 Alan Modra <amodra@bigpond.net.au> |
4422 | ||
4423 | * config/tc-v850.c: Add missing prototypes amd use old-style | |
4424 | function definitions. | |
4425 | (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. | |
4426 | (sdata_section tdata_section, zdata_section, sbss_section, | |
4427 | tbss_section, zbss_section, rosdata_section, rozdata_section, | |
4428 | scommon_section, tcommon_section, zcommon_section, | |
4429 | call_table_data_section, call_table_text_section): Delete. | |
4430 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
4431 | v850_zbss, v850_bss, v850_rosdata, v850_rozdata, | |
4432 | v850_call_table_data, v850_call_table_text): Delete. | |
4433 | (struct v850_seg_entry): New. | |
4434 | (v850_seg_table): New. | |
4435 | (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, | |
4436 | TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, | |
4437 | ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, | |
4438 | CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. | |
4439 | (do_v850_seg): New. | |
4440 | (v850_seg): New. | |
4441 | (v850_comm): Use do_v850_seg and v850_seg_table. Simplify | |
4442 | recording of alignment. | |
4443 | (md_pseudo_table): Use v850_seg. | |
4444 | (md_begin): Don't init .call_table_data and .call_table_text here. | |
4445 | Set v850_seg_table bss entry. | |
4446 | ||
973eb340 HPN |
4447 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
4448 | ||
4449 | Support on-demand global register allocation by passing on | |
4450 | base-plus-offset relocs to the linker. | |
4451 | * config/tc-mmix.c: Tweak and fix typos in comments. | |
949f2b5c | 4452 | (allocate_undefined_gregs_in_linker): New variable. |
973eb340 HPN |
4453 | (OPTION_LINKER_ALLOCATED_GREGS): New option macro. |
4454 | (md_longopts): Add --linker-allocated-gregs. | |
4455 | (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. | |
4456 | <case OPTION_LINKER_ALLOCATED_GREGS>: New. | |
4457 | (md_show_usage): Update text for -x. Add text for | |
4458 | --linker-allocated-gregs. | |
4459 | (tc_gen_reloc): Derive default value for addend from val and | |
4460 | baddsy. Use addsec and bfd_is_abs_section in more places. Don't | |
4461 | emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable | |
4462 | GREG if allocate_undefined_gregs_in_linker. | |
4463 | * doc/as.texinfo (Overview) <Target MMIX options>: Add | |
4464 | --linker-allocated-gregs. | |
4465 | * doc/c-mmix.texi (MMIX-Opts): Add blurb about | |
4466 | --linker-allocated-gregs. Mention that it's implied by -x. | |
4467 | (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. | |
4468 | (MMIX-mmixal): Clarify dated comparison and location of MMIXware. | |
4469 | ||
4470 | * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. | |
4471 | ||
ba323545 AM |
4472 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
4473 | ||
4474 | * Makefile.am: Run "make dep-am" | |
4475 | * Makefile.in: Regenerate. | |
4476 | ||
3b16e843 NC |
4477 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
4478 | ||
4479 | * config/tc-or32.c: New file. | |
4480 | * config/tc-or32.h: New file. | |
4481 | * configure.in: Add support for or32 targets. | |
4482 | * configure: Regenerate. | |
4483 | * config/obj-coff.c: Add support for or32 targets. | |
4484 | * config/obj-coff.h: Add support for or32 targets. | |
4485 | * Makefile.am: Add support for or32 targets. | |
4486 | * Makefile.in: Regenerate. | |
4487 | * NEWS: Mention support for OpenRISC. | |
4488 | * doc/Makefile.in: Regenerate. | |
4489 | * po/POTFILES.in: Regenerate. | |
4490 | * po/gas.pot: Regenerate. | |
4491 | ||
912a07db RS |
4492 | 2002-01-30 Richard Sandiford <rsandifo@redhat.com> |
4493 | ||
4494 | * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy | |
4495 | and mod. | |
4496 | ||
4514d474 CD |
4497 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
4498 | ||
4499 | * config/tc-mips.c (tc_gen_reloc): Arrange for | |
4500 | BFD_RELOC_PCREL_HI16_S relocations to be output relative to | |
4501 | their LO16 parts, even for ELF. | |
4502 | ||
246fcdee DJ |
4503 | 2002-01-29 Daniel Jacobowitz <drow@mvista.com> |
4504 | ||
4505 | * config/tc-i386.c: Protect definitions of true and false | |
4506 | from redefinition. | |
4507 | ||
00e6e13d JJ |
4508 | 2002-01-28 Jakub Jelinek <jakub@redhat.com> |
4509 | ||
4510 | * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols | |
4511 | made because of .weak, if they are neither defined nor used in any | |
4512 | way. | |
4513 | ||
4867be41 DJ |
4514 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
4515 | ||
4516 | * configure: Regenerated. | |
4517 | ||
7562a296 HPN |
4518 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
4519 | ||
4520 | * doc/Makefile.am (install): Depend on install-info. | |
4521 | * doc/Makefile.in: Regenerate. | |
4522 | ||
1caa7b23 NC |
4523 | 2002-01-26 Nick Clifton <nick@redhat.com> |
4524 | ||
4525 | * po/fr.po: Updated version | |
4526 | ||
166e23f9 KH |
4527 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
4528 | ||
4529 | * config/tc-h8300.c (check_operand): Don't print a warning | |
4530 | when a valid 24-bit address is given to a 16-bit address | |
4531 | operand. | |
4532 | ||
538cd60f AO |
4533 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
4534 | ||
4535 | * config/tc-sh.c (sh_elf_suffix): Removed. | |
4536 | (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, | |
4537 | sh_end_of_match, sh_parse_name): New functions. | |
4538 | (sh_elf_cons): Simplify. | |
4539 | (parse_exp): Reject misplaced PIC operands. | |
4540 | (md_undefined_symbol): Simplify. | |
4541 | (sh_fix_adjustable): Let @GOTOFF be adjusted. | |
4542 | (md_apply_fix3): Write @PLT and @GOTOFF addends in place. | |
4543 | (tc_gen_reloc): Move fixp subsy absolute value into addnumber. | |
4544 | Complain if subsy remains at the end. | |
4545 | * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. | |
4546 | (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. | |
4547 | ||
b386f24b AO |
4548 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
4549 | ||
4550 | * config/tc-mn10300.c (xr_registers): Move `pc'... | |
4551 | (other_registers): ... here. | |
4552 | ||
c46f0c34 AM |
4553 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
4554 | ||
4555 | * Makefile.am: Run "make dep-am". | |
4556 | * Makefile.in: Regenerate. | |
4557 | * gas/po/POTFILES.in: Regenerate. | |
4558 | ||
23deb923 DD |
4559 | 2002-01-21 DJ Delorie <dj@redhat.com> |
4560 | ||
4561 | * config/obj-coff.c (obj_coff_init_stab_section): Make the | |
4562 | stabstr_name allocation permanent, as it will be referenced from | |
4563 | the section hash. | |
4564 | ||
9596feea JT |
4565 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
4566 | ||
4567 | * configure.in (ia64-*-netbsd*): New target. | |
949f2b5c | 4568 | * configure: Regenerate. |
9596feea | 4569 | |
92081f48 HPN |
4570 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
4571 | ||
4572 | * doc/as.texinfo (Overview) <Target ARM options>: Add missing {} | |
4573 | to @dots call. | |
4574 | <Detailed description, ARM options>: Ditto. | |
4575 | * doc/c-arm.texi (ARM Options): Ditto. | |
4576 | ||
63e63b07 RE |
4577 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
4578 | ||
4579 | * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from | |
4580 | do_mia, do_mar and do_mra respectively. | |
4581 | (do_mav_*): Renamed from do_c_*. | |
4582 | (mav_reg_required_here, mav_parse_offset): Renamed from | |
4583 | cirrus_reg_required_here and cirrus_parse_offset respectively. | |
4584 | (MAV_MODE?): Renamed from CIRRUS_MODE?. | |
4585 | ||
ea6ef066 RE |
4586 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
4587 | Keith Walker <keith.walker@arm.com> | |
4588 | ||
4589 | * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. | |
4590 | (insns): Add pattern for bxj instruction. | |
4591 | (do_bxj): New function. | |
4592 | (arm_cpus): Add arm926ej. | |
4593 | (arm_archs): Add armv5tej. | |
4594 | ||
bc89618b RE |
4595 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
4596 | ||
4597 | * doc/c-arm.texi: Add new fpe options to list of supported flags. | |
4598 | ||
d193a22a RE |
4599 | 2002-01-19 Keith Walker <keith.walker@arm.com> |
4600 | ||
4601 | * tc-arm.c (arm_fpus): Add fpe2 and fpe3. | |
4602 | ||
03b1477f RE |
4603 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
4604 | ||
4605 | * NEWS: Mention new ARM command-line options and VFP support. | |
4606 | ||
949f2b5c | 4607 | * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All |
03b1477f RE |
4608 | uses changed. |
4609 | (ARM_CEXT_MAVERICK): Similarly. | |
4610 | (ARM_ANY): Now means any core instruction. | |
4611 | (CPU_DEFAULT): Default to ARM_ANY. | |
4612 | (uses_apcs_26, atcps, support_interwork, uses_apcs_float) | |
4613 | (pic_code): Declare for all object types. Make type int. | |
4614 | (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) | |
4615 | (march_fpu_opt, mfpu_opt): Declare. | |
4616 | (md_longopts): Tidy up conditional definitions. | |
4617 | (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) | |
4618 | (arm_long_opts): New tables. | |
4619 | (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. | |
4620 | (arm_parse_extension): New function. | |
4621 | (md_parse_option): Rewrite using new table-driven system. | |
4622 | (md_show_usage): Use new table-driven system. | |
4623 | (md_begin): Calculate cpu_variant from command line option data. | |
4624 | * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific | |
4625 | command-line options. | |
4626 | * doc/c-arm.texi: Likewise. | |
4627 | ||
2a538ba5 AJ |
4628 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
4629 | ||
4630 | * as.c (parse_args): Update year. | |
4631 | ||
b1ffc257 | 4632 | 2002-01-17 Timothy Wall <twall@alum.mit.edu> |
2a538ba5 | 4633 | |
b1ffc257 TW |
4634 | * config/tc-tic54x.c (encode_address): Add a more informative |
4635 | warning about incorrect syntax. | |
4636 | ||
328577ad NC |
4637 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
4638 | ||
4639 | * po/gas.pot: Regenerate. | |
4640 | ||
06f030db NC |
4641 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
4642 | ||
4643 | * macro.c (get_any_string): Add no-c-format comment to prevent | |
4644 | confusion when translating string. | |
4645 | * gasp.c (get_any_string): Add no-c-format comment to prevent | |
4646 | confusion when translating string. | |
4647 | ||
394f9b3a TS |
4648 | 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
4649 | Johannes Stezenbach <js@convergence.de> | |
4650 | * config/tc-mips.c (percent_op): Ensure longer percent_op's are | |
4651 | matched before the shorter ones. | |
4652 | (my_getSmallParser): Fix handling of nested parentheses in | |
4653 | percent_op's. Code cleanup. | |
4654 | (my_getPercentOp): New function, code from my_getSmallParser. | |
4655 | (my_getSmallExpression): Fix handling of closing parentheses. | |
4656 | Code cleanup. Better comments. | |
4657 | ||
af3ae48d NC |
4658 | 2002-01-16 Nick Clifton <nickc@redhat.com> |
4659 | ||
4660 | po/tr.po: New file: Turkish translation. | |
4661 | configure.in (LINGUAS): Add "tr". | |
4662 | configure: Regenerate. | |
4663 | ||
bfae80f2 RE |
4664 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
4665 | ||
4666 | Support for VFP instructions | |
4667 | * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. | |
4668 | (cp_address_required_here): New argument wb_ok. When false, do not | |
4669 | accept write-back forms of addressing. Change all callers. | |
4670 | (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) | |
4671 | (FPU_VFP_EXT_V2): Define. | |
4672 | (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): | |
4673 | Define in terms of above. | |
4674 | (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. | |
4675 | (vfp_reg): New struct. | |
4676 | (vfp_regs): New array of registers. | |
4677 | (insns): Add VFP instructions. | |
4678 | (sn_table): New array of VFP single-precision register names. | |
4679 | (dn_table): New array of VFP double-precision register names. | |
4680 | (all_reg_maps): Add the new register tables. | |
4681 | (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. | |
4682 | (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) | |
4683 | (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) | |
4684 | (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) | |
4685 | (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) | |
4686 | (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) | |
4687 | (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) | |
4688 | (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) | |
4689 | (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) | |
4690 | (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) | |
4691 | (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) | |
4692 | (do_vfp_sp_dp_cvt): New functions. | |
4693 | (md_begin): Set soft-float flag for appropriate VFP work. | |
4694 | (md_atof): Handle VFP-format doubles. | |
4695 | (md_parse_option): Handle VFP command-line options. | |
4696 | (md_show_usage): Display VFP command-line options. | |
4697 | ||
fcd6d8d6 RE |
4698 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
4699 | ||
2a538ba5 | 4700 | * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for |
fcd6d8d6 RE |
4701 | various command line options. |
4702 | ||
1f7fd478 NC |
4703 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
4704 | ||
4705 | * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix | |
4706 | vtinherit relocs. | |
4707 | (xstormy16_md_apply_fix3): Do not return a value. | |
4708 | ||
21f0f23a RE |
4709 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
4710 | ||
4711 | * tc-arm.c (md_longopts): On targets that aren't bi-endian, support | |
4712 | the -EL/-EB option that matches the target's endianness. | |
4713 | (md_parse_option): Likewise. | |
4714 | ||
ce058b6c RE |
4715 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
4716 | ||
2a538ba5 | 4717 | * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option |
ce058b6c RE |
4718 | is not dependent on ARM_BI_ENDIAN. |
4719 | ||
f03698e6 RE |
4720 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
4721 | ||
4722 | * tc-arm.c (all error messages): Normalize capitalization of messages. | |
4723 | ||
4724 | * tc-arm.h (md_operand): Delete define. | |
4725 | * tc-arm.c (in_my_get_expression): New static variable. | |
4726 | (my_get_expression): Set and clear it. | |
4727 | (md_operand): New function. If called from my_get_expression | |
4728 | put the error in inst.error. | |
4729 | (output_inst): Now takes argument of instruction being assembled. | |
4730 | Print it out with any error message. | |
4731 | (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store | |
4732 | with '=' syntax. | |
4733 | (end_of_line): Don't update inst.error if it is already set. | |
4734 | ||
e28cd48c RE |
4735 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
4736 | ||
6088b00e | 4737 | * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo |
e28cd48c RE |
4738 | op that can be translated into a mvn instruction. |
4739 | ||
1cd8ff38 NC |
4740 | 2002-01-11 Steve Ellcey <sje@cup.hp.com> |
4741 | ||
4742 | * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for | |
4743 | setting default md.flags. | |
4744 | (SHT_INIT_ARRAY): New elf special section used by HP-UX. | |
4745 | (SHT_FINI_ARRAY): New elf special section used by HP-UX. | |
4746 | * gas/config/tc-ia64.c (setup_unwind_header): Add support | |
4747 | for 32 bit unwind info blocks. | |
4748 | (generate_unwind_image): Add support for different types | |
4749 | of unwind images (32 bits and/or big-endian). | |
4750 | (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. | |
4751 | (ia64_target_format): Add support for hpux target formats. | |
4752 | (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. | |
4753 | (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and | |
4754 | SHT_FINI_ARRAY elf section types. | |
4755 | ||
6c43fab6 RE |
4756 | 2002-01-10 Richard Earnshaw <rearnsha@arm.com> |
4757 | ||
4758 | * tc-arm.c (struct reg_entry): Move before prototypes. | |
4759 | (int_register, cp_register, fp_register): Delete. | |
4760 | (reg_table): Delete. Replaced with ... | |
4761 | (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) | |
4762 | (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) | |
4763 | (mav_dspsc_table): ... one table per register set. | |
4764 | (arm_reg_hsh): Delete. | |
4765 | (struct reg_map): New structure. | |
4766 | (all_reg_maps): New array. | |
4767 | (enum arm_reg_type): New enums. | |
4768 | (build_reg_hsh): New function. | |
4769 | (insert_reg_alias): Use hash table passed by caller. Adjust all | |
4770 | callers. | |
4771 | (create_register_alias): New function, split out from ... | |
4772 | (md_assemble): ... here. | |
4773 | (md_begin): Build new register hash tables. | |
4774 | (arm_reg_parse): New argument for the hash table to search. Adjust all | |
4775 | callers. | |
4776 | (arm_reg_parse_any): New function. | |
4777 | (co_proc_number): Look up the processor number in the processor hash | |
4778 | table. | |
4779 | (cirrus_regtype): Delete. | |
4780 | (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) | |
4781 | (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) | |
4782 | (ARM_EXT_MAVERICKsc_register): Delete. | |
4783 | (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. | |
4784 | (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New | |
4785 | functions. | |
4786 | (do_c_triple_4, do_c_triple_5): Delete. | |
4787 | (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. | |
4788 | (do_c_quad_6): Delete. | |
4789 | (do_c_quad_6[ab]): New functions. | |
4790 | (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework | |
4791 | arguments to use new register parsing methods. | |
4792 | (cirrus_reg_required_here): Likewise. | |
4793 | (insns): Reclassify cirrus maverick worker functions. | |
4794 | (cirrus_valid_reg): Delete. | |
4795 | ||
8d05742f JT |
4796 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
4797 | ||
4798 | * configure.in (sh*le): Set cpu_type=sh and endian=little. | |
4799 | (sh*-*-netbsdelf*): New target. | |
4800 | * configure: Regenerate. | |
2a538ba5 | 4801 | * tc-sh.h: Update copyright years. |
8d05742f JT |
4802 | (TARGET_FORMAT): Add version for TE_NetBSD. |
4803 | ||
ceac3f62 NC |
4804 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
4805 | ||
4806 | * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go | |
4807 | negative. | |
4808 | ||
d7861ad2 AM |
4809 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
4810 | ||
4811 | * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. | |
4812 | * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. | |
4813 | ||
7a621144 DJ |
4814 | 2002-01-05 Daniel Jacobowitz <drow@mvista.com> |
4815 | ||
4816 | * tc-mips.c (mips_cprestore_valid): New flag. | |
4817 | (mips_frame_reg_valid): New flag. | |
4818 | (macro) [M_JAL_2]: Check both flags. | |
4819 | [M_JAL_A]: Likewise. | |
4820 | (s_cprestore): Set mips_cprestore_valid. | |
4821 | (tc_get_register): If setting mips_frame_reg, set | |
4822 | mips_frame_reg_valid and clear mips_cprestore_valid. | |
4823 | (s_mips_ent): Clear both flags. | |
4824 | (s_mips_end): Clear both flags. | |
4825 | ||
7c6beb69 AM |
4826 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
4827 | ||
4828 | * write.c (write_object_file): Make use of bfd_section_list_remove. | |
4829 | * config/obj-ecoff.c (ecoff_frob_file): Likewise. | |
4830 | * config/tc-mmix.c (mmix_frob_file): Likewise. | |
4831 | ||
8a8b2d4b AJ |
4832 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
4833 | ||
4834 | * configure.in (i386-*-netbsdelf*): Collapse target into... | |
4835 | (i386-*-netbsd*): ...this. Add support for x86-64. | |
4836 | * configure: Regenerated. | |
4837 | ||
a09cf9bd MG |
4838 | 2002-01-03 matthew green <mrg@redhat.com> |
4839 | ||
4840 | * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. | |
4841 | ||
23b7f870 NC |
4842 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
4843 | ||
4844 | * config/tc-m68k.c (md_estimate_size_before_relax): Test for a | |
4845 | NULL frag link. | |
4846 | ||
08d56133 NC |
4847 | For older changes see ChangeLog-0001 |
4848 | \f | |
4849 | Local Variables: | |
4850 | mode: change-log | |
4851 | left-margin: 8 | |
4852 | fill-column: 74 | |
4853 | version-control: never | |
4854 | End: |