* s390-dis.c: Fix formatting.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
ac62c346
AM
12001-07-23 Alan Modra <amodra@bigpond.net.au>
2
3 * symbols.c (S_GET_VALUE): Don't treat O_constant and local
4 symbols specially. Always resolve, adding fr_address to value.
5 * write.c (write_object_file): Don't add fr_address to sym values.
6 (relax_frag): Likewise.
7 (relax_segment): Likewise.
8 * config/obj-ieee.c (do_symbols): Likewise.
9 * config/tc-cris.c (md_convert_frag): Likewise.
10 * config/tc-fr30.c (md_convert_frag): Likewise.
11 * config/tc-i386.c (md_convert_frag): Likewise.
12 * config/tc-m32r.c (md_convert_frag): Likewise.
13 * config/tc-m68hc11.c (md_convert_frag): Likewise.
14 * config/tc-mcore.c (md_convert_frag): Likewise.
15 * config/tc-mips.c (mips16_extended_frag): Likewise.
16 * config/tc-ns32k.c (md_convert_frag): Likewise.
17 * config/tc-m68k.c (md_convert_frag_1): Likewise.
18 (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
19 DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
20 (md_relax_table): Remove first four entries. Format.
21 (md_estimate_size_before_relax): Remove old_fix. Don't bother
22 setting fr_var. Simplify byte branch checks.
23
677537c1
AM
242001-07-23 Alan Modra <amodra@bigpond.net.au>
25
26 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
27 "isbranch" param as all calls have it set.
28 (pa_parse_neg_cmpsub_cmpltr): Likewise.
29 (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
30 strcasecmp in "nullify" var.
31 (pa_parse_neg_add_cmpltr): Likewise.
32 (pa_ip): Don't "save_s" unnecessarily. Update calls to above
33 functions. Don't print wrong conditions in error messages.
34
c745b67a
AJ
352001-07-23 Andreas Jaeger <aj@suse.de>
36
37 * config/tc-s390.c (s390_force_relocation): Removed.
38
39 * config/tc-s390.h: Remove double declaration of
40 TC_FORCE_RELOCATION.
41
2b3c5a5d
L
422001-07-22 H.J. Lu <hjl@gnu.org>
43
44 * config/tc-mips.c (s_mips_end): Remove unused variables.
45 (s_mips_frame): Add ATTRIBUTE_UNUSED.
46
f27a3839
AS
472001-07-17 Andreas Schwab <schwab@suse.de>
48
49 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
50 .loc.
51 (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
52 insn.
53 * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
54
5bae9b28
MG
552001-07-17 matthew green <mrg@eterna.com.au>
56
57 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
58 TE_NetBSD.
59 (line_comment_chars): Set to '/' if TE_NetBSD.
60
7ed28e65
MG
612001-07-14 matthew green <mrg@eterna.com.au>
62
63 * configure.in (i386-*-netbsdelf*): New target.
92c077a3 64 * configure: Regenerate.
7ed28e65 65
20278fa3
JJ
662001-07-11 Jakub Jelinek <jakub@redhat.com>
67
68 * testsuite/gas/sparc/unalign.s: Remove .uaxword test.
69 * testsuite/gas/sparc/unalign.d: Adjust accordingly.
70
bdbe95c8
NC
712001-07-10 Mark Elbrecht <snowball3@softhome.net>
72
73 * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
74 class of the non-debug symbol is C_NULL.
75
15dcfbc3
NC
762001-07-10 Anders Norlander <anorland@synergenix.se>
77
78 * doc/as.texinfo (Incbin): Fix grammatical errors.
79
f740e790
NC
802001-07-10 Nick Clifton <nickc@cambridge.redhat.com>
81
82 * depend.c: Use FOPEN_.. macros in calls to fopen().
83 * input-file.c: As above.
84 * itbl-ops.c: As above.
85 * listing.c: As above.
86 * output-file.c: As above.
87 * read.c: As above.
88
7e005732
NC
892001-07-08 Anders Norlander <anorland@synergenix.se>
90
91 * read.c (s_incbin): New .incbin function.
92 * read.c (potable): Add "incbin" pseudo-op.
93 * read.h: Add s_incbin prototype.
94 * doc/as.texinfo (incbin): Document .incbin pseudo-op.
95 * NEWS: Mention new feature.
96
ae341099
NC
972001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
98
99 * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
100 DEBUG_UNSPECIFIED.
101
002de68b
JH
1022001-07-06 John Healy <jhealy@redhat.com>
103
104 * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
105 set of fixups to be stored.
106 (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
107 restored to be chosen from any that are saved.
108 (gas_cgen_swap_fixups): Modified to allow the current set of
109 fixups to be swapped with any other set that has been saved.
110 (gas_cgen_initialize_saved_fixups_array): New routine.
111 * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
112 gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
113 or MAX_SAVED_FIXUP_CHAINS.
114 * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
115 store, swap and restore fuctions to reflect the new interface.
116
7099f9f9
NC
1172001-07-06 Nick Clifton <nickc@cambridge.redhat.com>
118
119 * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
120 ignore empty, ineffectual alignment frags when deciding if a
121 branch can be short.
122
557debba
JW
1232001-07-05 Steve Ellcey <sje@cup.hp.com>
124
125 * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
126 and SPECIAL_SECTION_FINI_ARRAY.
127 (special_section_name): Add .init_array and .fini_array.
128 (md_pseudo_table): Add init_array and fini_array.
129 (md): Add pointer_size and pointer_size_shift fields.
130 (setup_unwind_header): New static function.
131 (output_unw_records): Modify to use setup_unwind_header.
132 (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
133 md.pointer_size_shift.
134 (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
135
4ad09363
BE
1362001-07-05 Ben Elliston <bje@redhat.com>
137
464bb47c
BE
138 * README (Supported platforms): m88k no longer suffers bitrot.
139
4ad09363
BE
140 * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
141
7fb088be
AM
1422001-07-05 Alan Modra <amodra@bigpond.net.au>
143
144 * struc-symbol.h (struct local_symbol): Rename lsy_offset to
145 lsy_value. Correct typos in comments.
146 * symbols.c (local_symbol_make): Update for name change.
147 (local_symbol_convert): Likewise.
148 (colon): Likewise.
149 (S_GET_VALUE): Likewise.
150 (S_SET_VALUE): Likewise.
151 (print_symbol_value_1): Likewise.
152 (resolve_symbol_value): Likewise. Don't divide local sym values
153 by OCTETS_PER_BYTE twice.
154
3e37788f
JW
1552001-07-04 Jim Wilson <wilson@redhat.com>
156
87885043
JW
157 * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
158
3e37788f
JW
159 * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
160 sched branches.
161
81b0b3f1
BE
1622001-07-05 Ben Elliston <bje@redhat.com>
163
2a1e2a6d
BE
164 * read.c (s_fill): Correct spelling error in comments.
165
81b0b3f1
BE
166 * doc/c-m88k.texi: New file.
167 * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
168 * doc/Makefile.in: Regenerate.
169 * doc/all.texi: Set M880X0.
170 * doc/as.texinfo: Hook in m88k-dependent documentation.
171
18ae5d72
EC
1722001-07-04 Eric Christopher <echristo@redhat.com>
173
174 * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
175
176 * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
177 and rm5721 as valid cpu strings.
178 (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
179
7461da6e
RS
1802001-07-04 Richard Sandiford <rsandifo@redhat.com>
181
182 * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
183 if it's expected to be non-zero.
184
87548816
NC
1852001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
186
7bcad3e5
NC
187 * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
188 fscan->fx_frag.
189
87548816 190 * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
ac62c346
AM
191 (write_object_file): Set finalize_syms to
192 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
193 called.
87548816 194
ac62c346 195 * doc/internals.texi; Document
18ae5d72 196 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
87548816 197
99a814a1
AM
1982001-07-02 Alan Modra <amodra@bigpond.net.au>
199
200 * config/tc-ppc.c: Formatting fixes.
201
bd59b34f
BE
2022001-07-01 Ben Elliston <bje@redhat.com>
203
204 * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
205 they cause some subtle breakage. Will fix them again later.
206
e237d851
NC
2072001-06-28 Nick Clifton <nickc@cambridge.redhat.com>
208
209 * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
210 outside of a function as a .appline directive.
211
ec68c924
EC
2122001-06-28 Eric Christopher <echristo@redhat.com>
213 H.J. Lu <hjl@gnu.org>
214
551b1d89
BE
215 * config/tc-mips.c (mips_arch): New. Use mips_arch instead
216 of mips_cpu for the ISA selection.
217 (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
218 (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
ec68c924
EC
219 (mips_tune): New. Use mips_tune for scheduling and optimization
220 issues.
221 (append_insn): Use mips_tune and mips_arch.
222 (macro_build): Ditto.
223 (mips_ip): Ditto.
224 (md_begin): Handle mips_arch, mips_tune and mips_cpu. For
225 backwards compatability mips_cpu generates arch and tune.
226 (md_show_usage): Document new behavior.
227
228 * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
229 Deprecate -mcpu.
230
231 * NEWS: Update.
232
d8273442
NC
2332001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
234
38b87a1b
NC
235 * write.c (write_object_file): Do not set finalize_syms until
236 after the segments have been sized. Some backends may still
237 need to access the syms's frags in order to adjust relaxed
238 frags.
239
d8273442
NC
240 * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
241 constants.
242
1a16aca4
AM
2432001-06-27 Alan Modra <amodra@bigpond.net.au>
244
245 * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
246 subtract MD_PCREL_FROM_SECTION for 68k.
247 (fixup_segment <Difference of 2 syms different seg>): Only fudge
248 by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
249
d48019e0
AM
2502001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com>
251
252 * write.c (fixup_segment <Difference of 2 syms same seg>): If
253 pcrel, subtract MD_PCREL_FROM_SECTION value.
254
37ffda10
BE
2552001-06-24 Ben Elliston <bje@redhat.com>
256
257 * stabs.c (generate_asm_file): Make local variable `len' a size_t.
258
6f112c47
JJ
2592001-06-24 Jakub Jelinek <jakub@redhat.com>
260
261 * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
262 section symbols the same way as externs.
263
a181d81e
BE
2642001-06-24 Ben Elliston <bje@redhat.com>
265
453520d7
BE
266 * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
267 (emit_relocations): Ditto.
268 (s_bss): Ditto.
269 (md_begin): Reformat comments to conform to the GNU standards.
270 (md_assemble): Ditto.
271
e21e484e
BE
272 * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
273 (md_parse_option): Mark parameters as unused.
274 (md_show_usage): Ditto.
275 (calcop): Adjust type of `reg_prefix' to char.
276 (get_reg): Ditto.
277 (getval): Adjust type of local `c' to char.
278 (md_create_short_jump): Mark from_addr, to_addr params as unused.
279 (md_create_long_jump): Ditto.
280 (md_estimate_size_before_relax): Mark parameters as unused.
453520d7 281
a181d81e
BE
282 * config/tc-m88k.c (md_pseudo_table): Properly terminate the table
283 to allay a possible compiler warning.
284
dd9b19ab
NC
2852001-06-22 Nick Clifton <nickc@cambridge.redhat.com>
286
287 * doc/internals.texi (CPU backend): Document md_atof.
288
8be31359
NC
2892001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com>
290
d48019e0
AM
291 * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode
292 return pointer) alias for %r2 or %r31, depending on 32 or 64 bit
293 architecture.
8be31359 294
1cac9012
NC
2952001-06-21 Philip Blundell <philb@gnu.org>
296
297 * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses
298 updated.
299 (insns): Remove entry for adrl. Add long_flag for adr.
300 (do_adr): Handle `l' suffix.
301 (do_adrl): Delete.
302
b091f402
AM
3032001-06-21 Alan Modra <amodra@bigpond.net.au>
304
305 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
306 (md_apply_fix): Use it here. Replace printf with equivalent
307 as_bad_where.
308 (tc_gen_reloc): Use as_bad_where instead of as_bad.
309 (md_apply_fix): Here too.
310 * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
311 * config/tc-m68k.c (tc_gen_reloc): Likewise.
312 (md_convert_frag_1): Likewise.
313
1ad63b2f
TR
3142000-06-20 Tom Rix <trix@redhat.com>
315
316 * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes.
317
c45021f2
NC
3182001-06-18 H.J. Lu <hjl@gnu.org>
319
ac62c346
AM
320 * doc/Makefile.am (info): Depend on $(MANS).
321 (as.1): Remove the prefix `$(srcdir)/'.
322 * doc/Makefile.in: Regenerated.
c45021f2 323
ac62c346 324 * as.1: Removed.
c45021f2 325
2172d73b
PB
3262001-06-18 Philip Blundell <philb@gnu.org>
327
328 * config/tc-arm.c (do_msr): Remove restriction on usage of
329 immediate operands.
330
45c500fa
AM
3312001-06-19 Alan Modra <amodra@bigpond.net.au>
332
333 * dwarf2dbg.c (dwarf2_finish): Output file info even when no
334 line info.
335
0b317b08
PB
3362001-06-13 Philip Blundell <philb@gnu.org>
337
338 * config/tc-arm.c (thumb_shift): Improve wording of error message.
339 (do_t_arit): Likewise.
340
07a7a145
NC
3412001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
342
2bc0a128
NC
343 * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
344 .loc pseudos if the dfwarf2 functions are available.
345 (md_assemble): Only call dwarf2_emit_insn if it is available.
346
07a7a145
NC
347 * expr.c: Fix typo in comment.
348
b131d4dc
NC
3492001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
350
351 * doc/as.texinfo (Infix Ops): Document that comparison and
352 combiner operators can be used as infix operators.
353
e1f44d10
NC
3542001-06-12 Peter Jakubek <pjak@snafu.de>
355
356 * gas/config/tc-m68k.c (parse_mri_control_operand): Fix handling
ac62c346
AM
357 of AND/OR.
358 (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
359 (reverse_mri_condition): Likewise.
360 (swap_mri_condition): Issue warning for conditions that can not be
361 swapped.
362 (build_mri_control_operand): Fix order of operands (swapped).
363 (build_mri_control_operand): Allow upper case extension in structured
364 control directives.
365 (s_mri_else): Likewise.
366 (s_mri_next): Likewise.
367 (s_mri_for): Likewise.
368 (s_mri_if): Fix handling comment ('*') in mri mode.
369 (s_mri_while): Likewise.
370 * gas/macro.c (macro_expand): Allow macro invocation with empty
371 extension.
e1f44d10 372
3971ce95
NC
3732001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
374
375 * config/tc-arm.c: Fix test for overlow of literal pool.
376
63486801
L
3772001-06-11 H.J. Lu <hjl@gnu.org>
378
379 * NEWS: Updated for the new -n option for the MIPS assembler.
380
381 * config/tc-mips.c (md_show_usage): Add -n.
382
383 * doc/as.texinfo: Document the new -n option.
384 * doc/c-mips.texi: Likewise.
385 * doc/as.1: Regenerated.
386
5dd0794d
AM
3872001-06-10 Alan Modra <amodra@bigpond.net.au>
388
389 * config/obj-coff.c (obj_coff_section): Formatting fix.
390
391 * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and
392 ",pn".
393
39c0a331
L
3942001-06-08 H.J. Lu <hjl@gnu.org>
395
396 * config/tc-mips.c (warn_nops): New variable. Set to 0 to
397 disable warning about all NOPS that the assembler generates.
398 (macro): Warn NOPS generated only if warn_nops is not 0.
399 (md_shortopts): Add `n'.
400 (md_parse_option): Set warn_nops to 1 for `n'.
401
268f6bed
L
4022001-06-08 H.J. Lu <hjl@gnu.org>
403
404 * config/tc-mips.c (mips_ip): Properly handle illegal operands.
405
ea4ff978
L
4062001-06-08 H.J. Lu <hjl@gnu.org>
407
408 * config/tc-mips.c (md_apply_fix): Don't adjust common
409 extern/weak symbols for ELF.
410 (md_estimate_size_before_relax): Treat weak like extern for
411 ELF.
412 (mips_fix_adjustable): Don't adjust extern/weak symbols for
413 ELF.
414
98aa84af
AM
4152001-06-08 Alan Modra <amodra@bigpond.net.au>
416
417 * Makefile.am: 'som' is not wrongly spelled 'some'.
418 * Makefile.in: Regenerate.
419
420 * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
421 S_GET_VALUE by using a temp.
c0037ab6 422 (append_insn): Likewise, and for S_SET_VALUE too.
98aa84af
AM
423 (mips_emit_delays): Likewise.
424 (my_getExpression): Likewise.
425 (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
426 (mips16_extended_frag): Remove code concerned with avoiding
427 locking in a frag address now that symbols are not finalized until
428 relaxation is complete. Cater for first relaxation pass having
429 bogus addresses. Use relax_marker to reliably determine whether a
430 symbol frag has been reached on the current pass.
431
f85f789b
L
4322001-06-07 H.J. Lu <hjl@gnu.org>
433
434 * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
435 * configure: Regenerate.
436
df3bcd6f
L
4372001-06-07 H.J. Lu <hjl@gnu.org>
438
439 * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
440 ecoff emulation.
441 * configure: Regenerate.
442
add56521
L
4432001-06-07 H.J. Lu <hjl@gnu.org>
444
445 * config/tc-mips.c (mips_pseudo_table): Add "extern" if
446 MIPS_STABS_ELF is defined.
447
6da13e9a
NC
4482001-06-06 Nick Clifton <nickc@cambridge.redhat.com>
449
450 * as.c (show_usage): Remove L from listing options. It is not a
451 generic option.
452
879db8be
NC
4532001-06-06 Christian Groessler <cpg@aladdin.de>
454
c0037ab6 455 * config/tc-z8k.c: Removed many warnings by removing unused
879db8be
NC
456 variables and tagging unused parameters as such.
457 (md_begin): Fixed a typo (","instead of ";").
458 (struct ctrl_table): Add parentheses to initialize array
459 correctly.
460 (struct flag_table): Likewise.
461 (struct intr_table): Likewise.
462 (struct table): Likewise.
463 (check_operand): "#if 0"'ed since it doesn't seem to be used.
464
98b32482
NC
4652001-06-06 Peter Jakubek <pjak@snafu.de>
466
467 * gas/config/tc-m68k.c (md_show_usage): Add all supported ColdFire
468 options to list (e.g. m5206e, m5307, m5407).
469
6e139bf0
AM
4702001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
471
472 * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
473 BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
474
cb9401fc
AM
4752001-06-06 Alan Modra <amodra@bigpond.net.au>
476
477 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
478 <JumpByte, JumpDword insn output>: Remove dead code.
479
3c5cdb54
AM
4802001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
481
482 * as.c (parse_args): Correct option name "listing-lhs-width2".
483
92ed29ef
NC
4842001-06-05 Nick Clifton <nickc@cambridge.redhat.com>
485
486 * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's
487 status.
488
371b7465
RH
4892001-05-30 Richard Henderson <rth@redhat.com>
490
491 * read.c (emit_leb128_expr): Call md_cons_align.
492
0f2712ed
NC
4932001-05-28 Jeff Sturm <jsturm@one-point.com>
494
495 * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
496 BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64.
497 (tc_gen_reloc): Likewise.
498 (sparc_cons_align): Don't clear sparc_no_align_cons.
c0037ab6 499 (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for
0f2712ed
NC
500 BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set.
501
fbe572f9
AM
5022001-05-27 Alan Modra <amodra@one.net.au>
503
9e40345d
AM
504 * write.c (relax_segment <rs_space>): Check the section of a
505 symbol to determine whether it is absolute rather than comparing
506 its frag against zero_address_frag as listings play tricks with
507 frags.
508
fbe572f9
AM
509 * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
510 allocated in the same chunk as the fixed part.
511
54d3cad9
AM
5122001-05-26 Alan Modra <amodra@one.net.au>
513
514 * write.c (relax_segment <rs_space>): Calculate growth using
515 addresses before stretch. Prevent repeated error messages.
516 From Peter Jakubek <pjak@snafu.de>
517 Use as_bad_where and as_warn_where to pinpoint errors.
518
766c03c9
AM
5192001-05-25 Alan Modra <amodra@one.net.au>
520
05bdb37e
AM
521 * symbols.c (resolve_symbol_value): Always set segment, even when
522 not finalizing symbol value.
523
1cd55018
AM
524 * config/obj-ieee.c (write_object_file): Set finalize_syms.
525 * config/obj-coff.c (write_object_file): Likewise.
526 * (size_section): Remove rs_space assert as fr_symbol is no longer
527 removed.
528 (fill_section): Likewise.
529
c709b096
AM
530 * configure.in: Replace linuxoldld with linux*oldld.
531 * configure: Regenerate.
532
b58c9faf
AM
533 From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
534 * config/tc-i386.c (md_convert_frag): Don't die on local symbols
535 that have been finalized.
536
c89c8534
AM
537 * symbols.c (resolve_symbol_value): Clear sy_resolving before
538 taking exit_dont_set_value.
539
54d3cad9
AM
540 * write.c (relax_segment <rs_space>): Don't zap fr_symbol when
541 relaxing.
766c03c9 542
6877bb43
TR
5432000-05-24 Tom Rix <trix@redhat.com>
544
5dd0794d 545 * config/obj-coff.c (add_lineno): xcoff allows negative line
6877bb43 546 numbers
5dd0794d 547 * config/tc-ppc.c (ppc_stabx): fix generated symbol
c0037ab6 548
e027f3e8
AM
5492001-05-24 Alan Modra <amodra@one.net.au>
550
551 * write.c (write_object_file): Set finalize_syms = 1 before
552 size_seg is called.
553
d1cf510e
NC
5542001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
555
556 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
557 architecture, remove erraneous ISA_MIPS32.
558 (md_show_usage): Add MIPS r12k support.
559 (mips_cpu_info_table): Add MIPS r12k support.
c0037ab6 560
507c8a1a
AM
5612001-05-22 Alan Modra <amodra@one.net.au>
562
2d0441d9
AM
563 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
564 testing for NULs.
565
6386f3a7
AM
566 * symbols.c (resolve_symbol_value): Remove "finalize" param,
567 instead use finalize_syms directly. Don't treat expressions
568 specially with regard to finalize_syms. Update calls to self.
569 (resolve_local_symbol): Update call to resolve_symbol_value.
570 (S_GET_VALUE): Likewise. Return resolve_symbol_value if
571 !finalize_syms.
572 * symbols.h (resolve_symbol_value): Update prototype.
573 * config/obj-aout.c (obj_crawl_symbol_chain): Update call
574 to resolve_symbol_value.
575 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
576 * config/obj-coff.c (do_relocs_for): Likewise.
577 (yank_symbols): Likewise.
578 (fixup_segment): Likewise.
579 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
580 * config/tc-mips.c (md_convert_frag): Likewise.
581 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
582 (ppc_fix_adjustable): Likewise.
583 * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
584 (dwarf2dbg_convert_frag): Likewise.
585 * ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
586 (eh_frame_convert_frag): Likewise.
587 * expr.c (make_expr_symbol): Likewise.
588 * write.c (adjust_reloc_syms): Likewise.
589 (write_object_file): Likewise.
590 (relax_segment): Likewise.
591 (fixup_segment): Likewise.
592 (finalize_syms): Init to zero, and update comment.
593 (write_object_file): Set finalize_syms to 1 rather than 2.
594 * doc/internals.texi (sy_value): Mention finalize_syms.
595 (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
596
c801568a
AM
597 * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
598 as relaxable if embedded system, make weak syms non-relaxable.
599 Move definition..
600 (tc_m68k_fix_adjustable): ..so it can be used here.
601 (md_apply_fix_2): Sign extend without conditional.
602
507c8a1a
AM
603 * config/tc-v850.c: Update copyright.
604
aaa4f6d9
JJ
6052001-05-16 Jeff Johnston <jjohnstn@redhat.com>
606
c0037ab6
AM
607 * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
608 howto entry is not found.
aaa4f6d9 609
7e8f4100
AO
6102001-05-15 Alexandre Oliva <aoliva@redhat.com>
611
612 * config/tc-mn10300.c (mn10300_force_relocation): Don't
613 optimize differences between symbols in code sections to
614 constants.
615 (mn10300_fix_adjustable): Don't adjust to section+offset
616 relocations pointing at symbols in code sections.
617
9fcc94b6
AM
6182001-05-16 Alan Modra <amodra@one.net.au>
619
620 * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
621 for 8 byte insns.
622 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
623 opcodes are output rather than after. Delete insn_size.
624 * config/tc-v850.c (md_assemble): Similarly, but delete
625 total_insn_size.
626
de1cb007
RH
6272001-05-14 Richard Henderson <rth@redhat.com>
628
629 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
630 last change.
631
67a659f6
RH
6322001-05-14 Richard Henderson <rth@redhat.com>
633
634 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
635 also collect whether to expect an FDE augmentation.
636 (check_eh_frame): Rewrite as a state machine. Track where in
637 an FDE we are located, skip any augmentation.
638 (eh_frame_estimate_size_before_relax): Get code alignment from
639 the fragment subtype.
640 (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
641 * read.c (emit_leb128_expr): Call check_eh_frame.
642
076dc439
AO
6432001-05-14 Alexandre Oliva <aoliva@redhat.com>
644
645 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
646 before a relaxable insns.
647
4e75439a
AO
6482001-05-13 Alexandre Oliva <aoliva@redhat.com>
649
650 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
651 between symbols if the base symbol is in the current section;
652 emit a PC-relative relocation instead.
653
bcee8eb8
AM
6542001-05-12 Peter Targett <peter.targett@arccores.com>
655
656 * config/tc-arc.c: Update copyright and tidy source comments.
657 (md_pseudo_table): Add directive .cpu back as an alias for
658 .option. Add .file and .line for dwarf2 support.
659 (arc_mach_type): Make bfd_mach_arc_6 default.
660 (md_longopts): Add entry 'pre-v6' representing old command line
661 option when assembling for 'arc5' core versions.
662 (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
663 default behaviour.
664 (arc_code_symbol): Make symbol value for @h30 fixup expression
665 equal to O_constant.
666 (md_assemble): Call dwarf2_emit_insn.
667 Include "dwarf2dbg2.h". Formatting fixes throughout file.
668 * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
bcee8eb8
AM
669 * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.
670
579f31ac
JJ
6712001-05-11 Jakub Jelinek <jakub@redhat.com>
672
673 * config/tc-ia64.c (special_linkonce_name): New.
674 (make_unw_section): Map .gnu.linkonce.t.FOO text section into
675 .gnu.linkonce.ia64unw{,i}.FOO.
676 (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
677 (dot_endp): Add comment about it.
678
15f65ae4
NC
6792001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
680
c0037ab6 681 * config/tc-arm.c (arm_handle_align): When truncating an aligned
15f65ae4
NC
682 block, ensure that the low order bits of the alignment are
683 preserved.
684
606ab118
AM
6852001-05-10 Alan Modra <amodra@one.net.au>
686
687 * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of
688 symbol_next.
689
690 * config/tc-fr30.c (md_estimate_size_before_relax): Return size of
691 current variable part of frag.
692 * config/tc-m32r.c (md_estimate_size_before_relax): Likewise.
693 * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise.
694 * config/tc-m68hc11.c (RELAX_STATE): Define.
695 (RELAX_LENGTH): Define.
696 (md_estimate_size_before_relax): Handle non-relaxable cases
697 separately from relaxable cases for clarity, and return correct
698 size for multi-pass relaxation.
699 * config/tc-tahoe.c (RELAX_LENGTH): Correct.
700 (md_estimate_size_before_relax): As for tc-m68hc11.c.
701 (md_convert_frag): Remove "length_code".
702 * config/tc-vax.c (RELAX_STATE): Define.
703 (RELAX_LENGTH): Define.
704 (md_relax_table): Add missing entry.
705 (md_estimate_size_before_relax): As for tc-m68hc11.c.
706 (md_convert_frag): Remove "length_code".
707 * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and
708 don't bother setting fr_var. Return correct size for multi-pass
709 relaxation.
710 * config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
711 (md_convert_frag): Don't bother clearing fr_var.
712 (md_pseudo_table): Correct initialization.
713 * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var.
714 (md_estimate_size_before_relax): No need to set fr_var.
715 * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var.
716 (md_estimate_size_before_relax): No need to set fr_var.
717
1f23ade4
RH
7182001-05-09 Richard Henderson <rth@redhat.com>
719
720 * config/tc-ia64.c (generate_unwind_image): Align the fragment
721 beginning a function's unwind info block.
722
96f37af6
AO
7232001-05-09 Alexandre Oliva <aoliva@redhat.com>
724
725 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
726
8390138c
AS
7272001-05-08 Andreas Schwab <schwab@suse.de>
728
729 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
730 fx_pcrel_adjust explicitly sign extend when reading it.
731
5c65dbc1
AM
7322001-05-08 Alan Modra <amodra@one.net.au>
733
734 * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
735 from md_relax_table, and combine some switch cases.
736
a7c92dae
AO
7372001-05-06 Alexandre Oliva <aoliva@redhat.com>
738
739 * config/tc-mn10300.c (md_assemble): Subtract operand->shift
740 from offset in non-pcrel operands too.
741
d8708f40
NC
7422001-05-06 Nick Clifton <nickc@cambridge.redhat.com>
743
744 * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
745 * config/tc-arm.c (arm_handle_align): Do not insert more than
746 MAX_MEM_FOR_RS_ALIGN_CODE bytes.
747 (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE.
748
3438adb3
AM
7492001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
750
751 * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h.
752 Run "make dep-am".
753 * Makefile.in: Regenerate.
754 * configure.in: Remove duplicate mips-*-ecoff* entry.
755 * configure: Regenerate.
756
757 * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry.
758 (n_names): Cast away type mismatch.
759 (ecoff_sec_sym_ok_for_reloc): Add unused attribute.
760 (obj_ecoff_frob_symbol): Likewise.
761 * ecoff.c: (add_file): Add unused attribute.
762 (ecoff_directive_begin): Likewise.
763 (ecoff_directive_bend): Likewise.
764 (ecoff_directive_def): Likewise.
765 (ecoff_directive_dim): Likewise.
766 (ecoff_directive_scl): Likewise.
767 (ecoff_directive_size): Likewise.
768 (ecoff_directive_type): Likewise.
769 (ecoff_directive_tag): Likewise.
770 (ecoff_directive_val): Likewise.
771 (ecoff_directive_endef): Likewise.
772 (ecoff_directive_end): Likewise.
773 (ecoff_directive_ent): Likewise.
774 (ecoff_directive_extern): Likewise.
775 (ecoff_directive_file): Likewise.
776 (ecoff_directive_fmask): Likewise.
777 (ecoff_directive_frame): Likewise.
778 (ecoff_directive_mask): Likewise.
779 (ecoff_directive_loc): Likewise.
780 (mark_stabs): Likewise.
781 (ecoff_stab): Likewise.
782 (ecoff_frob_symbol): Cast away type mismatch.
783 (ecoff_padding_adjust): Likewise.
784 (ecoff_build_symbols): Likewise.
785 (ecoff_build_procs): Likewise.
786 (ecoff_build_aux): Likewise.
787 (ecoff_build_strings): Likewise.
788 (ecoff_build_fdr): Likewise.
789 (ecoff_build_debug): Likewise.
790 * itbl-ops.c (itbl_assemble): Variable initialization.
791
636c26b0
AM
7922001-05-03 Alan Modra <amodra@one.net.au>
793
794 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
795 expressions rather than triggering an assert.
796
c7e40348
NC
7972001-05-02 Johan Rydberg <jrydberg@opencores.org>
798
3438adb3
AM
799 * config/tc-openrisc.c: New file.
800 * config/tc-openrisc.h: Likewise.
c7e40348 801
3438adb3
AM
802 * Makefile.am: Add OpenRISC target.
803 * Makefile.in: Regenerated.
c7e40348 804
3438adb3
AM
805 * configure.in (openrisc-*-*): Add target.
806 * configure: Regenerated.
c7e40348 807
5cb1517b
NC
8082001-05-02 Nick Clifton <nickc@cambridge.redhat.com>
809
810 * config/tc-arm.c (arm_frag_align_code): Change error message to
811 more explanatory version.
812
f4ddc5e6
L
8132001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
814
815 * config/tc-mips.c (md_parse_option): Also accept
816 elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
817
fa7fda74
L
8182001-04-27 David Mosberger <davidm@hpl.hp.com>
819
820 * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
821 argument passing order: predicate goes last, not first.
822
87748b32
NC
8232001-04-27 Sean McNeil <sean@mcneil.com>
824
825 * configure.in: Add arm-vxworks.
826 * configure: Regenerate.
827
16a0c2d4
NC
8282001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
829
830 * config/tc-arm.c (arm_handle_align): New Function: Generate
831 no-op filled alignment frags.
832 (arm_frag_align_code): New Function: Create a code alignment frag.
833 (arm_init_frag): New Function: Initialse the target dependent
834 parts of a frag.
835
836 * config/tc-arm.h (TC_FRAG_TYPE): Define.
837 (TC_FRAG_INIT): Define.
838 (HANDLE_ALIGN): Define.
839 (md_do_align): Define.
840
ea3b9044
NC
8412001-04-25 Nick Clifton <nickc@cambridge.redhat.com>
842
843 * config/obj-coff.c (do_linenos_for): Check to see if the filename
844 symbol has been initialised before extracting its symbol index.
845
d6d788bd
L
8462001-04-24 H.J. Lu <hjl@gnu.org>
847
848 * configure: Regenerated with the right version of autoconf.
849
6840198f
NC
8502001-04-24 Christian Groessler <cpg@aladdin.de>
851
852 * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now
853 generate R_CALLR and R_REL16 relocations
854
1c97d17b
JE
8552000-04-20 Jason Eckhardt <jle@redhat.com>
856
857 * config/tc-d10v.h (tc_frob_label): Update the symbol's frag
858 since frag_now can change after d10v_cleanup is called.
859
1c33f1da
DB
8602001-04-16 David O'Brien <obrien@FreeBSD.org>
861
862 * configure.in: Add the em type for FreeBSD targets.
863 * configure: Regenerate.
864
eb0dfd58
AO
8652001-04-14 Alexandre Oliva <aoliva@redhat.com>
866
8c5e1ccd
AO
867 * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
868 * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
869
eb0dfd58
AO
870 * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
871 pc-relative relocations not placed at the end of the instruction.
872
1deb8127
JW
8732001-04-13 Jim Wilson <wilson@redhat.com>
874
875 * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
876 excluding br.i.
877
f5fa8ca2
JJ
8782001-04-13 Jakub Jelinek <jakub@redhat.com>
879
880 * config/obj-elf.c (obj_elf_change_section): Add entsize argument,
881 handle SHF_MERGE and SHF_STRINGS.
882 (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
883 (obj_elf_section): Allow additional argument specifying entity size.
884 * write.c (adjust_reloc_syms): Keep relocations against local symbols
885 in SEC_MERGE sections.
886
fb81275c
JM
8872001-04-12 Jason Merrill <jason_merrill@redhat.com>
888
889 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
890
a8a22e33
AO
8912001-04-12 Alexandre Oliva <aoliva@redhat.com>
892
893 * expr.c (operand): Pass &c to md_parse_name().
894 * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
895
af9539e4
L
8962001-04-07 Steven J. Hill <sjhill@cotw.com>
897
898 * config/tc-mips.c: Support ELF64 for traditional MIPS targets.
899
900 * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
901 * Makefile.in: Regenerated.
902
903 * configure.in: Use traditional MIPS targets for Linux/MIPS.
904 * configure: Regenerated.
905
4dfea105
AO
9062001-04-06 Alexandre Oliva <aoliva@redhat.com>
907
908 * config/tc-mn10300.c (xr_registers): Added `pc'.
909
e66457fb
AM
9102001-04-05 Alan Modra <alan@linuxcare.com.au>
911
912 * configure.in: Add h8500-*-coff and h8500-*-rtems targets.
913 * configure: Regenerate.
914
915 * config/tc-h8500.c (md_estimate_size_before_relax): Add missing
916 cases, and always return size based on current fr_subtype.
917 (md_begin): Move initialization of md_relax_table..
918 (md_relax_table): ..to static initializer. Set rlx_length for
919 UNDEF_WORD_DISP cases.
920 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
921 (md_begin): Likewise.
922 (md_relax_table): Likewise.
923 * config/tc-mcore.c (md_estimate_size_before_relax): Likewise.
924 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
925 Set rlx_backward and rlx_forward to zero for unused states.
926 * config/tc-sh.c (md_estimate_size_before_relax): Likewise.
927 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
928 (UNCOND12, UNCOND32): Remove duplicate defines.
929
aacb5251
HPN
9302001-04-04 Hans-Peter Nilsson <hp@axis.com>
931
c335d394
HPN
932 * config/tc-cris.c (md_estimate_size_before_relax) <case
933 ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
934 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
935 <all cases>: Always set fragP->fr_var using md_cris_relax_table.
936 Add cases to cover all relax states.
ed67db7a
HPN
937 (cris_insn_first_word_frag): New.
938 (md_assemble): Call cris_insn_first_word_frag to get the first
939 frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
940 end. Drop variable insn_size.
941 (gen_bdap): Call cris_insn_first_word_frag, not frag_more.
942 (cris_sym_leading_underscore): Wrap first as_bad parameter in _().
943 (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
c335d394 944
aacb5251
HPN
945 * write.c (write_object_file): Reset broken word state before
946 calling relax_seg.
947
cdbc6895
AM
9482001-03-31 Alan Modra <alan@linuxcare.com.au>
949
61b96bb4
AM
950 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT
951 for one line if not already enabled.
952 * cond.c (s_elseif): Correct conditional assembly listing.
953 (s_else): Likewise.
954
cdbc6895
AM
955 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
956 Don't abort on NULL current_cframe.
957
93c2a809
AM
9582001-03-30 Alan Modra <alan@linuxcare.com.au>
959
0529cb87 960 * dwarf2dbg.c (dwarf2_directive_file): Fix warnings.
1a5447b8
AM
961 (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value.
962 * config/obj-aout.c (obj_crawl_symbol_chain): Likewise.
963 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
964 * config/obj-coff.c (do_relocs_for): Likewise.
965 (yank_symbols): Likewise.
966 (fixup_segment): Likewise.
967 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
968 (ppc_fix_adjustable): Likewise.
969 * config/tc-mips.c (md_convert_frag): Likewise.
970 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
971 * ehopt.c (eh_frame_convert_frag): Likewise.
972 * expr.c (make_expr_symbol): Likewise.
0529cb87 973
e46d99eb
AM
974 * frags.h (struct frag): Add last_fr_address. Reorder fields for
975 better packing.
976 * symbols.c (resolve_symbol_value): Don't fix expression values
977 until relaxation is complete.
978 (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value.
979 (S_GET_VALUE): Likewise, and return unresolved expression value.
980 * write.c (finalize_syms): New.
981 (relax_and_size_seg): Split into..
982 (relax_seg): New function, returns 1 if anything changed..
983 (size_seg): And the remainder of relax_and_size_seg.
984 (fixup_segment): Arrange for final resolution of sym values.
985 (adjust_reloc_syms): Likewise.
986 (write_object_file): Likewise, and repeatedly call relax_seg until
987 nothing more changes.
988 (relax_segment): Return 1 if anything changed. Use correct types
989 for rs_org `target' and `after'.
990 * write.h (finalize_syms): Declare.
991 (relax_segment): Update prototype.
992
93c2a809
AM
993 * config/tc-sh.c (md_estimate_size_before_relax): Add extra
994 do-nothing cases to switch to avoid abort on a second relaxation
995 pass, and tidy code a little.
996 * config/tc-cris.c (md_estimate_size_before_relax): Likewise.
997 * config/tc-h8500.c (md_estimate_size_before_relax): Likewise.
998 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
999 * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
1000 (md_relax_table): Remove first four unused entries. Increment
1001 rlx_length by one throughout table, and update comments to suit.
1002 (md_estimate_size_before_relax): Return size of current variable
1003 part of frag to reflect reality when relaxing more than once.
1004 * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout.
1005 (COND32, UNCD32): Rename to DISP32 throughout.
1006 (UNDEF_WORD_DISP): Renumber to 3.
1007 (md_estimate_size_before_relax): Add extra do-nothing cases.
1008 * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite.
1009 * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.
1010 * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to
1011 handle word and dword branches.
1012
d551a338
HPN
10132001-03-29 Hans-Peter Nilsson <hp@axis.com>
1014
1015 * config/tc-cris.h (tc_fix_adjustable): Allow only
1016 BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
23ec5d03
HPN
1017 * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in
1018 example in comment to valid type.
d551a338 1019
440ecb38
L
10202001-03-28 H.J. Lu <hjl@gnu.org>
1021
1022 * read.c (equals): Set to local for COFF only if it hasn't been
1023 defined before.
1024
8a238888
AM
10252001-03-28 Alan Modra <alan@linuxcare.com.au>
1026
1027 * config/tc-hppa.c (DEFAULT_LEVEL): Define.
1028 (md_begin): Use it when setting default architecture.
1029
775cf891
NC
10302001-03-27 Nick Papadonis <nick@coelacanth.com>
1031
1032 * read.c (equals): (for COFF) default symbols to being local.
1033
f9c19112
HPN
10342001-03-27 Hans-Peter Nilsson <hp@axis.com>
1035
1036 * configure.in (cris-*-*): Change default emulation to criself.
1037 (cris-*-*aout*): New rule.
1038 * configure: Regenerate.
1039
07855bec
NC
10402001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com>
1041
1042 * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
1043 BFD_RELOC_390_GOTENT.
1044 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
1045 BFD_RELOC_390_GOTENT.
1046
10472001-03-26 Nick Clifton <nickc@redhat.com>
1048
1049 * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
1050 * config/tc-s390.c (s390_force_relocation): New function: Force
1051 relocations for VTINHERIT relocs.
1052
0285c67d
NC
10532001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1054
1055 * doc/as.texinfo: Put @c man begin to generate the as man page.
1056 When generating man, define all the variables. Re-organize some
1057 options to obtain better indentation of man page.
1058 * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1059 (as.1): Build from as.texinfo.
1060 * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
1061
551c1ca1
AM
10622001-03-25 Alan Modra <alan@linuxcare.com.au>
1063
1064 * config/tc-i386.c (i386_scale): Accept an absolute expression for
1065 scale factor, and return the end of the expression.
1066 (i386_operand): Modify for above.
1067
c3a27914
NC
10682001-03-23 Nick Clifton <nickc@redhat.com>
1069
1070 * doc/as.texinfo: Document --listing-XXX command line switches.
1071 Explain why listings behave differently when -pipe is used.
1072
37006e43
NC
10732001-03-23 Richard Sandiford <rsandifo@redhat.com>
1074
1075 * write.c (fix_new_exp): Print an error if passed a register.
1076
08caf3f8
HPN
10772001-03-23 Hans-Peter Nilsson <hp@axis.com>
1078
1079 * config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
1080 (PIC_SUFFIX_CHAR): New macro.
1081 (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
1082 (pic): New variable.
1083 (md_longopts): New option --pic.
1084 (OPTION_PIC): Define.
1085 (md_estimate_size_before_relax): Tweak longish comment.
1086 (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
1087 (md_assemble): Handle a PIC relocation on prefix and normal
1088 instruction operands.
1089 <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
1090 "complex" operand expressions. Call frag_more outside
1091 gen_cond_branch_32 parameter list.
1092 (cris_process_instruction): Handle PIC relocs on parsed
1093 operand expressions. Validize PIC reloc sizes.
1094 (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
1095 (gen_bdap): Handle "complex" operand expressions.
1096 (gen_cond_branch_32): Use as_warn_where, not as_warn. Use
1097 ADD.D offset,PC as jump instruction if generating PIC. Generate
1098 error instead of crashing on complex expressions.
1099 (cris_number_to_imm): Add segT parameter. All callers changed.
1100 Use segT parameter, not now_seg, for segment of fixup. Handle
1101 PCREL relocations but check that they are fully resolved.
1102 (md_parse_option): Handle OPTION_PIC.
1103 (tc_gen_reloc): Handle PIC relocs.
1104 (md_show_usage): Update for --pic.
1105 (md_apply_fix3): Renamed from md_apply_fix.
1106 (md_pcrel_from): Accept emitting PCREL relocs when ELF.
1107 (md_cris_force_relocation): Force relocation for PIC relocs.
1108
1109 * config/tc-cris.h: Tweak attribution.
1110 (MD_APPLY_FIX3): Define.
1111 (IS_CRIS_PIC_RELOC): New macro.
1112 (TC_RELOC_RTSYM_LOC_FIXUP): Define.
1113 (tc_fix_adjustable): Don't adjust a globally visible symbol when
1114 generating ELF.
8a238888 1115 (tc_frob_symbol): Avoid emitting undefined symbols.
08caf3f8 1116
38686296
AM
11172001-03-20 Alan Modra <alan@linuxcare.com.au>
1118
1119 * frags.h (struct frag): Add relax_marker.
1120 * write.c (is_dnrange): Delete.
1121 (relax_frag): Use correct types for `aim', `target', `address'.
1122 Delete `offset', `was_address'. Test `relax_marker' instead of
1123 using fragile (and slow) address test.
1124 (relax_segment): Init and flip `relax_marker'.
1125
2e98d2de
AM
11262001-03-19 Alan Modra <alan@linuxcare.com.au>
1127
1128 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
1129 used register name.
1130
e629c13f
SC
11312001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1132
1133 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
1134 with 'Motorola specification for assembly language input standard'.
1135
249e3833
RH
11362001-03-17 Richard Henderson <rth@redhat.com>
1137
1138 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
1139 (dwarf2_directive_loc): Don't use them.
1140 (dwarf2_directive_file): Reject duplicate file definitions.
1141 (get_filenum): Zero allocated memory.
1142 (out_file_list): Complain about missing file definitions.
1143
2289f85d
AM
11442001-03-17 Alan Modra <alan@linuxcare.com.au>
1145
1146 * read.c (do_org): Handle complex expressions.
1147 * cgen.c (gas_cgen_finish_insn): Likewise.
1148
4d5a53ff
JW
11492001-03-15 David Mosberger <davidm@hpl.hp.com>
1150
1151 * config/tc-ia64.c (md): New member keep_pending_output.
1152 (ia64_flush_pending_output): Flush only if md.keep_pending_output
1153 is not set.
1154 (dot_xdata): Turn on md.keep_pending_output for the duration of
1155 this function.
1156 (dot_xfloat_cons): Ditto.
1157 (dot_xstringer): Ditto.
1158 (dot_xdata_ua): Ditto.
1159 (dot_xfloat_cons_ua): Ditto.
1160
11612001-03-15 Jim Wilson <wilson@redhat.com>
1162
1163 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
1164 label support.
1165
19c0258a
AO
11662001-03-15 Alexandre Oliva <aoliva@redhat.com>
1167
1168 * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
1169
d68d4570
DD
11702001-03-15 DJ Delorie <dj@redhat.com>
1171
1172 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
1173 blindly freeing string if it isn't at the top of the obstack.
1174
f3c180ae
AM
11752001-03-13 Alan Modra <alan@linuxcare.com.au>
1176
1177 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
1178 (NUM_FLAG_CODE): Define.
1179 (lex_got): New function.
1180 (got_reloc): New global var.
1181 (x86_cons_fix_new): New function.
1182 (x86_cons): New function.
1183 (i386_immediate): Use lex_got here, replacing inline code. Change
1184 "ignoring junk.." error message to "junk.."
1185 (i386_displacement): Likewise.
1186 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
1187 (x86_cons): Declare.
1188 (TC_CONS_FIX_NEW): Define.
1189 (x86_cons_fix_new): Declare.
1190
83e7603d
NC
11912001-03-12 Nick Clifton <nickc@redhat.com>
1192
1193 * config/tc-arm.c (md_begin): Always set machine type based on
1194 cpu_variant.
1195
1ae12ab7
AM
11962001-03-07 Alan Modra <alan@linuxcare.com.au>
1197
1198 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
f3c180ae 1199 (md_assemble) <smallest displacement>: Use correct field of i.op[]
1ae12ab7 1200 union.
f3c180ae
AM
1201 <JumpInterSegment output>: Use correct i.disp_reloc[].
1202 <immediate output>: Likewise.
1ae12ab7 1203
4f3c3dbb
NC
12042001-03-06 Nick Clifton <nickc@redhat.com>
1205
1206 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
1207 BLX(1) instruction.
1208
dc84e067
NC
12092001-03-06 Igor Shevlyakov <igor@windriver.com>
1210
1211 * config/tc-m68k.c : Add 5407 to archs[] table.
1212 (HAVE_LONG_BRANCH): Add mcf5407.
1213 (select_control_regs): Recognize 5407.
1214
a8150a88
DB
12152001-03-02 Dave Brolley <brolley@redhat.com>
1216
1ae12ab7
AM
1217 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
1218 than m32r_do_align.
a8150a88 1219
e103941e
NC
12202001-03-02 Richard Sandiford <rsandifo@redhat.com>
1221
1222 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
1223 (gen_to_words): Print warnings if NaNs are found and the target CPU
1224 does not support them. Allow largest exponent to be used in normal
1225 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
1226
7c44d1d3
AJ
12272001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
1228
1229 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
1230 anymore since we use bfd_elf_generic_reloc now.
1231 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
1232
27b7e12d
AM
12332001-02-27 Alan Modra <alan@linuxcare.com.au>
1234
1235 * configure.in (BFD_VERSION): New.
1236 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1237 * configure: Regenerate.
1238 * Makefile.am: Run "make dep-am"
1239 * Makefile.in: Regenerate.
1240 * doc/Makefile.in: Regenerate.
1241
1af96959
NC
12422001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
1243
1244 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
1245 SEC_NEVER_LOAD when the 'n' flag is used.
1246 Add SEC_NEVER_LOAD to matchflags.
1247
d95767bf
SC
12482001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1249
1250 * symbols.c (decode_local_label_name): Initialize message_format
1251 only when an error is reported (perf pb due to I18N).
1252
3737d051
L
12532001-02-23 H.J. Lu <hjl@gnu.org>
1254
1255 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
1256 BFD_ASSEMBLER is not defined.
1257
b653e7f9
NC
12582001-02-23 Richard Sandiford <rsandifo@redhat.com>
1259
1260 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
1261 done if it's against a symbol.
1262
7463c317
TW
12632001-02-22 Timothy Wall <twall@cygnus.com>
1264
1265 * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
1266 target formats if applicable.
1267 * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
1268 * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
1269 * Makefile.in: Regenerated.
1270 * configure.in: Added configuration for ia64-*-aix*.
1271 * configure: Regenerated.
7c44d1d3 1272
87f8eb97
JW
12732001-02-21 David Mosberger <davidm@hpl.hp.com>
1274
1275 * config/tc-ia64.c (enum operand_match_result): New type.
1276 (operand_match): Change return type to operand_match_result.
1277 Fix all returns appropriately, adding support for returning the
1278 out-of-range result.
1279 (parse_operands): New locals result, error_pos, out_of_range_pos,
1280 curr_out_of_range_pos. Rewrite operand matching loop to give better
1281 error messages.
7c44d1d3 1282
33d01f33
JW
12832001-02-21 David Mosberger <davidm@hpl.hp.com>
1284
1285 * config/tc-ia64.c (struct unwind): Add member "prologue_count".
1286 (dot_proc): Clear unwind.prologue_count to zero.
1287 (dot_prologue): Increment unwind.prologue_count.
1288 (dot_restore): If second operand is omitted, use
1289 unwind.prologue_count -1 for "ecount" (# of additional regions to
1290 pop). Decrement unwind.prologue_count by number of regions
1291 popped.
1292
7e84d676
NC
12932001-02-21 Nick Clifton <nickc@redhat.com>
1294
1295 * doc/as.texinfo (Section): Note that some flags to the COFF
1296 version of .section remove attributes rather than setting them.
1297
5cd4edbe
KH
12982001-02-20 Kazu Hirata <kazu@hxi.com>
1299
29184774
NC
1300 * config/tc-pdp11.c: Fix formatting.
1301 * config/tc-pdp11.h: Likewise.
5cd4edbe 1302
80b3ee89
AJ
13032001-02-20 Bo Thorsen <bo@suse.de>
1304
1305 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
1306 entry.
1307
0fde8cc6 13082001-02-18 David O'Brien <obrien@FreeBSD.org>
cac5b87b
DB
1309
1310 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
1311 all FreeBSD platforms should look the same at this level.
1312 * configure: Rebuilt.
1313 * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
1314
e135f41b
NC
13152001-02-18 lars brinkhoff <lars@nocrew.org>
1316
1317 * Makefile.am: Add PDP-11 target.
1318 * configure.in: Likewise.
1319 * config/tc-pdp11.c: New file.
1320 * config/tc-pdp11.h: New file.
1321 * doc/Makefile.am: Add PDP-11 documentation.
1322 * doc/all.texi: Likewise.
1323 * doc/as.texinfo: Likewise.
1324 * doc/c-pdp11.texi: New file.
1325
363c574f
MG
13262001-02-16 matthew green <mrg@redhat.com>
1327
5dd0794d 1328 * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
363c574f 1329
fa1cb89c
JW
13302001-02-13 Jim Wilson <wilson@redhat.com>
1331
1332 * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
1333 reloc instead of a 0 reloc.
1334 (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
1335 as done.
1336 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
1337
c842b53a
ILT
13382001-02-13 Ian Lance Taylor <ian@zembu.com>
1339
1340 * write.c (is_dnrange): Stop as soon as the address becomes
1341 larger.
1342 (relax_frag): Add segment parameter. Only call symbol_get_frag
1343 once. Only call is_dnrange if the symbol is in the same segment,
1344 and the symbol address is larger.
1345 (relax_segment): Pass segment to md_relax_frag and relax_frag.
1346 * write.h (relax_frag): Update declaration.
1347 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
1348 it to relax_frag.
1349 * config/tc-m32r.c (m32r_relax_frag): Likewise.
1350 * config/tc-m32r.h (md_relax_frag): Add segment parameter.
1351 (m32r_relax_frag): Update declaration.
1352 * config/tc-mips.h (md_relax_frag): Add segment parameter.
1353 * config/tc-tic54x.h (md_relax_frag): Likewise.
1354 * doc/internals.texi (CPU backend): Update documentation for
1355 md_relax_frag.
1356
6fad6acb
AM
13572001-02-13 Alan Modra <alan@linuxcare.com.au>
1358
fddf5b5b
AM
1359 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
1360 Mention effect of < 386 architectures on jump promotion.
1361 (i386-Jumps): xref above. Don't assume long disp is 32 bits.
1362
1363 * config/tc-i386.c (no_cond_jump_promotion): New.
1364 (set_cpu_arch): Parse "jumps" arch modifier.
1365 (insn_size): Modify usage comment.
1366 (ENCODE_RELAX_STATE): Reformat and protect macro arg.
1367 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
1368 (TYPE_FROM_RELAX_STATE): New define.
1369 (UNCOND_JUMP, COND_JUMP): Renumber.
1370 (md_relax_table): Reorder to suit.
1371 (COND_JUMP86): New define.
1372 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
1373 (md_assemble): Create frag var for jumps of max size, encode relax
1374 state for COND_JUMP86.
1375 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
1376 leave conditional jumps small if no_cond_jump_promotion.
1377 (md_convert_frag): Likewise.
1378
6fad6acb
AM
1379 * expr.c (operator): Don't bump input_line_pointer for two char
1380 operators. Instead return operator size via new param num_chars.
1381 (expr): Use above to parse multi-char operators correctly.
1382
23df1078
JH
1383Mon Feb 12 17:45:50 CET 2001 Jan Hubicka <jh@suse.cz>
1384
29184774 1385 * config/tc-i386.c (i386_displacement): Fix handling of
23df1078
JH
1386 BFD_RELOC_X86_64_GOTPCREL.
1387 (i386_validate_fix): Likewise.
1388
b1e2e654
PB
13892001-02-12 Philip Blundell <pb@futuretv.com>
1390
1391 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
1392 ldrt/strt instructions.
1393
9117d219
NC
13942001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1395
1396 * config/tc-mips.c (macro): For M_LA_AB emit a
1397 BFD_RELOC_MIPS_CALL16 relocation or a
1398 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
1399 BFD_RELOC_MIPS_GOT16 and
1400 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
1401 loading the jump register when generating SVR4_PIC code.
1402
97238fbd
CD
14032001-02-10 Chris Demetriou <cgd@broadcom.com>
1404
1405 * configure.in: Make 'mipself' and 'mipsecoff' emulations
1406 map to MIPS-specific files, as they used to do before the
1407 change on 2000-05-21.
1408 * configure: Regerate.
1409
0f074f60
CD
14102001-02-10 Chris Demetriou <cgd@broadcom.com>
1411
1412 * config/tc-mips.c (md_parse_option): Don't try to compile
1413 ELF-only option code if not ELF.
1414
91a2ae2a
RH
14152001-02-08 David Mosberger <davidm@hpl.hp.com>
1416
1417 * config/tc-ia64.h (md_elf_section_type): New macro.
1418 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
1419 (they're now handled via ia64_elf_section_type.
1420
1421 * config/tc-ia64.c (unwind): New members saved_text_seg,
1422 saved_text_subseg, and force_unwind_entry.
1423 (optimize_unw_records): New function to optimize away unnecessary
1424 unwind directives.
1425 (ia64_elf_section_type): New function.
1426 (output_unw_records): Generate unwind info only if the size is
1427 non-zero or if it's forced for some other reason (e.g.,
1428 handlerdata or a personality routine).
1429 (generate_unwind_image): Don't switch back to previous
1430 section---stay inside the unwind info section instead so that
1431 handlerdata that may follow goes into the right place.
1432 (dot_handlerdata): Force generation of unwind entry and save the
1433 current active text segment before generating unwind image.
1434 (dot_unwentry): Force generation of unwind entry.
1435 (dot_personality): Ditto.
1436 (dot_endp): Generate unwind table entry only if there is
1437 some unwind info or the unwind entry was forced.
1438
1439 * config/tc-ia64.c (make_unw_section_name): New macro to form
1440 unwind section name.
1441 (generate_unwind_image): Add "text_name" argument. Use it to
1442 form unwind section name.
1443 (dot_handlerdata): Determine current segment (section) name and
1444 pass it to generate_unwind_image().
1445 (dot_endp): Determine current segment (section) name and use
1446 it to determine the appropriate unwind section name.
1447 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
1448 n, fill, and max arguments.
1449
a85d7ed0
NC
14502001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
1451
1452 * Makefile.am: Add linux target for S/390.
1453 * configure.in: Likewise.
1454 * config/tc-s390.c: New file.
1455 * config/tc-s390.h: New file.
1456
de68de20
AO
14572001-02-09 Alexandre Oliva <aoliva@redhat.com>
1458
1459 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
1460 2byte, 4byte and 8byte.
1461
8ea46bbd
AM
14622001-02-08 Alan Modra <alan@linuxcare.com.au>
1463
1464 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
1465 md_number_to_chars with size > sizeof (valueT).
1466
a99746f4
L
14672001-02-06 H.J. Lu <hjl@gnu.org>
1468
1469 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
1470 there is no relocation.
1471
f4e17b3d
L
14722001-02-06 H.J. Lu <hjl@gnu.org>
1473
1474 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
1475
1476 * config/tc-ia64.c (md_parse_option): Only accept the valid
1477 ia64 options on "-axxx".
1478
3557da92
JW
14792001-02-05 Jim Wilson <wilson@redhat.com>
1480
1481 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
1482 aborting for invalid operands.
1483
da6c73e0
AM
14842001-02-06 Alan Modra <alan@linuxcare.com.au>
1485
1486 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
1487 than via pointer. Update all callers.
1488 (UNWIND_LOW32): Define.
1489 (UNWIND_HIGH32): Define.
1490 (pa_build_unwind_subspace): Use the above macros instead of dumping
1491 bitfields directly. Call frag_more once rather than multiple times.
1492 (md_assemble): Use UNWIND_LOW32.
1493 (pa_entry): Likewise
1494 (pa_procend): Likewise.
1495 (process_exit): Use UNWIND_HIGH32.
1496
986c6f4b
SC
14972001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1498
1499 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
1500 function to select the header according to the cpu.
1501 (md_after_pass_hook, md_do_align): Remove.
1502 (md_cleanup, m68hc11_cleanup): Remove.
1503 (md_pcrel_from_section): Declare.
1504 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
1505 (build_jump_insn, build_insn): Likewise.
1506 (m68hc11_listing_header): New function.
1507 (m68hc11_cleanup): Remove.
1508
dbb8ad49
SC
15092001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1510
328dc123 1511 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
80b3ee89 1512 symbols because there is no support for shared libraries and these
328dc123 1513 symbols can't be overridden (unless they are weak).
dbb8ad49 1514
a987bfc9
RH
15152001-02-01 Momchil Velikov <velco@fadata.bg>
1516
1517 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
1518 for the compilation unit with a zero byte.
1519
22862cde
AM
15202001-01-30 Alan Modra <alan@linuxcare.com.au>
1521
1522 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
1523 destinations. Correct range check for 17 and 22 bit branches.
1524
8ec6253e
NC
15252001-01-25 Nick Clifton <nickc@redhat.com>
1526
1527 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
1528 still set. Issue an error message instead.
1529 (md_estimate_size_before_relax): Delete unused variable
1530 'buffer_address'. Fixup parentheses around if statement.
80b3ee89 1531
43ad3147
KH
15322001-01-23 Kazu Hirata <kazu@hxi.com>
1533
1534 * as.c: Fix formatting.
1535 * ehopt.c: Likewise.
1536 * messages.c: Likewise.
1537 * stabs.c: Likewise.
1538 * symbols.c: Likewise.
1539
015c05c1
AM
15402001-01-23 Ben Elliston <bje@redhat.com>
1541
1542 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
1543
66498417
KH
15442001-01-22 Kazu Hirata <kazu@hxi.com>
1545
1546 * config/tc-alpha.c: Fix formatting.
1547
1aad8cf8
KH
15482001-01-19 Kazu Hirata <kazu@hxi.com>
1549
1550 * config/tc-alpha.c: Fix formatting.
1551
32ff5c2e
KH
15522001-01-18 Kazu Hirata <kazu@hxi.com>
1553
1554 * config/tc-alpha.c: Fix formatting.
1555
cd17328a
NC
15562001-01-18 Nick Clifton <nickc@redhat.com>
1557
1558 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
1559 "da" flags.
1560 (stm_flags): Remove redundant bit from "ed" and "da" flags.
1561
81c425d1
AO
15622001-01-18 Alexandre Oliva <aoliva@redhat.com>
1563
1564 * configure.in (cpu_type, arch): Match i386 too.
1565 * configure: Rebuilt.
1566
e5cb08ac
KH
15672001-01-16 Kazu Hirata <kazu@hxi.com>
1568
1569 * config/tc-i386.c: Fix formatting.
1570
1d3d5051
AM
15712001-01-16 Alan Modra <alan@linuxcare.com.au>
1572
64afeba3
AM
1573 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
1574 relocs for .PARISC.unwind section.
1575
1d3d5051
AM
1576 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
1577 depending on section flags, not just for .text.
1578
b44b1b85
JW
15792001-01-15 Jim Wilson <wilson@redhat.com>
1580
1581 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
1582 not immediately followed by an instruction.
1583
098f2ec3
KH
15842001-01-15 Kazu Hirata <kazu@hxi.com>
1585
1586 * config/tc-m68hc11.c: Fix formatting.
1587
d4887adc
NC
15882001-01-15 Nick Clifton <nickc@redhat.com>
1589
1590 * symbols.c (colon): Change 'already defined symbol' from a
1591 fatal error to an ordinary error. There is no reason why this
1592 error should be fatal.
1593
1594 * message.c (as_fatal): Delete output file, if one has been
015c05c1 1595 created.
d4887adc 1596
fcfd4916
AM
15972001-01-14 Alan Modra <alan@linuxcare.com.au>
1598
1599 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
1600
bfb32b52
KH
16012001-01-14 Kazu Hirata <kazu@hxi.com>
1602
1603 * config/tc-alpha.c: Fix formatting.
1604 * config/tc-arc.c: Likewise.
1605 * config/tc-arc.h: Likewise.
1606 * config/tc-d10v.c: Likewise.
1607 * config/tc-i370.c: Likewise.
1608 * config/tc-i386.c: Likewise.
1609 * config/tc-i960.c: Likewise.
1610 * config/tc-m68k.c: Likewise.
1611 * config/tc-ppc.c: Likewise.
1612 * config/tc-sparc.c: Likewise.
1613 * config/tc-tahoe.c: Likewise.
1614 * config/tc-vax.c: Likewise.
1615
1e07b820
KH
1616 * config/tc-arc.c: Fix formatting.
1617
19203624
KH
1618 * config/tc-arc.c: Fix formatting.
1619
1328dc98
AM
16202001-01-14 Alan Modra <alan@linuxcare.com.au>
1621
c46b7515
AM
1622 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
1623 both 32 and 64 bit ELF.
1624
1328dc98
AM
1625 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
1626 and don't bother storing `m' for "ce" completer. Tidy handling of
1627 'J' and 'K' operands to suit. Handle '<' and '>' operands.
1628
b9d79e03
JH
1629Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz>
1630
29184774 1631 * config/tc-i386.h (TARGET_MACH): New macro.
b9d79e03 1632 (i386_mach): Declare.
29184774 1633 * config/tc-i386.c (i386_mach): New function.
b9d79e03 1634
a349d9dd
PB
16352001-01-13 Philip Blundell <philb@gnu.org>
1636
1637 * doc/as.texinfo: Fix spelling and cross-references.
1638
1639 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
1640 character for all systems, not just GNU/Linux. Make it explicit
1641 that `-k' doesn't affect code generation, just ELF flags.
1642
e2914f48
JH
1643Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz>
1644
1645 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
1646 instructions.
1647
272d76e0
FCE
16482001-01-12 Frank Ch. Eigler <fche@redhat.com>
1649
1650 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
1651
d0398d6a
NC
16522001-01-12 Nick Clifton <nickc@redhat.com>
1653
1654 * as.c (print_args): Update copyright date to 2001.
1655
2d73a4ca
NC
16562001-01-12 Peter Targett <peter.targett@arccores.com>
1657
1658 * doc/c-arc.texi: New file.
1659 Some sections to be expanded.
1660
6e0b89ee
AM
16612001-01-12 Alan Modra <alan@linuxcare.com.au>
1662
1663 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
1664 (md_parse_option): Always accept "--32".
1665
0d2bcfaf
NC
16662001-01-11 Peter Targett <peter.targett@arccores.com>
1667
1668 * as.h (TC_ARC): Ensure struc-symbol.h included.
1669 * as.c (dwarf2dbg.h): Include to remove implicit declaration
1670 warnings.
1671 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
1672 (TARGET_SYMBOL_FIELDS) added.
1673
1674 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
1675 * doc/c-arc.texi: New file.
1676 Some sections to be expanded.
1677 * doc/as.texinfo: Update command-line options.
1678 Removed outdated text for ARC dependant features, instead include
1679 text from above file.
1680
1681 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
1682 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
1683 (targ-cpu.h) header.
1684 * config/tc-arc.h:
1685 * config/tc-arc.c: New updated configuration for
1686 ARC, including selection of core variants, and extensibility of
1687 instructions, registers etc. through directives.
1688
1689 * config/tc-arc.c (arc_extinst): Minor corrections for
1690 error messages.
1691 (arc_common) Likewise. Make alignment argument optional for local
1692 symbols also, with default of zero.
1693
88051039
SC
16942001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1695
1696 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
1697 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
1698 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
1699 and fix_new_exp() instead.
1700 (md_convert_frag): For indexed post byte use the symbol value
1701 rather than the displacement.
1702 (md_relax_table): Fix indexed offset relax.
1703
d8273f3b
SC
17042001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1705
1706 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
1707 relax weak symbols.
015c05c1 1708 (relaxable_symbol): New function.
d8273f3b 1709
eea2ad45
AJ
17102001-01-11 Andreas Jaeger <aj@suse.de>
1711
1712 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
1713 not used anywhere.
1714
7a91e76a
NC
17152001-01-10 Nick Clifton <nickc@redhat.com>
1716
1717 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
1718 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
1719
aa257fcd
NC
17202001-01-10 Nick Clifton <nickc@redhat.com>
1721
1722 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
1723 character used to dollar local symbols.
1724 (LOCAL_LABEL_CHAR): New constant - the magic character used to
1725 local label symbols.
1726 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
1727 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
1728 if defined.
1729 Use LOCAL_LABEL_CHAR.
1730 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
1731 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
1732 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
1733
b77a7acd
AJ
17342001-01-08 Bo Thorsen <bo@suse.de>
1735
015c05c1
AM
1736 * config/tc-i386.c (i386_immediate, i386_displacement):
1737 GOTPCREL check fix.
b77a7acd 1738
5c2bd011
ILT
17392001-01-07 Ian Lance Taylor <ian@zembu.com>
1740
1741 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
1742 in last change.
1743
46a04e3a
PB
17442001-01-07 Philip Blundell <philb@gnu.org>
1745
1746 * doc/as.texinfo (Bug Reporting): Update email address for
1747 reports.
1748 * README: Likewise.
1749
b96d3a20
JH
1750Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
1751
1752 * configure.in: Define DEFAULT_ARCH for i386.
29184774 1753 * config/tc-i386.c (md_assemble): Return after the error message;
b96d3a20
JH
1754 move testing for 64bit operands to proper place.
1755
55b62671
AJ
17562001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
1757
1758 * doc/as.texinfo: Document '#' as comment character for i386 and
1759 x86_64. Add AMD x86-64 into menu of machine dependent information.
1760
1761 * doc/c-i386.texi: Document x86_64 extensions.
1762
7bc70a8e
JH
1763Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
1764
29184774 1765 * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
7bc70a8e 1766
a167610d
JH
1767Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
1768
29184774 1769 * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
a167610d
JH
1770 * NEWS: Add note about Pentium4 support.
1771
09f131f2
JH
1772Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
1773
29184774 1774 * config/tc-i387.c (pi, pte, pt): Update.
09f131f2
JH
1775 (type_names): Add new types.
1776
6f8c0c4c
JH
1777Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
1778
29184774 1779 * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
6f8c0c4c
JH
1780 CpuUnknown): Renumber
1781 (CpuP4, CpuSSE2): New.
1782 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
1783
b96ed59a
PB
17842001-01-03 Philip Blundell <pb@futuretv.com>
1785
1786 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
1787 relocs.
1788 (alpha_fix_adjustable): Likewise.
1789 (md_apply_fix): Likewise.
1790
a735d1cd
L
17912000-12-31 H.J. Lu <hjl@gnu.org>
1792
1793 * listing.c (listing_message): Allocate string only if it is
1794 used.
1795
1796 * configure: Rebuild.
1797
67db5ab4
HPN
17982000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
1799
1800 * doc/internals.texi (Relaxing with a table) <after relaxation>:
1801 Point out caveats with generating fixups for the opcode in a frag.
1802
c0d8940f
JH
1803Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
1804
1805 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
1806 * NEWS: Add x86_64.
1807
087f563c
L
18082000-12-29 H.J. Lu <hjl@gnu.org>
1809
1810 * listing.c (calc_hex): Print the variable part only if the
1811 fragment type is rs_fill.
1812
8108ad8e
HPN
18132000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
1814
1815 * doc/internals.texi (tc_conditional_pseudoop,
1816 TC_LINKRELAX_FIXUP): Fix typos.
1817
799051fc
RH
18182000-12-28 Richard Henderson <rth@redhat.com>
1819
1820 * write.c (subsegs_finish): Fix thinko last change -- don't
1821 "optimize" the alignment == 0 case.
1822
0a9ef439
RH
18232000-12-28 Richard Henderson <rth@redhat.com>
1824
1825 * as.h (rs_align_test): New.
1826 * frags.c (NOP_OPCODE): Move default from read.c.
1827 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
1828 (frag_align_code): New.
1829 * frags.h (frag_align_code): Declare.
1830 * read.c (NOP_OPCODE): Remove.
1831 (do_align): Use frag_align_code.
1832 * write.c (NOP_OPCODE): Remove.
1833 (get_recorded_alignment): New.
1834 (cvt_frag_to_fill): Handle rs_align_test.
1835 (relax_segment): Likewise.
1836 (subsegs_finish): Align last subseg in section to the
1837 section alignment. Use frag_align_code.
1838 * write.h (get_recorded_alignment): Declare.
1839 * config/obj-coff.c (size_section): Handle rs_align_test.
1840 (fill_section, fixup_mdeps): Likewise.
1841 (write_object_file): Use frag_align_code.
1842
1843 * config/tc-alpha.c (alpha_align): Use frag_align_code.
1844 (alpha_handle_align): New.
1845 * config/tc-alpha.h (HANDLE_ALIGN): New.
1846 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1847
1848 * config/tc-i386.h (md_do_align): Use frag_align_code.
1849 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1850
1851 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
1852 (ia64_handle_align): New.
1853 * config/tc-ia64.h (HANDLE_ALIGN): New.
1854 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1855
1856 * config/tc-m32r.c (m32r_do_align): Remove.
1857 (m32r_handle_align): New.
1858 (fill_insn): Use frag_align_code.
1859 * config/tc-m32r.h (md_do_align): Remove.
1860 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
1861 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
1862 * config/tc-mips.c, config/tc-mips.h: Similarly.
1863
1864 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
1865 (sh_handle_align): Likewise. Handle rs_align_code.
1866 (sh_do_align): Remove.
1867 * config/tc-sh.h (md_do_align): Remove.
1868 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1869
1870 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
1871 (sparc_handle_align): Likewise. Handle rs_align_code.
1872 * config/tc-sparc.h (md_do_align): Remove.
1873 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1874
3cd4dda7
DD
18752000-12-22 DJ Delorie <dj@redhat.com>
1876
1877 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
1878 when we assemble the first half of a pair.
1879
ec56dfb4
L
18802000-12-22 H.J. Lu <hjl@gnu.org>
1881
1882 * config/tc-i386.c (reloc): Update the macro for non-bfd
1883 assembler.
1884 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
1885
ad1172d4
L
18862000-12-22 H.J. Lu <hjl@gnu.org>
1887
1888 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
1889
3e73aa7c
JH
1890Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
1891
29184774 1892 * config/tc-i386.h (i386_target_format): Define even for ELFs.
3e73aa7c
JH
1893 (QWORD_MNEM_SUFFIX): New macro.
1894 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
1895 New macros
1896 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
1897 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
1898 ImmExt): Renumber.
1899 (Size64, No_qSuf, NoRex64, Rex64): New macros.
1900 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
1901 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
1902 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
1903 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
1904 Renumber.
1905 (Reg, WordReg): Add Reg64.
1906 (Imm): Add Imm32S and Imm64.
1907 (EncImm): New.
1908 (Disp): Add Disp64 and Disp32S.
1909 (AnyMem): Add Disp32S.
1910 (RegRex, RegRex64): New macros.
1911 (rex_byte): New type.
29184774 1912 * config/tc-i386.c (set_16bit_code_flag): Kill.
3e73aa7c
JH
1913 (fits_in_unsigned_long, fits_in_signed_long): New functions.
1914 (reloc): New parameter "signed"; support x86_64.
1915 (set_code_flag): New.
1916 (DEFAULT_ARCH): New macro; default to "i386".
1917 (default_arch): New static variable.
1918 (struct _i386_insn): New fields Operand_PCrel; rex.
1919 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
1920 (flag_code): New enum and static variable.
1921 (use_rela_relocations): New static variable.
1922 (flag_code_names): New static variable.
1923 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
1924 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
1925 K6 and Athlon.
1926 (i386_align_code): Return plain "nop" for x86_64.
1927 (mode_from_disp_size): Support Disp32S.
1928 (smallest_imm_type): Support Imm32S and Imm64.
1929 (offset_in_range): Support size of 8.
1930 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
1931 (md_pseudo_table): Add "code64"; use set_code_flat.
1932 (md_begin): Emit sane error message on hash failure.
1933 (tc_i386_fix_adjustable): Support x86_64 relocations.
1934 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
1935 instructions supported on particular arch just partially,
1936 output of 64bit immediates, handling of Imm32S and Disp32S type.
1937 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
1938 (i386_displacement): Likewise.
1939 (i386_index_check): Cleanup; support 64bit addresses.
1940 (md_apply_fix3): Support x86_64 relocation and rela.
1941 (md_longopts): Add "32" and "64".
1942 (md_parse_option): Add OPTION_32 and OPTION_64.
1943 (i386_target_format): Call even for ELFs; choose between
1944 elf64-x86-64 and elf32-i386.
1945 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
1946 (tc_gen_reloc): Support rela relocations and x86_64.
1947 (intel_e09_1): Support QWORD.
1948
21d6c4af
DN
19492000-12-15 Diego Novillo <dnovillo@redhat.com>
1950
1951 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
55b62671 1952 it's not an offset expression.
21d6c4af
DN
1953 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
1954 keep the braces '[' and ']' in the output string.
1955 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
1956 != FLAT. There is no such op_modifier.
1957
6717891c
NC
19582000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1959
1960 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
1961 if we have it.
1962
ee515fb7
KH
19632000-12-13 Kazu Hirata <kazu@hxi.com>
1964
1965 * as.h: Fix formatting.
1966 * cgen.h: Likewise.
1967 * dwarf2dbg.c: Likewise.
1968 * input-scrub.c: Likewise.
1969 * read.h: Likewise.
1970
349a994c
DD
19712000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
1972
1973 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
1974 configure: Regenerate.
1975
42dbf88c
NC
19762000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1977
1978 * dwarf2dbg.c: #include <limits.h> only if it exists.
1979
0485cba3
AM
19802000-12-13 Rodney Brown <RodneyBrown@mynd.com>
1981
1982 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
1983 (md_apply_fix): Here too.
1984
514829c3
JW
19852000-12-12 Jim Wilson <wilson@redhat.com>
1986
1987 * config/tc-ia64.h (ia64_init): Add prototype.
1988
92eb7b32
L
19892000-12-12 H.J. Lu <hjl@gnu.org>
1990
1991 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
1992
1993 * read.h (outputting_stabs_line_debug): Change it to int.
1994 * stabs.c (outputting_stabs_line_debug): Likewise.
1995
8141c27d
GK
19962000-12-12 Geoffrey Keating <geoffk@redhat.com>
1997
1998 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
1999 the address of a function result.
2000
5d6f4f16
GK
20012000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2002
2003 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
2004 (md_assemble): Call dwarf2_emit_insn.
2005 (shlib): Fix typo SHILB -> SHLIB.
2006 (md_parse_option): Likewise.
2007 (ppc_elf_validate_fix): Likewise:
2008 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2009
d4c0c039
NC
20102000-12-12 Nick Clifton <nickc@redhat.com>
2011
2012 * cgen.h: Fix formatting.
2013 * input-scrub.c: Fix formatting.
2014 * macro.c: Fix formatting.
e972090a 2015 * config/tc-mips.c: Fix formatting.
584da044 2016 * doc/c-mips.texi: Fix formatting.
55b62671 2017
f16b83df
JH
2018Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
2019
29184774 2020 * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
f16b83df
JH
2021 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
2022 references.
2023 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
2024 otherwise.
29184774 2025 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
f16b83df
JH
2026 (No_dSuf): Kill.
2027
2028 * i386.h (*_Suf): Remove No_dSuf.
2029 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
2030 Remove.
2031 (i386_optab): Remove 'd' in the suffixes.
2032
50705ef4
AM
20332000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2034
2035 * config/tc-i386.c (T_SHORT): Undefine before defining.
2036
beae10d5
KH
20372000-12-05 Kazu Hirata <kazu@hxi.com>
2038
2039 * config/tc-mips.c: Fix formatting.
2040
bccba5f0 20412000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
2042
2043 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
2044 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
2045 (md_show_usage): Ditto.
2046 (md_parse_option): Ditto.
2047 (d10v_cleanup): Writes pending instruction only if
2048 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 2049 Fix compile time warning messages.
50705ef4
AM
2050
2051 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
2052
20532000-12-04 Matthew Hiller <hiller@redhat.com>
2054
50705ef4 2055 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
2056 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
2057 function entry and unset at function exit.
2058
50705ef4 2059 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
2060
2061 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
2062
2063 * dwarf2dbg.c: Fix compile time warning messages.
2064
bc805888
KH
20652000-12-03 Kazu Hirata <kazu@hxi.com>
2066
2067 * config/tc-a29k.c: Fix formatting.
2068 * config/tc-alpha.c: Likewise.
2069 * config/tc-arm.c: Likewise.
2070 * config/tc-cris.c: Likewise.
2071 * config/tc-hppa.c: Likewise.
2072 * config/tc-i370.c: Likewise.
2073 * config/tc-i386.c: Likewise.
2074 * config/tc-i860.c: Likewise.
2075 * config/tc-i960.c: Likewise.
2076 * config/tc-ia64.c: Likewise.
2077 * config/tc-m68hc11.c: Likewise.
2078 * config/tc-m68k.c: Likewise.
2079 * config/tc-m88k.c: Likewise.
2080 * config/tc-pj.c: Likewise.
2081 * config/tc-ppc.c: Likewise.
2082 * config/tc-sh.c: Likewise.
2083 * config/tc-sparc.c: Likewise.
2084 * config/tc-tahoe.c: Likewise.
2085 * config/tc-vax.c: Likewise.
2086
3dacdf2e
NC
20872000-12-01 Chris Demetriou <cgd@sibyte.com>
2088
50705ef4
AM
2089 * config/tc-mips.c (mips_ip): When calculating offsets,
2090 don't accept as constant the difference between the
2091 addresses of symbols in two different sections.
2092
2093 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
2094 specifiers.
2095 (validate_mips_insn): Likewise. Also, update 'B' operand
2096 specifier to use OP_*_CODE20 constants and delete 'm' operand
2097 specifier.
2098 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
2099 operand specifiers. Change warning generated by 'B' operand
2100 specifier to reflect its new multi-purpose usage.
2101
2102 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
2103 -1, and update comment.
2104 (file_mips_isa): Likewise.
2105 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
2106 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
2107 ISA_* constants rather than hard-coded numbers.
2108 (mips_cpu_info): New structure.
2109 (mips_cpu_info_table): New table describing CPU and ISA names
2110 and numbers.
2111 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
2112 mips_cpu_info_from_cpu): New functions.
2113 (mips_isa_to_str): New function to get string for ISA name.
2114 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
2115 return const char *.
2116 (md_begin): Redo CPU and ISA selection logic, using
2117 mips_cpu_info_from_*. Convert to use ISA_* constants rather
2118 than hard-coded numbers.
2119 (append_insn, mips_emit_delays, macro, macro2): Convert to use
2120 ISA_* constants rather than hard-coded numbers.
2121 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
2122 (md_longopts): Delete OPTION_NO_MIPS32.
2123 (md_parse_option): Convert to use ISA_* constants rather than
2124 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
2125 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
2126 to use strcasecmp to recognize "default" and to use
2127 mips_cpu_info_from_name to get CPU numbers from argument.
2128 (md_show_usage): Move -mips32 so it's with the rest of the ISA
2129 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
2130 mips32-4k.
2131 (s_mipsset): Accept ISA value 32.
2132 * doc/as.texinfo: Clean up MIPS options summary slightly,
2133 remove -no-mips32. Add note about -mips4 and -mips32
2134 specifying those ISA levels. Delete -mips32 and -no-mips32
2135 cpu flag descriptions.
2136 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
2137 up the supported CPU switch list, and replace 4Kc, 4Km, and
2138 4Kp entries with a single mips32-4k entry. Note that you can
2139 use ".set mips32".
2140
29184774 2141 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
50705ef4
AM
2142 ISA_MIPS64.
2143 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
2144 -mips5 and -mips64.
2145 (md_parse_option): Add cases for OPTION_MIPS5 and
2146 OPTION_MIPS64.
2147 (md_show_usage): Mention -mips5 and -mips64 arguments.
2148 (s_mipsset): Add cases for MIPS5 and MIPS64.
2149 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
2150 and pseudo-CPUs.
2151 * doc/as.texinfo: Mention -mips5 and -mips64 options
2152 and their meanings.
2153 * doc/c-mips.texi: Likewise. Also update introduction
2154 and ".set" usage information.
2155
2156 * config/tc-mips.c (md_show_usage): Add "sb1" to the
2157 CPU list.
2158 (mips_cpu_info_table): Add SB-1 entries.
2159 * doc/c-mips.texi: Add "sb1" to the list of CPUs
2160 known to the -mcpu option.
2161
2162 * doc/as.texinfo: Correct description of MIPS -mcpu
2163 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 2164
5f68c319
NC
21652000-12-01 Joel Sherrill <joel@OARcorp.com>
2166
3dacdf2e
NC
2167 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
2168 New targets.
2169 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2170 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
2171 * configure: Regenerate.
2172 * config.in: Regenerate.
2173 * Makefile.in: Regenerate.
2174 * aclocal.m4: Regenerate.
2175 * po/gas.pot: Regenerate.
50705ef4 2176
4ce3447c
PB
21772000-11-30 Philip Blundell <pb@futuretv.com>
2178
2179 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
2180 even in non BFD_ASSEMBLER case.
2181
76a0ddac
DN
21822000-11-30 Diego Novillo <dnovillo@redhat.com>
2183
29184774 2184 * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
76a0ddac
DN
2185 syntax.
2186
220e750f
RH
21872000-11-29 Richard Henderson <rth@redhat.com>
2188
2189 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
2190 until dwarf2_finish; use relaxation to get cross-fragment offsets;
2191 thread multiple subsegments properly; handle multiple code
2192 sections properly; emit proper compilation unit info for assembler
2193 generated debugging.
2194
2195 * as.h (enum _relax_state): Add rs_dwarf2dbg.
2196 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
2197 (dwarf2dbg_estimate_size_before_relax): Declare.
2198 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
2199 * write.c: Include dwarf2dbg.h.
2200 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
2201 (relax_segment): Likewise.
2202
99b222b4
HPN
22032000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2204
2205 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
2206 jump>: Use as_bad_where instead of as_bad. Tweak error message
2207 accordingly. Stabilize frag by updating fix part and resetting
2208 variant part.
2209 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
2210 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
2211 indexing is_end_of_line[].
2212 (md_assemble): Initialize size to 0.
2213 (md_section_align): Mark parameter seg as unused.
e46fee70 2214 (parse_reg): Parse names case-insensitively.
99b222b4 2215
814f6641
KH
22162000-11-28 Kazu Hirata <kazu@hxi.com>
2217
2218 * config/obj-aout.h: Fix formatting.
2219 * config/obj-bout.h: Likewise.
2220 * config/obj-coff.c: Likewise.
2221 * config/obj-coff.h: Likewise.
2222 * config/obj-elf.h: Likewise.
2223 * config/obj-som.h: Likewise.
2224 * config/obj-vms.c: Likewise.
2225 * config/obj-vms.h: Likewise.
2226 * config/tc-h8300.h: Likewise.
2227 * config/tc-ns32k.h: Likewise.
2228 * config/tc-sparc.h: Likewise.
2229 * config/tc-tic54x.h: Likewise.
2230 * config/tc-z8k.h: Likewise.
2231
e47b9e39
NC
22322000-11-28 Nick Clifton <nickc@redhat.com>
2233
2234 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
2235 License is present in the sources, but not the output, and
2236 also available from the GNU website.
2237 (GNU Free Documentation License): Comment out this section.
2238
fcdc20a4
HPN
22392000-11-28 Hans-Peter Nilsson <hp@axis.com>
2240
43c34dee
HPN
2241 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
2242 targets. Remove i860 from valid a.out targets.
2243 * Makefile.in: Regenerate.
2244
fcdc20a4 2245 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 2246 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
2247 (md_assemble): Call dwarf2_emit_insn if generating ELF.
2248 (s_cris_file, s_cris_loc): New.
2249 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2250 * Makefile.am: Regenerate dependencies.
2251 * Makefile.in: Regenerate.
2252
16887944
AM
22532000-11-28 Alan Modra <alan@linuxcare.com.au>
2254
2255 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
2256 (MRI_MUL_PRECEDENCE): Likewise.
2257 (op_rank): Fix a comment typo.
2258
ae3e85dd
SC
22592000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2260
2261 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
2262 the error message.
2263 (get_operand): Fix analysis for movw/movb instructions.
2264
077b8428
NC
22652000-11-24 Nick Clifton <nickc@redhat.com>
2266
2267 * configure.in (xscale-elf): Add target.
2268 (xscale-coff): Add target.
2269 * configure: Regenerate.
2270
2271 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
2272 extenstion.
2273 (ARM_EXT_XSCALE): New ARM architecture extension.
2274 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
2275 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
2276 (ARM_THUMB): Rename to ARM_EXT_THUMB.
2277 (ARM_ARCH_V4): Remove processor from architecture.
2278 (ARM_ARCH_3M): New architecutre definition.
2279 (ARM_ARCH_V5TE): New architecutre definition.
2280 (ARM_ARCH_XSCALE): New architecutre definition.
2281 (CPU_DEFAULT): Allow to be defaulted to XScale.
2282 (atpcs): New boolean variable.
2283 (ldr_flags): Support 'd' flag for double word loads.
2284 (str_flags): Support 'd' flag for double word stored.
2285 (do_mia): New function.
2286 (do_mar): New function.
2287 (do_mra): New function.
2288 (do_pld): New function.
2289 (do_ldrd): New function.
2290 (do_blx): New function.
2291 (do_bkpt): New function.
2292 (do_clz): New function.
2293 (do_lstc2): New function.
2294 (do_cdp2): New function.
2295 (do_t_blx): New function.
2296 (do_t_bkpt): New function.
2297 (do_smla): New function.
2298 (do_smlal): New function.
2299 (do_smul): New function.
2300 (do_qadd): New function.
2301 (do_co_reg2c): New function.
2302 (LONGEST_INSN): Redefine to 7.
2303
2304 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
2305 command line switches.
2306
2434f565
JW
23072000-11-22 Jim Wilson <wilson@redhat.com>
2308
2309 * config/tc-ia64.c (pseudo_func): Add missing initializers.
2310 (struct rsrc): Make line unsigned.
2311 (gr_values): Add missing initializer.
2312 (SLOT_NUM_NOT_SET): Add unsigned cast.
2313 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
2314 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
2315 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
2316 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
2317 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
2318 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
2319 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
2320 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
2321 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
2322 Add ATTRIBUTE_UNUSED to unused parameters.
2323 (convert_expr_to_ab_reg): Add parens.
2324 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
2325 (dot_prologue): Initialize grsave when declared.
2326 (md_pseudo_table): Add missing initializers.
2327 (operand_match): Add casts to bfd_vma.
2328 (emit_one_bundle): Delete unused local prev. Make required_template
2329 unsigned.
2330 (specify_resource): Cast i to unsigned.
2331 (note_register_values): Use fprintf_vma.
2332 (print_dependency): Likewise.
2333
5a080f89
JW
23342000-11-21 Jim Wilson <wilson@redhat.com>
2335
5e7474a7
JW
2336 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
2337 for unwind info section.
2338 (dot_endp): Likewise for unwind section.
2339
5a080f89
JW
2340 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
2341 fix_new_exp.
2342
732d96b6
JJ
23432000-11-21 Jakub Jelinek <jakub@redhat.com>
2344
2345 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
2346 (output_insn): Call dwarf2_emit_insn.
b8e904dc 2347 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 2348
6d2cf69f
RH
23492000-11-17 Richard Henderson <rth@redhat.com>
2350
2351 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
2352 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
2353 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
2354
8179bd9b
NC
23552000-11-17 Nick Clifton <nickc@redhat.com>
2356
2357 * config/tc-arm.c (md_pseudo_table): Add support for .line and
2358 .file pseudo ops.
2359
316e2c05
RH
23602000-11-17 Richard Henderson <rth@redhat.com>
2361
2362 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
2363
a8316fe2
RH
23642000-11-17 Richard Henderson <rth@redhat.com>
2365
2366 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 2367 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
2368 tri-state definition of alpha_flag_mdebug.
2369 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
2370 (s_alpha_file): Store first .file directive.
2371 (s_alpha_stab): New.
2372 (md_pseudo_table): Add stabs and stabn.
2373
e346e481
RH
23742000-11-17 Richard Henderson <rth@redhat.com>
2375
2376 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
2377
4dc7ead9
RH
23782000-11-17 Richard Henderson <rth@redhat.com>
2379
2380 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 2381 (main): Call dwarf2_finish.
4dc7ead9
RH
2382 * as.h (debug_type): Clarify documentation of the meaning
2383 of this variable.
2384 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
2385 (print_stats): Fix parenthesis problem.
2386 (now_subseg_size): New.
2387 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
2388 (dwarf2_directive_file): Don't set debug_type.
2389 (dwarf2_where): Honor DEBUG_DWARF2 first.
2390 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
2391 do nothing if not emitting dwarf2 debug info, or no work.
2392 * dwarf2dbg.h (dwarf2_emit_insn): Update.
2393 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
2394 (ecoff_new_file): Likewise.
2395 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
2396 commentary wrt dwarf2.
2397
2398 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
2399 ATTRIBUTE_UNUSED as needed.
2400 (emit_insn): Call dwarf2_emit_insn.
2401 (s_alpha_file): New.
2402 (s_alpha_loc): New.
2403 (s_alpha_coff_wrapper): Don't handle them.
2404 (md_pseudo_table): Update for .file and .loc.
2405 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2406
2407 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
2408 don't protect with debug_type.
2409 * config/tc-hppa.c (md_assemble): Likewise.
2410 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
2411 * config/tc-mn10300.c (md_assemble): Likewise.
2412 * config/tc-sh.c (md_assemble): Likewise.
2413 * config/tc-v850.c (md_assemble): Likewise.
2414
2415 * config/tc-arm.c (arm_end_of_source): Remove.
2416 * config/tc-hppa.c (pa_end_of_source): Remove.
2417 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
2418 * config/tc-mn10300.c (mn10300_finalize): Remove.
2419 * config/tc-sh.c (sh_finalize): Remove.
2420 * config/tc-v850.c (sh_finalize): Remove.
2421
2422 * config/tc-arm.h (md_end): Remove.
2423 * config/tc-hppa.h (md_end): Remove.
2424 (DWARF2_LINE_MIN_INSN_LENGTH): New.
2425 * config/tc-m68hc11.h (md_end): Remove.
2426 * config/tc-mn10300.h (md_end): Remove.
2427 * config/tc-sh.h (md_end): Remove.
2428 * config/tc-v850.h (md_end): Remove.
2429
2430 * config/tc-ia64.c (emit_one_bundle): Don't protect
2431 dwarf2 bits with debug_type.
2432 (md_assemble): Likewise.
2433 (ia64_end_of_source): Don't call dwarf2_finish.
2434
ca683b78
JW
24352000-11-16 Jim Wilson <wilson@redhat.com>
2436
2437 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
2438 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
2439 > 16.
2440
6f620856
L
24412000-11-16 H.J. Lu <hjl@gnu.org>
2442
2443 * config/obj-elf.c (obj_elf_symver): Don't check the missing
2444 version name.
2445
19d63e5d
KH
24462000-11-15 Kazu Hirata <kazu@hxi.com>
2447
2448 * config/tc-tic30.c: Fix formatting.
2449 * config/tc-tic80.c: Likewise.
2450 * config/tc-v850.c: Likewise.
2451 * config/tc-vax.c: Likewise.
2452 * config/tc-w65.c: Likewise.
2453 * config/tc-z8k.c: Likewise.
2454
a8761a19
DD
24552000-11-14 DJ Delorie <dj@redhat.com>
2456
2457 * config/tc-v850.c: Support dwarf2.
2458 * config/tc-v850.h: Ditto.
2459
2460 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
2461 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 2462
88be23ec
BS
24632000-11-15 Bernd Schmidt <bernds@redhat.com>
2464
29184774 2465 * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
88be23ec
BS
2466 (errata_nops_necessary_p): New function.
2467 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
2468 md.
2469
72a76794
JW
24702000-11-14 Jim Wilson <wilson@redhat.com>
2471
2472 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
2473 return little endian bfd formats.
2474
4a1805b1
KH
24752000-11-14 Kazu Hirata <kazu@hxi.com>
2476
2477 * config/aout_gnu.h: Fix formatting.
2478 * config/atof-vax.c: Likewise.
2479 * config/m68k-parse.h: Likewise.
2480 * config/m88k-opcode.h: Likewise.
2481 * config/obj-elf.c: Likewise.
2482 * config/tc-arm.c: Likewise.
2483 * config/tc-cris.c: Likewise.
2484 * config/tc-i386.c: Likewise.
2485 * config/tc-ia64.c: Likewise.
2486 * config/tc-mn10300.c: Likewise.
2487 * config/te-386bsd.h: Likewise.
2488 * config/te-hppa.h: Likewise.
2489 * config/te-nbsd.h: Likewise.
2490 * config/te-ppcnw.h: Likewise.
2491 * config/te-sparcaout.h: Likewise.
2492 * config/te-tmips.h: Likewise.
2493 * config/vax-inst.h: Likewise.
2494 * config/vms-conf.h: Likewise.
2495
c810873d
JJ
24962000-11-14 Jakub Jelinek <jakub@redhat.com>
2497
2498 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
2499
79082ff0
L
25002000-11-13 H.J. Lu <hjl@gnu.org>
2501
2502 * config/obj-elf.c (elf_frob_symbol): Support
2503 ".symver name,name2@@@nodename".
2504 (elf_frob_file_before_adjust): Likewise.
2505
2506 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
2507 and ".symver name,name2@@@nodename".
2508 Fix a typo.
2509
1da00eb4
L
25102000-11-12 H.J. Lu (hjl@gnu.org)
2511
2512 * config/obj-elf.c (obj_elf_symver): Check missing version
2513 name.
2514
f585997b
L
25152000-11-12 H.J. Lu (hjl@gnu.org)
2516
2517 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
2518 instead of bfd_vma for non-bfd assemblers.
2519
ef5c4bfc
KH
25202000-11-09 Kazu Hirata <kazu@hxi.com>
2521
2522 * itbl-ops.c: Fix comment typos.
2523
f5a30c2e
JW
25242000-11-08 Jim Wilson <wilson@redhat.com>
2525
2526 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
2527 (struct unwind): Add next_slot_frag field.
2528 (slot_index): New parameters slot_frag and first_frag. Add code
2529 to add in frag sizes when different. Add comments.
2530 (fixup_unw_records): New locals first_frag and last_frag. Pass new
2531 arguments to slot_index.
2532 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
2533 loop end. Set next_slot_frag field.
2534
339681c0
L
25352000-11-07 H.J. Lu <hjl@gnu.org>
2536
2537 * doc/as.texinfo (.symver): Updated for versioned symbol
2538 reference.
2539
2540 * obj.h (format_ops): Add the frob_file_before_adjust field.
2541
2542 * config/obj-aout.c (aout_format_ops): Set the
2543 frob_file_before_adjust field to 0.
2544 * config/obj-coff.c (coff_format_ops): Likewise.
2545 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
2546
2547 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
2548 name.
2549 (elf_frob_file_before_adjust): New function to remove unneeded
2550 versioned symbols from the symbol table.
2551 (elf_format_ops): Set the frob_file_before_adjust field to
2552 elf_frob_file_before_adjust.
2553
2554 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
2555 not defined.
2556
2557 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
2558
4a314ec8
NC
25592000-11-07 Peter Targett <peter.targett@arccores.com>
2560
2561 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
2562 BIG_ENDIAN macros.
2563 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
2564 Fix compile time warning messages.
50705ef4 2565
604d524f
NC
25662000-11-07 Nick Clifton <nickc@redhat.com>
2567
2568 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
2569 buffer in order to avoid buffer overflows.
2570
44f5c83a
JW
25712000-11-06 Steve Ellcey <sje@cup.hp.com>
2572
2573 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
2574 Change M to m for -milp32 or -mlp64 to match gcc.
2575 (dot_endp): Use bytes_per_address instead of 8.
2576 (emit_one_bundle): Use number_to_chars_littleendian instead of
2577 md_number_to_chars.
2578 (fix_insn): Likewise.
2579 (ia64_init): New function.
2580 (ia64_target_format): New function.
2581 (md_begin): Set endianness, arch, and machine as appropriate.
2582 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
2583 Make these macros depend on TE_HPUX macro.
2584 (TARGET_FORMAT): Define.
2585 (HOST_SPECIAL_INIT): Define.
2586 * config/te-hpux.h: New file.
2587 * configure.in: Add "ia64-*-hpux*" target to configure.
2588 * configure: Regenerate.
50705ef4 2589
7152f1dc
KH
25902000-11-06 Kazu Hirata <kazu@hxi.com>
2591
ef99799a
KH
2592 * as.c: Fix formatting.
2593 * dwarf2dbg.c: Likewise.
2594 * input-file.c: Likewise.
7152f1dc
KH
2595 * input-file.h: Likewise.
2596 * input-scrub.c: Likewise.
ef99799a
KH
2597 * itbl-ops.c: Likewise.
2598 * listing.c: Likewise.
2599 * macro.h: Likewise.
2600 * messages.c: Likewise.
2601 * read.c: Likewise.
2602 * subsegs.c: Likewise.
2603 * subsegs.h: Likewise.
2604 * write.c: Likewise.
7152f1dc 2605
cf055d54
NC
26062000-11-06 Nick Clifton <nickc@redhat.com>
2607
2608 * doc/as.texinfo: Add GNU Free Documentation License.
2609 * doc/gasp.texi: Add GNU Free Documentation License.
2610 * doc/as.1: Add GNU Free Documentation License.
2611
8d6b5c8e
NC
26122000-11-05 Nick Clifton <nickc@redhat.com>
2613
2614 * config/tc-arm.c: Add include of "dwarf2dbg.h"
2615
59ff2774
NC
26162000-11-02 Per Lundberg <plundis@chaosdev.org>
2617
2618 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
2619 * configure: Regenerate.
2620
37d8bb27
NC
26212000-11-01 Nick Clifton <nickc@redhat.com>
2622
2623 * read.c (original_case_string): New global variable.
2624 (read_a_source_file): Copy opcode string into
2625 original_case_string if clobbering the case of the opcode.
2626 * read.h: Export the definition of original_case_string.
2627 * config/tc-arm.c (md_assembler): When parsing a .req
2628 directive use the original opcode string, not the case
2629 clobbered version.
2630
d75bb8cf
NC
26312000-11-02 Nick Clifton <nickc@redhat.com>
2632
2633 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 2634 variable.
d75bb8cf
NC
2635 (md_assemble): Call dwarf2_generate_asm_lineno instead of
2636 dwarf2_where and dwarf2_gen_line_info.
2637
6c17cfe4
PB
26382000-11-02 Theo Honohan <th@futuretv.com>
2639
50705ef4 2640 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 2641
c51ce5f0
EC
26422000-10-31 Eric Christopher <echristo@redhat.com>
2643
2644 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
2645 or pc-relative, else use fx_offset.
2646
f1bcba5b
JW
26472000-10-31 Jim Wilson <wilson@redhat.com>
2648
2649 * config/tc-ia64.c (struct md): New field tag_fixups.
2650 (ia64_flush_insns): Handle tag_fixups. Error if dangling
2651 qualifying predicate.
2652 (emit_one_bundle): Delete spurious multiplication by one. Handle
2653 tag_fixups.
2654 (ia64_start_line): Error if dangling qualifying predicate.
2655 (defining_tag): New static variable.
2656 (ia64_unrecognized_line, case '['): Parse tags.
2657 (ia64_frob_label): Create tag_fixups.
2658 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 2659
8637c045
AM
26602000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2661
2662 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
2663
ebeeafe6
BS
26642000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
2665
29184774 2666 * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
ebeeafe6 2667
b041f888
KH
26682000-10-30 Kazu Hirata <kazu@hxi.com>
2669
2670 * expr.c: Fix formatting.
2671 * flonum-copy.c: Likewise.
2672 * flonum.h: Likewise.
2673 * gasp.c: Likewise.
2674 * hash.c: Likewise.
2675
d8374dcd
HPN
26762000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
2677
2678 * as.h (OPTION_MD_BASE): Bump to 190.
2679 * as.c (parse_args) <std_longopts>: Add comment about the need to
2680 check OPTION_MD_BASE in as.h.
2681
1308f14c
HPN
2682 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
2683 for weak symbols.
2684
6f6ef0fa
NC
26852000-10-27 Nick Clifton <nickc@redhat.com>
2686
2687 * configure.in (emulations): Add m68hc12.
2688 * configure: Regenerate.
2689 * po/gas.pot: Regenerate.
c51ce5f0 2690
bf1b5881
AH
26912000-10-27 Aldy Hernandez <aldyh@redhat.com>
2692
50705ef4
AM
2693 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
2694 cpsr*.
2695 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 2696
85a39694
NC
26972000-10-25 Nick Clifton <nickc@redhat.com>
2698
2699 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
2700 a DWARF2 line number information sequence.
2701
2702 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
2703
2704 * read.c (generate_lineno_debug): Update comment describing why
2705 DWARF2 line number debug information is not generated
2706 automatically by this function.
2707
2708 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
2709 not all.
c51ce5f0 2710
85a39694
NC
2711 * config/tc-arm.h (md_end): Define.
2712 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 2713
85a39694
NC
2714 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
2715 if generating DWARF2 line numbers.
2716 (arm_end_of_source): New function. Call dwarf2_finish if
2717 necessary.
2718
2719 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
2720 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
2721 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 2722
cce0cbdc
DN
27232000-10-25 Diego Novillo <dnovillo@cygnus.com>
2724
29184774 2725 * config/tc-i386.c: Fix prototype declarations for functions taking no
cce0cbdc
DN
2726 arguments.
2727
64a0c779
DN
27282000-10-24 Diego Novillo <dnovillo@cygnus.com>
2729
29184774 2730 * config/tc-i386.c (i386_operand_modifier): Remove.
64a0c779
DN
2731 (build_displacement_string): Remove.
2732 (i386_parse_seg): Remove.
2733 (i386_intel_memory_operand): Remove.
2734 (i386_intel_operand): Re-write using recursive descent parser based
2735 on MASM documentation.
2736 (struct intel_parser_s): New structure.
2737 (intel_parser): New static variable.
2738 (struct intel_token): New structure.
2739 (cur_token, prev_token): New static variables.
2740 (T_NIL): Define.
2741 (T_CONST): Define.
2742 (T_REG): Define.
2743 (T_BYTE): Define.
2744 (T_WORD): Define.
2745 (T_DWORD): Define.
2746 (T_QWORD): Define.
2747 (T_XWORD): Define.
2748 (T_SHORT): Define.
2749 (T_OFFSET): Define.
2750 (T_PTR): Define.
2751 (T_ID): Define.
2752 (intel_match_token): New function.
2753 (intel_get_token): New function.
2754 (intel_putback_token): New function.
2755 (intel_expr): New function.
2756 (intel_e05): New function.
2757 (intel_e05_1): New function.
2758 (intel_e06): New function.
2759 (intel_e06_1): New function.
2760 (intel_e09): New function.
2761 (intel_e09_1): New function.
2762 (intel_e10): New function.
2763 (intel_e10_1): New function.
2764 (intel_e11): New function.
2765
19f7b010
JJ
27662000-10-20 Jakub Jelinek <jakub@redhat.com>
2767
2768 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
2769 instructions to loose any special insn->architecture mask.
2770
2771 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
2772 (sparc_md_end, sparc_arch_types, sparc_arch,
2773 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
2774 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
2775 request v9b architecture if they are used).
2776
3ae647a0
NC
27772000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2778
2779 * config/tc-m68k.c: Fix the previous misapplied patch.
2780
5cbdaa77
NC
27812000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2782
50705ef4
AM
2783 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
2784 BFD_ASSEMBLER and !BFD_ASSEMBLER.
2785 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
2786 BFD_RELOC_*.
5cbdaa77 2787
e6c774b4
KH
27882000-10-17 Kazu Hirata <kazu@hxi.com>
2789
2790 * debug.c: Fix formatting.
2791 * depend.c: Likewise.
2792 * dwarf2dbg.c: Likewise.
2793 * dwarf2dbg.h: Likewise.
2794 * ecoff.c: Likewise.
2795 * expr.c: Likewise.
2796 * expr.h: Likewise.
2797 * flonum-konst.c: Likewise.
2798 * frags.h: Likewise.
2799
ea20a7da
CC
28002000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2801
2802 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
2803 options.
2804 * doc/as.texinfo: Added notes about this new option.
2805
266cb5f1
HPN
28062000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
2807
2808 * config/tc-sh.c (JREG): Remove.
2809 (md_convert_frag): Remove #if 0:d code using JREG.
2810
6588847e
DN
28112000-10-15 Diego Novillo <dnovillo@cygnus.com>
2812
2813 * config/tc-i386.c (i386_operand_modifier): Only match
2814 modifiers SHORT and FLAT if they are followed by a space.
2815 (parse_register): When `allow_naked_reg' is set, do not confuse
2816 identifiers that start with a register name with a register.
2817
30a2b4ef
KH
28182000-10-12 Kazu Hirata <kazu@hxi.com>
2819
2820 * app.c: Fix formatting.
2821 * as.c: Likewise.
2822 * as.h: Likewise.
2823 * bit_fix.h: Likewise.
2824 * cgen.c: Likewise.
2825 * cgen.h: Likewise.
2826 * cond.c: Likewise.
2827
d01e2a23
AM
28282000-10-11 Alan Modra <alan@linuxcare.com.au>
2829
2830 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
2831
44852b19
AM
28322000-10-07 Alan Modra <alan@linuxcare.com.au>
2833
dc1fc56b
AM
2834 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
2835 Re-arrange function a little and improve error message.
2836
44852b19
AM
2837 * write.c (write_relocs): Fix a comment.
2838
2839 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
2840 link-once sections.
2841
afa680f8
JW
28422000-10-05 Jim Wilson <wilson@cygnus.com>
2843
2844 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
2845
ce8a8b2f
AM
28462000-10-05 Alan Modra <alan@linuxcare.com.au>
2847
2848 * config/tc-i386.c: Delete some useless comments, reformat others.
2849
2850 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
2851 non-global syms in linkonce sections.
2852
56d27c17
AM
28532000-10-04 Ralf Baechle <ralf@gnu.org>
2854
2855 * config/tc-ia64.c (operand_match): Don't use // style comments.
2856 * config/tc-i370.c: Likewise.
2857
7b15d668
HPN
28582000-09-29 Hans-Peter Nilsson <hp@axis.com>
2859
2860 Changes to handle varying register prefix and user symbol prefix.
2861 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
2862 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
2863 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
2864 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
2865 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
2866 (demand_register_prefix): New variable.
2867 (md_pseudo_table): New pseudo ".syntax".
2868 (md_longopts): New options --no-underscore and --underscore.
2869 (cris_target_format): Return elf32-us-cris or elf32-cris depending
2870 on symbols_have_leading_underscore.
2871 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
2872 (get_spec_reg): Ditto.
2873 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
2874 Fix formatting.
2875 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
2876 --help.
2877 <case OPTION_NO_US, case OPTION_US>: New.
2878 (md_show_usage): Be brief and reformat to match continuation of
2879 --help.
2880 * po/gas.pot: Regenerate.
2881
27df9f40
AM
28822000-09-28 Alan Modra <alan@linuxcare.com.au>
2883
2884 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
2885 force relocs for 12 bit branches.
2886 (md_apply_fix): Similarly, adjust logic here.
2887
5506e1a5
AM
28882000-09-28 Alan Modra <alan@linuxcare.com.au>
2889
2890 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
2891 adjust for external and weak syms as we will use a reloc. Allow
2892 for +8 offset when calculating limits of branches.
2893 (hppa_fix_adjustable): Undo 2000-09-23 change.
2894 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
2895 Correct distance calculation.
47d89dba
AM
2896 (tc_gen_reloc): Print the file name and line number if we can't
2897 handle a fixup.
5506e1a5
AM
2898
2899 From John David Anglin <dave@hiauly1.hia.nrc.ca>
2900 * config/tc-hppa.c (nonzero_dibits): Define.
2901 (arg_reloc_stub_needed): Check each arg and return value
2902 separately for zero case.
2903 (pa_align): Declare argument `bytes'.
2904
81d4177b
KH
29052000-09-25 Kazu Hirata <kazu@hxi.com>
2906
2907 * config/tc-cris.c: Fix formatting.
2908 * config/tc-d10v.h: Likewise.
2909 * config/tc-d30v.c: Likewise.
2910 * config/tc-d30v.h: Likewise.
2911 * config/tc-fr30.c: Likewise.
2912 * config/tc-fr30.h: Likewise.
2913 * config/tc-m68k.c: Likewise.
2914 * config/tc-m68k.h: Likewise.
2915 * config/tc-pj.h: Likewise.
2916 * config/tc-ppc.c: Likewise.
2917 * config/tc-ppc.h: Likewise.
2918 * config/tc-sh.c: Likewise.
2919 * config/tc-sh.h: Likewise.
2920 * config/tc-sparc.c: Likewise.
2921 * config/tc-v850.h: Likewise.
2922 * config/tc-vax.h: Likewise.
2923 * config/tc-w65.h: Likewise.
2924 * config/tc-z8k.h: Likewise.
2925
959ee541
AM
29262000-09-23 Alan Modra <alan@linuxcare.com.au>
2927
2928 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
2929 checks only for ELF.
2930 (hppa_force_relocation): Likewise.
2931
139368c9
JW
29322000-09-22 Jim Wilson <wilson@cygnus.com>
2933
2934 * config/tc-ia64.c (dv_sem): Add "stop".
2935 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
2936 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
2937 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
2938 match above.
2939 (mark_resources): Check IA64_RS_PRr.
2940
151337e8
NC
29412000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2942
56d27c17 2943 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
2944 md_estimate_size_before_relax): Redesign and clean up the
2945 relaxation mechanism.
2946
0b7410c4
KH
29472000-09-21 Kazu Hirata <kazu@hxi.com>
2948
2949 * config/tc-ns32k.c: Fix formatting.
2950 * config/tc-ns32k.h: Likewise.
2951
a4d24084
KH
29522000-09-20 Kazu Hirata <kazu@hxi.com>
2953
82efde3a
KH
2954 * config/tc-m32r.c: Fix formatting.
2955 * config/tc-m32r.h: Likewise.
2956 * config/tc-m68851.h: Likewise.
2957 * config/tc-m68hc11.c: Likewise.
2958 * config/tc-m68hc11.h: Likewise.
2959 * config/tc-m88k.c: Likewise.
2960 * config/tc-mcore.c: Likewise.
a75214e5 2961 * config/tc-mcore.h: Likewise.
82efde3a
KH
2962 * config/tc-mips.c: Likewise.
2963 * config/tc-mips.h: Likewise.
2964 * config/tc-mn10200.h: Likewise.
2965 * config/tc-mn10300.h: Likewise.
a75214e5 2966 * config/tc-tahoe.c: Likewise.
a4d24084
KH
2967 * config/tc-tahoe.h: Likewise.
2968
4844386e 29692000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
2970
2971 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
2972 Likewise in relaxation description comments.
2973
9e754211
AM
29742000-09-18 Alan Modra <alan@linuxcare.com.au>
2975
2976 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
2977 subtraction of two syms without emitting a relocation.
2978
2979 From David Huggins-Daines <dhd@linuxcare.com>
2980 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
2981 global or weak symbols.
2982
4a4f25cf
KH
29832000-09-15 Kazu Hirata <kazu@hxi.com>
2984
2985 * config/tc-h8300.h: Fix formatting.
2986 * config/tc-h8500.c: Likewise.
2987 * config/tc-h8500.h: Likewise.
2988 * config/tc-hppa.h: Likewise.
2989 * config/tc-i370.h: Likewise.
2990 * config/tc-i386.h: Likewise.
2991 * config/tc-i860.c: Likewise.
2992 * config/tc-i860.h: Likewise.
2993 * config/tc-i960.h: Likewise.
2994 * config/tc-ia64.c: Likewise.
2995 * config/tc-ia64.h: Likewise.
2996
1dab94dd
KH
29972000-09-14 Kazu Hirata <kazu@hxi.com>
2998
2999 * config/tc-a29k.c: Fix formatting.
3000 * config/tc-alpha.c: Likewise.
3001 * config/tc-arc.c: Likewise.
3002 * config/tc-arc.h: Likewise.
3003 * config/tc-arm.c: Likewise.
3004 * config/tc-arm.h: Likewise.
3005 * config/tc-avr.c: Likewise.
3006 * config/tc-avr.h: Likewise.
3007 * config/tc-tic30.c: Likewise.
3008 * config/tc-tic30.h: Likewise.
3009 * config/tc-tic54x.c: Likewise.
3010 * config/tc-tic54x.h: Likewise.
3011 * config/tc-tic80.c: Likewise.
3012 * config/tc-tic80.h: Likewise.
3013
7484b8e6
TW
30142000-09-14 Timothy Wall <twall@cygnus.com>
3015
3016 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
3017 parallel comparisons for later use.
3018 (struct rsrc): Add parallel comparison type.
3019 (resources_match): Skip special cases of PR usage (non-conflicting
3020 parallel compares).
56d27c17 3021
bf514e21
KH
30222000-09-13 Kazu Hirata <kazu@hxi.com>
3023
3024 * config/obj-ecoff.c: Fix formatting.
3025 * config/obj-elf.c: Likewise.
3026 * config/obj-elf.h: Likewise.
3027 * config/obj-evax.h: Likewise.
3028 * config/obj-generic.h: Likewise.
3029 * config/obj-hp300.c: Likewise.
3030 * config/obj-hp300.h: Likewise.
3031 * config/obj-ieee.h: Likewise.
3032 * config/obj-vms.c: Likewise.
3033 * config/obj-vms.h: Likewise.
3034
156c2f8b 30352000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 3036
50705ef4
AM
3037 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
3038 (md_parse_option): Ditto.
3039 (md_longopts): Add -mips32 option.
3040 (md_show_usage): Document new options.
3041 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
3042 (mips_ip): Assemble mfc0 with a sub-selection code.
3043 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
3044 (mips_cpu_to_str): New function.
3045 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
3046 Use CPU_* defines instead of hardcoded numbers.
3047
50705ef4
AM
3048 * doc/as.texinfo: Document new options.
3049 * doc/c-mips.texi: Ditto.
156c2f8b 3050
a01b9fa4
KH
30512000-09-12 Kazu Hirata <kazu@hxi.com>
3052
3053 * as.h: Fix formatting.
3054 * asintl.h: Likewise.
3055 * bit_fix.h: Likewise.
dcd619be
KH
3056 * config/obj-aout.c: Likewise.
3057 * config/obj-aout.h: Likewise.
3058 * config/obj-bout.c: Likewise.
3059 * config/obj-bout.h: Likewise.
3060 * config/obj-coff.c: Likewise.
3061 * config/obj-coff.h: Likewise.
a01b9fa4
KH
3062 * dwarf2dbg.h: Likewise.
3063 * expr.h: Likewise.
3064 * flonum.h: Likewise.
3065 * frags.h: Likewise.
3066 * itbl-ops.h: Likewise.
3067 * macro.h: Likewise.
3068 * read.h: Likewise.
3069 * sb.h: Likewise.
3070 * struc-symbol.h: Likewise.
3071 * subsegs.h: Likewise.
3072 * symbols.h: Likewise.
3073 * tc.h: Likewise.
3074 * write.h: Likewise.
3075
92774660
KH
30762000-09-11 Kazu Hirata <kazu@hxi.com>
3077
f0e652b4
KH
3078 * bignum-copy.c: Fix formatting.
3079 * config/tc-i370.c: Likewise.
92774660
KH
3080 * config/tc-i960.c: Likewise.
3081 * config/tc-m68k.c: Likewise.
f0e652b4
KH
3082 * ehopt.c: Likewise.
3083 * flonum-copy.c: Likewise.
3084 * flonum-konst.c: Likewise.
3085 * flonum-mult.c: Likewise.
3086 * literal.c: Likewise.
3087 * read.c: Likewise.
3088 * sb.c: Likewise.
3089 * stabs.c: Likewise.
3090 * subsegs.c: Likewise.
92774660 3091
222f8079
PB
30922000-09-09 Philip Blundell <philb@gnu.org>
3093
3094 * configure.in (arm*-*-uclinux*): New target.
3095 * configure: Regenerate.
3096
c488923f
KH
30972000-09-09 Kazu Hirata <kazu@hxi.com>
3098
3099 * input-file.c: Fix formatting.
3100 * itbl-ops.c: Likewise.
3101 * messages.c: Likewise.
3102
e0e3ecca
PB
31032000-09-08 Philip Blundell <philb@gnu.org>
3104
3105 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
3106 offset is negative.
3107
5d64ca4e
L
31082000-09-07 H.J. Lu <hjl@gnu.org>
3109
3110 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3111 * configure: Rebuild.
3112
bdaaa2e1
KH
31132000-09-07 Kazu Hirata <kazu@hxi.com>
3114
e49bc11e
KH
3115 * atof-generic.c: Fix formatting.
3116 * config/tc-mips.c: Likewise.
e13b337a
KH
3117 * config/tc-vax.c: Likewise.
3118 * input-scrub.c: Likewise.
bdaaa2e1 3119
d07ed2cd
AO
31202000-09-07 Alexandre Oliva <aoliva@redhat.com>
3121
3122 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
3123 * configure.in (sh-*-linux*): Added.
3124 * configure: Rebuilt.
3125
86905619
KH
31262000-09-06 Kazu Hirata <kazu@hxi.com>
3127
a28a3ccf
JL
3128 * config/tc-hppa.c: Fix formatting.
3129
86905619
KH
3130 * ecoff.c: Fix formatting.
3131
58cccadb
AO
31322000-09-06 Alexandre Oliva <aoliva@redhat.com>
3133
3134 * configure: Rebuilt with new libtool.m4.
3135
542d6675
KH
31362000-09-05 Kazu Hirata <kazu@hxi.com>
3137
3138 * cgen.c: Fix formatting.
3139 * config/tc-ia64.c: Likewise.
3140
5b343f5a
NC
31412000-09-05 Nick Clifton <nickc@redhat.com>
3142
3143 * aclocal.m4: Regenerate.
3144 * config.in: Regenerate.
3145 * configure: Regenerate.
3146 * po/gas.pot: Regenerate.
50bbae35 3147
07e90ad5
HPN
31482000-09-05 Hans-Peter Nilsson <hp@axis.com>
3149
3150 * config/tc-cris.c: Correct comment typos.
3151
1485d400
EC
31522000-09-05 Eric Christopher <echristo@cygnus.com>
3153
3154 * config/tc-mn10300.c: Cleanup.
3155 (md_pcrel_from): Enable.
3156
904a31bf
AM
31572000-09-05 Alan Modra <alan@linuxcare.com.au>
3158
927781e2
AM
3159 * expr.c (operand): Fix a comment typo.
3160 * write.c (write_relocs): Fix a signed/unsigned warning.
3161
ecacdc7a
AM
3162 * config/tc-hppa.c (fudge_reg_expressions): New
3163 (hppa_force_reg_syms_absolute): New.
3164 (pa_equ): Allow reg_section expressions.
3165 * config/tc-hppa.c (md_optimize_expr): Define.
3166 (hppa_force_reg_syms_absolute): Prototype.
3167
3168 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
3169 (pa_parse_number): Pass in arg to select fp reg parsing.
3170 Return 1 to indicate format checks pass. If strict, then only
3171 accept a register or register symbol. Return value in...
3172 (pa_number): New static for pa_parse_number.
3173 (FP_REG_BASE): Define.
3174 (FP_REG_RSEL): Define.
3175 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
3176 appropriate. White space changes.
3177 (need_pa11_opcode): Don't bother passing any params, get them from
3178 globals instead.
3179 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
3180 Remove extraneous check in case 'Q'.
3181 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
3182 reg, set section of resulting symbol to reg_section.
3183 (pa_parse_space_stmt): Modify call to pa_parse_number.
3184 (pa_space): Likewise.
3185
904a31bf
AM
3186 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
3187 (hppa_force_relocation): Handle vtable relocs.
3188 (pa_vtable_entry): New.
3189 (pa_vtable_inherit): New.
3190 (md_pseudo_table): Add entries for vtable pseudos.
3191 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
3192 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
3193 against weak syms.
3194 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
3195 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
3196 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
3197 millicode import.
3198 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
3199 specify a symbol type.
3200
3201 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
3202 dependent things together.
3203 (md_elf_symbol_type): Define.
3204
3205 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
3206 symbol.
3207 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
3208
3209 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
3210 (obj_elf_vtable_entry): Declare.
3211
3212 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
3213 and export function.
3214 (obj_elf_vtable_entry): Similarly.
3215 (elf_pseudo_table): Fix the damage with a cast.
3216
a47cf567 32172000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
3218
3219 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
3220 for template selection when a label is needed.
3221
197865e8
KH
32222000-09-02 Kazu Hirata <kazu@hxi.com>
3223
3224 * config/tc-ia64.c: Fix formatting.
3225
18e03609
NC
32262000-09-02 Nick Clifton <nickc@redhat.com>
3227
3228 * configure.in: Increase version number to 2.10.91.
3229 * configure: Regenerate.
3230 * aclocal.m4: Regenerate.
3231 * config.in: Regenerate.
3232 * po/gas.pot: Regenerate.
3233 * Makefile.in: Regenerate.
1485d400 3234
a1cc9221
AO
32352000-09-01 Alexandre Oliva <aoliva@redhat.com>
3236
3237 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
3238 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
3239 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
3240 similar relocs.
3241 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
3242 branches.
3243
32442000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3245
3246 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
3247 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
3248 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
3249 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
3250 (GOT_symbol): New variable.
3251 (md_undefined_symbol): Set it.
3252
44576e1f
RH
32532000-09-01 Richard Henderson <rth@cygnus.com>
3254
3255 * config/tc-ia64.c (match): Don't inline.
3256 (extra_goodness): New.
3257 (md_begin): Prefer nop.f and nop.b for best_template.
3258
29f8404c
KH
32592000-08-31 Kazu Hirata <kazu@hxi.com>
3260
76b0a8c0
KH
3261 * as.c: Fix formatting.
3262 * cond.c: Likewise.
3263 * frags.c: Likewise.
29f8404c
KH
3264 * macro.c: Likewise.
3265
b4c1ea07
EC
32662000-08-31 Eric Christopher <echristo@cygnus.com>
3267
3268 * config/tc-mn10300.c: Cleanup and fix warnings.
3269 (md_pseudo_table): Add initializers.
3270 (md_show_usage): Cleanup.
3271 (md_parse_option): Fix warnings.
3272 (md_undefined_symbol): Fix warnings.
3273 (md_conver_frag): Fix warnings.
3274 (tc_gen_reloc): Fix warnings.
3275 (md_apply_fix3): Fix warnings.
3276 (check_operand): Fix warnings.
3277
ac48eca1
AO
32782000-08-31 Alexandre Oliva <aoliva@redhat.com>
3279
3280 * acinclude.m4: Include libtool and gettext macros from the
3281 top level.
3282 * aclocal.m4, configure: Rebuilt.
3283
e0c21649
GK
32842000-08-30 Mark Hatle <mhatle@mvista.com>
3285
3286 * config/tc-ppc.c (md_parse_option): Recognize -m405.
3287
cf39a089
KH
32882000-08-31 Kazu Hirata <kazu@hxi.com>
3289
3290 * listing.c: Fix formatting.
3291
3ee4defc
KH
32922000-08-29 Kazu Hirata <kazu@hxi.com>
3293
3294 * app.c: Fix a comment typo. Fix formatting.
3295
1e8d20f4
NC
32962000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3297
29184774 3298 * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
50bbae35
AM
3299 offset of the target destination for jmp instructions.
3300 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 3301
5bcac8a4
HPN
33022000-08-24 Hans-Peter Nilsson <hp@axis.com>
3303
3304 * NEWS: Mention support for CRIS.
3305
46547ecc
DC
3306Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
3307
3308 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
3309 Sets `.lcomm' alignment to zero.
3310
4b853faa
AO
33112000-08-23 Alexandre Oliva <aoliva@redhat.com>
3312
29184774
NC
3313 * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
3314 TC_FIX_ADJUSTABLE): Define.
4b853faa 3315
efcc5914
JW
33162000-08-23 Jim Wilson <wilson@cygnus.com>
3317
3318 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
3319 unwind.personality_routine is set.
3320
aca719bf
AO
33212000-08-23 H.J. Lu <hjl@gnu.org>
3322
3323 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
3324
a3da4de1
AO
33252000-08-23 Alexandre Oliva <aoliva@redhat.com>
3326
3327 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
3328 environment is pe.
3329
56385375
L
33302000-08-22 H.J. Lu <hjl@gnu.org>
3331
3332 * config.in (STRICTCOFF): New for strict COFF.
3333
3334 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
3335 i386-*-go32* and i386-go32-rtems*.
3336 * configure: Rebuilt.
3337
3338 * config/obj-coff.c (obj_coff_endef): Follow the historical
3339 behavior if STRICTCOFF is not defined.
3340
3341 * doc/internals.texi: Document STRICTCOFF.
3342
8f36cd18
AO
33432000-08-22 Alexandre Oliva <aoliva@redhat.com>
3344
3345 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
3346 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
3347 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
3348 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
3349 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
3350 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
3351 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
3352 Likewise.
3353
58a77e41
EC
33542000-08-22 Eric Christopher <echristo@cygnus.com>
3355
3356 * config/tc-mn10300.c: (md_apply_fix): New function.
3357 (mn10300_force_relocation): New function.
3358 (mn10300_fix_adjustable): New function.
3359
3360 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
3361 (TC_HANDLES_FX_DONE): Define.
3362 (obj_fix_adjustable): Define.
3363 (MD_APPLY_FIX3): Define.
3364 (TC_LINKRELAX_FIXUP): Define.
3365
3366 * write.c: (TC_LINKRELAX_FIXUP): Define if not
3367 previously defined.
3368 (fixup_segment): Use TC_LINKRELAX_FIXUP.
3369
3370 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
3371
ded0649c
JE
33722000-08-21 Jason Eckhardt <jle@cygnus.com>
3373
3374 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
3375 if the fixup resulted in a relocation.
3376
66102fe2
NC
33772000-08-18 Nick Clifton <nickc@redhat.com>
3378
3379 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
3380 Make reference to first element of shift_names explicit.
3381
02198638
AO
33822000-08-18 Alexandre Oliva <aoliva@redhat.com>
3383
3384 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
3385 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
3386 add a symbol's address. Removed all target-specific #ifdefs that
3387 used to accomplished the same.
3388 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3389 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3390 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3391 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3392 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3393
353e2c69
KH
33942000-08-17 Kazu Hirata <kazu@hxi.com>
3395
3396 * dwarf2dbg.c: Fix formatting.
3397
4fb7971f
NC
33982000-08-17 Nick Clifton <nickc@redhat.com>
3399
3400 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
3401 to be recoded as logical shift lefts by zero.
3402
50b81f19
JW
34032000-08-16 Jim Wilson <wilson@cygnus.com>
3404
3405 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
3406 postincrement modified registers. Handle IA64_OPND_R3_2 addl
3407 source registers.
3408 (note_register_values): Handle IA64_OPND_R3_2 operands.
3409
f869cfc6
JE
34102000-08-16 Jason Eckhardt <jle@cygnus.com>
3411
50bbae35 3412 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 3413
8cb8bcba
NC
34142000-08-16 Nick Clifton <nickc@redhat.com>
3415
3416 * config/tc-arm.c (struct asm_shift): Delete.
3417 (shift[]): Delete.
3418 (enum asm_shift_index): New.
3419 (struct asm_shift_properties): New.
3420 (struct asm_shift_name): New.
3421 (shift_properties[]); New.
3422 (shift_names[]); New.
3423
3424 (decode_shift): Use new structures.
3425 Issue a warning is "ROR #0" is used.
3426 Issue a warning if "ASR #0" or "LSR #0" is used.
3427
3428 (md_begin): Initialise arm_shift_hsh table from new
3429 asm_shift_name array.
3430
c2158c24
JJ
34312000-08-16 Jakub Jelinek <jakub@redhat.com>
3432
3433 * config/tc-sparc.c: Kill all warnings.
3434 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
3435 in -xarch= as well.
3436 (md_show_usage): Update usage text.
3437
70485b5c
NC
34382000-08-16 Nick Clifton <nickc@redhat.com>
3439
c2158c24 3440 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
3441 useful.
3442
a47cf567 34432000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
3444
3445 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
3446
3447 * config/tc-sh.c (md_assemble): Changed so debug_type
3448 test performed for ppi_assemble
3449 * config/tc-sh.c: Included dwarf2dbg.h.
3450 (debug_line): Defined.
3451 (md_assemble): Generates dwarf2 line info.
3452 (sh_finalize): New function. Finalize dwarf2 info.
3453 (assemble_ppi): Returns size of code generated.
3454 (build_Mytes): Returns size of code generated.
3455 (md_pseudo_table): Added "file" and "loc" psuedo ops.
3456 * config/tc-sh.h (md_end): Defined.
3457 (sh_finalize): Declared.
3458
1db77c8e
AO
34592000-08-15 Alexandre Oliva <aoliva@redhat.com>
3460
3461 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
3462 md_number_to_chars.
3463
046b3b54
NC
34642000-08-14 Nick Clifton <nickc@redhat.com>
3465
3466 * config/tc-arm.c (do_bx): Allow "bx pc".
3467
c43c2cc5
JW
34682000-08-14 Jim Wilson <wilson@cygnus.com>
3469
3470 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
3471 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
3472 (md_begin): Change assignment to md.flag to OR in the new bit.
3473
d1d8ba22
NC
34742000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
3475
3476 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
3477 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
3478 C_MOU, and C_EOS.
d1d8ba22 3479
22b36938
JE
34802000-08-14 Jason Eckhardt <jle@cygnus.com>
3481
3482 * NEWS: Mention i860 support.
3483
c0bd0db2
JL
3484Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
3485
3486 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3487
0ac658b8
AS
34882000-08-14 Andreas Schwab <schwab@suse.de>
3489
3490 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
3491
9fc2dda2
JE
34922000-08-11 Andreas Schwab <schwab@suse.de>
3493
3494 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
3495 argument.
3496
bc4466dc
KH
34972000-08-11 Kazu Hirata <kazu@hxi.com>
3498
3499 * expr.c: Fix formatting.
351aa9f6 3500 * config/obj-bout.c: Likewise.
bc4466dc 3501
a9c99419
JE
35022000-08-10 Jason Eckhardt <jle@cygnus.com>
3503
3504 * doc/c-i860.texi: Flesh out the i860 section more.
3505
7c743825
KH
35062000-08-10 Kazu Hirata <kazu@hxi.com>
3507
3508 * symbols.c: Fix formatting.
929b12bc 3509 * expr.c: Likewise.
7c743825 3510
fa2255cb
DN
3511Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
3512
29184774
NC
3513 * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
3514 modifier has the IgnoreSize bit set.
fa2255cb 3515
fc997f4b
AM
35162000-08-09 Alan Modra <alan@linuxcare.com.au>
3517
3518 From Rodney Brown <RodneyBrown@mynd.com>
3519 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
3520 * configure: Regenerate.
3521
a47cf567
NC
35222000-08-09 Kazu Hirata <kazu@hxi.com>
3523
3524 * hash.c: Fix formatting.
3525 * gasp.c: Likewise.
3526
305d537e
JE
35272000-08-08 Jason Eckhardt <jle@cygnus.com>
3528
3529 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
3530 (i860_fix_info): New enum.
3531 (MD_APPLY_FIX3): Define.
3532 (WORKING_DOT_WORD): Define.
3533 (TC_HANDLES_FX_DONE): Define.
3534 (DIFF_EXPR_OK): Define.
3535 (LISTING_HEADER): Define.
3536 (TARGET_FORMAT): Select target format based on endian flag.
3537 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
3538 (target_big_endian): Add external declaration.
3539
3540 * config/tc-i860.c: All existing code reworked completely. Other
3541 new code shown below.
3542 (SYNTAX_SVR4): Define.
3543 (target_warn_expand): New variable.
3544 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
3545 (md_longopts): Declare and define with new options (-EL, -EB,
3546 and -mwarn-expand).
3547 (md_show_usage): New function.
3548 (md_operand): New function.
3549 (obtain_reloc_for_imm16): New function.
3550 (md_apply_fix3): New function.
3551 (tc_gen_reloc): New function.
3552
df86943d
NC
35532000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3554
3555 * config/tc-m68hc11.c (build_jump_insn): Make sure the
3556 2 bytes of the jump address are in the same frag.
3557 (find): Accept 68hc12 register indirect modes.
3558
3559 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 3560
30d25259
RH
35612000-08-07 Richard Henderson <rth@cygnus.com>
3562
3563 * config/tc-ia64.c (unwind): Add prologue_mask member.
3564 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
3565 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
3566 (dot_body): Clear unwind.prologue_mask.
3567 (dot_prologue): Set it. Accept a register second argument.
3568
2d484c7f
KH
35692000-08-07 Kazu Hirata <kazu@hxi.com>
3570
3571 * config/atof-ieee.c: Fix formatting.
3572 * config/atof-tahoe.c: Likewise.
3573
a47cf567 35742000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 3575
3d4ae3c0
NC
3576 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
3577 work.
3578
c91d2e08
NC
3579 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
3580 of .popsection, .previous, .pushsection, .subsection,
3581 .version, .vtable_entry, .vtable_inherit and .weak.
3582
47926f60
KH
35832000-08-05 Kazu Hirata <kazu@hxi.com>
3584
3585 * config/tc-cris.c: Fix formatting.
3586 * config/tc-i386.c: Likewise.
3587 * config/tc-sparc.c (sparc_ip): Simplify the code.
3588
ab3e48dc
KH
35892000-08-04 Kazu Hirata <kazu@hxi.com>
3590
3591 * config/tc-cris.c: Rearrange code for readability.
3592 * config/tc-d10v.c: Fix formatting.
3593 * config/tc-m32r.c: Likewise.
3594 * config/tc-sparc.c: Likewise.
3595
3d56ab85
JW
35962000-08-02 Jim Wilson <wilson@cygnus.com>
3597
3598 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
3599 before ia64_find_opcode.
3600 (md_assemble): Likewise.
3601
3f9dfb2c
NC
36022000-08-01 Nick Clifton <nickc@cygnus.com>
3603
a47cf567 3604 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 3605 Undo some formatting fixes.
3f9dfb2c 3606
28e4f854
KH
36072000-08-01 Kazu Hirata <kazu@hxi.com>
3608
3609 * config/obj-som.c: Fix formatting.
3610 * config/obj-ieee.c: Likewise.
3611 * config/tc-arm.c: Likewise.
3612 * config/tc-v850.c: Likewise.
3613
a570e639
NC
36142000-08-01 Nick Clifton <nickc@redhat.com>
3615
3616 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
3617 index by command line option.
58a77e41 3618
a570e639
NC
36192000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3620
3621 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
3622 (@node M68K-Branch): Rewrite to match the reality.
3623
e3308d0d
JE
36242000-07-31 Jason Eckhardt <jle@cygnus.com>
3625
3626 * doc/c-i860.texi: New file.
3627 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
3628 * doc/Makefile.in: Regenerate.
3629 * doc/all.texi: Add I860 as relevant architecture.
3630 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
3631
2fd5405a
NC
36322000-07-31 Kazu Hirata <kazu@hxi.com>
3633
3634 * config/tc-d30v.c: Fix formatting.
3635
28e7409f
NC
36362000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3637
50bbae35
AM
3638 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
3639 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
3640 long emit a long branch if available instead of an absolute jump, never
3641 emit absolute jumps for anything with --pcrel.
28e7409f
NC
3642
3643 * doc/c-m68k.texi: Document new command line option.
58a77e41 3644
a47cf567
NC
36452000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
3646
3647 * config/tc-avr.c: Use PARAMS macro in function declarations.
3648 Don't declare md_pcrel_from_section (already in tc-avr.h).
3649 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
3650 (avr_operand): Don't set (unsigned) op_mask to -1.
3651
534022ea
JE
36522000-07-28 Jason Eckhardt <jle@cygnus.com>
3653
50bbae35
AM
3654 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
3655 * configure: Regenerated.
3656 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
3657 of operand to the .type directive (.e.g, "type").
534022ea 3658
4c400d5e
AM
36592000-07-28 Alan Modra <alan@linuxcare.com.au>
3660
3661 * as.h (warn_comment, found_comment, found_comment_file): Declare.
3662 * app.c (do_scrub_chars): Record where first comment found.
3663 * read.c (read_a_source_file): Init found_comment on entry, and
3664 notify whether comments found on exit.
3665 * config/tc-hppa.c (md_shortopts): Add "c".
3666 (md_longopts): Add warn-comment.
3667 (md_parse_option): Handle it.
3668 (md_show_usage): Show available options.
3669 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
3670
0aa529cb
AC
3671Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
3672
3673 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
3674 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 3675 sym_ptr_ptr
0aa529cb
AC
3676 (md_estimate_size_before_relax): Don't fall off end of function.
3677
c6a7ab1f
NC
36782000-07-27 Kazu Hirata <kazu@hxi.com>
3679
3680 * config/tc-avr.c: Fix formatting.
3681 * config/tc-ns32k.c: Likewise.
3682
e0c6ed95
AM
36832000-07-27 Alan Modra <alan@linuxcare.com.au>
3684
3685 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
3686
36872000-07-27 Kazu Hirata <kazu@hxi.com>
3688
3689 * config/tc-d10v.c: Fix formatting.
3690 * config/tc-z8k.c: Likewise.
3691 * config/tc-sparc.c: Likewise.
3692
6883dc5e 36932000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
3694
3695 * cgen.c (queue_fixup): Declare opinfo.
3696 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
3697 (gas_cgen_md_operand): Ditto.
3698 (gas_cgen_md_apply_fix3): Ditto.
3699
39da8128
DD
37002000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
3701
3702 * config/obj-coff.c (obj_frob_symbol): Don't merge
3703 labels. Don't merge if the symbol isn't constant. Return
3704 immediately if a symbol is merged.
3705
65e68b04
AM
37062000-07-22 Alan Modra <alan@linuxcare.com.au>
3707
3708 * frags.c (frag_align): Correct absolute section alignment.
3709
5e0d736c
DD
37102000-07-20 DJ Delorie <dj@redhat.com>
3711
3712 * config/obj-coff.c (obj_frob_symbol): revert previous change,
3713 it breaks linking against DLLs.
3714
3bcbcc3d
HPN
37152000-07-20 Hans-Peter Nilsson <hp@axis.com>
3716
3717 * configure.in: Add CRIS support.
3718 * configure: Regenerate.
3719 * Makefile.am: (CPU_TYPES): Add cris.
3720 (CPU_OBJ_VALID) [aout]: Add cris.
3721 (MULTI_CPU_TYPES): Add cris.
3722 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 3723 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
3724 (TARGET_CPU_CFILES): Add config/tc-cris.c.
3725 (TARGET_CPU_HFILES): Add config/tc-cris.h.
3726 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
3727 Regenerate dependencies.
3728 * Makefile.in: Regenerate.
3729 * aclocal.m4: Regenerate.
3730 * as.c: Declare crisaout, criself.
3731 * config/tc-cris.h, config/tc-cris.c: New.
3732 * config/e-criself.c, config/e-crisaout.c: New.
3733 * po/POTFILES.in, po/gas.pot: Regenerate.
3734
041ff4dd 37352000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 3736
041ff4dd 3737 * read.c: Fix formatting.
efaf0ba4 3738 * write.c: Fix formatting.
041ff4dd 3739
f980ada0
L
37402000-07-19 H.J. Lu <hjl@gnu.org>
3741
3742 * sb.c: Include <stdlib.h> if exists for abort ().
3743
25a8b250
AM
37442000-07-19 Alan Modra <alan@linuxcare.com.au>
3745
3746 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
3747 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
3748 (pa_type_args): Same here.
3749
7a9aaf92
NC
37502000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
3751
3752 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
3753 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
3754 the storage class is already set.
3755
8098403c
NC
37562000-07-17 Kazu Hirata <kazu@hxi.com>
3757
fafb6d17 3758 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
3759 * config/tc-mn10200.c: Likewise.
3760 * config/tc-mn10300.c: Likewise.
3761 * config/tc-pj.c: Likewise.
3762 * config/tc-tic80.c: Likewise.
3763 * config/tc-w65.c: Likewise.
8098403c 3764
977e771a
FCE
37652000-07-17 Frank Ch. Eigler <fche@redhat.com>
3766
3767 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
3768 is defined.
3769
63bf5651
ILT
37702000-07-15 Ian Lance Taylor <ian@zembu.com>
3771
3772 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
3773 @code.
3774
1cd1c99b
AM
37752000-07-15 Alan Modra <alan@linuxcare.com.au>
3776
3777 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
3778 ELF as are used for SOM (except the 32-bit reloc one) to decide
3779 whether a symbol can be reduced to a section symbol. Expand on
3780 the comment for symbols involved in LR% and RR% expressions.
3781
119d663a
NC
37822000-07-14 Nick Clifton <nickc@cygnus.com>
3783
3784 * config/tc-mips.c (mips_disable_float_construction): New
3785 static variable. Set to true if doubles should not be
3786 constructed by loading two single width fp registers with
3787 halves of the value.
3788 (mips_ip): Test mips_disable_float_construction.
3789 (md_longopts): Add command line switches --construct-floats
3790 and --no-construct-floats.
3791 (md_parse_option): Parse new command line options.
3792 (md_show_usage): Describe new command line options.
3793
3794 * doc/c-mips.texi: Document new command line options.
3795
906fac54
AM
37962000-07-13 Koundinya K <kk@ddeorg.soft.net>
3797
3798 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
3799 * configure: Regenerate.
3800
38012000-07-13 Hans-Peter Nilsson <hp@axis.com>
3802
3803 * configure.in (DEFAULT_EMULATION setting): Revert part of
3804 2000-07-01 change that set te_multi=multi unless set to tmips.
3805 * configure: Regenerate.
3806
7f788821
NC
38072000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3808
3809 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 3810 section when aligning it increases its size.
7f788821 3811
9a736b6b
NC
38122000-07-11 Kazu Hirata <kazu@hxi.com>
3813
3814 * config/tc-tic54x.c: Fix formatting.
3815
3dd5103b
NC
38162000-07-10 Kazu Hirata <kazu@hxi.com>
3817
3818 * config/tc-h8500.c: Fix formatting.
1aea3bb8 3819 * config/tc-tic54x.c: Fix formatting.
3dd5103b 3820
46b85d42
AM
38212000-07-10 Alan Modra <alan@linuxcare.com.au>
3822
3823 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
3824 displacements correctly.
3825
3826 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
3827
38282000-07-10 Ryan Bradetich <rbradetich@uswest.net>
3829
3830 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
3831 warning.
3832 (hash_jam): Ditto.
3833
ad1079af
AM
38342000-07-09 Alan Modra <alan@linuxcare.com.au>
3835
3836 From David Huggins-Daines <dhd@linuxcare.com>
3837 * config/te-hppalinux64.h: Add a new emulation.
3838 * configure.in (emulations): Add configure bits to support the
3839 64-bit Linux/parisc target.
3840 * configure: Regenerate.
3841
3842 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
3843 (md_shortopts): Add `V' for ELF.
3844
3845 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
3846 when SOM or ELF_ARG_RELOC are defined.
3847 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
3848 ELF_ARG_RELOC are defined.
3849 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
3850 (pa_stringer): ..Do it here instead. Fix comment typos.
3851 (hppa_force_relocation): Cast enums to int before comparing with
3852 ints.
3853
3854 From Ryan Bradetich <rbradetich@uswest.net>
3855 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
3856 redifinition warning.
3857 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
3858 (hppa_force_relocation): ditto
ad1079af
AM
3859 (md_apply_fix): Added cast to buf to fix warnings.
3860
3861 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
3862 cons_fix_new_hppa, hppa_force_relocation): Prototype.
3863
3864 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
3865 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
3866 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
3867 reloc_type** to avoid warnings in switch.
3868 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
3869 little earlier instead.
3870
3871 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
3872 and elf.
3873 (pa_type_args): Use symbol_arg_reloc_info.
3874 (struct pa_it): Make arg_reloc unsigned int.
3875 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
3876 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
3877 (pa_code): Delete. pa_text duplicates this function.
3878 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
3879 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
3880 int.
3881 (cons_fix_new_hppa): Actually change selector to e_fsel when
3882 warning about assuming so.
3883 (tc_gen_reloc): More example elf arg reloc code.
3884 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
3885 (hppa_force_relocation): Likewise.
3886
3887 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
3888 files.
3889 (pa_end_of_source): Prototype.
3890 (hppa_fix_adjustable): Prototype.
3891 (LABELS_WITHOUT_COLONS): Move it..
3892 * config/te-hppa.h: To here.
3893
3894 * config/te-hppa64.h: New file.
3895
3896 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
3897 type.
3898 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
3899 format -10, -16, 16 relocs.
3900 (hppa_elf_mark_end_of_function): Test for null
3901 last_call_info->start_symbol
3902
3903 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
3904 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
3905 re_assesmble_* functions. Delete extraneous statements. Fix
3906 typos in comments.
3907 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
3908 insn to re_assemble_*.
3909
623aa224
UC
39102000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
3911
3912 * doc/internals.texi (Expressions): Fix typo.
58a77e41 3913
c4aa876b
NC
39142000-07-08 Kazu Hirata <kazu@hxi.com>
3915
3916 * config/tc-sh.c: Fix formatting.
d0313fb7 3917 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
3918 * depend.c: Fix formatting.
3919 * flonum-konst.c: Likewise.
3920 * flonum-mult.c: Likewise.
c4aa876b 3921
6b31947e
NC
39222000-07-07 Kazu Hirata <kazu@hxi.com>
3923
a5bfe8c9 3924 * config/tc-sh.c: Fix comments.
bc0d738a
NC
3925 * config/obj-vms.c: Fix comments.
3926 * config/tc-a29k.c: Likewise.
3927 * config/tc-alpha.c: Likewise.
3928 * config/tc-h8300.c: Likewise.
3929 * config/tc-h8500.c: Likewise.
3930 * config/tc-i370.c: Likewise.
3931 * config/tc-ia64.c: Likewise.
3932 * config/tc-m68hc11.c: Likewise.
3933 * config/tc-m68k.c: Likewise.
3934 * config/tc-mips.c: Likewise.
3935 * config/tc-ns32k.c: Likewise.
3936 * config/tc-ppc.c: Likewise.
3937 * config/tc-z8k.c: Likewise.
6b31947e 3938
b8a9dcab
NC
39392000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
3940
3941 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
3942 Default to '(SEC_LOAD | SEC_DATA)'.
3943 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
3944
3945 * doc/internals.texi (CPU Backend): Describe
3946 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
3947
beb2de9b
AC
3948Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3949
3950 * as.c (parse_args): NULL terminate the long option list.
3951
24ddb296
AC
3952Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
3953
3954 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 3955 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 3956
1fe72011
NC
39572000-07-05 Nick Clifton <nickc@cygnus.com>
3958
3959 * config/tc-d30v.c (write_2_short): Further changes to warning
3960 messages produced when combining EITHER_BUT_PREFER_MU attributed
3961 opcodes.
3962
a5bfe8c9 39632000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
3964
3965 * MAINTAINERS: new
3966
8de8f17e
AO
39672000-07-04 Alexandre Oliva <aoliva@redhat.com>
3968
3969 * config/tc-arm.c (psrs): Accept combinations of flags.
3970
00d2865b
NC
39712000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
3972
3973 * config/tc-avr.c: Change _ () to _() around all strings marked
3974 for translation (exception from the usual coding style).
3975 (avr_opt): New struct variable, how the new switches are set.
3976 (OPTION_MMCU): Define as 'm' and actually use.
3977 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
3978 (show_mcu_list): New function, display the list of known MCUs.
3979 (md_show_usage): Document the new switches. Call show_mcu_list.
3980 (avr_set_arch): Change 'm' to OPTION_MMCU.
3981 (md_parse_option): Call show_mcu_list if unknown MCU specified.
3982 Handle the new switches.
3983 (avr_operands): Disable warnings for undefined combinations of
3984 operands if -mall-opcodes. Disable warnings for skipping two-word
3985 instructions if enhanced core or -mno-skip-bug.
3986 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
3987 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
3988 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
3989 (avr_ldi_expression): Warn about implicit lo8().
3990 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
3991
54588503
UC
39922000-07-01 Koundinya K <kk@ddeorg.soft.net>
3993
50bbae35
AM
3994 * configure.in: Add entry for mips-*-sysv4*MP*
3995 * configure: Rebuild
3996 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
3997 elf32-tradlittlemips for traditional mips targets.
3998 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
3999 test for Link Once sections as in adjust_reloc_syms.
4000 * config/te-tmips.h: New file for traditional mips targets. Define
4001 TE_TMIPS.
58a77e41 4002
c9900432
NC
40032000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
4004
4005 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
4006 flags argument is not present, don't change an existing section's
4007 section's attributes. If the flags argument is present, warn if the
4008 attributes don't match the section's current attributes. When
4009 long section names are supported, set SEC_LINK_ONCE and
4010 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
4011
9d87310a
HPN
4012Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
4013
4014 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
4015 symbols; create them.
4016
dbddefbf
NC
40172000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
4018
4019 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 4020 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 4021
2ae7e77b
AH
40222000-06-27 Aldy Hernandez <aldyh@redhat.com>
4023
4024 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
4025 expressions. Ignore the problem when handling 16 bit signed
4026 immediates, because the assembler will take care of the relocation
4027 later.
2ae7e77b 4028
6b2539e3
NC
40292000-06-27 Nick Clifton <nickc@cygnus.com>
4030
4031 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 4032 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
4033 sequential order, and emit warning messages if the input source
4034 code contains constructs like that, or parallel constructs
4035 containing such opcodes.
4036
65aa24b6
NC
40372000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4038
4039 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
4040 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
4041 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
4042 (md_show_usage): Update usage message.
4043 (md_parse_option): Allow redefinition of MCU type within the
4044 same avr[1-5] bfd machine type. Show both old and new MCU type
4045 in the error message.
4046 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
4047 Simplify 8K wrap code.
4048
f0c56b90
NC
40492000-06-25 Kazu Hirata <kazu@hxi.com>
4050
50bbae35
AM
4051 * config/obj-aout.c: Remove all uses of DEFUN.
4052 * config/obj-ieee.c: Likewise.
4053 * config/tc-sh.c: Fix comment typos.
4054 * config/tc-tahoe.c: Likewise.
4055 * config/tc-vax.c: Likewise.
4056 * config/tc-w65.c: Likewise.
4057 * config/tc-z8k.c: Likewise.
f0c56b90
NC
4058 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
4059
6d249963
DD
40602000-06-24 DJ Delorie <dj@cygnus.com>
4061
4062 * config/tc-i386.c (md_estimate_size_before_relax): Revert
4063 more changes from Sept 1999
4064 (tc_i386_fix_adjustable): ditto
4065 (md_apply_fix3): ditto
4066
680d2857 40672000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 4068
680d2857
FCE
4069 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
4070 (gas_cgen_parse_operand): Set it around expression() call.
4071 (gas_cgen_md_operand): Test for it before longjmp().
4072
e7b305a2
AM
40732000-06-24 Kazu Hirata <kazu@hxi.com>
4074
c0fecd35
AM
4075 * config/tc-h8500.c: Remove all uses of DEFUN.
4076 * config/tc-sh.c: Likewise.
4077 * config/tc-w65.c: Likewise.
4078 * config/tc-z8k.c: Likewise.
4079
e7b305a2
AM
4080 * config/tc-h8500.c: Fix typos in comments.
4081
ed6d6fd3
FCE
40822000-06-23 Frank Ch. Eigler <fche@redhat.com>
4083
4084 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
4085 is defined.
4086
f7c88872
AM
40872000-06-23 matthew green <mrg@redhat.com>
4088
4089 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 4090 defined. Fix error message for `[' grouping.
f7c88872 4091
70d6ecf3
AM
40922000-06-22 Kazu Hirata <kazu@hxi.com>
4093
4094 * config/tc-h8300.c: Fix formatting and comment typos.
4095
e9718fe1
TW
40962000-06-22 Timothy Wall <twall@cygnus.com>
4097
4098 * config/tc-ia64.c (note_register_values): Move premature QP
4099 notation clearing into the appropriate place.
4100
45288df1
AM
41012000-06-22 Alan Modra <alan@linuxcare.com.au>
4102
1581f8c9
AM
4103 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
4104 first before anything else. Add bin-bugs.h, emul.h and progress.h
4105 Sort list of files as for $(OBJS) in Makefile.am.
4106
4107 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
4108 find one. Remake dependencies.
4109 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
4110 * Makefile.in: Regenerate.
4111 * doc/Makefile.in: Regenerate.
4112
45288df1
AM
4113 * config/tc-i386.c (i386_displacement): Don't assume a constant
4114 displacement is necessarily 16 bits when in 16 bit code mode.
4115 (md_assemble): Instead size the displacement here after we know
4116 for sure that a .code16gcc operand hasn't automatically added
4117 operand size prefixes.
4118
01580992
L
41192000-06-21 H.J. Lu <hjl@gnu.org>
4120
4121 * Makefile.am: Rebuild dependency.
4122 * Makefile.in: Rebuild.
4123
40f09f82
JL
41242000-06-21 Kazu Hirata <kazu@hxi.com>
4125
4126 * config/tc-h8300.c (parse_reg): Make the function static.
4127 (parse_exp): Likewise.
4128
78295804
DD
41292000-06-20 DJ Delorie <dj@cygnus.com>
4130
4131 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
4132 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
4133 for cygwin import libraries to work properly.
4134
45f85b08
L
41352000-06-20 H.J. Lu <hjl@gnu.org>
4136
4137 * Makefile.am: Rebuild dependency.
4138 * Makefile.in: Rebuild.
4139 * configure: Likewise.
4140 * doc/Makefile.in: Likewise.
4141
39bec121
TW
41422000-06-20 Timothy Wall <twall@cygnus.com>
4143
4144 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 4145 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
4146 * doc/c-tic54x.texi: New.
4147 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 4148 documentation file.
39bec121 4149 * doc/all.texi: Add C54X.
3e87a760 4150 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
4151 * doc/Makefile.in: Regenerate.
4152 * configure.in: Add tic54x and define LIBM for tic54x.
4153 * configure: Regenrate.
4154 * config/tc-tic54x.[ch]: New.
4155 * config/obj-coff.h: Add tic54x.
4156 * Makefile.am: (CPU_TYPES): Add tic54x.
4157 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
4158 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
4159 (as_new_LDADD): Add $(LIBM).
4160 * Makefile.in: Regenerate.
3e87a760 4161
60bcf0fa
NC
41622000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4163
4164 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
4165 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
4166 * doc/as.texinfo: Likewise.
4167
4168 * configure, Makefile.in: Regenerate.
4169 * configure.in (emulations): Recognize m6811 and m6812.
4170 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
4171 Added files for 68hc11 and 68hc12 assembler.
4172 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
4173 * config/tc-m68hc11.h: Header definition for that assembler.
4174
ec05f674
NC
41752000-06-18 Nick Clifton <nickc@redhat.com>
4176
24ef8152
NC
4177 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
4178 instead of OCTETS_PER_BYTE.
4179
ec05f674 4180 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 4181 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 4182
119caedd
L
41832000-06-18 H.J. Lu <hjl@gnu.org>
4184
4185 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
4186 * configure: Rebuild.
4187
607723e4
NC
41882000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
4189
3e87a760
AM
4190 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
4191 to BFD_ASSEMBLER.
607723e4 4192
b946ec34
NC
41932000-06-16 Nick Clifton <nickc@cygnus.com>
4194
4195 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
4196 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
4197
4198 * doc/c-mips.texi: Document newly accepted cpu variants.
4199
37ce37b1
UC
42002000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
4201
4202 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
4203
c06ae4f2
UC
42042000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
4205
4206 * macro.c (getstring): Make it possible to escape the quote
4207 character.
4208
20348649
JL
4209Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
4210
4211 * config/tc-hppa.c (pa_export): Weak symbols can be global.
4212
bcef29e6
L
42132000-06-13 H.J. Lu <hjl@gnu.org>
4214
4215 * configure: Regenerate.
4216
63a0b638
AM
42172000-06-09 Alan Modra <alan@linuxcare.com.au>
4218
4219 * app.c (do_scrub_begin): Don't default lex[';'] as a line
4220 separator.
4221 * doc/internals.texi (line_separator_chars): Semicolon is no
4222 longer a default. Mention null and newline as defaults.
4223
4224 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
4225
4226 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
4227 * config/tc-i860.h (line_separator_chars): Likewise.
4228 * config/tc-h8300.c (line_separator_chars): Likewise.
4229 * config/tc-i960.c (line_separator_chars): Likewise.
4230 * config/tc-m68k.c (line_separator_chars): Likewise.
4231 * config/tc-mips.c (line_separator_chars): Likewise.
4232 * config/tc-ns32k.c (line_separator_chars): Likewise.
4233 * config/tc-sparc.c (line_separator_chars): Likewise.
4234 * config/tc-vax.c (line_separator_chars): Likewise.
4235
4236 * config/tc-h8300.c (comment_chars): Use string initialiser.
4237 * config/tc-i960.c (line_comment_chars): Likewise.
4238 * config/tc-z8k.c (comment_chars, line_comment_chars,
4239 line_separator_chars): Likewise.
4240
4241 * config/tc-arm.c (line_separator_chars): Always use `;', not just
4242 for TE_LINUX.
4243
9bab9349
NC
42442000-06-08 Nick Clifton <nickc@cygnus.com>
4245
4246 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
4247 for size 1 fixes.
4248
946efd95
DB
42492000-06-08 David O'Brien <obrien@FreeBSD.org>
4250
4251 * configure.in (VERSION): Update to show this is the CVS mainline.
4252
6480b79a
DB
42532000-06-08 Matthew Jacob <mjacob@feral.com>
4254
4255 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
4256 $at is the integer register $r28, vs. both $r28 and the floating
4257 point register $f28.
4258
10850f29
JW
42592000-06-08 James E. Wilson <wilson@cygnus.com>
4260
4261 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
4262 (dot_endp): Don't call ia64_flush_insns.
4263 (emit_one_bundle): Don't delete prologue/body records from
4264 unwind_record list in first loop. Rewrite second loop to account for
4265 this.
4266
150f24a2
JW
42672000-06-07 David Mosberger <davidm@hpl.hp.com>
4268
4269 * config/tc-ia64.c: Add missing prototypes.
4270 (generate_unwind_image): Cast argument to output_unw_records call.
4271
e38c9cc2
DC
4272Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
4273
46b85d42 4274 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 4275
1188e082
DC
4276Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
4277
4278 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
4279 (REGISTER_P): likewise.
4280 (avr_opcodes): uses include/opcode/avr.h
4281 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 4282
ac743b2c
AM
42832000-06-04 Alan Modra <alan@linuxcare.com.au>
4284
0b545448
AM
4285 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
4286 initializers too.
ac743b2c 4287
969e1a7b
L
42882000-06-03 H.J. Lu <hjl@gnu.org>
4289
4290 * read.c (is_end_of_line): Put back `;'.
4291
65172ab8
AM
42922000-06-03 Alan Modra <alan@linuxcare.com.au>
4293
4294 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
4295
b75c0c92
AM
42962000-06-01 Alan Modra <alan@linuxcare.com.au>
4297
4298 * expr.c (operand): Test is_end_of_line outside switch to catch
4299 line separator chars that are also operators.
4300 (operator): Return O_illegal for line separator chars.
4301
4302 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
4303 entry (or `!' entry for TC_HPPA).
4304
4305 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
4306 before indexing is_end_of_line. Remove redundant check for '\0'.
4307 (fp_op2): Likewise.
4308 * config/tc-h8500.c (md_assemble): Likewise.
4309 * config/tc-mcore.c (md_assemble): Likewise.
4310 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
4311 (md_atof): Likewise
4312
4313 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
4314 is_end_of_line.
4315 * config/tc-mcore.c (mcore_cons): Likewise.
4316 (mcore_float_cons): Likewise.
4317 (mcore_stringer): Likewise.
4318 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
4319
a6836251
SB
43202000-06-01 Scott Bambrough <scottb@netwinder.org>
4321
4322 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
4323
43841e91
NC
43242000-05-29 Nick Clifton <nickc@cygnus.com>
4325
4326 * config/tc-sh.c: Fix compile time warning messages.
4327
4328 * config/tc-mips.c: Fix compile time warning messages.
4329
a057431b
PB
43302000-05-29 Philip Blundell <philb@gnu.org>
4331
4332 * doc/as.texinfo: Update copyright dates.
a81d9f0c 4333 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
4334 * NEWS: Mention ARM ELF support.
4335
3c07fb76
AO
43362000-05-27 Alexandre Oliva <aoliva@cygnus.com>
4337
4338 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
4339 it is modified, and use the real_size to compute the frag address
4340 for dwarf2 line info.
4341
ad4d6ccf
AM
43422000-05-27 Alan Modra <alan@linuxcare.com.au>
4343
4344 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
4345 line-matching scheme to cope with automake moving variables around.
4346 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
4347 * Makefile.in: Regenerate.
4348
6faf3d66
JJ
43492000-05-26 Jakub Jelinek <jakub@redhat.com>
4350
4351 * config/tc-sparc.c (sparc_relax): New.
4352 (md_longopts): Add -relax and -no-relax options.
4353 (md_parse_options, md_show_usage): Likewise.
4354 (md_apply_fix3): Optimize tail call into branch always if possible.
4355
0a44c2b1
DL
4356Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
4357
4358 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
4359 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
4360 rules, with warning when a GAS statement specifies a packing that
4361 will result in an instruction being squashed.
3e87a760
AM
4362 Added typdef packing_type and enumerals, changed various integer
4363 literals to use the enumerals.
0a44c2b1 4364
e0c9811a
JW
43652000-05-24 David Mosberger <davidm@hpl.hp.com>
4366
4367 * config/tc-ia64.c (dot_restorereg_p): New function.
4368 (md_pseudo_table): Add restorereg.p.
4369 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
4370 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
4371
4372 * config/tc-ia64.h (unw_record_type): Add unwabi.
4373 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
4374 called MASK with members for imask, and the masks produced by
4375 fr_mem, gr_mem, br_mem, and frgr_mem.
4376 (unw_p_record): Add members ABI and CONTEXT.
4377 (unw_x_record): Add member AB.
4378 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
4379 as pseudo-register for use during unwind info generation.
4380 (AR_PFS, AR_LC): New macros.
4381 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
4382 whose names start with an at sign (as in "@priunat").
4383 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
4384 register.
4385 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
4386 proc_end, unwind_info, personality_routine): Consolidate into
4387 "unwind" structure to reduce offset-table use. Add member
4388 NEXT_SLOT_NUMBER to track the slot number for the next instruction
4389 to be emitted.
4390 (output_R1_format, output_R3_format, output_P3_format,
4391 output_P6_format): Initialize R with zero to reduce compiler warnings.
4392 (output_P7_format): Ditto. Add `default' branch to switch
4393 statement to reduce compiler warnings.
4394 (output_P8_format, output_B1_format, output_B4_format): Ditto.
4395 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
4396 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
4397 into single argument.
4398 (output_X1_format, output_X3_format): Initialize R with zero to reduce
4399 compiler warnings. Merge A and B args into single argument.
4400 (output_X2_format, output_X4_format): Remove unused variable R. Merge
4401 A and B args into single argument.
4402 (free_record): Removed (wasn't used).
4403 (free_list_records): Also free imasks in prologue records.
4404 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
4405 (output_spill_mask): Remove.
4406 (output_unwabi): New function.
4407 (output_epilogue, output_label_state, output_copy_state): Call
4408 alloc_record.
4409 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
4410 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
4411 argument.
4412 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
4413 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
4414 as part of handling the prologue records. Emit region's imask if
4415 we have one. Handle unwabi, epilogue, label_state, copy_state,
4416 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
4417 spill_sprel_p, and spill_reg_p records.
4418 (set_imask, count_bits, slot_index): New function.
4419 (fixup_unw_records): Fix region size computation. Handle
4420 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
4421 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
4422 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
4423 set_imask accordingly. Update imask for gr_gr, and br_gr records.
4424 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
4425 (dot_save): Use manifest constants for applicaton registers.
4426 Handle REG_PR and REG_PRIUNAT.
4427 (dot_restore): Don't just ignore it.
4428 (dot_restorereg): New function..
4429 (generate_unwind_image): Ensure unwind info is a multiple of eight
4430 bytes, not just four bytes.
4431 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
4432 (dot_altrp): Don't just ignore it.
4433 (dot_savemem): New function. Replaces dot_savesp() and
4434 dot_savepsp(). Use manifest constants for applicaton registers.
4435 Handle REG_PR and REG_PRIUNAT.
4436 (dot_savef): Simplify.
4437 (dot_saveb): Support generation of br_gr.
4438 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
4439 dot_label_state, dot_copy_state): New function.
4440 (dot_unwabi): Don't just ignore it.
4441 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 4442 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
4443 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
4444 (emit_one_bundle): Set slot number for prologue/body records
4445 *before* emitting the first insn.
4446 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
4447 (md_begin): Declare "psp" pseudo-register.
4448 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
4449 so we don't get segfault.
4450 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
4451 counts as required per SW Conventions manual
4452 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
4453 output_preds_psprel, output_preds_sprel, output_spill_base,
4454 output_unat_psprel, output_unat_sprel, output_lc_psprel,
4455 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
4456 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
4457 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
4458 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
4459 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
4460 (dot_vframe): Implement.
4461 (dot_vframesp, dot_vframepsp): New function.
4462
f98fd99f
HPN
4463Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
4464
4465 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 4466 * configure: Regenerate.
f98fd99f 4467
ee7fcc42
AM
44682000-05-23 Alan Modra <alan@linuxcare.com.au>
4469
4470 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
4471 (md_estimate_size_before_relax): so we can use it here instead of
4472 old kludges. Localise vars to blocks. Comment.
4473
4474 * frags.c (frag_new): Update fr_var comments.
4475 * frags.h (struct frag): Ditto.
4476
c67e42c9
RH
44772000-05-22 Richard Henderson <rth@cygnus.com>
4478
4479 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
4480 (pseudo_func): Add pcrel.
4481 (operand_match): Handle IA64_OPND_TGT64.
4482 (build_insn): Likewise.
4483 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
4484 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
4485 (fix_insn): Handle all three 64-bit relocation types.
4486
5110c57e
HPN
4487Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
4488
4489 * obj.h (struct format_ops): New members begin, app_file,
4490 s_set_other, s_set_desc, s_get_type, s_set_type,
4491 separate_stab_sections, init_stab_section.
4492
4493 * config/obj-multi.h: Update GPL notice to v2.
4494 (obj_begin): New.
4495 (obj_app_file): New.
4496 (S_SET_SIZE): Test s_set_size for NULL before calling.
4497 (S_SET_ALIGN): Similar for s_set_align.
4498 (S_SET_OTHER): New.
4499 (S_SET_DESC): New.
4500 (S_GET_TYPE): New.
4501 (S_SET_TYPE): New.
4502 (SEPARATE_STAB_SECTIONS): New.
4503 (INIT_STAB_SECTION): New.
4504 (EMIT_SECTION_SYMBOLS): New.
4505 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
4506
4507 * config/obj-elf.h: Update GPL notice to v2.
4508 Mention that this file is included from obj-multi.h.
4509 (obj_begin): Wrap definition in ifndef.
4510 (elf_file_symbol): Constify declaration.
4511 (obj_app_file): Ditto.
4512 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
4513 Wrap in ifndef SEPARATE_STAB_SECTIONS.
4514
4515 * config/obj-elf.c (elf_s_set_other): New.
4516 (elf_file_symbol): Constify argument.
4517 (elf_separate_stab_sections): New.
4518 (elf_init_stab_section): New.
4519 (elf_format_ops): Add new members. Remove comma at end.
4520
4521 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
4522 (ecoff_format_ops): Add new fields. Remove comma at end.
4523 Mention inconsistency for emit_section_symbols.
4524
4525 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
4526
4527 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
4528 (coff_separate_stab_sections): New.
4529 (coff_format_ops): Add new members.
4530
4531 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
4532 (obj_aout_s_set_other): New.
4533 (obj_aout_s_set_desc): New.
4534 (obj_aout_s_get_type): New.
4535 (obj_aout_s_set_type): New.
4536 (obj_aout_separate_stab_sections): New.
4537 (aout_format_ops): New members added. Use obj_aout_process_stab,
4538 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
4539 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
4540 appropriate.
4541 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
4542
b98ef147
AM
45432000-05-22 Alan Modra <alan@linuxcare.com.au>
4544
4545 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
4546 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
4547 (md_estimate_size_before_relax): Ensure jumps to weak and
4548 externally visible symbols are relocatable.
4549
0aa5d426
HPN
4550Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
4551
4552 * stabs.c (aout_process_stab): Make global.
4553 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
4554 * read.h (aout_process_stab): Declare.
4555
4556 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
4557 Generalize to *aout, *coff *elf.
4558 * configure: Regenerated.
4559
4560 * doc/internals.texi (Object format backend): Say
4561 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
4562
4563 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
4564 * Makefile.in: Regenerated.
4565
7c3dc350
CM
45662000-05-19 Catherine Moore <clm@cygnus.com>
4567
4568 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
4569
b3b6a3fe
JL
45702000-05-18 Alan Modra <alan@linuxcare.com.au>
4571
4572 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
4573 instruction to reflect change in re_assemble_*.
4574
c9e10a08
JL
4575Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
4576
4577 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
4578 build PA64 ELF tools.
4579 * configure: Rebuilt.
4580
3043679f
AM
45812000-05-17 Alan Modra <alan@linuxcare.com.au>
4582
4583 * Makefile.am: Regenerate dependencies.
4584 * Makefile.in: Regenerate.
4585
322f2c45
NC
45862000-05-15 Nick Clifton <nickc@cygnus.com>
4587
4588 * config/tc-arm.c (struct asm_psr): Add boolean field
4589 distinguishing between CSPR and SPSR. Rename 'number' field
4590 to 'field'.
4591 (psrs): Rearrange contents to match new asm_psr structure.
4592 (arm_psr_parse): Move next to psr_required_here. Make it
4593 return an asm_psr structure.
4594 (psr_required_here): Use asm_psr structure returned by
4595 arm_psr_parse.
4596 (do_msr): Reorganise to allow psr_required_here to be called
4597 only once.
4598 (md_undefined_name): Mark 'name' parameter as unused, since
4599 the COFF target does not use it.
322f2c45 4600
5e6cbf41
PB
46012000-05-14 David O'Brien <obrien@FreeBSD.org>
4602
4603 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
4604 standards.
4605 * config/te-aux.h: Likewise.
4606 * config/te-dpx2.h: Likewise.
4607 * config/te-go32.h: Likewise.
4608 * config/te-hp300.h: Likewise.
4609 * config/te-hppa.h: Likewise.
4610 * config/te-i386aix.h: Likewise.
4611 * config/te-ic960.h: Likewise.
4612 * config/te-interix.h: Likewise.
4613 * config/te-nbsd532.h: Likewise.
4614 * config/te-pc532mach.h: Likewise.
4615 * config/te-ppcnw.h: Likewise.
4616 * config/te-psos.h: Likewise.
4617 * config/te-sparcaout.h: Likewise.
4618 * config/te-sun3.h: Likewise.
4619 * config/te-sysv32.h: Likewise.
4620
4132022d
AM
46212000-05-14 Alan Modra <alan@linuxcare.com.au>
4622
4623 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
4624 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
4625 and sign extend without an if statement.
4626 (build_bytes): Likewise.
4627
46282000-05-14 Kazu Hirata <kazu@hxi.com>
4629
4630 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
4631 X_add_symbol L_32 case.
4632
b4fd930a
AM
46332000-05-14 David O'Brien <obrien@FreeBSD.org>
4634
4635 * config/te-freebsd.h: New file.
4636
a38cf1db
AM
46372000-05-13 Alan Modra <alan@linuxcare.com.au>
4638
897083bd
AM
4639 * asintl.h (gettext, dgettext, dcgettext, textdomain,
4640 bindtextdomain): Replace defines with those from intl/libgettext.h
4641 to quieten gcc warnings.
4642
a38cf1db
AM
4643 * NEWS: Mention x86 .arch and -q.
4644
4645 * config/tc-i386.c (quiet_warnings): New.
4646 (md_assemble): Use quiet_warnings.
4647 (md_parse_option): Set quiet_warnings from -q.
4648 (md_show_usage): Mention -q, delete -m.
4649 (flag_do_long_jump): Delete.
4650 (md_parse_option): Remove -m.
4651 (md_show_usage): Remove -m.
4652 (md_create_long_jump): Remove useless flag_do_long_jump code.
4653
4654 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
4655 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
4656
e413e4e9
AM
46572000-05-13 Alan Modra <alan@linuxcare.com.au>
4658 Alexander Sokolov <robocop@netlink.ru>
4659
4660 * doc/c-i386.texi (i386-Arch): New section.
4661 (i386-Syntax): Mention .intel_syntax and .att_syntax.
4662
4663 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
4664 (smallest_imm_type): Use smallest opcode for shift by one if cpu
4665 architecture has been given and is not 486.
4666 (set_cpu_arch): New.
4667 (md_pseudo_table): Add .arch.
4668 (md_assemble): Warn if cpu architecture has been given and an
4669 unsupported instruction.
4670
4671 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
4672 Move operand_types bit defines after relevant template field.
4673 (template): Add cpu_flags.
4674 (Cpu*): Define.
4675 (arch_entry): New.
4676
e8b1cae5
AO
46772000-05-12 Alexandre Oliva <aoliva@cygnus.com>
4678
4679 * config/tc-mn10300.h (md_end): Define.
4680 (mn10300_finalize): Declare.
4681 * config/tc-mn10300.c: Include dwarf2dbg.h.
4682 (debug_line): Define.
4683 (md_assemble): Generate dwarf2 line info.
4684 (mn10300_finalize): New function. Finalize dwarf2 info.
4685
426b0403
AM
46862000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
4687
4688 * config/tc-mips.c (md_estimate_size_before_relax): Use the
4689 external version of the relocation for weak symbols.
4690
e4c58b25
JW
46912000-05-08 David Mosberger <davidm@hpl.hp.com>
4692
4693 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
4694 frame size in units of 16 bytes, as required per SW Conventions manual.
4695 (output_unw_records): Output info-block header as a dword to get
4696 byte-order right.
4697
8fce3f5e
AM
46982000-05-08 Alan Modra <alan@linuxcare.com.au>
4699
4700 * as.h: #include "file", not <file> on files from ../include.
4701 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
4702 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
4703 (md_convert_frag): Add ATTRIBUTE_UNUSED.
4704 (tc_coff_symbol_emit_hook): Ditto.
4705 (OPTCOUNT): Cast to int to avoid compiler warning.
4706 (md_begin): Fix signed/unsigned warnings.
4707
47082000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4709
4710 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
4711 ABRANCH LONG case for a conditional branch on a 68000.
4712 (md_estimate_size_before_relax): Likewise. Also handle
4713 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
4714 (m68k-ip: case ABSL): Relax absolute references to 16-bit
4715 PC-relative on all CPUs.
4716 (md_estimate_size_before_relax): Likewise.
4717
fb166ee3
AM
47182000-05-04 Alan Modra <alan@linuxcare.com.au>
4719
4720 * as.c (parse_args): Just mention current year in printed
4721 copyright message.
4722
7a899fff
C
47232000-05-03 J.T. Conklin <jtc@redback.com>
4724
4725 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 4726 unit registers.
7a899fff
C
4727 (md_parse_option): Recognize -m7400.
4728
44877466
ILT
47292000-05-03 Ian Lance Taylor <ian@zembu.com>
4730
4731 * config/atof-ieee.c (gen_to_words): When adding carry back in,
4732 don't permit lp to become less than the words array.
4733
eaa15ab8
NC
47342000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
4735
4736 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
4737 Fix little-endian case.
4738
7c4f6a03
AM
47392000-05-03 David O'Brien <obrien@NUXI.com>
4740
4741 * as.c (parse_args): Update copyright.
4742
da5d444c
AM
47432000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
4744
4745 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
4746 for the .bss section too.
4747
3f9b03b5
AM
47482000-05-02 Alan Modra <alan@linuxcare.com.au>
4749
4750 * configure.in: Set em=linux for hppa-*-linux.
4751 * configure: Regenerate.
4752 * doc/Makefile.in: Regenerate with correct automake.
4753
4754 * frags.c (frag_grow): Sanity check chunk_size.
4755
4756 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
4757 * config/obj-som.h: Likewise.
4758 * config/obj-ieee.h: Likewise.
4759
4760 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
4761
4762 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
4763 (md_pseudo_table): Fully initialise OBJ_ELF cases.
4764 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
4765 (pa_ip): low_sign_unext now returns via function value. Use
4766 re_assemble_* instead of dis_assemble_* and
4767 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
4768 unnecessarily.
4769 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
4770 (md_section_align, md_parse_option, md_show_usage,
4771 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
4772 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
4773 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
4774 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
4775 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
4776 pa_text): Likewise.
4777 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
4778 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
4779 outside of switch. Correct mask and shifting errors in case 10
4780 and case -11. In case 21, compare against signed range to suit
4781 hppa_field_adjust changes. In case 12, use re_assemble_12. In
4782 case 17 and case 22, use offsetT variable to properly check range.
4783 Use re_assemble_* here too.
4784 (evaluate_absolute): Change type of value to offsetT. Call
4785 hppa_field_adjust to do the work for us.
4786 (pa_parse_cmpb_64_cmpltr): Delete save_s.
4787 (pa_parse_cmpib_64_cmpltr): Ditto.
4788 (pa_build_unwind_subspace): Delete unused var subseg. Change type
4789 of i to unsigned int.
4790 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
4791 (pa_end_of_source): Return type is void.
4792
a2984248
CM
4793Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
4794
4795 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
4796
df136245
DC
4797Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
4798
4799 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
4800 More comments added.
4801 (md_begin): Removed "construct symbols for each register name".
4802 Because register names conflicts with GCC generated function
4803 names.
4804 (avr_operand): Now constant numbers can be used as a register
4805 identifiers (0 as r0, 31 as r31).
4806 (md_assemble): use skip_space () before parsing instruction
4807 operands.
4808
c1e73230
AM
48092000-05-01 Alan Modra <alan@linuxcare.com.au>
4810
4811 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
4812 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
4813 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
4814 * configure: Regenerate.
4815
a1934524
AM
48162000-04-29 Andreas Jaeger <aj@suse.de>
4817
4818 * as.h: Correctly check GCC version.
4819
d9b7d820
AM
48202000-04-26 David O'Brien <obrien@FreeBSD.org>
4821
4822 * doc/as.1: Fix unbalanced brackets.
4823
4824 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
4825 TE_FreeBSD.
4826 (line_comment_chars): Set to '/' if TE_FreeBSD.
4827
cea1ab94
JL
4828Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
4829
4830 * configure.in: Configury support for PA64 (currently disabled).
4831 * configure: Rebuilt.
4832
e799a695
AM
48332000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
4834
3e87a760 4835 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
4836 bfd_set_section_alignment.
4837
3b0ec529
AM
48382000-04-25 Alan Modra <alan@linuxcare.com.au>
4839
4840 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
4841 than 32.
4842
adcf07e6
NC
48432000-04-24 Nick Clifton <nickc@cygnus.com>
4844
4845 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
4846 * doc/as.texinfo (Align): Include arm and strongarm in list of
4847 targets that have the second form of the behaviour of the .align
3e87a760 4848 directive.
adcf07e6 4849
5047a41f
JL
48502000-04-24 Mark Klein <mklein@dis.com>
4851
29184774 4852 * config/obj-som.c: Terminate obj_pseudo_table.
5047a41f 4853
a47cf567
NC
4854Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
4855
4856 * as.c (parse_args): Allow md_parse_option to override -a listing
4857 option.
4858 * config/obj-coff.c (add_lineno): Change type of offset parameter
4859 from "int" to "bfd_vma."
4860 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
4861 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
4862 (ppc_change_csect): Align correctly for XCOFF64.
4863 (ppc_machine): New function, which discards "ppc_machine" line.
4864 (ppc_tc): Cons for 8 when code is 64 bit.
4865 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
4866 relocations.
4867 (md_parse_option): Handle -a64 and -a32.
4868 (ppc_xcoff64): New.
4869 * config/tc-ppc.h (TARGET_MACH): Define.
4870 (TARGET_FORMAT): Move to function.
4871 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
4872
4873Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
4874
4875 * config/tc-avr.c: New AVR_ISA_ defined.
4876 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
4877 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
4878 for `fmul', `movw' and `lpm R,Z' instructions.
4879 (avr_operands): Warn if current opcode is a two-word instruction
4880 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
4881 (avr_opcodes): New commands added.
4882 (REGISTER_P): Check 'a' and 'v' constraint letters.
4883 (mcu_types): New MCU added.
4884
bf3ca999
TW
48852000-04-22 Timothy Wall <twall@cygnus.com>
4886
4887 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
4888 to "natval".
4889 (operand_match): Conditionally insert default bit values for IMMU9.
4890
98e5953c
JL
48912000-04-14 Matthew Green <mrg@cygnus.com>
4892
4893 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
4894 * configure: Rebuilt.
4895
a02fab7e
JL
4896Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
4897 Jason Eckhardt <jle@cygnus.com>
4898
c67e42c9 4899 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
4900
4901 * config/tc-hppa.c (CHECK_ALIGN): New macro.
4902 Added handling of new operand types l,y,&,fe,fE,fx.
4903
800eeca4
JW
4904Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
4905 David Mosberger <davidm@hpl.hp.com>
4906 Timothy Wall <twall@cygnus.com>
4907 Andrew MacLeod <amacleod@cygnus.com>
4908 Jim Wilson <wilson@cygnus.com>
4909
4910 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 4911 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
4912 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
4913 * Makefile.in: Rebuild.
4914 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
4915 * configure: Rebuild.
4916 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
4917 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
4918 * expr.c (expr): Handle md_optimize_expr.
4919 * read.c (LEX_HASH): Add comment.
4920 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 4921
66778679
RH
49222000-04-21 Richard Henderson <rth@cygnus.com>
4923
4924 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
4925 bundling a non-delayed branch type instruction.
4926
aa15f6f7
AO
49272000-04-20 Alexandre Oliva <aoliva@cygnus.com>
4928
4929 * config/tc-mn10300.c (HAVE_AM30): Define.
4930 (md_assemble): Use it.
4931
16adf844
AM
49322000-04-19 Alan Modra <alan@linuxcare.com.au>
4933
742f45cf
AM
4934 * config/obj-elf.c (obj_elf_change_section): Check for changed
4935 section attributes.
4936
16adf844
AM
4937 * Makefile.am: (CPU_MULTI_VALID): Remove.
4938 (MULTI_CPU_TYPES): Define.
4939 (MULTI_CPU_OBJ_VALID): Define.
4940 (DEPTC): Use the above.
4941 (DEPOBJ): Same here.
4942 (DEP2): And here.
4943 Regenerate dependencies.
4944 * Makefile.in: Regenerate.
4945
9c46fb1b
AM
49462000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4947
742f45cf 4948 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 4949
508866be
L
49502000-04-18 H.J. Lu (hjl@gnu.org)
4951
4952 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 4953 bfd_vma for non-bfd assemblers.
508866be 4954
ba2adb93
AM
49552000-04-17 Alan Modra <alan@linuxcare.com.au>
4956
4957 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
4958 doesn't give spurious errors.
4959
12ff5d56
AM
49602000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4961
66778679 4962 * as.h (SEEK_SET): Define if undefined.
12ff5d56 4963
fc633e5b
AM
49642000-04-13 Alan Modra <alan@linuxcare.com.au>
4965
4966 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
4967 constants, and don't assume offsetT is 32 bits.
4968
1ed18ec1
NC
49692000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
4970
4971 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
4972 (md_pcrel_from_section): Add prototype.
4973 (d10v_fix_adjustable): Add prototype.
4974 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
4975
4976 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
4977
3db10f32
NC
49782000-04-12 Nick Clifton <nickc@cygnus.com>
4979
4980 * config/tc-d10v.c (find_opcode): Correctly calculate position of
4981 symbol in frag chain.
4982
847f7ad4
AM
49832000-04-10 Alan Modra <alan@linuxcare.com.au>
4984
4985 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
4986 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
4987 (fits_in_signed_word, smallest_imm_type): Ditto.
4988 (md_assemble): Use an offsetT var to hold offsetT values, not a
4989 long.
4990 (offset_in_range): New.
4991 (md_assemble): Use it.
4992 (md_convert_frag): Change type of target_address, opcode_address,
4993 and displacement_from_opcode_start to offsetT.
4994 (md_create_short_jump): Change type of offset to offsetT.
4995 (md_create_long_jump): Ditto.
4996 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
4997 (md_chars_to_number): Remove.
4998 (output_invalid): Remove duplicate prototype.
4999
ec694b89
NC
50002000-04-09 Nick Clifton <nickc@cygnus.com>
5001
5002 * Makefile.am (CPU_TYPES): Add 'avr'.
5003 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
5004 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
5005
16adf844 5006 * Makefile.in: Regenerate.
ec694b89
NC
5007
5008 * doc/as.texinfo: Add M32R documentation.
5009
a2d91340 5010Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 5011
a2d91340 5012 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 5013 --enable-build-warnings option.
a2d91340
AC
5014 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
5015 * Makefile.in, configure: Re-generate.
5016
d92b1a8a
NC
50172000-04-07 Nick Clifton <nickc@cygnus.com>
5018
5019 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
5020 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
5021 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
5022 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
5023 (arm_force_relocation): Force relocations for
5024 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
5025
52ccafd0
JR
5026Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5027
5028 * config/tc-sh.c (get_operands): There's no third operand if the
5029 first operand is an immediate.
5030
015551fc
JR
5031Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5032
5033 * config/tc-sh.c (immediate): Delete.
5034 (sh_operand_info): Add immediate member.
5035 (parse_reg): Use A_PC for pc.
5036 (parse_exp): Add second argument 'op'. All callers changed.
5037 (parse_at): Expect pc to be coded as A_PC.
5038 Use immediate field in *op.
5039 (insert): Add fourth argument 'op'. All callers changed.
5040 (build_relax): Add second argument 'op'. All callers changed.
5041 (insert_loop_bounds): New function.
5042 (build_Mytes): Remove DISP_4.
5043 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
5044 (assemble_ppi): Use immediate field in *operand.
5045 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
5046 (md_apply_fix): Likewise.
5047 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
5048
79bd78be
AO
5049Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5050
5051 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
5052
e30e5a6a
HPN
5053Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
5054
5055 * internals.texi (CPU backend): Document
5056 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
5057
41b49281
AM
50582000-04-04 Alan Modra <alan@linuxcare.com.au>
5059
8ad3436c
AM
5060 * po/gas.pot: Regenerate.
5061
5062 * as.c (show_usage): Restore translated part of bug string.
5063 * gasp.c (show_usage): Likewise.
5064
41b49281
AM
5065 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
5066 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
5067 than move-if-change.
5068 (DEP1): Modify for "gcc -MM".
5069 (DEPTC): Likewise.
5070 (DEPOBJ): Likewise.
5071 (DEP2): Likewise.
5072 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
5073 Update dependencies.
5074 * Makefile.in: Regenerate.
5075
0a727238
AO
50762000-04-03 Alexandre Oliva <aoliva@cygnus.com>
5077
5078 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
5079 (md_begin): Likewise.
5080 (HAVE_AM33): New macro.
5081 (md_assemble): Use it. Match r_regs and xr_regs only if
5082 HAVE_AM33.
5083
c20f4f8c
AM
50842000-04-03 Alan Modra <alan@linuxcare.com.au>
5085
5086 * as.h: #include "bin-bugs.h"
5087 * as.c (show_usage): Use REPORT_BUGS_TO.
5088 * gasp.c: #include "bin-bugs.h"
5089 (show_usage): Use REPORT_BUGS_TO.
5090
5091 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
5092
753f6b12
HPN
5093Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
5094
5095 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
5096 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
5097 adjustments.
5098
726c5dcd
AM
50992000-04-03 Alan Modra <alan@linuxcare.com.au>
5100
5101 * config/tc-i386.c (i386_immediate): Don't assume a constant
5102 immediate is necessarily 16 bits when in 16 bit code mode.
5103 (md_assemble): Instead set guess_suffix here after we have checked
5104 registers.
5105
bf80011a
RH
51062000-04-02 Richard Henderson <rth@cygnus.com>
5107
5108 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
5109 quantities. Correct right shift sign extension.
5110 (build_insn): Make `number' unsigned long. Mask top 6 bits of
5111 32-bit value when shifting into place.
5112
92161534
ILT
51132000-04-01 Ian Lance Taylor <ian@zembu.com>
5114
5115 * app.c: Add ATTRIBUTE_UNUSED as needed.
5116 * config/tc-ppc.c: Likewise.
5117 (ppc_size): Make unsigned long.
5118 (ppc_insert_operand): Add casts to avoid warnings.
5119
447f3982
NC
51202000-03-31 Nick Clifton <nickc@cygnus.com>
5121
5122 * config/tc-d10v.h (md_flush_pending_output): Define.
5123
21d75ec2
NC
51242000-03-29 Nick Clifton <nickc@cygnus.com>
5125
5126 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
5127 segment. Works for both BFD_ASSEMBLER and others.
5128 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
5129
d1a1bf19
NC
51302000-03-29 Nick Clifton <nickc@cygnus.com
5131
5132 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
5133
224de7a5
AM
51342000-03-28 Alan Modra <alan@linuxcare.com.au>
5135
5136 * listing.c (LISTING_LHS_WIDTH): Default depends on
5137 LISTING_WORD_SIZE.
5138 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
5139
5b8274e3
ILT
51402000-03-27 Ian Lance Taylor <ian@zembu.com>
5141
5142 * config/tc-sh.c (md_show_usage): Use backslash before newline in
5143 string literal.
5144
224de7a5 51452000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
5146
5147 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
5148
5149 * config/tc-avr.c (mcu_types): Add missing initialiser.
5150 (md_pcrel_from_section): Add prototype.
5151 (avr_operand): Remove redundant test of unsigned < 0.
5152 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
5153
51542000-03-27 Denis Chertykov <denisc@overta.ru>
5155
5156 * config/tc-avr.c: New file for AVR support.
5157 * config/tc-avr.h: Likewise.
5158 * configure.in: Add AVR support.
5159 * configure: Regenerate.
5160
9f10757c
TW
51612000-03-26 Timothy Wall <twall@cygnus.com>
5162
5163 * gasp.c (macro_op): Add new argument to check_macro call.
5164 Macro structure definitions moved to macro.h
5165 * sb.h: Add argument to prototype for input_scrub_include_sb.
5166 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
5167 nesting checks with an additional flag.
5168 (struct input_save): Add flag to indicate whether current sb
5169 should be checked for proper macro/conditional nesting.
5170 (input_scrub_push/pop): Save/restore nest check flag.
5171 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 5172 defined.
9f10757c
TW
5173 * macro.c (check_macro): Allow caller to retrieve parsed macro
5174 information if a pointer is provided. This information may be
5175 used by the new macro hooks.
5176 * macro.h: Update prototype for check_macro. Macro struct
5177 definitions moved here from macro.c/gasp.c.
5178 * read.c (read_a_source_file): Add parameter to check_macro call,
5179 and pass macro info to the macro hook, if defined.
5180 (input_scrub_insert_line): New. Allow insertion of a line of
5181 characters into the input stream.
5182 (input_scrub_insert_file): New. Allow insertion of an arbitrary
5183 file into the input stream.
5184 (s_include): Use input_scrub_insert_file.
5185 * internals.texi: Document new macro hooks.
5186 * as.h: New prototypes added.
3e87a760 5187
224de7a5 51882000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
5189
5190 * config/tc-i386.c: Don't start any as_bad or as_warn message with
5191 an initial capital letter.
5192 (i386_index_check): Reindent.
5193
11424155
NC
51942000-03-19 Nick Clifton <nickc@cygnus.com>
5195
eaa15ab8 5196 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
5197 relative branches.
5198
43f05576
NC
51992000-03-17 Thomas de Lellis <tdel@windriver.com>
5200
66778679
RH
5201 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
5202 instruction operand bad if Rd > 7 when generating
5203 thumb instructions. Prevents for example,
5204 "adr r12,label" from silently failing and generating
5205 the wrong instruction.
3e87a760 5206
67231402
NC
52072000-03-17 Nick Clifton <nickc@cygnus.com>
5208
5209 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
5210 that have a destingation >= 0x400000.
3e87a760 5211 Fix compile time warning messages.
67231402 5212
a37c8f88
JR
5213Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5214
5215 * config/tc-sh.c (md_begin): When encountering insn that are
5216 not supported by the current arch, only change the name if
5217 its contents are the same as prev_name.
5218 (get_specific): If the the architecture doesn't match, fail.
5219
dead1419
JR
5220Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5221
5222 * config/tc-sh.c (IDENT_CHAR): Define.
5223 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
5224 matching back where it came from.
5225
182e89d3
JR
5226Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5227
5228 * config/tc-sh.c (md_show_usage): Add description of -dsp.
5229
84f73d89
NC
52302000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
5231
5232 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
5233 normal operands.
5234
dbbc7809
JL
52352000-03-15 Kazu Hirata <kazu@hxi.com>
5236
5237 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
5238
271bb601
HPN
5239Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
5240
5241 * expr.c (operand) [case 'f']: When testing if '0f' can start a
5242 floating-point-number, make sure 'f' is in FLT_CHARS.
5243
8684e216
HPN
5244Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
5245
5246 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
5247 (s_lcomm_internal): Use it.
5248 * doc/internals.texi (CPU backend): Document it.
5249 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
5250 bytes.
5251
bb2d6cd7
GK
52522000-03-10 Geoffrey Keating <geoffk@cygnus.com>
5253
5254 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
5255 when embedded-pic.
5256
5257 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
5258 implementation doesn't have special handling for switch
5259 statements.
bb2d6cd7
GK
5260 (macro_build): Allow for code in sections other than .text.
5261 (macro): Likewise.
5262 (mips_ip): Likewise.
5263 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 5264 Don't perform relocs if we will be outputting them.
bb2d6cd7 5265 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
5266 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
5267 embedded-pic.
bb2d6cd7 5268
5c86cbc7 52692000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 5270
66778679
RH
5271 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
5272 relocation type based on the entry in the fixup structure.
a47cf567 5273 Put S_IS_EXTERN processing back in.
5c86cbc7 5274
f8c827e9
L
52752000-03-08 H.J. Lu (hjl@gnu.org)
5276
5277 * Makefile.am (install-exec-tooldir): Depend on
5278 install-exec-bindir for parallel make.
5279 * Makefile.in: Regenerated.
5280
8ad9e709
NC
52812000-03-06 Nick Clifton <nickc@cygnus.com>
5282
5283 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
5284 switch.
5285 (md_parse_option): Parse -m32r command line switch - disable m32rx
5286 compatability.
ded0aeb7
NC
5287 (md_show_usage): Document new option.
5288
5289 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
5290 * doc/Makefile.in: Regenerate.
5291 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 5292
b7b8f327
MM
52932000-03-02 Michael Meissner <meissner@redhat.com>
5294
5295 * config/tc-d30v.c (check_range): Remove code that incorrectly
5296 sign extended values where bits < 32.
5297
15886821
L
52982000-03-02 H.J. Lu (hjl@gnu.org)
5299
5300 * configure.in: Support --enable-targets=all on ia32.
5301 * configure: Regenerated.
5302
8bf950bf
NC
53032000-03-01 Nick Clifton <nickc@cygnus.com>
5304
5305 * gasp.c (do_align): Remove bogus check of alignment value.
5306
c5e54cc2
ILT
53072000-02-27 Thomas de Lellis <tdel@windriver.com>
5308
5309 * config/obj-elf.c (elf_frob_symbol): Remove code which when
5310 TC_PPC was defined forced the type of a symbol with no other type
5311 to be BSF_OBJECT.
5312
65fd87bc
ILT
53132000-02-27 Hans-Peter Nilsson <hp@axis.com>
5314
5315 * doc/internals.texi (CPU backend): Mention that
5316 line_separator_chars do not break up comments. Fix typos for
5317 LEX_AT and LEX_NAME descriptions. Document operands for
5318 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
5319 description of md_create_short_jump usage. Document argument for
5320 md_undefined_symbol.
5321
a25fe906
ILT
53222000-02-27 Jakub Jelinek <jakub@redhat.com>
5323
5324 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
5325 (md_parse_option): Handle it.
5326 (md_show_usage): Document it.
5327
21b10511
ILT
53282000-02-27 Ian Lance Taylor <ian@zembu.com>
5329
5330 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
5331 opcode, for the instruction `pal19'. From Andrea Arcangeli
5332 <andrea@suse.de>.
5333
773f551c
AM
53342000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
5335
5336 * config/tc-i386.c (i386_immediate): Move constant operand sizing
5337 from here..
5338 (md_assemble): To here, before template operands are matched.
5339 Also ensure a constant immediate is sign extended when we know the
5340 size is at most 16 bits. This is to catch cases like "add
5341 $0xffc0,%ax" where we don't know the size, and thus that the
5342 immediate can be represented as Imm8S until after parsing the
5343 register operand.
5344 (i386_displacement): Similarly sign extend 16 bit constant
5345 displacements.
5346 (md_assemble): Relax 16-bit jump constant range check to suit sign
5347 extended displacements.
5348
28d33191
JL
53492000-02-26 Andreas Jaeger <aj@suse.de>
5350
5351 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
5352
cc5ca5ce
AM
53532000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5354
5355 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
5356 call operands when intel_syntax.
5357 (intel_float_operand): Return 2 for "fi...".
5358 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
5359 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
5360 earlier "SHORT" change.
5361 (md_assemble): When determining suffix from Regs, exclude
5362 InOutPortReg.
5363
056350c6
NC
53642000-02-24 Nick Clifton <nickc@cygnus.com>
5365
5366 * configure: Add arm-wince, mips-pe and sh-pe targets.
5367 * configure: Regenerate.
5368
5369 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
5370 sh-pe targets.
5371 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
5372 "pe-mips" for the mips-pe target.
5373
5374 * config/tc-arm.c (insns): Change displacement encoded in BL
5375 and B instructions if the target port is arm-wince.
5376 (do_ldst): Do not bias the relocation offset if the target
5377 port is arm-wince.
5378 (md_pcrel_from): Add in missing relocation offset bias if the
5379 target os arm-wince.
5380
5381 * config/tc-mips.c (mips_target_format): Support COFF flavour.
5382 (md_begin): Disable -G support for mips-pe target.
5383 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
5384 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
5385 COFF flavour.
5386
5387 * config/tc-sh.c (md_begin): sh-pe target is little endian.
5388 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
5389 assembler, just set the alignment to 4.
5390
5391 * config/te-wince-pe.h: New file for WinCE targets. Define
5392 TE_WINCE.
5393
36bf8ab9
AM
53942000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5395
5396 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
5397 string instructions.
5398 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
5399 (i386_intel_memory_operand): After finding a segment override,
5400 check again for no `[' before looking for a displacement. Bomb if
5401 more than one displacement rather than silently discarding the
5402 second and subsequent ones. Free strings malloc'd by
5403 build_displacement_string.
5404
f5795b08
CM
54052000-02-24 Catherine Moore <clm@cygnus.com>
5406
5407 * config/obj-som.c (obj_pseudo_table): Add "weak".
5408 (obj_som_weak): New routine.
5409
abd63a32
AM
54102000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
5411
520dc8e8
AM
5412 * config/tc-i386.c (union i386_op): New.
5413 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
5414 Throughout file replace occurences of disps[n], imms[n], regs[n]
5415 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
5416 intel mode operand swapping. Add assert in regKludge and
5417 fake_zero_displacement code. Test i.types[n] when outputting
5418 displacements and immediates. Combine output of Disp16 with
5419 Disp32.
7f3f1ea2
AM
5420 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
5421 when in intel mode by (not) reversing fsub and fdiv operands
5422 before the template search. This fails for single operand
5423 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
5424 undefined. Instead fix the base_opcode after we've found the
5425 template. Move base_opcode xor with found_reverse_match from
5426 opcode output code to before this fix so we test for the correct
5427 opcodes.
5428 (md_assemble): Don't use strcmp when deciding to ignore the suffix
5429 check in intel mode. Instead compare opcodes.
520dc8e8
AM
5430
5431 * config/tc-i386.h (TC_RELOC): Delete.
5432 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
5433 with equivalent call to reloc.
5434
abd63a32
AM
5435 * as.h (flag_m68k_mri): Move declaration after target include, and
5436 only declare when TC_M68K defined. Define as zero otherwise.
5437 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
5438 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
5439 Define as zero otherwise.
5440 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
5441 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
5442 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
5443 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
5444 testing whether defined.
5445 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
5446 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
5447 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
5448 rather than testing whether defined.
5449 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
5450 (parse_mri_cons): Declare and use only when TC_M68K.
5451 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
5452 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
5453 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
5454
5455 * NEWS: Mention IBM 370 support.
5456
7e052742
RH
54572000-02-23 Richard Henderson <rth@cygnus.com>
5458
5459 * config/tc-i386.c (md_assemble): When swapping operands for
5460 intel_syntax, assume everything that's not Imm or Disp is a
5461 register.
5462
5b93d8bb
AM
54632000-02-23 Linas Vepstas <linas@linas.org>
5464
5465 * config/tc-i370.c, config/tc-i370.h: New files.
5466 * Makefile.am: Add support for Linux/IBM 370.
5467 * configure.in: Likewise.
5468 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
5469 * config/obj-elf.c: Include elf/i370.h
5470 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
5471
5472 * Makefile.in: Regenerate.
5473 * configure: Regenerate.
5474
5475 * doc/c-i370.texi: New file.
5476 * doc/all.texi: Include it.
5477 * doc/as.texinfo: And here.
3e87a760 5478 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
5479 * doc/Makefile.in: Regenerate.
5480
25f2196d
CC
54812000-02-19 Michael Meissner <meissner@redhat.com>
5482
5483 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
5484 determine if an instruction can be used in parallel with an ADDppp
5485 or SUBppp instruction.
5486
6349b5f4
AH
54872000-02-22 Andrew Haley <aph@cygnus.com>
5488
5489 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
5490
2f6d2f85 54912000-02-22 Andrew Haley <aph@cygnus.com>
c97ef257
AH
5492
5493 * config/tc-mips.c (mips_gp32): New variable.
5494 (macro_build) Use mips_gp32.
5495 (mips_ip): Ditto.
5496 (md_longopts): Add "-mgp32" and "-mgp64".
5497 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 5498
a47cf567
NC
5499 (OPTION_M7900): Change offset
5500 (OPTION_NO_M7900): Ditto.
5501
b985eaa8
ILT
55022000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5503
5504 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
5505 warning, and bump it to 1.
5506
52454417
ILT
55072000-02-22 Ian Lance Taylor <ian@zembu.com>
5508
5509 From Brad Lucier <lucier@math.purdue.edu>:
5510 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
5511 match format.
5512
6b76fefe
CM
55132000-02-21 Catherine Moore <clm@cygnus.com>
5514
5515 * config/tc-mips.c (MF_HILO_INSN): Define.
5516 (mips_7000_hilo_fix): Declare.
5517 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
5518 (md_parse_option): Check for 7000_HILO_FIX options.
5519 (OPTION_M7000_HILO_FIX): Define.
5520 (OPTION_NO_M7000_HILO_FIX): Define.
5521 * doc/c-mips.texi (-mfix7000): Describe.
5522
f6af82bd
AM
55232000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
5524
5525 * listing.c (print_lines): Remove unused variable `end'.
5526
5527 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
5528 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 5529 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
5530 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
5531 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 5532 statement and quell signed vs. unsigned comparison warning.
f6af82bd 5533
8c8281f4
NC
55342000-02-18 Nick Clifton <nickc@cygnus.com>
5535
5536 * config/tc-d10v.c (find_opcode): Add a symbol's value to
5537 the computed frag offset, rather than overwriting it.
5538
d4845d57
JR
5539Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5540
5541 * config/tc-sh.c ("elf/sh.h"): Include.
5542 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
5543 (md.begin): Initialize target_arch.
5544 Only include opcodes in has table that match selected architecture.
5545 (parse_reg): Recognize register names for sh-dsp.
5546 (parse_at): Recognize post-modify addressing.
5547 (get_operands): The leading space is now optional.
5548 (get_specific): Remove FDREG_N support. Add support for sh-dsp
5549 arguments. Update valid_arch.
5550 (build_Mytes): Add support for SDT_REG_N.
5551 (find_cooked_opcode): New function, broken out of md_assemble.
5552 (assemble_ppi, sh_elf_final_processing): New functions.
5553 (md_assemble): Use find_cooked_opcode and assemble_ppi.
5554 (md_longopts, md_parse_option): New option: -dsp.
5555 * config/tc-sh.h (elf_tc_final_processing): Define.
5556 (sh_elf_final_processing): Declare.
5557
c97305a1
JL
5558Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
5559
5560 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
5561 the unwinder subspace. Save the current seg/subseg before creating
5562 the new seg/subseg.
5563
bec50466
NC
55642000-02-10 Nick Clifton <nickc@cygnus.com>
5565
5566 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 5567 little endian targets.
bec50466 5568 (INST_BYTE1): Redefine to handle big and little endian
66778679 5569 targets.
bec50466
NC
5570 (cpu_type): New type: Select between M340 and M210.
5571 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 5572 instructions of the M340.
bec50466 5573 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 5574 instructions.
bec50466
NC
5575 (md_atof): Add support for little endian targets.
5576 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 5577 line switches.
bec50466
NC
5578 (md_convert_frag): Add support for little endian targets.
5579 (md_apply_fix3): Add support for little endian targets.
5580 (md_number_to_chars): Add support for little endian targets.
5581
a25c045a
TW
55822000-02-10 Timothy Wall <twall@redhat.com>
5583
5584 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
5585 defined, use it to verify the symbol just read should be a label.
5586
f28e8eb3
TW
55872000-02-10 Timothy Wall <twall@redhat.com>
5588
5589 * app.c (do_scrub_chars): Handle "||" for parallel instructions
5590 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
5591 around colons when KEEP_WHITE_AROUND_COLON is defined.
5592 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
5593 and KEEP_WHITE_AROUND_COLON.
5594
6dc19fc4
TW
55952000-02-08 Timothy Wall <twall@redhat.com>
5596
5597 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 5598 logic.
6dc19fc4 5599 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 5600 implemented.
6dc19fc4
TW
5601 (end_repeat): New. Provide support for a "break" out of the
5602 repeat loop.
5603 * read.h: Add prototypes for new functions.
3e87a760 5604
f805106c
TW
56052000-02-08 Timothy Wall <twall@redhat.com>
5606
5607 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
5608 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
5609 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
5610 non-zero.
5611
4469be0f
TW
56122000-02-08 Timothy Wall <twall@redhat.com>
5613
5614 * read.c: Added elseif to directives table.
5615 * read.h: Added prototype for s_elseif.
5616 * doc/as.texinfo: Added description for elseif.
5617 * cond.c (s_elseif): New function
3e87a760 5618
24a17b6c
TW
56192000-02-04 Timothy Wall <twall@redhat.com>
5620
5621 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 5622 listings.
24a17b6c 5623
bea9907b 56242000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 5625
bea9907b
TW
5626 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
5627 default values.
5628 * frags.c (frag_new): Calculate fr_fix in octets
5629 (frag_now_fix) Return offset as target address offset (bytes).
5630 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 5631 quantities).
bea9907b
TW
5632 * frags.h: Added prototype for frag_now_fix_octets().
5633 Distinguish between octets and bytes in field descriptions.
5634 * listing.c (calc_hex): Account for octets vs bytes when
5635 printing addresses/offsets.
5636 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
5637 target is little-endian, print the octets in a word in big-endian
5638 order so that the display looks like a proper hexadecimal number,
5639 instead of having the octets reversed.
5640 * read.c (do_align): When recording alignment, alignment power
5641 should be in terms of target bytes (minimum addressible unit)
5642 instead of octets.
5643 (do_org) Convert ORG target address (byte) argument into an
5644 octet offset when generating a variable fragment.
5645 * symbols.c (resolve_symbol_value): Symbol final value
5646 converted to a target address offset (bytes) from its octet offset.
5647 * config/obj-coff.c (coff_frob_symbol): Symbol target address
5648 offset (bytes) is adjusted by the frag offset (octets) converted
5649 to bytes.
5650 (coff_frob_section) Section alignment power is in terms of bytes;
5651 convert it to an octet alignment power when calculating size (and
5652 size mask) in octets. Don't modify the section size in order to
5653 "align" it for TI COFF, since that format has a different method
5654 for storing alignment information.
3e87a760 5655
210dcc61
TW
56562000-02-01 Timothy Wall <twall@cygnus.com>
5657
5658 * stabs.c (generate_asm_file): Escape backslashes in stabs file
5659 entries, matching the way GCC generates them. If not escaped, the
5660 filename is encoded incorrectly.
5661
557537a5 56622000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 5663
557537a5
NC
5664 * config/tc-arm.c (reg_table): Add support for ATPCS register
5665 naming conventions.
2c1c4c62 5666
557537a5 56672000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 5668
2c1c4c62
GK
5669 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
5670 already defined.
3e87a760 5671 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
5672 New macro.
5673 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
5674 of a symbol when we really care about its value.
5675
56762000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
5677
5678 * config/tc-mcore.c (md_assemble): Give warning message if
5679 operands passes to instruction are more than the spec.
5680
2f0ca46a
NC
56812000-01-27 Thomas de Lellis <tdel@windriver.com>
5682
66778679 5683 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a
NC
5684 Thumb mode but the label seen was not declared as '.thumb_func'
5685 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 5686 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 5687
4c63da97
AM
56882000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
5689
5690 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
5691 Add dependencies for e-i386aout.o. Fix 2 comment lines.
5692
5693 * Makefile.in: Same here.
5694 Update copyright.
5695
5696 * configure.in: Set bfd_gas for i386-aout when primary target
5697 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
5698 we may need the primary te_file. Remove incorrect comment.
5699
5700 * configure: Regenerate.
5701
5702 * config/e-i386aout.c: New file.
5703
5704 * as.c (USE_EMULATIONS): Move to before print_version_id.
5705 (struct emulation): Add i386aout.
5706 (show_usage): Split text strings. Reformat -a text. Add --em
5707 help.
5708 Update copyright.
5709
5710 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
5711 (aout_format_ops): New.
5712 Update copyright.
5713
5714 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
5715 preprocessor conditional and add aout USE_EMULATIONS tests.
5716 (read_a_source_file): Don't pass error strings to printf as
5717 format arg.
5718 Update copyright.
5719
5720 * gasp.c (exp_get_abs): Don't pass error strings to printf as
5721 format arg.
5722 (do_data): Same here.
5723 (process_file): And here.
5724 Update copyright.
5725
5726 * symbols.c (colon): Rewrite "already defined" fatal message
5727 code for aout with USE_EMULATIONS.
5728 Update copyright.
5729
5730 * config/obj-aout.c (OBJ_HEADER): Define.
5731 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 5732 fields of sentinel.
4c63da97
AM
5733 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
5734 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
5735 forms here.
5736 (obj_aout_type): Expand S_SET_OTHER here too.
5737 (obj_read_begin_hook): Remove.
5738 (aout_pop_insert): New.
5739 (obj_aout_s_get_other): New.
5740 (obj_aout_s_get_desc): New.
5741 (aout_format_ops): New.
5742 Update copyright.
5743
5744 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
5745 gets aout_pseudo_table.
5746 (aout_pseudo_table): Declare.
5747 (obj_read_begin_hook): Define.
5748 Update copyright.
5749
5750 * config/obj-coff.c (obj_pseudo_table): Rename to
5751 coff_pseudo_table.
5752 (coff_pop_insert): Use coff_pseudo_table.
5753 (coff_sec_sym_ok_for_reloc): Remove.
5754 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
5755 and comment all zero entries and remove #if 0 code.
5756 Update copyright.
5757
5758 * config/obj-coff.h (obj_pop_insert): Define.
5759 (coff_pseudo_table): Declare.
5760 Update copyright.
5761
5762 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
5763 s_get_size, s_set_size. Comment all zero entries.
5764 Update copyright.
5765
5766 * config/obj-elf.c (elf_s_get_other): New function.
5767 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
5768 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
5769 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
5770 comment.
5771 (obj_elf_parse_section_letters): Don't pass error strings to
5772 printf as format arg.
5773 Update copyright.
5774
5775 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
5776 OBJ_MAYBE_ECOFF.
5777 (elf_s_get_other): Declare.
5778 (S_GET_OTHER) Define as elf_s_get_other if not already
5779 defined.
5780 (S_SET_OTHER): Only define when not already defined.
5781 (elf_obj_read_begin_hook): Declare.
5782 (obj_read_begin_hook): Define.
5783 (elf_obj_symbol_new_hook): Declare.
5784 (obj_symbol_new_hook): Define.
5785 Update copyright.
5786
5787 * config/obj-multi.h: Add copyright header and protect against
5788 multiple inclusion. Add * to all function pointers.
5789 (OBJ_HEADER): If defined, include it rather than other defines
5790 in this file.
5791 (obj_frob_file_after_relocs): Test for NULL.
5792 (obj_symbol_new_hook): Here too.
5793 (obj_sec_sym_ok_for_reloc): And here.
5794 (S_GET_OTHER): Define.
5795 (S_GET_DESC): Define.
5796 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
5797 (OBJ_MAYBE_ELF): Update comment.
5798
5799 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
5800 OBJ_AOUT preprocessor conditional and handle emulation by
5801 testing OUTPUT_FLAVOR.
5802 (i386_displacement): Here too.
5803 (md_section_align): Similarly here.
5804 (i386_target_format): Conditionally compile when more than one
5805 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
5806 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
5807 (i386_displacement): Here too.
5808 Update copyright.
5809
5810 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
5811 Define TARGET_FORMAT for aout only when not multi.
5812 Update copyright.
5813
5814 * config/te-multi.h: Delete file as it's identical to te-generic.h
5815
add0c677
AM
58162000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
5817
5818 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
5819 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
5820 LONG_MNEM_SUFFIX.
5821
5822 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
5823 DWORD_MNEM_SUFFIX.
5824 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
5825 comments.
5826
a19d8eb0
CP
58272000-01-13 Clinton Popetz <cpopetz@cygnus.com>
5828
66778679
RH
5829 * config/tc-mips.c (mips_do_align): New function.
5830 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 5831
550262c4
NC
58322000-01-10 Philip Blundell <philb@gnu.org>
5833
5834 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 5835 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
5836 line separator for Linux.
5837 * doc/as.texinfo (Comments): Mention the ARM.
5838
0decc840
NC
58392000-01-10 Philip Blundell <pb@futuretv.com>
5840
5841 * configure.in (arm*-*-conix*): New target.
5842 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
5843 armv*-*-linux-gnu.
5844 * configure: Regenerate.
5845
2e13b764
NC
58462000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
5847
5848 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
5849 (obj_elf_visibility): New function.
3e87a760 5850
2e13b764
NC
5851 * doc/as.texinfo (Visibility): New node: document visibility
5852 pseudo ops.
5853
2f6d2f85 5854For older changes see ChangeLog-9899
This page took 0.378844 seconds and 4 git commands to generate.