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