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