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