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