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