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