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