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