Commit | Line | Data |
---|---|---|
29589b0c AM |
1 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. | |
4 | * Makefile.in: Regenerate. | |
5 | * dep-in.sed: Reorder to match OBJS in Makefile.am. | |
6 | * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. | |
7 | * configure: Regenerate. | |
8 | * as.h: Use #include "" instead of <> for local header files. | |
9 | * flonum-konst.c: Likewise. | |
10 | * flonum-mult.c: Likewise. | |
11 | * gasp.c: Likewise. | |
12 | * listing.c: Likewise. | |
13 | * config/tc-ia64.h: Likewise. | |
14 | * config/tc-v850.h: Likewise. | |
15 | ||
436e8db0 NC |
16 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
17 | ||
18 | * configure.in: Add a target for i386-netbsdpe. | |
19 | * configure: Regenerate. | |
20 | ||
13ae64f3 JJ |
21 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
22 | ||
23 | * config/obj-elf.c (elf_common): Renamed from obj_elf_common. | |
24 | (obj_elf_common): Call elf_common. | |
25 | (obj_elf_tls_common): New function. | |
26 | (elf_pseudo_tab): Support .tls_common. | |
27 | (special_sections): Add .tdata and .tbss. | |
28 | (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS | |
29 | sections. | |
30 | (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). | |
31 | (obj_elf_parse_section_letters): Include T in error message. | |
32 | * config/tc-ppc.c (ppc_section_letter): Likewise. | |
33 | * config/tc-alpha.c (alpha_elf_section_letter): Likewise. | |
34 | (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as | |
35 | SEC_MERGE. | |
36 | * config/tc-sparc.c (md_apply_fix3): Likewise. | |
37 | * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. | |
38 | Define them if not BFD_ASSEMBLER. | |
39 | (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF | |
40 | and @NTPOFF. | |
41 | (md_apply_fix3): Add TLS relocs. | |
42 | * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, | |
43 | FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, | |
44 | FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. | |
45 | (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). | |
46 | (ia64_elf_section_letter): Include T in error message. | |
47 | (md_begin): Support TLS operators. | |
48 | (md_operand): Likewise. | |
49 | (ia64_gen_real_reloc_type): Support TLS relocs. | |
50 | * testsuite/gas/i386/tlspic.s: New file. | |
51 | * testsuite/gas/i386/tlsd.s: New file. | |
52 | * testsuite/gas/i386/tlsnopic.s: New file. | |
53 | * testsuite/gas/i386/tlsd.d: New file. | |
54 | * testsuite/gas/i386/tlsnopic.d: New file. | |
55 | * testsuite/gas/i386/tlspic.d: New file. | |
56 | * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests. | |
57 | * testsuite/gas/ia64/tls.s: New file. | |
58 | * testsuite/gas/ia64/tls.d: New file. | |
59 | * testsuite/gas/ia64/ia64.exp: Add tls test. | |
60 | * write.c (adjust_reloc_syms): Don't change symbols in | |
61 | SEC_THREAD_LOCAL sections to STT_SECTION + addend. | |
62 | ||
c62e1cc3 NC |
63 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
64 | ||
65 | * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc | |
66 | round the relocation up rather than down. | |
67 | ||
6ff96af6 NC |
68 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
69 | ||
70 | * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' | |
71 | flag. | |
72 | * doc/as.texinfo: Document that the COFF version of .section | |
73 | ignores the 'a' flag. | |
74 | ||
18e1d487 AM |
75 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
76 | ||
69108c1f AM |
77 | * config/tc-alpha.c (assemble_tokens): Protect use of |
78 | ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. | |
79 | ||
18e1d487 AM |
80 | * write.c (size_seg): Check adjustment to last frag. |
81 | (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to | |
82 | section alignment. | |
83 | * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. | |
84 | * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. | |
85 | (write_object_file): Invoke md_do_align if available, and use | |
86 | frag_align_code on text sections. | |
87 | * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. | |
88 | * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. | |
89 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. | |
90 | * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. | |
91 | * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for | |
92 | BFD_ASSEMBLER too. | |
93 | ||
9d66a1d9 L |
94 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
95 | ||
96 | * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file | |
97 | for source file. | |
98 | ||
76feaaf3 NC |
99 | 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com> |
100 | ||
101 | * config/tc-arm.c (arm_s_section): Enable for COFF builds as well | |
102 | as ELF builds. | |
103 | ||
1080e97d L |
104 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
105 | ||
106 | * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol | |
107 | for one .loc for compiler. | |
108 | ||
c90bbe5b TS |
109 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
110 | ||
111 | * config/tc-mips.c (macro): Relax warning, it's toot strict for | |
112 | embedded-PIC. | |
113 | ||
771c7ce4 TS |
114 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
115 | ||
116 | * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. | |
117 | Optimize the rotate by zero case. | |
118 | ||
fa70f2ed NC |
119 | 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com> |
120 | ||
121 | * configure.in: Remove accidental enabling of bfd_gas=yes for | |
122 | sh-coff targets. | |
123 | * configure: Regenerate. | |
124 | ||
411863a4 KH |
125 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
126 | ||
127 | * app.c: Fix formatting. | |
128 | * as.c: Likewise. | |
129 | * ehopt.c: Likewise. | |
130 | * expr.c: Likewise. | |
131 | * input-file.c: Likewise. | |
132 | * listing.c: Likewise. | |
133 | * macro.h: Likewise. | |
134 | * stabs.c: Likewise. | |
135 | * symbols.c: Likewise. | |
136 | ||
29589b0c AM |
137 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
138 | ||
139 | * doc/internals.texi (md_apply_fix3): Expand. | |
140 | (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS, | |
141 | TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME, | |
142 | TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, | |
143 | TC_FIX_ADJUSTABLE): Document. | |
144 | * symbols.c (S_FORCE_RELOC): New function. | |
145 | * symbols.h (S_FORCE_RELOC): Declare. s/CONST/const/. | |
146 | * config/obj-aout.h (S_FORCE_RELOC): Define. | |
147 | * config/obj-bout.h (S_FORCE_RELOC): Define. | |
148 | * config/obj-coff.h (S_FORCE_RELOC): Define. Formatting fixes. | |
149 | * config/obj-ieee.h (S_FORCE_RELOC): Define. Formatting fixes. | |
150 | * config/obj-vms.h (S_FORCE_RELOC): Define. | |
151 | * expr.c (clean_up_expression <O_subtract>): Use S_FORCE_RELOC | |
152 | instead of SEG_NORMAL. Allow diff != 0. | |
153 | (expr <O_subtract>): Use S_FORCE_RELOC instead of SEG_NORMAL. | |
154 | * read.c (pseudo_set): Likewise. | |
155 | * write.c (TC_FORCE_RELOCATION_ABS): Define. | |
156 | (TC_FORCE_RELOCATION_LOCAL): Define, replaces.. | |
157 | (TC_RELOC_RTSYM_LOC_FIXUP): ..this. Remove. | |
158 | (TC_FORCE_RELOCATION_SUB_SAME): Define, replaces.. | |
159 | (TC_FORCE_RELOCATION_SECTION): ..this. Remove. | |
160 | (TC_FORCE_RELOCATION_SUB_ABS): Define. | |
161 | (TC_FORCE_RELOCATION_SUB_LOCAL): Define. | |
162 | (RELOC_ENUM): Define. | |
163 | (fix_new_internal): Use RELOC_ENUM. | |
164 | (fix_new): Likewise. | |
165 | (fix_new_exp): Likewise. | |
166 | (adjust_reloc_syms): Split out code setting used_in_reloc to.. | |
167 | (mark_reloc_syms): ..here. New function. Use S_FORCE_RELOC. | |
168 | (write_object_file): Call mark_reloc_syms. | |
169 | (write_relocs): Formatting. Avoid symbol loops in | |
170 | RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange | |
171 | errors, and error number in other cases. | |
172 | (fixup_segment): Rewrite. | |
173 | * config/tc-alpha.h (TC_FORCE_RELOCATION_LOCAL): Define, replaces.. | |
174 | (TC_RELOC_RTSYM_LOC_FIXUP): Delete. | |
175 | * config/tc-arm.h: Likewise. | |
176 | * config/tc-cris.h: Likewise. | |
177 | * config/tc-i386.h: Likewise. | |
178 | * config/tc-i960.h: Likewise. | |
179 | * config/tc-ia64.h: Likewise. | |
180 | * config/tc-m68k.h: Likewise. | |
181 | * config/tc-ppc.h: Likewise. | |
182 | * config/tc-s390.h: Likewise. | |
183 | * config/tc-sh.h: Likewise. | |
184 | * config/tc-sh64.h: Likewise. | |
185 | * config/tc-sparc.h: Likewise. | |
186 | * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_SAME): Define, replaces.. | |
187 | (TC_FORCE_RELOCATION_SECTION): Delete. | |
188 | * config/tc-i386.c (tc_i386_force_relocation): Remove. | |
189 | (BFD_RELOC_8, BFD_RELOC_16): Define for non BFD_ASSEMBLER. | |
190 | (md_apply_fix3): Formatting. Hack for bfd_install_relocation when | |
191 | fx_pcrel, not when fx_addsy. | |
192 | * config/tc-i386.h (TC_FORCE_RELOCATION): Define using code moved | |
193 | from tc_i386_force_relocation. | |
194 | (TC_FIX_ADJUSTABLE): Remove redundant tc_fix_adjustable condition. | |
195 | * config/tc-s390.h (TC_FIX_ADJUSTABLE): Likewise. | |
196 | * config/tc-sh.h (TC_FIX_ADJUSTABLE): Likewise. | |
197 | * config/tc-i960.c (reloc_callj): Remove declaration. Return false. | |
198 | * config/tc-i960.h (TC_FORCE_RELOCATION_SUB): Define. | |
199 | (TC_FORCE_RELOCATION_ABS): Define. | |
200 | * config/tc-ppc.c (md_apply_fix3): Rename arg to match comments. | |
201 | Don't undo adjustments done by write.c:fixup_segment. | |
202 | * config/tc-ppc.h (TC_FIX_ADJUSTABLE): Instead arrange for them | |
203 | to not occur in the first place. | |
204 | (TC_FORCE_RELOCATION_SECTION): Delete. | |
205 | * config/tc-s390.c (md_apply_fix3): Use TC_FORCE_RELOCATION_LOCAL | |
206 | instead of TC_RELOC_RTSYM_LOC_FIXUP. | |
207 | * config/tc-sh.c (sh_fix_adjustable): Likewise. | |
208 | * config/tc-sh.h (obj_fix_adjustable): Delete, instead.. | |
209 | (tc_fix_adjustable): Define. | |
210 | ||
eb268f46 AM |
211 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
212 | ||
213 | * config/obj-generic.c: Delete file. | |
214 | * config/obj-generic.h: Likewise. | |
215 | ||
bdfdba87 MM |
216 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
217 | ||
218 | * config/tc-avr.c (mcu_types): Update for new devices. | |
219 | ||
3bec30a8 TS |
220 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
221 | ||
222 | * config/tc-mips.c (macro): Warn about wrong la/dla use. | |
223 | ||
8586fc66 TS |
224 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
225 | ||
226 | * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had | |
227 | worked sometimes by accident. Fix copy&paste comment. | |
228 | ||
195325d2 TS |
229 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
230 | ||
231 | * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section | |
232 | alignment for NewABI. Let n32 use .reginfo. Remove useless casts. | |
233 | (mips_elf_final_processing): Let n32 use .reginfo. | |
234 | ||
4db1a35d TS |
235 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
236 | ||
237 | * config/tc-mips.c (append_insn): Fix too small range of variable. | |
238 | ||
7f367f01 NC |
239 | 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com> |
240 | ||
241 | * config/tc-arm.c (arm_cleanup): Remove redundant call to | |
242 | listing_prev_line(). | |
243 | ||
7193a0e7 NC |
244 | 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com> |
245 | ||
f5b4e9e4 NC |
246 | * config/tc-arm.c (md_assemble): Remove redundant call to |
247 | listing_prev(). | |
248 | ||
b6675117 NC |
249 | * dwarf2dbg.c (dwarf2_emit_insn): Do not reset |
250 | loc_directive_seen. | |
251 | ||
7193a0e7 NC |
252 | * stabs.c (s_stab_generic): Fix grammatical error in warning |
253 | message. | |
254 | ||
50b31228 AM |
255 | 2002-05-13 Alan Modra <amodra@bigpond.net.au> |
256 | ||
257 | * write.c (subsegs_finish): Don't specially align last subseg. | |
258 | ||
cce5a618 NC |
259 | 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
260 | ||
6360824b NC |
261 | * stabs.c (s_stab_generic): Warn about a description field that is |
262 | too big. | |
263 | ||
f8e42b8c NC |
264 | * config/obj-coff.c: Fix compile time warnings when compiling |
265 | without BFD_ASSEMBLER defined. | |
266 | Fix formatting. | |
267 | ||
cce5a618 NC |
268 | * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms |
269 | target. | |
270 | (md_pcrel_from_section): Use md_pcrel_from(). | |
271 | ||
d7c310c2 NC |
272 | 2002-05-11 Bruno Haible <bruno@clisp.org> |
273 | ||
274 | * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled | |
275 | by dwarf2_directive_loc, instead of calling dwarf2_where. | |
276 | ||
5d6255fe KH |
277 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
278 | ||
279 | * config/obj-coff.h: Fix formatting. | |
280 | * config/tc-mcore.c: Likewise. | |
281 | * config/tc-mn10300.c: Likewise. | |
282 | * config/tc-openrisc.c: Likewise. | |
283 | * config/tc-or32.c: Likewise. | |
284 | * config/tc-pdp11.c: Likewise. | |
285 | * config/tc-ppc.c: Likewise. | |
286 | * config/tc-ppc.h: Likewise. | |
287 | * config/tc-sh64.c: Likewise. | |
288 | * config/tc-sh.c: Likewise. | |
289 | * config/tc-tic54x.c: Likewise. | |
290 | * config/tc-xstormy16.c: Likewise. | |
291 | * config/tc-xstormy16.h: Likewise. | |
292 | ||
cc8a6dd0 KH |
293 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
294 | ||
295 | * config/obj-coff.c: Fix formatting. | |
296 | * config/obj-elf.c: Likewise. | |
297 | * config/tc-alpha.c: Likewise. | |
298 | * config/tc-arm.c: Likewise. | |
299 | * config/tc-d10v.c: Likewise. | |
300 | * config/tc-d30v.c: Likewise. | |
301 | * config/tc-h8300.c: Likewise. | |
302 | * config/tc-hppa.c: Likewise. | |
303 | ||
412167cb AM |
304 | 2002-05-09 Alan Modra <amodra@bigpond.net.au> |
305 | ||
306 | * config/tc-i386.c (md_estimate_size_before_relax) Don't lose | |
307 | reloc when no_cond_jump_promotion. | |
308 | ||
91975467 JW |
309 | 2002-05-08 Jim Wilson <wilson@redhat.com> |
310 | ||
311 | * config/tc-i960.c (md_estimate_size_before_relax): Return size of | |
312 | current variable part of frag. | |
313 | ||
a1b6236b KH |
314 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
315 | ||
316 | * config/tc-mmix.c: Fix formatting. | |
317 | * config/tc-mmix.h: Likewise. | |
318 | ||
c8615825 AM |
319 | 2002-05-08 Alan Modra <amodra@bigpond.net.au> |
320 | ||
321 | * configure: Regenerate. | |
322 | ||
8a104df9 KH |
323 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
324 | ||
325 | * config/tc-m68k.c: Fix formatting. | |
326 | ||
d3d8a9ee NC |
327 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
328 | ||
329 | * Makefile.am: Honour DESTDIR. | |
330 | * Makefile.in: Regenerate. | |
331 | ||
40449e9f KH |
332 | 2002-05-06 Kazu Hirata <kazu@cs.umass.edu> |
333 | ||
334 | * config/tc-ia64.c: Fix formatting. | |
335 | * config/tc-ia64.h: Likewise. | |
336 | ||
98d3f06f KH |
337 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
338 | ||
339 | * config/tc-mips.c: Fix formatting. | |
340 | * config/tc-s390.c: Likewise. | |
341 | * config/tc-s390.h: Likewise. | |
342 | ||
8f5b2891 AO |
343 | 2002-05-03 Alexandre Oliva <aoliva@redhat.com> |
344 | ||
345 | * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number | |
346 | information for instructions. | |
347 | ||
d1a6c242 KH |
348 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
349 | ||
350 | * as.h: Fix formatting. | |
351 | * cgen.c: Likewise. | |
352 | * cgen.h: Likewise. | |
353 | * dwarf2dbg.c: Likewise. | |
354 | * frags.h: Likewise. | |
355 | * gasp.c: Likewise. | |
356 | * macro.c: Likewise. | |
357 | * read.c: Likewise. | |
358 | * stabs.c: Likewise. | |
359 | * symbols.c: Likewise. | |
360 | ||
1cfc59d5 AM |
361 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
362 | ||
72297628 AM |
363 | * app.c (mri_pseudo): Only declare for TC_M68K. |
364 | ||
1cfc59d5 AM |
365 | * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. |
366 | (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with | |
367 | BFD_RELOC_16_BASEREL. | |
368 | (md_assemble): Likewise. | |
369 | (md_apply_fix3): Likewise. | |
370 | ||
358b94bd NC |
371 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
372 | ||
373 | * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of | |
374 | zero into an add of zero - it is not the same. | |
375 | ||
d8731e7d NC |
376 | 2002-05-01 Arati Dikey <aratid@kpit.com> |
377 | ||
378 | * tc-sh.c (get_specific): Generate warning if the same | |
379 | destination register is used in parallel instructions. | |
380 | ||
200dbde8 AM |
381 | 2002-05-01 Andrew Macleod <amacleod@cygnus.com> |
382 | ||
383 | * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. | |
384 | ||
3f3cdb03 AM |
385 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
386 | ||
387 | * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org | |
388 | backwards to prevent cascading errors. | |
389 | ||
9b2b7d69 MM |
390 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
391 | ||
392 | * configure.in: Add support for powerpc-*-windiss. | |
393 | * configure: Regenerated. | |
394 | ||
0f3f3d8b AM |
395 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
396 | ||
819e6420 AM |
397 | * config/tc-s390.c (md_parse_option): Formatting. |
398 | ||
0f3f3d8b AM |
399 | * config/tc-i386.c: Formatting fixes, add missing space in error |
400 | message. | |
401 | ||
3c25c5f6 NC |
402 | 2002-04-24 Christian Groessler <chris@groessler.org> |
403 | ||
404 | * config/tc-z8k.c (build_bytes): Add support for new cases: | |
405 | CLASS_IGNORE and ARG_NIM4. | |
406 | (md_assemble): Prevent destruction of input_line_pointer if | |
407 | get_operands returns failure. | |
408 | ||
af55c2e6 CD |
409 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
410 | ||
411 | * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D | |
412 | instructions to be generated by macros. | |
413 | ||
062cd5e7 AS |
414 | 2002-04-24 Andreas Schwab <schwab@suse.de> |
415 | ||
416 | * config/tc-i386.c (output_jump, output_disp) | |
417 | (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any | |
418 | more. | |
419 | (md_apply_fix3): Remember addend value for rela relocations. | |
420 | (tc_gen_reloc): Correctly compute pc-relative relocation addend. | |
421 | ||
2b2e39bf CD |
422 | 2002-04-22 Chris Demetriou <cgd@broadcom.com> |
423 | ||
424 | * config/tc-mips.c (macro_build): Add close-parenthesis missing | |
425 | from previous change. | |
426 | ||
80cc45a5 EC |
427 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
428 | ||
2b2e39bf CD |
429 | * config/tc-mips.c (macro_build): Add warning if macro instructions |
430 | are expanded into a branch delay slot. | |
80cc45a5 | 431 | |
ffa554ed GK |
432 | 2002-04-17 Geoffrey Keating <geoffk@redhat.com> |
433 | ||
434 | * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line | |
435 | numbers, gdb relies on them to detect the start of the prologue. | |
436 | ||
302576af MS |
437 | 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com> |
438 | ||
439 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to | |
440 | symbols in merge sections. | |
441 | ||
0f3f3d8b | 442 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
091e58c1 AM |
443 | |
444 | * as.c (main): Don't reference _bfd_chunksize. | |
445 | ||
76b999d0 TR |
446 | 2002-04-15 Tom Rix <trix@redhat.com> |
447 | ||
80cc45a5 | 448 | * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to |
76b999d0 TR |
449 | symbols in merge sections. |
450 | ||
580a832e RS |
451 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
452 | ||
453 | * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. | |
454 | * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an | |
455 | argument for the precision. | |
456 | (gen_to_words): Update accordingly. | |
457 | ||
edde18a5 AM |
458 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
459 | ||
460 | * as.c (parse_args <OPTION_VERSION>): Use VERSION is | |
461 | BFD_VERSION_STRING unavailable. | |
462 | * config/tc-i386.c (INLINE): Define (for non-BFD assembler). | |
463 | ||
5bcd00a6 JR |
464 | Tue Apr 9 16:45:48 2002 J"orn Rennecke <joern.rennecke@superh.com> |
465 | ||
466 | * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if | |
467 | symbol_used_in_reloc_p is true. | |
2ed5f585 JR |
468 | |
469 | * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big | |
470 | endian hosts. | |
471 | ||
8e42bcb6 AM |
472 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
473 | ||
474 | * dep-in.sed: Cope with absolute paths. | |
475 | * Makefile.am (dep.sed): Subst TOPDIR. | |
476 | Run "make dep-am". | |
477 | * Makefile.in: Regenerate. | |
478 | ||
874e8986 TS |
479 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
480 | ||
481 | * config/tc-mips.c (mips16_macro_build): Cast type mismatch. | |
482 | (mips_ip): Remove unused variable. | |
483 | (md_apply_fix3): Cast signed/unsignes mismatches. Replace | |
484 | unsigned char with bfd_byte. | |
485 | (s_file): Remove unused variable. | |
486 | (s_mips_ent): Likewise. | |
487 | ||
fbdbf472 TR |
488 | 2002-04-03 Tom Rix <trix@redhat.com> |
489 | ||
490 | * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. | |
491 | (build_insn): Same. | |
492 | (find_opcode): Fix warning in as_warn. | |
493 | * config/tc-d10v.h: Update Copyright. | |
494 | ||
495 | 2002-04-03 Alan Matsuoka <alanm@redhat.com> | |
496 | Tom Rix <trix@redhat.com> | |
497 | ||
498 | From Jeff Knaggs <jknaggs@redhat.com> | |
80cc45a5 | 499 | * config/tc-d10v.c (check_resource_conflict): New function to |
fbdbf472 TR |
500 | check for resource conflicts. |
501 | ||
502 | From Jason Eckhardt <jle@redhat.com> | |
503 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or | |
504 | imm3 fields. | |
505 | * config/tc-d10v.c (find_opcode): Emit a warning if one of the | |
506 | reserved control registers is used. | |
507 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or | |
508 | imm3 fields. | |
509 | ||
510 | From 2001-03-28 Diego Novillo <dnovillo@redhat.com> | |
511 | * tc-d10v.c (parallel_ok): Prevent packing only if the first | |
512 | instruction cannot be packed. | |
513 | ||
514 | From 2001-03-30 Diego Novillo <dnovillo@redhat.com> | |
515 | * gas/config/tc-d10v.c (check_resource_conflict): Only check | |
516 | write-write conflicts. | |
517 | (md_assemble): Reformat introductory comment. | |
518 | * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its | |
519 | arguments. | |
520 | ||
784b640d AM |
521 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
522 | ||
523 | * symbols.c (resolve_symbol_value <O_uminus, O_bit_not, | |
524 | O_logical_not>): Derive final_seg from add_symbol. | |
525 | <O_multiply..O_logical_or>: More final_seg twiddles. | |
526 | ||
5f44c186 RH |
527 | 2002-04-01 Jessica Han <jessica@cup.hp.com> |
528 | ||
529 | * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc | |
530 | in 32-bit mode. | |
531 | ||
3458b54c AS |
532 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
533 | ||
534 | * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of | |
535 | field for pc-relative fixups. | |
536 | (output_disp): Likewise. | |
537 | (md_estimate_size_before_relax): Likewise. | |
538 | (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for | |
539 | pc-relative fixups in 64bit mode. | |
540 | ||
815b453c AM |
541 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
542 | ||
543 | * config/te-aix5.h: Typo fix. | |
544 | ||
d5b32339 AM |
545 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
546 | ||
547 | * Makefile.am: Run "make dep-am". | |
548 | * Makefile.in: Regenerate. | |
549 | * doc/Makefile.in: Regenerate. | |
550 | ||
f201ccb3 NC |
551 | 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com> |
552 | ||
553 | * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo | |
554 | (vfp_sp_reg_pos -> vfp_dp_reg_pos). | |
555 | ||
177b4a6a AO |
556 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
557 | ||
558 | * config/tc-mips.c (md_estimate_size_before_relax): Do not modify | |
559 | the EXTENDED bit here; report the estimate according to the | |
560 | current size. | |
561 | ||
eb1e0e80 NC |
562 | 2002-03-18 Tom Rix <trix@redhat.com> |
563 | ||
564 | * configure.in: Add AIX 5 support. | |
565 | * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. | |
566 | * config/te-aix5.h: New file. AIX 5 support. | |
567 | * configure: Regenerate. | |
568 | ||
a1c259a1 NC |
569 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
570 | ||
571 | * po/fr.po: Updated version. | |
572 | ||
949f2b5c AJ |
573 | 2002-03-16 Andreas Jaeger <aj@suse.de> |
574 | ||
575 | * doc/c-mips.texi (Machine Dependencies): Add new node. | |
576 | ||
1f25f5d3 CD |
577 | 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> |
578 | ||
579 | * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. | |
580 | (mips_opts): Initialize "ase_mips3d" member. | |
581 | (file_ase_mips3d): New variable. | |
582 | (CPU_HAS_MIPS3D): New macro. | |
583 | (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d | |
584 | based on command line options and configuration defaults. | |
585 | (macro_build, mips_ip): Accept MIPS-3D instructions if | |
586 | mips_opts.ase_mips3d is set. | |
587 | (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): | |
588 | Add support for "-mips3d" and "-no-mips3d" options. | |
589 | (OPTION_ELF_BASE): Move to accomodate new options. | |
590 | (s_mipsset): Support ".set mips3d" and ".set nomips3d". | |
591 | (mips_elf_final_processing): Add a comment indicating that a | |
592 | MIPS-3D ASE ELF header flag should be set, when one exists. | |
593 | * doc/as.texinfo: Document -mips3d and -no-mips3d options. | |
594 | * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set | |
595 | nomips3d" directives. | |
949f2b5c | 596 | |
2be11e7e HPN |
597 | 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com> |
598 | ||
599 | * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider | |
600 | a weak symbol in same section to be within reach. | |
601 | ||
9ce88e60 NC |
602 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
603 | ||
604 | * po/fr.po: Updated version. | |
605 | ||
1e16b528 AS |
606 | 2002-03-12 Andreas Schwab <schwab@suse.de> |
607 | ||
608 | * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a | |
609 | body record so that an error is given for misplaced .save | |
610 | pseudo-ops. | |
611 | ||
29b0f896 AM |
612 | 2002-03-09 Alan Modra <amodra@bigpond.net.au> |
613 | ||
614 | * config/tc-i386.h (REX_OPCODE): Define. | |
615 | (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. | |
616 | (rex_byte): typedef to int. | |
617 | * config/tc-i386.c: Group prototypes and vars together. | |
618 | Formatting fixes. Remove occurrences of "register" keyword. | |
619 | (true): Delete. | |
620 | (false): Delete. | |
621 | (mode_from_disp_size): Add INLINE keyword to prototype. | |
622 | (fits_in_signed_byte): Likewise. | |
623 | (fits_in_unsigned_byte): Likewise. | |
624 | (fits_in_unsigned_word): Likewise. | |
625 | (fits_in_signed_word): Likewise. | |
626 | (fits_in_unsigned_long): Likewise. | |
627 | (fits_in_signed_long): Likewise. | |
628 | (type_names): Constify. | |
629 | (intel_float_operand): Constify param. | |
630 | (add_prefix): Use REX_OPCODE. | |
631 | (md_assemble): Likewise. Modify for changed rex_byte. | |
632 | (parse_insn): Split out of md_assemble. | |
633 | (parse_operands): Likewise. | |
634 | (swap_operands): Likewise. | |
635 | (optimize_imm): Likewise. | |
636 | (optimize_disp): Likewise. | |
637 | (match_template): Likewise. | |
638 | (check_string): Likewise. | |
639 | (process_suffix): Likewise. | |
640 | (check_byte_reg): Likewise. | |
641 | (check_long_reg): Likewise. | |
642 | (check_qword_reg): Likewise. | |
643 | (check_word_reg): Likewise. | |
644 | (finalize_imm): Likewise. | |
645 | (process_operands): Likewise. | |
646 | (build_modrm_byte): Likewise. | |
647 | (output_insn): Likewise. | |
648 | (output_branch): Likewise. | |
649 | (output_jump): Likewise. | |
650 | (output_interseg_jump): Likewise. | |
651 | (output_disp): Likewise. | |
652 | (output_imm): Likewise. | |
653 | ||
2e64b665 DJ |
654 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
655 | ||
656 | * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. | |
657 | ||
937149dd AM |
658 | 2002-03-06 Alan Modra <amodra@bigpond.net.au> |
659 | ||
660 | * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte | |
661 | relocs except when BFD64. | |
662 | ||
663 | * write.c (number_to_chars_bigendian): Don't abort when N is | |
664 | larger than sizeof (VAL). | |
665 | (number_to_chars_littleendian): Likewise. | |
666 | ||
40d74fb1 JL |
667 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
668 | ||
669 | * config/tc-hppa.c (md_apply_fix3): Add cast. | |
670 | (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and | |
671 | e_rrsel. | |
672 | ||
cd3cde86 AM |
673 | 2002-03-05 Paul Koning <pkoning@equallogic.com> |
674 | ||
675 | * tc-pdp11.c: Use VAX float format support for PDP-11 target. | |
676 | (parse_ac5): New function for parsing float regs in float operand. | |
677 | (parse_expression): Remove attempt to make literals be octal. | |
678 | (parse_op_no_deferred): Support float literals. | |
679 | (parse_op): Reject attempts to refer to float regs. | |
680 | (parse_fop): New function, like parse_op but for float operand. | |
949f2b5c | 681 | (md_assemble): Add cases to parse float operands. Also fix |
cd3cde86 AM |
682 | IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. |
683 | ||
e9682144 L |
684 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
685 | ||
686 | * config/obj-elf.c (special_section): Add .init_array, | |
687 | .fini_array and .preinit_array. | |
688 | ||
689 | * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove | |
690 | .init_array and .fini_array. | |
691 | ||
26eb4093 JJ |
692 | 2002-03-01 Jakub Jelinek <jakub@redhat.com> |
693 | ||
694 | * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy | |
695 | visibility. | |
696 | (obj_frob_symbol): Copy visibility. | |
697 | ||
559e22f3 JJ |
698 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
699 | ||
700 | * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not | |
701 | s_text. | |
702 | (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. | |
703 | ||
ef412327 NC |
704 | 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com> |
705 | ||
706 | * po/es.po: Updated. | |
707 | ||
b25a253c CD |
708 | 2002-02-26 Chris Demetriou <cgd@broadcom.com> |
709 | ||
710 | * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC | |
711 | only, undo the changes made on 2001-06-08, with the | |
712 | effect being that common or extern symbols are | |
713 | adjusted for embedded-PIC, but weak symbols are not. | |
714 | (md_estimate_size_before_relax: Likewise, with the effect | |
715 | that extern symbols are treated the same as weak symbols | |
716 | only if not embedded-PIC. | |
717 | (mips_fix_adjustable) Likewise, with the effect that | |
718 | weak or extern symbols are not adjusted for embedded-PIC. | |
719 | (md_apply_fix3): Tweak so that the case where value is zero | |
720 | is handled more correctly for embedded-PIC code. | |
721 | ||
fe41178f NC |
722 | 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com> |
723 | ||
587fe2b3 NC |
724 | * doc/as.texinfo (Overview): Add missing @ifset IA64 |
725 | ||
fe41178f NC |
726 | * configure.in (LINGUAS): Add es.po. |
727 | * configure: Regenerate. | |
728 | * po/es.po: New file. | |
729 | ||
4d34fb5f TS |
730 | 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
731 | ||
732 | * config/tc-mips.c (set_at): Fix handling of 64bit register loads. | |
733 | (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC | |
734 | and NO_PIC cases. Code cleanup. | |
735 | (macro2): Fix handling of 64bit register loads. | |
736 | ||
9e32ca89 NC |
737 | 2002-02-25 David Mosberger <davidm@hpl.hp.com> |
738 | ||
739 | * doc/as.texinfo: Add entry for IA64. | |
740 | * doc/c-ia64.texi: New file. | |
741 | ||
23e1d84c AM |
742 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
743 | ||
c7d004c5 AM |
744 | * config/tc-hppa.c: Update copyright date. |
745 | ||
746 | * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 | |
23e1d84c AM |
747 | Remove references to chip manufacturers. |
748 | * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. | |
749 | Correct comments. | |
750 | (md_show_usage): Remove references to chip manufacturers. Mention | |
751 | -mpower4. | |
752 | (md_begin): Test power4 opcode flag bits. | |
753 | ||
b1c6bf70 | 754 | 2002-02-22 David Mosberger <davidm@hpl.hp.com> |
6290819d NC |
755 | |
756 | * config/tc-ia64.c (dot_restore): Issue error message of epilogue | |
757 | count exceeds prologue count. | |
758 | (md_show_usage): Describe -mconstant-gp and -mauto-pic. | |
759 | (unwind.label_prologue_count): New member. | |
760 | ||
761 | Based on a patch by Hans Boehm <hboehm@hpl.hp.com>: | |
762 | ||
763 | (get_saved_prologue_count): New function. | |
764 | (save_prologue_count): New function. | |
765 | (free_saved_prologue_count): New function. | |
766 | (dot_label_state): Record state label by calling save_prologue_count(). | |
767 | (dot_copy_state): Restore prologue count by calling | |
768 | get_saved_prologue_count(). | |
769 | (generate_unwind_image): Free up list of saved prologue | |
770 | counts by calling free_saved_prologue_counts(). | |
771 | ||
f1e7a2c9 NC |
772 | 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com> |
773 | ||
774 | * config/tc-tic54x.c: Add missing prototypes and remove ANSI style | |
775 | function declarations. | |
776 | ||
3f965e60 NC |
777 | 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com> |
778 | ||
779 | * NEWS: Note that GASP is now deprecated. | |
780 | * Makefile.am: Do not build gasp-new by default. | |
781 | * Makefile.in: Regenerate. | |
782 | * doc/Makefile.am: Do not install gasp.info. | |
783 | * doc/Makefile.in: Regenerate. | |
784 | * gas/gasp.texi: Note that gasp is now deprecated. | |
785 | ||
9a66911f NC |
786 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
787 | ||
788 | * NEWS: Mark 2.12 branch. | |
789 | ||
f88fd9fe TT |
790 | 2002-02-19 Tom Tromey <tromey@redhat.com> |
791 | ||
792 | * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. | |
793 | ||
da0e507f TS |
794 | 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
795 | ||
796 | * config/tc-mips.c (md_parse_option): Complain about invalid -mabi | |
797 | option input. | |
798 | ||
ff0fb565 MS |
799 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
800 | ||
801 | * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. | |
802 | Make bit size independent of architecture switch. | |
803 | (md_begin): Add warning for -m64 with -Aesa. | |
804 | (s390_md_end): Use renamed architecture defines. | |
805 | ||
a245a9aa DJ |
806 | 2002-02-18 Daniel Jacobowitz <drow@mvista.com> |
807 | ||
808 | * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. | |
809 | ||
8bf549a8 NC |
810 | 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com> |
811 | ||
812 | * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used | |
813 | instead of CRIS. | |
814 | ||
9151e8bf CD |
815 | 2002-02-15 Chris Demetriou <cgd@broadcom.com> |
816 | ||
817 | * config/tc-mips.c (md_estimate_size_before_relax): Really | |
818 | make sure we treat weak like extern only for ELF. (Fixes | |
819 | patch from 2001-07-25.) | |
820 | ||
59455fb1 BE |
821 | 2002-02-15 Ben Elliston <bje@redhat.com> |
822 | ||
823 | * doc/as.texinfo: Add duplicate directory entry so that "info gas" | |
824 | works as expected. | |
825 | ||
49fda6c8 HPN |
826 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
827 | ||
828 | * NEWS: Mention support for MMIX. | |
829 | ||
2d2bf3e0 CD |
830 | 2002-02-13 Chris Demetriou <cgd@broadcom.com> |
831 | ||
832 | * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into | |
833 | a sequence of indpendent 'if' statements for easier debugging | |
834 | and future modification. | |
835 | ||
76f57f3a JT |
836 | 2002-02-13 Matt Fredette <fredette@netbsd.org> |
837 | ||
838 | * config/tc-m68k.c (md_show_usage): No longer display a | |
839 | hard-coded "68020" for the default CPU, instead display the | |
840 | canonical name of the true, configured default CPU. | |
841 | (m68k_elf_final_processing): Mark objects for sub-68020 | |
842 | CPUs with the new EF_M68000 flag. | |
843 | ||
3bf057fa AS |
844 | 2002-02-13 Andreas Schwab <schwab@suse.de> |
845 | ||
846 | * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust | |
847 | pc-relative relocations to merge sections in 64-bit mode. | |
848 | ||
6334e312 | 849 | 2002-02-13 Ben Elliston <bje@redhat.com> |
1ac57253 BE |
850 | |
851 | * NEWS: Document floating point number handling in gasp. | |
852 | * gasp.c: Include <assert.h> and "xregex.h". | |
853 | (is_flonum): New function. | |
854 | (chew_flownum): Likewise. | |
855 | (change_base): Consume flonums from the input, where possible. | |
856 | * doc/gasp.texi (Constants): Document floating point numbers. | |
857 | ||
3dcfe21d AM |
858 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
859 | ||
860 | * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types | |
861 | that implicitly use LR and RR selectors. | |
862 | ||
913572ec AO |
863 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
864 | ||
865 | * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' | |
866 | and `epsw' as available on AM33 and above only. | |
867 | (other_register_name): Add logic to handle machine type encoded in | |
868 | reg_number. | |
869 | ||
9b90b531 TR |
870 | 2002-02-11 Tom Rix <trix@redhat.com> |
871 | ||
949f2b5c | 872 | * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for |
9b90b531 TR |
873 | xcoff64. |
874 | ||
6c1b24e4 AO |
875 | Mon Feb 11 11:23:38 2002 Alexandre Oliva <aoliva@redhat.com> |
876 | ||
877 | * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. | |
878 | Use all over. | |
879 | ||
7ecd2f8b JH |
880 | Mon Feb 11 12:59:29 CET 2002 Jan Hubicka <jh@suse.cz> |
881 | ||
882 | * i386.c (md_assemble): Support 32bit address prefix. | |
883 | (i386_displacement): Likewise. | |
884 | (i386_index_check): Accept 32bit addressing in 64bit mode. | |
885 | ||
7eb27ef2 AO |
886 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
887 | ||
888 | * config/tc-sh.c (dot): Removed unused function. | |
889 | ||
fa702524 AM |
890 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
891 | ||
892 | * Makefile.am: "make dep-am". | |
893 | * Makefile.in: Regenerate. | |
894 | * aclocal.m4: Regenerate. | |
895 | * config.in: Regenerate. | |
896 | * configure: Regenerate. | |
897 | * doc/Makefile.in: Regenerate. | |
898 | ||
625e1353 RH |
899 | 2002-02-10 Richard Henderson <rth@redhat.com> |
900 | ||
901 | * doc/c-alpha.texi: New file. | |
902 | * doc/Makefile.am (CPU_DOCS): Add it. | |
903 | * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. | |
904 | ||
543833df RH |
905 | 2002-02-09 Richard Henderson <rth@redhat.com> |
906 | ||
907 | * config/tc-alpha.c (O_samegp): New. | |
908 | (USER_RELOC_P): Include it. | |
909 | (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. | |
910 | (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. | |
911 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
912 | (alpha_validate_fix): New. | |
913 | * config/tc-alpha.h (TC_VALIDATE_FIX): New. | |
914 | ||
328eb32e HPN |
915 | 2002-02-09 Hans-Peter Nilsson <hp@axis.com> |
916 | ||
917 | * doc/c-cris.texi: New. | |
918 | * doc/all.texi: @set CRIS. | |
919 | * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. | |
920 | Include c-cris.texi. | |
921 | * doc/Makefile.am (CPU_DOCS): Add c-cris.texi | |
922 | * doc/Makefile.in: Regenerate. | |
923 | ||
6373ee54 CD |
924 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
925 | ||
926 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to | |
927 | determine if a number is a sign-extended 32-bit number. | |
928 | (load_register): Use IS_SEXT_32BIT_NUM. | |
929 | (macro): Check if load/store macro handling is using a | |
930 | constant 32-bit address on 64-bit address systems, and if | |
931 | so optimize the generation of that address. | |
932 | ||
50a4c611 RH |
933 | 2002-02-08 Richard Henderson <rth@redhat.com> |
934 | ||
935 | * config/tc-alpha.c (alpha_force_relocation): Don't assert that | |
936 | we've eliminated all foreign relocation types yet. | |
937 | (alpha_fix_adjustable): Likewise. | |
938 | ||
324bfcf3 AO |
939 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
940 | ||
941 | Contribute sh64-elf. | |
942 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> | |
943 | Stephen Clarke <Stephen.Clarke@st.com> | |
944 | * doc/c-sh64.texi: Fix citation of SH64 architecture manual. | |
945 | 2002-01-31 Alexandre Oliva <aoliva@redhat.com> | |
946 | * config/tc-sh.c (md_relax_table): Added default sizes for | |
947 | non-PC-relative UNDEF_MOVI, and relaxation sequences for | |
948 | MOVI_16, MOVI_32 and MOVI_48. | |
949 | * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. | |
950 | (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI | |
951 | and MOVI_16. | |
952 | (shmedia_md_estimate_size_before_relax): Remove redundant | |
953 | blocks. Set fragP->fr_var even if relaxation type unchanged. | |
954 | Retain UNDEF_MOVI until expression decays to number. | |
955 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
956 | * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC | |
957 | relocation types. Take fixP->fx_addnumber into account too. | |
958 | (shmedia_md_apply_fix): Likewise. | |
959 | (shmedia_md_convert_frag): Likewise. | |
960 | (shmedia_build_Mytes): Likewise. | |
961 | (sh64_consume_datalabel): Complain about nested datalabel. | |
962 | Support PIC relocs. Call sh_parse_name. | |
963 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition | |
964 | in tc-sh.h to SHmedia reloc types. | |
965 | * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, | |
966 | MOVI_GOTPC): New relaxation constants. | |
967 | (md_relax_table): Introduce relaxation directives for PIC-related | |
968 | constants. | |
969 | (sh_PIC_related_p): Handle datalabel. | |
970 | (sh_check_fixup): Choose SH5 PIC relocations. | |
971 | (sh_cons_fix_new): Added BDF_RELOC_64. | |
972 | (md_apply_fix3, sh_parse_name): Handle GOTPLT. | |
973 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
974 | * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the | |
975 | current ISA is SHmedia, get 7 bytes. | |
976 | 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> | |
977 | * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a | |
978 | void function. | |
979 | * config/tc-sh64.c (shmedia_apply_fix): Rename to | |
980 | shmedia_apply_fix3 and make void. | |
981 | 2001-05-17 Alexandre Oliva <aoliva@redhat.com> | |
982 | * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to | |
983 | as_bad. | |
984 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> | |
985 | * config/tc-sh64.h (md_parse_name): Take &c as argument. | |
986 | 2001-03-14 DJ Delorie <dj@redhat.com> | |
987 | * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi | |
988 | * doc/Makefile.in(CPU_DOCS): Ditto. | |
989 | * doc/c-sh64.texi: New file. | |
990 | * doc/as.texinfo: Add SH64 support. | |
991 | 2001-03-13 DJ Delorie <dj@redhat.com> | |
992 | * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to | |
993 | A_REUSE_PREV so that its purpose is more obvious. | |
994 | (shmedia_build_Mytes): Ditto. | |
995 | 2001-03-07 DJ Delorie <dj@redhat.com> | |
996 | * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels | |
997 | before processing. | |
998 | (sh64_vtable_inherit): Ditto. | |
999 | (strip_datalabels): New, strip "datalabel" from given line. | |
1000 | * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable | |
1001 | pseudos. | |
1002 | 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1003 | * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn | |
1004 | call ... | |
1005 | (shmedia_build_Mytes): ... to here. | |
1006 | 2001-03-06 DJ Delorie <dj@redhat.com> | |
1007 | * config/tc-sh.c: Remove sh64-specific uaquad now that there | |
1008 | is a generic one. | |
1009 | 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> | |
1010 | * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. | |
1011 | * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn | |
1012 | address by one in call to dwarf2_emit_insn. | |
1013 | 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> | |
1014 | Implement ".abi" pseudo and correct .cranges descriptors. Correct | |
1015 | alignment handling broken by imported changes. | |
1016 | * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. | |
1017 | (sh64_handle_align): Declare. | |
1018 | (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. | |
1019 | (sh64_max_mem_for_rs_align_code): Declare. | |
1020 | (enum sh64_isa_values): Moved here from tc-sh64.c. | |
1021 | (md_do_align): Define. | |
1022 | (sh64_do_align): Declare. | |
1023 | (struct sh64_tc_frag_data): New. | |
1024 | (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users | |
1025 | changed. | |
1026 | (TC_FRAG_INIT): Change to set new datatype. | |
1027 | (struct sh64_segment_info_type): Rename member | |
1028 | last_flushed_location to last_contents_mark. All users changed. | |
1029 | (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. | |
1030 | (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. | |
1031 | * config/tc-sh.c (md_pseudo_table): Add ".abi". | |
1032 | (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead | |
1033 | of unsetting seen_insn. | |
1034 | (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also | |
1035 | call sh64_update_contents_mark. | |
1036 | (sh_handle_align): Remove HAVE_SH64-conditioned code. | |
1037 | * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to | |
1038 | enum sh64_isa_values. | |
1039 | (sh64_set_contents_type): Drop segT parameter. All callers changed. | |
1040 | (emitting_crange): Boolean guard moved to file scope from function | |
1041 | scope in sh64_set_contents_type. | |
1042 | (s_sh64_abi): New. | |
1043 | (sh64_update_contents_mark): New; most split out from | |
1044 | sh64_flush_pending_output. | |
1045 | (shmedia_md_end): Call sh64_update_contents_mark. Set | |
1046 | sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. | |
1047 | (sh64_do_align): New function. | |
1048 | (sh64_max_mem_for_rs_align_code): New function. | |
1049 | (sh64_handle_align): Rename from shmedia_do_align. Make | |
1050 | non-static. Add head comment. Emit zero bytes for n bytes modulo | |
1051 | four. Change return-type to void. | |
1052 | (shmedia_elf_new_section): Remove. | |
1053 | (shmedia_md_assemble): Call sh64_update_contents_mark. | |
1054 | (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make | |
1055 | new frag. Call sh64_update_contents_mark after making the new | |
1056 | frag. | |
1057 | (sh64_flush_pending_output): Just call sh64_update_contents_mark | |
1058 | and sh_flush_pending_output. | |
1059 | (sh64_flag_output): Also call md_flush_pending_output, but add | |
1060 | condition on not emitting_crange. | |
1061 | (sh64_tc_cons_fix_new): Remove. | |
1062 | 2001-01-12 Nick Clifton <nickc@redhat.com> | |
1063 | * config/tc-sh64.c (shmedia_do_align): Fix to work with new | |
1064 | alignment handling scheme imported from sourceware. | |
1065 | 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
1066 | * config/tc-sh64.h (TARGET_FORMAT): Define. | |
1067 | (sh64_target_format): Prototype. | |
1068 | * config/tc-sh64.c (sh64_target_mach): New function. | |
1069 | 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
1070 | * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use | |
1071 | zero_address_frag instead of copying the frag of the symbol. | |
1072 | (shmedia_frob_file_before_adjust): Ditto. | |
1073 | (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask | |
1074 | to valueT to remove signedness. | |
1075 | (shmedia_md_convert_frag): Add parameter final. Rename parameter | |
1076 | headers to output_bfd. Do not evaluate symbols if final is false; | |
1077 | do emit fixups. | |
1078 | (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, | |
1079 | UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative | |
1080 | to the current frag, call shmedia_md_convert_frag to emit fixups | |
1081 | and make frag_wane neutralize the frag. Update comments. | |
1082 | * config/tc-sh.c (md_convert_frag): Change caller of | |
1083 | shmedia_md_convert_frag. | |
1084 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1085 | * config/tc-sh64.h: Tweak comments and correct formatting. | |
1086 | * config/tc-sh64.c: Ditto. | |
1087 | (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit | |
1088 | expansion, MOVI pcrel expansion>: Fix thinko calculating offset | |
1089 | for the no-relocation case. | |
1090 | (shmedia_check_limits): Fix range check being off-by-one for PTA. | |
1091 | * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef | |
1092 | wrappers. | |
1093 | (SH64PCREL16_F): Increment for proper max-PTA handling. Update | |
1094 | comment. | |
1095 | (SH64PCREL16_M, MOVI_16_M): Correct range thinko. | |
1096 | (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of | |
1097 | expansion. | |
1098 | (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. | |
1099 | Correct comment. | |
1100 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1101 | * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case | |
1102 | BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. | |
1103 | (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et | |
1104 | al>: Set lowest bit of field to relocate to 1 and rest to empty, | |
949f2b5c | 1105 | if reloc is emitted. |
324bfcf3 AO |
1106 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> |
1107 | New options plus bugfixes. | |
1108 | * config/tc-sh.c (md_longopts): New options "-no-expand" and | |
1109 | "-expand-pt32". | |
1110 | (md_parse_option): Handle new options. | |
1111 | (md_show_usage): Add blurb for new options. | |
1112 | * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. | |
1113 | (sh64_expand, sh64_pt32): New variables. | |
1114 | (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. | |
1115 | (shmedia_md_apply_fix): Hold original fixP->fx_r_type in | |
1116 | orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into | |
1117 | BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. | |
1118 | <resolved previously-pc-relative relocs>: Handle | |
1119 | SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. | |
1120 | (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), | |
1121 | case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand | |
1122 | points to SHcompact code. | |
1123 | <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, | |
1124 | SH64PCREL16)>: Check that ISA of what operand points at and | |
1125 | PTA/PTB matches, or emit error. | |
1126 | (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and | |
1127 | SHMEDIA_BFD_RELOC_PT. | |
1128 | (shmedia_immediate_op): If pcrel, emit fixup also for constant | |
1129 | operand. | |
1130 | (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in | |
1131 | condition for MOVI expansion. | |
1132 | <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if | |
1133 | sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not | |
1134 | sh64_expand. | |
1135 | <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT | |
1136 | fixup. | |
1137 | (sh64_target_format): Error-check setting of sh64_pt32 and | |
1138 | sh64_expand. Fix typo in check for sh64_shcompact_const_crange. | |
1139 | (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and | |
1140 | SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. | |
1141 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> | |
1142 | * config/tc-sh64.c: Improve comments. | |
1143 | (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do | |
1144 | not say the linker will check correctness of PTA/PTB expansion. | |
1145 | (shmedia_md_end): Make non-static. | |
1146 | * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add | |
1147 | prototype. | |
1148 | * config/tc-sh.c (sh_finalize): Remove. | |
1149 | * config/tc-sh.h (md_end): Do not define. | |
1150 | Remove prototype for sh_finalize. | |
1151 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1152 | * config/tc-sh64.c (shmedia_frob_section_type): Use a struct | |
1153 | sh64_section_data container when storing section type in tdata | |
1154 | field in elf_section_data. | |
1155 | * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to | |
1156 | EF_SH5. | |
1157 | * Makefile.am: Update dependencies. | |
1158 | * Makefile.in: Regenerate. | |
1159 | 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> | |
1160 | * config/tc-sh64.c (shmedia_md_assemble): Don't protect | |
1161 | dwarf2_emit_insn call with test on debug_type. | |
1162 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
1163 | * config/tc-sh64.c (sh64_set_contents_type): Make contents-type | |
1164 | CRT_SH5_ISA32 sticky for 64-bit. | |
1165 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
1166 | Generate .crange sections when switching ISA mode or emitting | |
1167 | constants in same section as code. | |
1168 | * config/tc-sh64.c: Reformat structure definitions. | |
1169 | (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New | |
1170 | variables. | |
1171 | (sh64_set_contents_type): Rename from sh64_init_section. Rewrite | |
1172 | to emit a .cranges descriptor when contents type changes. Only | |
1173 | emit error if changing contents type and -no-mix is in effect. | |
1174 | (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, | |
1175 | sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. | |
1176 | (shmedia_md_end): Set sh64_end_of_assembly. Pass | |
1177 | sh64_flush_last_crange over sections. | |
1178 | When checking main symbol of datalabel symbol, check for | |
1179 | STO_SH5_ISA32, not ISA type of section in definition. | |
1180 | (shmedia_frob_file_before_adjust): Check main symbol for | |
1181 | STO_SH5_ISA32; don't check ISA type of section in definition. | |
1182 | (shmedia_frob_section_type): Adjust for .cranges; set section flag | |
1183 | to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether | |
1184 | .cranges entries have been output. | |
1185 | (shmedia_elf_new_section): Just call md_flush_pending_output. | |
1186 | (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE | |
1187 | fix. Do not set tc_segment_info_data.in_code for section. Call | |
1188 | sh64_set_contents_type for SHmedia code. | |
1189 | (s_sh64_mode): Do not call sh64_init_section or set seen_insn to | |
1190 | false. Call md_flush_pending_output. | |
1191 | (sh64_target_format): Check that -no-mix and | |
1192 | -shcompact-const-crange are used in sane combination with other | |
1193 | options. | |
1194 | (shmedia_md_pcrel_from_section): Check type of fix for how to | |
1195 | adjust pc-relative. | |
1196 | (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, | |
1197 | not ISA type of section in definition. | |
1198 | * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to | |
1199 | hold contents-type state. | |
1200 | (md_flush_pending_output): Redefine to sh64_flush_pending_output. | |
1201 | (sh64_flush_pending_output): Declare. | |
1202 | (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. | |
1203 | (sh64_tc_cons_fix_new): Declare. | |
1204 | * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and | |
1205 | call sh64_flag_output. | |
1206 | (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just | |
1207 | call sh64_set_contents_type to mark SHcompact code and set | |
1208 | seen_insn. | |
1209 | (md_longopts): New options "-no-mix" and | |
1210 | "-shcompact-const-crange". | |
1211 | (md_parse_option): Handle new options. | |
1212 | (md_show_usage): Add blurb for new options. | |
1213 | (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. | |
1214 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> | |
1215 | * config/tc-sh64.c: Delete investigated and obsolete fixme:s. | |
1216 | (sh64_last_insn_frag): New. | |
1217 | (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag | |
1218 | to get frag for insn opcode for generating fixups; do not assume it | |
1219 | is the same frag. | |
1220 | (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag | |
1221 | for new insn. | |
1222 | * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges | |
1223 | section. | |
1224 | (TC_FRAG_TYPE): Define as fragS *. | |
1225 | (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. | |
1226 | (sh64_last_insn_frag): Declare. | |
1227 | (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, | |
1228 | not == NULL before dereferencing. | |
1229 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
1230 | Get rid of BFD section flag and EF_SH64_ABI64. | |
1231 | * config/tc-sh64.c (shmedia_frob_section_type): Use | |
1232 | elf_section_data (sec)->tdata, not a specific BFD section flag, to | |
1233 | communicate the section as containing SHmedia code. Describe why. | |
1234 | * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set | |
1235 | EF_SH64 regardless of ABI. | |
1236 | * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" | |
1237 | in error message. Handle resolved expressions for | |
1238 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
1239 | BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. | |
1240 | (shmedia_check_limits): Handle BFD_RELOC_64. | |
1241 | (sh64_adjust_symtab): Do not decrement the GAS symbol value for | |
1242 | a STO_SH5_ISA32 symbol, only the BFD value. | |
1243 | 2000-12-11 Ben Elliston <bje@redhat.com> | |
1244 | * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct | |
1245 | dwarf2_generate_asm_lineno. | |
1246 | 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> | |
1247 | Handle PC-relative MOVI expansions with assembler relaxation. | |
1248 | Generate PC-relative relocs from 16-bit PC-relative expressions. | |
1249 | * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... | |
1250 | (shmedia_md_pcrel_from_section): ...here. | |
1251 | (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has | |
1252 | turned completely resolved. Adjust relocation type for 16-bit | |
1253 | immediate operands that has turned PC-relative. Adjust back for | |
1254 | MD_PCREL_FROM_SECTION being applied twice. | |
1255 | (shmedia_md_convert_frag): Always emit reloc for expression with | |
1256 | global or weak symbol. Handle relaxation result for PC-relative | |
1257 | expressions. | |
1258 | (shmedia_md_estimate_size_before_relax): An expression with a weak | |
1259 | or global symbol can not be relaxed. Break out tests for | |
1260 | relaxable symbol into variable sym_relaxable. | |
1261 | <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, | |
1262 | UNDEF_MOVI)>: Break out any PC-relative expression and change | |
1263 | relaxation type. | |
1264 | (shmedia_build_Mytes): CSE &operands->operands[j] into variable | |
1265 | opjp. | |
1266 | <case A_IMMS16>: Fix typo for initial minor relaxation type of | |
1267 | MOVI expansion. If X_op_symbol of the immediate expression is | |
1268 | set, make an expression symbol for the argument to frag_var. | |
1269 | * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New | |
1270 | relaxations. | |
1271 | (END): Adjust for new relaxations. | |
1272 | (md_relax_table): Add entries for new relaxations. | |
1273 | 2000-12-07 Ben Elliston <bje@redhat.com> | |
1274 | * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. | |
1275 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
1276 | * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and | |
1277 | SHORI operand offsets in PT/PTA/PTB expansions. | |
1278 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1279 | Implement DataLabel semantics. | |
1280 | * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call | |
1281 | shmedia_frob_file_before_adjust. | |
1282 | * config/tc-sh64.c [! OBJ_ELF]: Emit #error. | |
1283 | (DATALABEL_SUFFIX): Define. | |
1284 | (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk | |
1285 | symbol list to update "datalabel" symbols to their main symbol | |
1286 | counterparts. | |
1287 | (shmedia_frob_file_before_adjust): New. | |
1288 | (sh64_adjust_symtab): For remaining datalabel symbols, set to | |
1289 | undefined and set STT_DATALABEL. | |
1290 | (sh64_frob_label): Initialize TC symbol field. | |
1291 | (sh64_consume_datalabel): Actually implement semantics. New | |
1292 | parameter operandf, call it instead of expression. | |
1293 | (sh64_exclude_symbol): New. | |
1294 | * config/tc-sh64.h (md_parse_name): Pass on the function operand | |
1295 | to sh64_consume_datalabel. | |
1296 | (tc_symbol_new_hook): Define to tc_frob_symbol. | |
1297 | (TC_SYMFIELD_TYPE): Define to symbolS *. | |
1298 | (tc_frob_symbol): Define to call sh64_exclude_symbol. | |
1299 | 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> | |
1300 | * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default | |
1301 | case. | |
1302 | (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if | |
1303 | generating dwarf2 debug information. | |
1304 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1305 | * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and | |
1306 | elf64-sh64 for the 64-bit ABI. | |
1307 | * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* | |
1308 | option. | |
1309 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
1310 | * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for | |
1311 | case-insensitivity. | |
1312 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
1313 | * config/tc-sh64.c: Tweak comments, formatting and error messages. | |
1314 | (enum sh64_abi_values): New type. | |
1315 | (enum sh64_isa_values): New type. | |
1316 | (sh64_isa_mode): Replace shmedia_mode. All referers changed. | |
1317 | (seen_shcompact_mode, seen_shmedia_mode): Delete. | |
1318 | (sh64_abi): Replace shmedia_64. | |
1319 | (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), | |
1320 | C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. | |
1321 | (s_sh64_mode): Check validity for this target. | |
1322 | (sh64_target_format): Initialize defaults for ISA and ABI. | |
1323 | Fallback to old object format if no SH64 ISA or ABI has been | |
1324 | specified. | |
1325 | * config/tc-sh.c (md_parse_option): Check combinations for errors. | |
1326 | (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit | |
1327 | ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. | |
1328 | * config/tc-sh64.h: Fix typo in comment. | |
1329 | 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> | |
1330 | * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) | |
1331 | <PT fixups for absolute values>: Size will be longest, not | |
1332 | shortest. | |
1333 | (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct | |
1334 | all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. | |
1335 | * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 | |
1336 | and l1 to hold lowercase of two first characters. Change all | |
1337 | remaining TO_LOWER to tolower. | |
1338 | * config/tc-sh64.c (TO_LOWER): Delete. | |
1339 | (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. | |
1340 | (md_parse_name): Define. | |
1341 | (sh64_consume_datalabel): Declare. | |
1342 | (DOLLAR_DOT): Define. | |
1343 | * config/tc-sh64.c (shmedia_parse_exp): New. | |
1344 | (sh64_consume_datalabel): New; just ignoring datalabel semantics. | |
1345 | (shmedia_parse_reg): Remove const from src | |
1346 | parameter. | |
1347 | (shmedia_get_operands): Ditto for args parameter and ptr variable. | |
1348 | (shmedia_md_assemble): Ditto for op_end variable. | |
1349 | (shmedia_get_operand): Ditto for ptr parameter and src variable. | |
1350 | Use shmedia_parse_exp, not parse_exp. | |
1351 | * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type | |
1352 | parameter. All callers changed. | |
1353 | (shmedia_get_operand): Add shmedia_arg_type parameter. All | |
1354 | callers changed. | |
1355 | (shmedia_parse_reg): Put first two character in local variables. | |
1356 | Use tolower, not TO_LOWER. If no register is found and argtype | |
1357 | indicates a control register, scan shmedia_creg_table | |
1358 | case-insensitive. | |
1359 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
1360 | * Makefile.am (CPU_TYPES): Add sh64. | |
1361 | (TARGET_CPU_CFILES): Add config/tc-sh64.c. | |
1362 | (TARGET_CPU_HFILES): Add config/tc-sh64.h. | |
1363 | Regenerate dependencies. | |
1364 | * Makefile.in: Regenerate. | |
1365 | * configure.in: Add support for sh64-*-elf*. | |
1366 | * configure: Regenerate. | |
1367 | * config/tc-sh64.h: New. | |
1368 | * config/tc-sh64.c: New. | |
1369 | * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos | |
1370 | .mode, .isa and .uaquad. | |
1371 | [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, | |
1372 | SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. | |
1373 | [HAVE_SH64] (END): Define as 10. | |
1374 | [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, | |
1375 | SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, | |
1376 | MOVI_64): Define. | |
1377 | [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, | |
1378 | SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, | |
1379 | SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, | |
1380 | MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): | |
1381 | Define. | |
1382 | (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. | |
1383 | (md_begin) [HAVE_SH64]: Call shmedia_md_begin. | |
1384 | (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. | |
1385 | (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling | |
1386 | SHmedia instructions. Handle state-change after switching to | |
1387 | SHcompact. | |
1388 | (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. | |
1389 | (md_parse_option) [HAVE_SH64]: Parse new options. | |
1390 | (md_show_usage) [HAVE_SH64]: Show usage of new options. | |
1391 | (md_convert_frag) [HAVE_SH64] <default>: Call | |
1392 | shmedia_md_convert_frag instead of abort. | |
1393 | (sh_force_relocation) [HAVE_SH64]: Also force relocation for | |
1394 | BFD_RELOC_SH_SHMEDIA_CODE. | |
1395 | (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying | |
1396 | SHcompact or SHmedia code. | |
1397 | (md_apply_fix) [HAVE_SH64] <default>: Return result from calling | |
1398 | shmedia_md_apply_fix instead of abort. | |
1399 | (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return | |
1400 | result from calling shmedia_md_estimate_size_before_relax instead | |
1401 | of calling abort. | |
1402 | (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align | |
1403 | do the work. | |
1404 | (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call | |
1405 | shmedia_init_reloc and do nothing more if it returns non-zero. | |
1406 | (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. | |
1407 | * po/POTFILES.in: Regenerate. | |
1408 | * po/gas.pot: Regenerate. | |
1409 | ||
ac3f04d7 AO |
1410 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
1411 | ||
6b32719e AO |
1412 | * config/tc-sh.c (parse_at): Install the correct version of |
1413 | 2002-02-04's patch. | |
949f2b5c | 1414 | |
ac3f04d7 AO |
1415 | * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't |
1416 | assume fixP->fx_subsy is non-NULL. | |
1417 | ||
7679ead9 AO |
1418 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> |
1419 | ||
1420 | * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to | |
fdf4122d | 1421 | A_DISP_PC_ABS, and adjust it by -4. |
7679ead9 AO |
1422 | (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is |
1423 | expected. | |
1424 | (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if | |
1425 | the operand type is not A_DISP_PC_ABS. | |
1426 | ||
5459d7a0 HPN |
1427 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
1428 | ||
1429 | * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of | |
1430 | common and weak symbols. Handle common and weak symbols as | |
1431 | undefined symbols with regards to GREG handling and merging. | |
1432 | (mmix_frob_file): Ditto. | |
1433 | ||
006336b8 JT |
1434 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
1435 | ||
1436 | * configure.in (hppa-*-netbsd*): New target. | |
1437 | * configure: Regenerate. | |
1438 | * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. | |
1439 | ||
9e0665bc AM |
1440 | 2002-02-02 Alan Modra <amodra@bigpond.net.au> |
1441 | ||
1442 | * config/tc-v850.c: Add missing prototypes amd use old-style | |
1443 | function definitions. | |
1444 | (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. | |
1445 | (sdata_section tdata_section, zdata_section, sbss_section, | |
1446 | tbss_section, zbss_section, rosdata_section, rozdata_section, | |
1447 | scommon_section, tcommon_section, zcommon_section, | |
1448 | call_table_data_section, call_table_text_section): Delete. | |
1449 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
1450 | v850_zbss, v850_bss, v850_rosdata, v850_rozdata, | |
1451 | v850_call_table_data, v850_call_table_text): Delete. | |
1452 | (struct v850_seg_entry): New. | |
1453 | (v850_seg_table): New. | |
1454 | (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, | |
1455 | TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, | |
1456 | ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, | |
1457 | CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. | |
1458 | (do_v850_seg): New. | |
1459 | (v850_seg): New. | |
1460 | (v850_comm): Use do_v850_seg and v850_seg_table. Simplify | |
1461 | recording of alignment. | |
1462 | (md_pseudo_table): Use v850_seg. | |
1463 | (md_begin): Don't init .call_table_data and .call_table_text here. | |
1464 | Set v850_seg_table bss entry. | |
1465 | ||
973eb340 HPN |
1466 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
1467 | ||
1468 | Support on-demand global register allocation by passing on | |
1469 | base-plus-offset relocs to the linker. | |
1470 | * config/tc-mmix.c: Tweak and fix typos in comments. | |
949f2b5c | 1471 | (allocate_undefined_gregs_in_linker): New variable. |
973eb340 HPN |
1472 | (OPTION_LINKER_ALLOCATED_GREGS): New option macro. |
1473 | (md_longopts): Add --linker-allocated-gregs. | |
1474 | (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. | |
1475 | <case OPTION_LINKER_ALLOCATED_GREGS>: New. | |
1476 | (md_show_usage): Update text for -x. Add text for | |
1477 | --linker-allocated-gregs. | |
1478 | (tc_gen_reloc): Derive default value for addend from val and | |
1479 | baddsy. Use addsec and bfd_is_abs_section in more places. Don't | |
1480 | emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable | |
1481 | GREG if allocate_undefined_gregs_in_linker. | |
1482 | * doc/as.texinfo (Overview) <Target MMIX options>: Add | |
1483 | --linker-allocated-gregs. | |
1484 | * doc/c-mmix.texi (MMIX-Opts): Add blurb about | |
1485 | --linker-allocated-gregs. Mention that it's implied by -x. | |
1486 | (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. | |
1487 | (MMIX-mmixal): Clarify dated comparison and location of MMIXware. | |
1488 | ||
1489 | * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. | |
1490 | ||
ba323545 AM |
1491 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
1492 | ||
1493 | * Makefile.am: Run "make dep-am" | |
1494 | * Makefile.in: Regenerate. | |
1495 | ||
3b16e843 NC |
1496 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
1497 | ||
1498 | * config/tc-or32.c: New file. | |
1499 | * config/tc-or32.h: New file. | |
1500 | * configure.in: Add support for or32 targets. | |
1501 | * configure: Regenerate. | |
1502 | * config/obj-coff.c: Add support for or32 targets. | |
1503 | * config/obj-coff.h: Add support for or32 targets. | |
1504 | * Makefile.am: Add support for or32 targets. | |
1505 | * Makefile.in: Regenerate. | |
1506 | * NEWS: Mention support for OpenRISC. | |
1507 | * doc/Makefile.in: Regenerate. | |
1508 | * po/POTFILES.in: Regenerate. | |
1509 | * po/gas.pot: Regenerate. | |
1510 | ||
912a07db RS |
1511 | 2002-01-30 Richard Sandiford <rsandifo@redhat.com> |
1512 | ||
1513 | * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy | |
1514 | and mod. | |
1515 | ||
4514d474 CD |
1516 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
1517 | ||
1518 | * config/tc-mips.c (tc_gen_reloc): Arrange for | |
1519 | BFD_RELOC_PCREL_HI16_S relocations to be output relative to | |
1520 | their LO16 parts, even for ELF. | |
1521 | ||
246fcdee DJ |
1522 | 2002-01-29 Daniel Jacobowitz <drow@mvista.com> |
1523 | ||
1524 | * config/tc-i386.c: Protect definitions of true and false | |
1525 | from redefinition. | |
1526 | ||
00e6e13d JJ |
1527 | 2002-01-28 Jakub Jelinek <jakub@redhat.com> |
1528 | ||
1529 | * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols | |
1530 | made because of .weak, if they are neither defined nor used in any | |
1531 | way. | |
1532 | ||
4867be41 DJ |
1533 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
1534 | ||
1535 | * configure: Regenerated. | |
1536 | ||
7562a296 HPN |
1537 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
1538 | ||
1539 | * doc/Makefile.am (install): Depend on install-info. | |
1540 | * doc/Makefile.in: Regenerate. | |
1541 | ||
1caa7b23 NC |
1542 | 2002-01-26 Nick Clifton <nick@redhat.com> |
1543 | ||
1544 | * po/fr.po: Updated version | |
1545 | ||
166e23f9 KH |
1546 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
1547 | ||
1548 | * config/tc-h8300.c (check_operand): Don't print a warning | |
1549 | when a valid 24-bit address is given to a 16-bit address | |
1550 | operand. | |
1551 | ||
538cd60f AO |
1552 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
1553 | ||
1554 | * config/tc-sh.c (sh_elf_suffix): Removed. | |
1555 | (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, | |
1556 | sh_end_of_match, sh_parse_name): New functions. | |
1557 | (sh_elf_cons): Simplify. | |
1558 | (parse_exp): Reject misplaced PIC operands. | |
1559 | (md_undefined_symbol): Simplify. | |
1560 | (sh_fix_adjustable): Let @GOTOFF be adjusted. | |
1561 | (md_apply_fix3): Write @PLT and @GOTOFF addends in place. | |
1562 | (tc_gen_reloc): Move fixp subsy absolute value into addnumber. | |
1563 | Complain if subsy remains at the end. | |
1564 | * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. | |
1565 | (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. | |
1566 | ||
b386f24b AO |
1567 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
1568 | ||
1569 | * config/tc-mn10300.c (xr_registers): Move `pc'... | |
1570 | (other_registers): ... here. | |
1571 | ||
c46f0c34 AM |
1572 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
1573 | ||
1574 | * Makefile.am: Run "make dep-am". | |
1575 | * Makefile.in: Regenerate. | |
1576 | * gas/po/POTFILES.in: Regenerate. | |
1577 | ||
23deb923 DD |
1578 | 2002-01-21 DJ Delorie <dj@redhat.com> |
1579 | ||
1580 | * config/obj-coff.c (obj_coff_init_stab_section): Make the | |
1581 | stabstr_name allocation permanent, as it will be referenced from | |
1582 | the section hash. | |
1583 | ||
9596feea JT |
1584 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
1585 | ||
1586 | * configure.in (ia64-*-netbsd*): New target. | |
949f2b5c | 1587 | * configure: Regenerate. |
9596feea | 1588 | |
92081f48 HPN |
1589 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
1590 | ||
1591 | * doc/as.texinfo (Overview) <Target ARM options>: Add missing {} | |
1592 | to @dots call. | |
1593 | <Detailed description, ARM options>: Ditto. | |
1594 | * doc/c-arm.texi (ARM Options): Ditto. | |
1595 | ||
63e63b07 RE |
1596 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
1597 | ||
1598 | * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from | |
1599 | do_mia, do_mar and do_mra respectively. | |
1600 | (do_mav_*): Renamed from do_c_*. | |
1601 | (mav_reg_required_here, mav_parse_offset): Renamed from | |
1602 | cirrus_reg_required_here and cirrus_parse_offset respectively. | |
1603 | (MAV_MODE?): Renamed from CIRRUS_MODE?. | |
1604 | ||
ea6ef066 RE |
1605 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
1606 | Keith Walker <keith.walker@arm.com> | |
1607 | ||
1608 | * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. | |
1609 | (insns): Add pattern for bxj instruction. | |
1610 | (do_bxj): New function. | |
1611 | (arm_cpus): Add arm926ej. | |
1612 | (arm_archs): Add armv5tej. | |
1613 | ||
bc89618b RE |
1614 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
1615 | ||
1616 | * doc/c-arm.texi: Add new fpe options to list of supported flags. | |
1617 | ||
d193a22a RE |
1618 | 2002-01-19 Keith Walker <keith.walker@arm.com> |
1619 | ||
1620 | * tc-arm.c (arm_fpus): Add fpe2 and fpe3. | |
1621 | ||
03b1477f RE |
1622 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
1623 | ||
1624 | * NEWS: Mention new ARM command-line options and VFP support. | |
1625 | ||
949f2b5c | 1626 | * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All |
03b1477f RE |
1627 | uses changed. |
1628 | (ARM_CEXT_MAVERICK): Similarly. | |
1629 | (ARM_ANY): Now means any core instruction. | |
1630 | (CPU_DEFAULT): Default to ARM_ANY. | |
1631 | (uses_apcs_26, atcps, support_interwork, uses_apcs_float) | |
1632 | (pic_code): Declare for all object types. Make type int. | |
1633 | (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) | |
1634 | (march_fpu_opt, mfpu_opt): Declare. | |
1635 | (md_longopts): Tidy up conditional definitions. | |
1636 | (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) | |
1637 | (arm_long_opts): New tables. | |
1638 | (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. | |
1639 | (arm_parse_extension): New function. | |
1640 | (md_parse_option): Rewrite using new table-driven system. | |
1641 | (md_show_usage): Use new table-driven system. | |
1642 | (md_begin): Calculate cpu_variant from command line option data. | |
1643 | * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific | |
1644 | command-line options. | |
1645 | * doc/c-arm.texi: Likewise. | |
1646 | ||
2a538ba5 AJ |
1647 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
1648 | ||
1649 | * as.c (parse_args): Update year. | |
1650 | ||
b1ffc257 | 1651 | 2002-01-17 Timothy Wall <twall@alum.mit.edu> |
2a538ba5 | 1652 | |
b1ffc257 TW |
1653 | * config/tc-tic54x.c (encode_address): Add a more informative |
1654 | warning about incorrect syntax. | |
1655 | ||
328577ad NC |
1656 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
1657 | ||
1658 | * po/gas.pot: Regenerate. | |
1659 | ||
06f030db NC |
1660 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
1661 | ||
1662 | * macro.c (get_any_string): Add no-c-format comment to prevent | |
1663 | confusion when translating string. | |
1664 | * gasp.c (get_any_string): Add no-c-format comment to prevent | |
1665 | confusion when translating string. | |
1666 | ||
394f9b3a TS |
1667 | 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1668 | Johannes Stezenbach <js@convergence.de> | |
1669 | * config/tc-mips.c (percent_op): Ensure longer percent_op's are | |
1670 | matched before the shorter ones. | |
1671 | (my_getSmallParser): Fix handling of nested parentheses in | |
1672 | percent_op's. Code cleanup. | |
1673 | (my_getPercentOp): New function, code from my_getSmallParser. | |
1674 | (my_getSmallExpression): Fix handling of closing parentheses. | |
1675 | Code cleanup. Better comments. | |
1676 | ||
af3ae48d NC |
1677 | 2002-01-16 Nick Clifton <nickc@redhat.com> |
1678 | ||
1679 | po/tr.po: New file: Turkish translation. | |
1680 | configure.in (LINGUAS): Add "tr". | |
1681 | configure: Regenerate. | |
1682 | ||
bfae80f2 RE |
1683 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
1684 | ||
1685 | Support for VFP instructions | |
1686 | * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. | |
1687 | (cp_address_required_here): New argument wb_ok. When false, do not | |
1688 | accept write-back forms of addressing. Change all callers. | |
1689 | (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) | |
1690 | (FPU_VFP_EXT_V2): Define. | |
1691 | (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): | |
1692 | Define in terms of above. | |
1693 | (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. | |
1694 | (vfp_reg): New struct. | |
1695 | (vfp_regs): New array of registers. | |
1696 | (insns): Add VFP instructions. | |
1697 | (sn_table): New array of VFP single-precision register names. | |
1698 | (dn_table): New array of VFP double-precision register names. | |
1699 | (all_reg_maps): Add the new register tables. | |
1700 | (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. | |
1701 | (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) | |
1702 | (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) | |
1703 | (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) | |
1704 | (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) | |
1705 | (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) | |
1706 | (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) | |
1707 | (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) | |
1708 | (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) | |
1709 | (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) | |
1710 | (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) | |
1711 | (do_vfp_sp_dp_cvt): New functions. | |
1712 | (md_begin): Set soft-float flag for appropriate VFP work. | |
1713 | (md_atof): Handle VFP-format doubles. | |
1714 | (md_parse_option): Handle VFP command-line options. | |
1715 | (md_show_usage): Display VFP command-line options. | |
1716 | ||
fcd6d8d6 RE |
1717 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
1718 | ||
2a538ba5 | 1719 | * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for |
fcd6d8d6 RE |
1720 | various command line options. |
1721 | ||
1f7fd478 NC |
1722 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
1723 | ||
1724 | * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix | |
1725 | vtinherit relocs. | |
1726 | (xstormy16_md_apply_fix3): Do not return a value. | |
1727 | ||
21f0f23a RE |
1728 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
1729 | ||
1730 | * tc-arm.c (md_longopts): On targets that aren't bi-endian, support | |
1731 | the -EL/-EB option that matches the target's endianness. | |
1732 | (md_parse_option): Likewise. | |
1733 | ||
ce058b6c RE |
1734 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
1735 | ||
2a538ba5 | 1736 | * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option |
ce058b6c RE |
1737 | is not dependent on ARM_BI_ENDIAN. |
1738 | ||
f03698e6 RE |
1739 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
1740 | ||
1741 | * tc-arm.c (all error messages): Normalize capitalization of messages. | |
1742 | ||
1743 | * tc-arm.h (md_operand): Delete define. | |
1744 | * tc-arm.c (in_my_get_expression): New static variable. | |
1745 | (my_get_expression): Set and clear it. | |
1746 | (md_operand): New function. If called from my_get_expression | |
1747 | put the error in inst.error. | |
1748 | (output_inst): Now takes argument of instruction being assembled. | |
1749 | Print it out with any error message. | |
1750 | (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store | |
1751 | with '=' syntax. | |
1752 | (end_of_line): Don't update inst.error if it is already set. | |
1753 | ||
e28cd48c RE |
1754 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
1755 | ||
1756 | * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo | |
1757 | op that can be translated into a mvn instruction. | |
1758 | ||
1cd8ff38 NC |
1759 | 2002-01-11 Steve Ellcey <sje@cup.hp.com> |
1760 | ||
1761 | * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for | |
1762 | setting default md.flags. | |
1763 | (SHT_INIT_ARRAY): New elf special section used by HP-UX. | |
1764 | (SHT_FINI_ARRAY): New elf special section used by HP-UX. | |
1765 | * gas/config/tc-ia64.c (setup_unwind_header): Add support | |
1766 | for 32 bit unwind info blocks. | |
1767 | (generate_unwind_image): Add support for different types | |
1768 | of unwind images (32 bits and/or big-endian). | |
1769 | (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. | |
1770 | (ia64_target_format): Add support for hpux target formats. | |
1771 | (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. | |
1772 | (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and | |
1773 | SHT_FINI_ARRAY elf section types. | |
1774 | ||
6c43fab6 RE |
1775 | 2002-01-10 Richard Earnshaw <rearnsha@arm.com> |
1776 | ||
1777 | * tc-arm.c (struct reg_entry): Move before prototypes. | |
1778 | (int_register, cp_register, fp_register): Delete. | |
1779 | (reg_table): Delete. Replaced with ... | |
1780 | (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) | |
1781 | (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) | |
1782 | (mav_dspsc_table): ... one table per register set. | |
1783 | (arm_reg_hsh): Delete. | |
1784 | (struct reg_map): New structure. | |
1785 | (all_reg_maps): New array. | |
1786 | (enum arm_reg_type): New enums. | |
1787 | (build_reg_hsh): New function. | |
1788 | (insert_reg_alias): Use hash table passed by caller. Adjust all | |
1789 | callers. | |
1790 | (create_register_alias): New function, split out from ... | |
1791 | (md_assemble): ... here. | |
1792 | (md_begin): Build new register hash tables. | |
1793 | (arm_reg_parse): New argument for the hash table to search. Adjust all | |
1794 | callers. | |
1795 | (arm_reg_parse_any): New function. | |
1796 | (co_proc_number): Look up the processor number in the processor hash | |
1797 | table. | |
1798 | (cirrus_regtype): Delete. | |
1799 | (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) | |
1800 | (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) | |
1801 | (ARM_EXT_MAVERICKsc_register): Delete. | |
1802 | (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. | |
1803 | (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New | |
1804 | functions. | |
1805 | (do_c_triple_4, do_c_triple_5): Delete. | |
1806 | (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. | |
1807 | (do_c_quad_6): Delete. | |
1808 | (do_c_quad_6[ab]): New functions. | |
1809 | (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework | |
1810 | arguments to use new register parsing methods. | |
1811 | (cirrus_reg_required_here): Likewise. | |
1812 | (insns): Reclassify cirrus maverick worker functions. | |
1813 | (cirrus_valid_reg): Delete. | |
1814 | ||
8d05742f JT |
1815 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
1816 | ||
1817 | * configure.in (sh*le): Set cpu_type=sh and endian=little. | |
1818 | (sh*-*-netbsdelf*): New target. | |
1819 | * configure: Regenerate. | |
2a538ba5 | 1820 | * tc-sh.h: Update copyright years. |
8d05742f JT |
1821 | (TARGET_FORMAT): Add version for TE_NetBSD. |
1822 | ||
ceac3f62 NC |
1823 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
1824 | ||
1825 | * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go | |
1826 | negative. | |
1827 | ||
d7861ad2 AM |
1828 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
1829 | ||
1830 | * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. | |
1831 | * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. | |
1832 | ||
7a621144 DJ |
1833 | 2002-01-05 Daniel Jacobowitz <drow@mvista.com> |
1834 | ||
1835 | * tc-mips.c (mips_cprestore_valid): New flag. | |
1836 | (mips_frame_reg_valid): New flag. | |
1837 | (macro) [M_JAL_2]: Check both flags. | |
1838 | [M_JAL_A]: Likewise. | |
1839 | (s_cprestore): Set mips_cprestore_valid. | |
1840 | (tc_get_register): If setting mips_frame_reg, set | |
1841 | mips_frame_reg_valid and clear mips_cprestore_valid. | |
1842 | (s_mips_ent): Clear both flags. | |
1843 | (s_mips_end): Clear both flags. | |
1844 | ||
7c6beb69 AM |
1845 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
1846 | ||
1847 | * write.c (write_object_file): Make use of bfd_section_list_remove. | |
1848 | * config/obj-ecoff.c (ecoff_frob_file): Likewise. | |
1849 | * config/tc-mmix.c (mmix_frob_file): Likewise. | |
1850 | ||
8a8b2d4b AJ |
1851 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1852 | ||
1853 | * configure.in (i386-*-netbsdelf*): Collapse target into... | |
1854 | (i386-*-netbsd*): ...this. Add support for x86-64. | |
1855 | * configure: Regenerated. | |
1856 | ||
a09cf9bd MG |
1857 | 2002-01-03 matthew green <mrg@redhat.com> |
1858 | ||
1859 | * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. | |
1860 | ||
23b7f870 NC |
1861 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
1862 | ||
1863 | * config/tc-m68k.c (md_estimate_size_before_relax): Test for a | |
1864 | NULL frag link. | |
1865 | ||
08d56133 NC |
1866 | For older changes see ChangeLog-0001 |
1867 | \f | |
1868 | Local Variables: | |
1869 | mode: change-log | |
1870 | left-margin: 8 | |
1871 | fill-column: 74 | |
1872 | version-control: never | |
1873 | End: |