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