Fix endian detection for configuration of sh-linux builds
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
131b0983
NC
12001-12-18 Niibe Yutaka <gniibe@m17n.org>
2
3 * configure.in (assign object format): Bug fix for setting
4 endian.
5 * configure: Regenerate.
6
0b69cd08
MG
72001-12-18 matthew green <mrg@eterna.com.au>
8
9 * configure.in (m68k-*-netbsdelf*): New target.
10 (m68k-*-netbsd*): Also include ELF support.
11 (m68k-*-netbsdaout*): New alias for m68*-*-netbsd*.
12 * configure: Regenerate.
13
65de42c0
TS
142001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
15
16 * gasp.c (main): Protoype.
17
84b229ef
RH
182001-12-17 Richard Henderson <rth@redhat.com>
19
20 * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.
21
0609eb57
NC
222001-12-17 Nick Clifton <nickc@cambridge.redhat.com>
23
24 * cgen.c: Add prototype for queue_fixup.
25 (gas_cgen_parse_operand): Move initilisastion of errmsg to avoid
26 possible longjmp corruption.
27 * cgen.h: Add prototype for gas_cgen_md_operand.
28
f91fafbd
AM
292001-12-15 Alan Modra <amodra@bigpond.net.au>
30
31 * config/obj-elf.c (obj_elf_init_stab_section): References are
32 kept to section name strings. Don't alloca them!
33
8c0392a9
AO
342001-12-12 Alexandre Oliva <aoliva@redhat.com>
35
36 * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after
37 OPERAND_ATSIGN as O_absent.
38
93fbbb04
GK
392001-12-07 Geoffrey Keating <geoffk@redhat.com>
40 Richard Henderson <rth@redhat.com>
41
42 * configure.in: Add support for xstormy16.
43 * configure: Regenerated.
44 * Makefile.am: Add support for xstormy16.
45 * Makefile.in: Regenerated.
46 * config/tc-xstormy16.c: New file.
47 * config/tc-xstormy16.h: New file.
48
f2b7cb0a
RE
492001-12-06 Richard Earnshaw (rearnsha@arm.com)
50
51 * tc-arm.c (do_arit, do_cmp, do_mov, do_ldst, do_ldstt, do_ldmstm)
52 (do_branch, do_swi, do_adr, do_adrl, do_empty, do_mul, do_mla)
53 (do_swap, do_msr, do_mrs, do_mull, do_ldstv4, do_bx, do_blx)
54 (do_bkpt, do_clz, do_lstc2, do_cdp2, do_co_reg2, do_smla, do_smlal)
55 (do_smul, do_qadd, do_pld, do_ldrd, do_co_reg2c, do_cdp, do_lstc)
56 (do_co_reg, do_fpa_ctrl, do_fpa_ldst, do_fpa_ldmstm, do_fpa_monadic)
57 (do_fpa_dyadic, do_fpa_cmp, do_fpa_from_reg, do_fpa_to_reg, do_mia)
58 (do_mar, do_mra, do_c_binops, do_c_binops_1, do_c_binops_2)
59 (do_c_binops_3, do_c_triple, do_c_triple_4, do_c_triple_5, do_c_quad)
60 (do_c_quad_6, do_c_dspsc, do_c_dspsc_1, do_c_dspsc_2, do_c_shift)
61 (do_c_shift_1, do_c_shift_2, do_c_ldst, do_c_ldst_1, do_c_ldst_2)
62 (do_c_ldst_3, do_c_ldst_4, do_branch25): Delete redundant argument,
63 FLAGS.
64 (struct asm_opcode): Adjust parms field accordingly.
65 (md_assemble): Don't pass dummy second argument when calling worker
66 functions.
67 (build_arm_ops_hsh): Add prototype
68 (BAD_FLAGS): Delete.
69
90e4755a
RE
702001-12-05 Richard Earnshaw <rearnsha@arm.com>
71
72 * tc-arm.c (struct asm_opcode): Delete comp_suffix and flags. Add
73 cond_offset. Rename variants->variant.
74 (insns): Adjust for new format. Explicitly code each variant that
75 takes flags. Remove temporary instructions.
76 (struct arm_it): Remove redundant field suffix.
77 (s_flag, ldr_flags, str_flags, byte_flag, cmp_flags, ldm_flags)
78 (stm_flags, lfm_flags, sfm_flags, round_flags, fix_flags, except_flag)
79 (long_flag): Delete.
80 (struct asm_flg): Delete.
81 (LONGEST_INST): Delete.
82 (V4_STR_BIT): Define.
83 (struct thumb_opcode): Rename variants->variant.
84 (do_empty): Renamed from do_nop.
85 (ldst_extend): Delete argument hwse. Split code for half-word and
86 signed byte instructions to ...
87 (ldst_extend_v4): ... here.
88 (ld_mode_required_here): Use ldst_extend_v4.
89 (do_ldrd): Simplify now that this is only called for ldrd. No
90 need to test for XScale, which was wrong anyway. Don't reject r12
91 as a target register. Add test that ldrd doesn't update an index
92 register.
93 (do_pld): Don't allow post-indexed or write-back addressing modes.
94 Adjust call to ldst_extend.
95 (do_adr): Split code for adrl to ...
96 (do_adrl): ... here.
97 (do_cmp): No need to fold in COND_BIT.
98 (do_ldst): Simplify. Split code for ldrt/strt into do_ldstt. Split
99 code to handle half-word and signed byte instructions to ...
100 (do_ldstv4): ... here.
101 (do_ldstt): New function. Handle load/store with translate.
102 (do_ldmstm): Write feature modification bits directly into
103 inst.instruction.
104 (do_fpa_ldst): Remove suffix handling code.
105 (do_fpa_dyadic, do_fpa_monadic, do_fpa_from_reg): Likewise.
106 (do_fpa_ldmstm): Type of access is now held in inst.instruction.
107 (build_arm_ops_hsh): New function.
108 (md_begin): Call it. Don't build the ARM opcode directly.
109 (md_assemble): Simplify ARM instruction handling.
110
006299d3
NC
1112001-12-05 Arati Dikey <aratid@kpit.com>
112
113 * tc-sh.c (parse_at): Corrected incorrect op->type selection due
114 to missing 'else'.
115
c2c607a4
AO
1162001-12-04 Alexandre Oliva <aoliva@redhat.com>
117
118 * config/tc-d10v.c (write_2_short): Don't skip dummy fixups, so
119 that we can tell which operand refers to the insn put in the L
120 container and mark it as such, so that the relocation type can be
121 adjusted.
122
956cd1d6
TS
1232001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
124
125 * config/tc-mips.c (mips_cpreturn_offset): Better comment.
126 (load_register): Better error message. Cast away signedness
127 mismatches. Add casts needed for varargs.
128 (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl.
129 Remove superfluous casts.
130 (macro): Cast away signedness mismatches. Remove superfluous casts.
131 (s_cpload): Fix wrong comment.
132 (s_mips_weakext): Standardize output message.
133 (get_number): Likewise.
134
7496292d
TS
1352001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
136
137 * config/tc-mips.c (append_insn): Add jump address range overflow
138 check.
139
34ba82a8
TS
1402001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
141
142 * config/tc-mips.c (md_parse_option): Fix comment. Allow -mabi option
143 for ELF only.
144 (show): Document -mabi option.
145
8350bcd9
NC
1462001-12-03 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
147
148 * config/tc-arm.c (md_parse_option): Only clear cpu part when
149 specifying 'xscale' cpu (don't change the fpu part).
150
461448d8
AO
1512001-12-04 Alexandre Oliva <aoliva@redhat.com>
152
153 * config/tc-d10v.c (find_opcode): Reject SP operand if
154 OPERAND_NOSP flag is present.
155
d11008e1
EC
1562001-12-03 Eric Christopher <echristo@redhat.com>
157
158 * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
159
cdf6fd85
TS
1602001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
161
162 * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
163 by BFD_RELOC_GPREL16.
164 (load_address): Likewise.
165 (macro): Likewise.
166 (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by
167 BFD_RELOC_GPREL32.
168 (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
169 (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
170 *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
171
55aa1bc4
AO
1722001-11-29 Alexandre Oliva <aoliva@redhat.com>
173
3543a2f1
AO
174 * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
175 prefix `+'.
176
55aa1bc4
AO
177 * config/tc-d10v.c (find_opcode): Reject non-SP operand if
178 flags requires SP.
179
1000a02a
NC
1802001-11-29 Arati Dikey <aratid@kpit.com>
181
182 * tc-sh.c (parse_at): Removed case-sensitivity of index register
183 R8, R9.
184
f7460f5f
JJ
1852001-11-28 Jakub Jelinek <jakub@redhat.com>
186
187 * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used
188 in reloc if it has non-zero addend.
189 * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check.
190 * config/tc-sparc.c (md_apply_fix3): Likewise.
191
acebd4ce
AS
1922001-11-28 Andreas Schwab <schwab@suse.de>
193
194 * as.c (parse_args): Call md_after_parse_args if defined.
195 * config/tc-ia64.h (md_after_parse_args): Define.
196 * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs.
197 * doc/internals.texi (CPU backend): Document md_after_parse_args.
198
f8df10f4
JJ
1992001-11-23 Jakub Jelinek <jakub@redhat.com>
200
201 * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test.
202 * write.c (adjust_reloc_syms): Don't handle relocs against
203 SEC_MERGE section symbols specially.
204 (fixup_segment): Likewise.
205
add55e1f
RS
2062001-11-21 Richard Sandiford <rsandifo@redhat.com>
207
208 * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
209 (md_apply_fix3): ...here. Don't prevent the symbol value being
210 subtracted twice from GPREL addends.
211 (tc_gen_reloc): Add the symbol value to a GPREL addend if it was
212 subtracted by the previous function.
213
a6567fe0
NC
2142001-11-20 Nick Clifton <nickc@cambridge.redhat.com>
215
216 * config/tc-avr.c (md_apply_fix3): Fix typo introduced by
217 md_apply_fix3 change.
218
f021c2a7
BE
2192001-11-20 Ben Elliston <bje@redhat.com>
220
221 * config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
222 usage after md_apply_fix3 cleanups.
223
13f7ad58
HPN
2242001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
225
226 * doc/c-mmix.texi: Use texinfo 4 features.
227 (MMIX-mmixal): Fix typo.
228
451a1fc5
HPN
2292001-11-17 Hans-Peter Nilsson <hp@axis.com>
230
231 * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
232 val assignment.
233
1ea5c325
MS
2342001-11-16 Michael Snyder <msnyder@redhat.com>
235
236 * stabs.c (stabs_generate_asm_lineno): Remember file and line number
237 from one call to the next, and eliminate consecutive duplicates
238 (thereby emitting only one line symbol per source line).
239 * dwarf2dbg.c (dwarf2_gen_line_info): Ditto.
240
bbe8ef22
AM
2412001-11-16 Alan Modra <amodra@bigpond.net.au>
242
243 * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
244
e0ac8af0
L
2452001-11-15 H.J. Lu <hjl@gnu.org>
246
247 * config/tc-hppa.c (md_apply_fix3): Fix a typo.
248
5ce56ab9
L
2492001-11-15 H.J. Lu <hjl@gnu.org>
250
251 * config/tc-alpha.c (md_apply_fix3): Fix a typo.
252
94f592af
NC
2532001-11-15 Nick Clifton <nickc@cambridge.redhat.com>
254
f021c2a7 255 * write.c (fixup_segment): Remove references to md_apply_fix and
94f592af
NC
256 TC_HANDLE_FX_DONE.
257 * cgen.c, config/obj-coff.c, config/tc-*.c: Update all occurances
258 of md_apply_fix to md_apply_fix3.
259 Make all md_apply_fix3 functions void.
260 * cgen.h, config/obj-coff.h, tc-*.h: Remove all definitions of
261 MD_APPLY_FIX3 and TC_HANDLE_FX_DONE.
262 * doc/internals.texi: Update references to md_apply_fix3.
263 * tc.h: Update prototype for md_apply_fix3.
264
c86380b5
AM
2652001-11-15 Alan Modra <amodra@bigpond.net.au>
266
a847613f
AM
267 * config/tc-i386.h (md_end): Define.
268 (i386_elf_emit_arch_note): Declare.
269 (CpuUnknown): Delete.
270 * config/tc-i386.c (default_arch): Constify.
271 (smallest_imm_type): Remove CpuUnknown test.
272 (md_assemble): Don't bother checking cpu_arch_flags non-zero.
273 (i386_elf_emit_arch_note): New function.
274
c86380b5
AM
275 * po/POTFILES.in: Regenerate.
276
645dc66c
TS
2772001-11-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
278
279 * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
280
802a735e
AM
2812001-11-15 Alan Modra <amodra@bigpond.net.au>
282
33861b11
AM
283 * frags.c (frag_grow): Revert last change.
284
7c2b59d0
AM
285 * dwarf2dbg.c (get_frag_fix): Align last frag size.
286
802a735e
AM
287 * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
288 to operand->insert.
289 (md_assemble): Likewise.
290
c1a44b08
NC
2912001-11-12 Nick Clifton <nickc@cambridge.redhat.com>
292
293 * frags.c (frag_grow): Use frag_make_room() to grow the
294 obstack.
295
42ebd756
NC
2962001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
297
298 * config/tc-sparc.c (md_apply_fix3): Do not remove the symbol's
299 value from the addend for fixups against local symbols in
300 SEC_MERGE sections - it was not added in, in the first place.
301
6e917903
TW
3022001-11-11 Timothy Wall <twall@alum.mit.edu>
303
304 * write.c (relax_segment): Convert symbol address into an octet
305 offset prior to adding to the frag address, which is an octet
306 offset. Add comments to that effect.
307 * config/tc-tic54x.c: Fix bugs causing tests to fail.
308 * config/tc-tic54x.h: Ditch PARAMS macro.
d11008e1 309
e4afe742
AM
3102001-11-13 Alan Modra <amodra@bigpond.net.au>
311
312 * config/obj-elf.c (obj_elf_version): Ensure terminating NUL is
313 put in note section. Use sizeof instead of hard-coded constants.
314
ae948b86
TS
3152001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
316
317 * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only.
318 (md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow
319 OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation.
320 Sort options a bit more logical.
321 (md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64,
322 OPTION_MABI only for elf targets.
323
2396cfb9
TS
3242001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
325
326 * config/tc-mips.c (set_at): Add cast needed for varargs.
327 (load_register): Likewise.
328 (macro): Likewise. Some code reformatting.
329 (macro2): Add cast needed for varargs.
330 (mips16_macro): Likewise.
331
c4e7957c
TS
3322001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
333
334 * config/tc-mips.c (md_assemble): Remove superflous casts.
335 (append_insn): Likewise.
336 (mips16_macro_build): Likewise.
337 (macro): Likewise.
338 (mips16_ip): Likewise.
339 (s_cpload): Likewise.
340 (mips_relax_frag): Likewise.
341
a325df1d
TS
3422001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
343
344 * config/tc-mips.c (mips_abi_level): Move in front of
345 mips_set_options.
346 (mips_set_options): Add members gp32, fp32, abi.
347 (file_mips_gp32): New flag.
348 (file_mips_fp32): New flag.
349 (mips_opts): Initialize the new members.
350 (mips_gp32): Remove.
351 (mips_fp32): Remove.
352 (HAVE_32BIT_GPRS): Use the new values from mips_opts.
353 (HAVE_32BIT_FPRS): Likewise.
354 (HAVE_NEWABI): Likewise.
355 (HAVE_64BIT_OBJECTS): Likewise.
356 (md_begin): Likewise. Save default (file) values.
357 (md_parse_option): Use the new values from mips_opts.
358 (s_mipsset): Likewise. Fix logic to keep the ABI selection if
359 possible. Let .set mipsN work together with .set push/pop.
360 Enhance error messages.
361 (mips_elf_final_processing): Use file_mips_* for header processing.
362
1f8ae5e6
DC
3632001-11-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
364
365 * config/tc-avr.c (mcu_types): Update for new devices.
366
e4afe742 3672001-11-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
a4fb0134
SC
368
369 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for
370 the page man title.
371 * doc/Makefile.in: Rebuild.
372 * doc/as.texinfo: Do not put man SEEALSO in document;
373 Use @command for commands, @option for options; Reorganize usage
374 to clearly identify target specific options.
375
d993a84e
TS
3762001-11-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
377
378 * config/tc-mips.c (mips_force_relocation): Remove duplicate code.
379
76b3015f
EC
3802001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
381
382 * config/tc-mips.c (my_getSmallParser): Fix small parser bug.
383
b8edc45c
MS
3842001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
385
386 * config/tc-s390.c (tc_s390_force_relocation): Force all relocations
387 that need the global offset table.
388 (md_apply_fix3): Add code to undo opertions done in fixup_segment
389 triggered by TC_FORCE_RELOCATION.
390 * config/tc-s390.h (TC_FORCE_RELOCATION): Replace macro code with
391 a call to function tc_s390_force_relocation.
392 (TC_FIX_ADJUSTABLE): Define.
393
9fb9af6e
CD
3942001-11-04 Chris Demetriou <cgd@broadcom.com>
395
396 * configure.in (mips-*-netbsd*): Add support for target.
397 * configure: Regenerate.
398
db94471d
NC
3992001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
400
401 * configure.in (ALL_LINGUAS): Add 'fr'.
402 * configure: Regernate.
403 * po/fr.po: New file. Obtained from the translation project web
404 site.
405
4062001-11-02 Richard Earnshaw <rearnsha@arm.com>
c9b604bd
RE
407
408 * tc-arm.c: Re-arrange prototypes by architecture.
409 (insns): Re-arrange instructions by archtitecture. Pld instruction
410 is part of ARMv5E.
411 (tinsns): blx and bkpt are part of ARMv5T.
412 (do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
413 to do_fpa_*. All callers changed.
414
76b3015f 415 * tc-arm.c (insns): Add two temporary instructions to handle
c9b604bd
RE
416 ldrd/strd.
417
4fe7ef96
SC
4182001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
419
420 * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
421 for bra/bsr and use frag_variant(), this ensure that the possible
422 16-bit BFD_RELOC_16 will be in the same frag.
423
afdbd6d0
CD
4242001-10-31 Chris Demetriou <cgd@broadcom.com>
425
426 * config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
427 PIC code, assume pointers the same size as GPRs.
428 (macro): In M_LA_AB handling for embedded PIC code, support
429 "la $treg,foo-bar($breg)". In load/store handling
430 (label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
431 which is used by the compiler for switch statements.
432 In load/store double multi-instruction macro handling
433 (label ldd_std) add a comment that no special handling
434 is currently done for embedded PIC.
435 (mips_ip): In 'o' (16-bit offset) case, only accept 16
436 bit offsets.
437
b89dddec
RE
4382001-10-31 Richard Earnshaw <rearnsha@arm.com>
439
440 General cleanup of feature definitions.
441 * tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
442 (ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
443 (FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
444 (ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
445 (ARM_EXT_V{5,5E}): Synchronize with above.
446 (ARM_ARCH_V*): Define a complete set in terms of above features.
447 (ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
448 (FPU_FPA_EXT_V[12]): Define.
449 (FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
450 (FPU_ANY): Define.
451 (FPU_DEFAULT): Default to FPA.
452 (CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
453 Thumb, this is now ARM_ARCH_V5T.
454 (insns): Rework for new feature defines.
455 (tinsns): Likewise.
456 (opcode_select, do_ldst, md_begin, md_parse_option): Likewise.
457
7649aa50
NC
4582001-10-31 NIIBE Yutaka <gniibe@m17n.org>
459
460 * configure.in: Handle sh*eb-*-linux* and sh*-*-linux*.
461 * configure: Regenerate.
462 * Makefile.in: Regenerate.
463 * doc/c-sh.texi (SH Options): Added descriptions.
464
3c3bdf30
NC
4652001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
466
467 * configure.in: Update for MMIX port.
468 * Makefile.am: Ditto. Regenerate dependencies.
469 * Makefile.in: Regenerate.
470 * configure: Regenerate.
471 * config/tc-mmix.h, config/tc-mmix.c: New files.
472 * doc/Makefile.am (CPU_DOCS): Add c-mmix.texi
473 * doc/Makefile.in: Regenerate.
474 * doc/all.texi: @set MMIX.
475 * doc/as.texinfo: Ditto. Add MMIX gas manpage option overview.
476 Include c-mmix.texi.
477 * doc/c-mmix.texi: New file.
478
0a758a12
CD
4792001-10-24 Chris Demetriou <cgd@broadcom.com>
480
481 * config/tc-mips.c (hilo_interlocks, cop_interlocks): Make
482 these evaluate to true if mips_arch indicates SB-1.
483
6c19f338
AM
4842001-10-23 Alan Modra <amodra@bigpond.net.au>
485
486 * as.c (parse_args): Print the date as well for --version.
487
2e4acd24
CD
4882001-10-20 Chris Demetriou <cgd@broadcom.com>
489
490 * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom
491 SB-1 CPU for consistency.
492 (mips_cpu_info_table): Tweak comment about SB-1.
493
8420dfca
L
4942001-10-20 H.J. Lu <hjl@gnu.org>
495
496 * config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit.
497 (cirrus_parse_offset): Likewise.
498
da89cce1
NC
4992001-10-19 Nick Clifton <nickc@cambridge.redhat.com>
500
501 * config/tc-arm.c: Restore line_comment_chars.
502
f57c81f6
NC
5032001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
504
505 * config/tc-arm.c (comment_chars): Remove semi-colon accidentally
506 added to the list.
507
e5eeb0dd 5082001-10-18 Hans-Peter Nilsson <hp@bitrange.com>
7e9250a3
HPN
509
510 * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
511 for undefined symbols.
512
4058e45f
CD
5132001-10-17 Chris Demetriou <cgd@broadcom.com>
514
515 * doc/as.texinfo (MIPS ISA options): Added accidentally
516 omitted "-mips64" option to list of options.
517
f5c120c5
MG
5182001-10-17 matthew green <mrg@redhat.com>
519
520 * config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400,
521 -m7410, -m7450 and -m7455 options.
522
15c1449b
AM
5232001-10-17 Alan Modra <amodra@bigpond.net.au>
524
525 * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
526 (ppc_size): Select PPC_OPCODE_64 if 64 bit.
527 (md_begin): Don't set ppc_size here.
528 (ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE.
529 (md_shortopts): Constify.
530 (md_longopts): Likewise.
531 (md_longopts_size): Likewise.
532 (ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies
533 64-bit opcodes.
534 (ppc_machine): Explain why this function is a nop.
535
c1e4eef7
AM
5362001-10-17 Alan Modra <amodra@bigpond.net.au>
537
d3ecfc59
AM
538 * bit_fix.h: Comment typo fix.
539 * config/tc-mips.c: Likewise.
540 * config/tc-sh.c: Likewise.
541 * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
542
c1e4eef7
AM
543 * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
544 that autoheader doesn't duplicate config.in entries.
545 (DEFAULT_ARCH): Ditto.
546 * configure: Regenerate.
547 * config.in: Regenerate.
548
18566f55
AM
5492001-10-16 Alan Modra <amodra@bigpond.net.au>
550
551 From Andrew Pines <apines@cosmodog.com>
552 * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
553
05982cac
HPN
5542001-10-16 NIIBE Yutaka <gniibe@m17n.org>,
555 Hans-Peter Nilsson <hp@bitrange.com>
556
557 * config/tc-sh.c (shl): Remove.
558 (big): New function.
559 (little): Remove shl handling. Emit error for endian mismatch.
560 (md_show_usage): Add description of -big.
561 (md_parse_option): Handle OPTION_BIG. Remove shl handling.
562 (OPTION_BIG): Add.
563 (md_pseudo_table): Add .big.
564 (md_longopts): Add -big.
565 (md_begin): Don't set target_big_endian here.
566 * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove.
567 (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian.
568 (shl): Remove.
569 * configure.in (endian): Default is big.
570 (sh-*-pe*): Little endian.
571 (cpu_type): Set sh for target sh*.
572 * configure: Regenerate.
573
e369bcce
TS
5742001-10-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
575
576 * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
577 relocations.
578
232431a0
NC
5792001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
580
05d2d07e
NC
581 * config/tc-arm.c: Replace CONST with const.
582
232431a0
NC
583 * cgen.c: Tidy up formatting.
584
418c1742
MG
5852001-10-12 matthew green <mrg@redhat.com>
586
587 * config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455
588 flags, equivalent to -m7400. New -maltivec to enable AltiVec
589 instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable
590 64-bit and 32-bit BookE support, respectively. Change -m403 and
591 -m405 to set PPC403 option.
592 (md_show_usage): Adjust for new options.
593 * doc/all.texi: Set PPC.
594 * doc/as.texinfo: Add PPC support and pull in c-ppc.texi.
595 * doc/c-ppc.texi: New file.
596 * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi.
597 * doc/Makefile.in: Regenerate.
598
65bf64b3
NC
5992001-10-12 Nick Clifton <nickc@cambridge.redhat.com>
600
7f28ab9d
NC
601 * read.c (s_bad_endr): New function. Issues a warning message
602 about a bad use of the .rept pseudo op.
603 (po_table[]): Add .endr.
604 * read.h: Prototype s_bad_endr.
605
65bf64b3
NC
606 * CONTRIBUTORS: Update contact email address.
607
b6ff326e
KH
6082001-10-11 Kazu Hirata <kazu@hxi.com>
609
610 * config/tc-alpha.c: Fix comment typos.
611 * config/tc-cris.c: Likewise.
612 * config/tc-hppa.c: Likewise.
613 * config/tc-i370.c: Likewise.
614 * config/tc-mips.c: Likewise.
615 * config/tc-mn10200.c: Likewise.
616 * config/tc-mn10300.c: Likewise.
617 * config/tc-sh.c: Likewise.
618 * config/tc-tahoe.c: Likewise.
619 * config/tc-v850.c: Likewise.
620
3b37fd66
KH
6212001-10-11 Kazu Hirata <kazu@hxi.com>
622
623 * app.c: Fix comment typos.
624 * bit_fix.h: Likewise.
625 * expr.c: Likewise.
626 * itbl-ops.c: Likewise.
627
685bd869
NC
6282001-10-11 Nick Clifton <nickc@cambridge.redhat.com>
629
630 * input-file.c: Include safe-ctype.h.
631 (input_file_open): Use ISSPACE instead of isspace.
632
6478892d
TS
6332001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
634
635 * config/tc-mips.c (mips_cpreturn_offset): New variable.
636 (mips_cpreturn_register): Likewise.
637 (mips_gp_register): Likewise.
638 (s_cpsetup): New function prototype.
639 (s_cplocal): Likewise.
640 (s_cpreturn): Likewise.
641 (s_gpvalue): Likewise.
642 (mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
643 pseudo-ops.
644 (macro): Don't warn about .cprestore for NewABI.
645 (md_pcrel_from): Code cleanup.
646 (mips_force_relocation): Force output of some NewABI relocations even
647 without a defined symbol.
648 (s_cpload): Ignore .cpload for NewABI.
649 (s_cpsetup): Handle .cpsetup.
650 (s_cplocal): Handle .cplocal.
651 (s_cprestore): Ignore .cprestore for NewABI.
652 (s_cpreturn): Handle .cpreturn.
653 (s_gpvalue): Handle .gpvalue.
654 (s_cpadd): Ignore .cpadd for NewABI.
655 (nopic_need_relax): Take g_switch_value into account as gp
656 optimization.
657 (tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.
658
ad8d3bb3
TS
6592001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
660
661 * config/tc-mips.c (my_getSmallParser): New function prototype.
662 (small_ex_type): Named this enum, more return values for
663 my_getSmallExpression.
664 (mips_ip): Allow SPC and HT between arguments. Handle some NewABI
665 triple relocations. Protect some parts with ifdef OBJ_ELF.
666 (percent_op_match): New struct, lookup table for %some_reloc().
667 (my_getSmallParser): New function, parses nested percent_ops also.
668 (my_getSmallExpression): Rewite to support nested percent_ops.
669
d6bc6245
TS
6702001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
671
672 * config/tc-mips.c
673 (load_address): Support both 32- and 64-bit addresses.
674 (macro): Call load_register correctly. Expand 64-bit loads ans stores.
675 (macro2): Call load_address correctly.
676
a5d2034a
NC
6772001-10-09 Christian Groessler <cpg@aladdin.de>
678
679 * config/tc-z8k.c: Include opcodes/z8k-opc.h after bfd.h
680 since z8k-opc.h now uses the PARAMS macro.
681
90f9b791
AH
6822001-10-09 Aldy Hernandez <aldyh@redhat.com>
683
684 * config/tc-arm.c: Change MAVERIK to MAVERICK.
685
aa1f4858
AM
6862001-10-09 Alan Modra <amodra@bigpond.net.au>
687
688 * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
689 throughout file.
690 (obj_elf_change_section): Rename "group" to "group_name".
691 (obj_elf_section): Likewise.
692 (elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store
693 first member section; Instead use elf_next_in_group.
694
060adf0e
AM
6952001-10-09 Alan Modra <amodra@bigpond.net.au>
696
697 * config/obj-elf.c: (obj_elf_change_section): Add "group" param.
698 Set elf_section_data group from it. Warn if group name changed.
699 (obj_elf_parse_section_letters): Parse 'G' too.
700 (obj_elf_section): Parse group name.
701 (struct group_list): New.
702 (build_group_lists): New function.
703 (elf_frob_file): Create SEC_GROUP section(s).
704
705 * config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing
706 whitespace.
707
8913d9db
AH
7082001-10-08 Aldy Hernandez <aldyh@redhat.com>
709
710 * doc/arm/c-arm.texi (ARM Options): Add arm9e documentation.
711
404ff6b5
AH
712 * config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
713 (cirrus_regtype): New enum.
714 (LONGEST_INST): Change to 10.
715 (CIRRUS_MODE1): New.
716 (CIRRUS_MODE2): New.
717 (CIRRUS_MODE3): New.
718 (CIRRUS_MODE4): New.
719 (CIRRUS_MODE5): New.
720 (CIRRUS_MODE6): New.
721 (insns): Add cirrus dsp instructions.
722 (ARM_EXT_MAVERIKSC_REG): New.
723 (cirrus_register): New.
724 (cirrus_mvf_register): New.
725 (cirrus_mvd_register): New.
726 (cirrus_mvfx_register): New.
727 (cirrus_mvdx_register): New.
728 (cirrus_mvax_register): New.
729 (ARM_EXT_MAVERIKsc_register): New.
730 (reg_table): Add cirrus registers.
731 (cirrus_valid_reg): New.
732 (cirrus_reg_required_here): New.
733 (do_c_binops_1): New.
734 (do_c_binops_2): New.
735 (do_c_binops_3): New.
736 (do_c_triple_4): New.
737 (do_c_triple_5): New.
738 (do_c_quad_6): New.
739 (do_c_dspsc_1): New.
740 (do_c_dspsc_2): New.
741 (do_c_shift_1): New.
742 (do_c_shift_2): New.
743 (do_c_ldst_1): New.
744 (do_c_ldst_2): New.
745 (do_c_ldst_3): New.
746 (do_c_ldst_4): New.
747 (do_c_binops): New.
748 (do_c_triple): New.
749 (do_c_quad): New.
750 (do_c_dspsc): New.
751 (do_c_shift): New.
752 (cirrus_parse_offset): New.
753 (do_c_ldst): New.
754 (md_parse_option): Add arm9e.
755 (md_show_usage): Same.
756
8642cce8
TR
7572001-10-08 Tom Rix <trix@redhat.com>
758
76b3015f 759 * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to
8642cce8
TR
760 location of next .bf
761 * config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx.
762
6ce8b369
AM
7632001-10-07 Alan Modra <amodra@bigpond.net.au>
764
765 * config/obj-elf.c: Standardize error/warning messages - don't
766 capitalise, no final period or newline, don't say "ignoring" for
767 as_bad messages. In some cases, change the wording to that used
768 elsewhere for similar messages.
769 (obj_elf_section_name): New function, split out from ..
770 (obj_elf_section): .. here. Correctly mask off SHF_MERGE if
771 entsize not specified.
772
ec38dd05
JJ
7732001-10-05 Jakub Jelinek <jakub@redhat.com>
774
775 * doc/as.texinfo: Document M and S ELF section flags.
776
ebeb9253
AM
7772001-10-05 Alan Modra <amodra@bigpond.net.au>
778
779 * subsegs.c (subseg_text_p): Return 0 for absolute section.
780 * read.c (do_align): If in absolute section, warn about and ignore
781 non-zero fill pattern.
782
7dc8f5ce
AO
7832001-10-05 Alexandre Oliva <aoliva@redhat.com>
784
785 * config/tc-mn10300.c (tc_gen_reloc): Don't free
786 reloc->sym_ptr_ptr if it's not allocated.
787
f6688943
TS
7882001-10-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
789
790 * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
791 relocation triple.
792 (prev_insn_fixp): Likewise.
793 (append_insn): Changed prototype to accept a relocation pointer.
794 (imm_reloc): Make it an array.
795 (offset_reloc): Likewise.
796 (md_assemble): Handle triple relocations.
797 (append_insn): Likewise. Add handling for some NewABI relocations.
798 (mips_no_prev_insn): Handle triple relocations.
799 (macro_build): Likewise. Add handling for some NewABI relocations.
800 Move handling for the 'u' case to append_insn().
801 (mips16_macro_build): Handle triple relocations.
802 (macro_build_lui): Likewise. Don't handle _gp_disp as special symbol
803 for NewABI.
804 (mips_ip): Handle triple relocations.
805 (mips16_ip): Likewise.
806 (mips_force_relocation): Force handling of triple relocations
807 without symbols for NewABI.
808 (md_apply_fix): Add handling for some NewABI relocations.
809
1ae00879
AM
8102001-10-05 Alan Modra <amodra@bigpond.net.au>
811
812 * config/tc-i386.c (parse_register): If not producing code for
813 x86_64, reject x86_64 register name matches.
814 (md_assemble): Remove now redundant check for x86_64 regs.
815
9c7977b3
AM
8162001-10-04 Alan Modra <amodra@bigpond.net.au>
817
818 * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
819 as BFD_DEFAULT_TARGET_SIZE.
820 (ppc_tc): Likewise.
821 (ppc_is_toc_sym): Likewise.
822 (md_apply_fix3): Likewise.
823
e013f690
TS
8242001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
825
826 * config/tc-mips.c (mips_64): Remove.
827 (mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS
828 in it.
829 (mips_abi_level, mips_abi): New enum.
830 (mips_32bit_abi): Remove.
831 (HAVE*PRS): Use mips_abi instead of mips_32bit_abi.
832 (HAVE_NEWABI): New define.
833 (HAVE_64BIT_OBJECTS): New define.
834 (HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects.
835 (HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES.
836 (support_64bit_objects): New prototype.
837 (md_begin): Use mips_abi instead of mips_32bit_abi. Don't write
838 .reginfo section for n32, use .MIPS.options instead.
839 (support_64bit_objects): New function, code from md_parse_option.
840 (md_longopts): Add -n32 option.
841 (md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64.
842 Add -n32 option. Protect with OBJ_ELF.
843 (s_mipsset): Use mips_abi instead of mips_32bit_abi.
844 (mips_elf_final_processing): Likewise. Don't write .reginfo section
845 for n32, use .MIPS.options instead.
846
fcd8210c
AM
8472001-10-03 Alan Modra <amodra@bigpond.net.au>
848
181ddcac 849 * po/POTFILES.in: Regenerate.
fcd8210c
AM
850 * configure: Regenerate.
851
403487ec
AM
8522001-10-02 Alan Modra <amodra@bigpond.net.au>
853
32a5aae2
AM
854 * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
855 bits if target is 64 bit.
856
f97d5f7c
AM
857 * doc/as.texinfo (listing): Fix typo.
858
403487ec
AM
859 * as.c (print_version_id): Use BFD_VERSION_STRING in place of
860 BFD_VERSION.
861 * Makefile.am (Makefile): Depend on bfd/configure.in.
862 Run "make dep-am".
863 * Makefile.in: Regenerate.
864
34105363
L
8652001-09-30 H.J. Lu <hjl@gnu.org>
866
867 * config/obj-elf.c (obj_elf_parse_section_letters): Accept "am"
868 and "ams" for compatibility.
869
79ad6e94 8702001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
ef17112f
HPN
871
872 * config/tc-sh.c (md_pcrel_from_section): Transformed from
873 md_pcrel_from. Handle pc-relativeness against link-time
874 symbol. Handle relativeness to elsewhere than the fixup.
79ad6e94
HPN
875 * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
876 (md_pcrel_from_section): Prototype.
528a2d4a
HPN
877
878 * Makefile.am: Update dependencies with "make dep-am".
879 * Makefile.in: Regenerate.
880
27302d63
SC
8812001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
882
883 * config/tc-m68hc11.c (cmp_opcode): Define prototype.
884 (print_opcode_format, skip_whites): Likewise.
885 (convert_branch, m68hc11_new_insn): Likewise.
886 (build_dbranch_insn, build_indexed_byte): Likewise.
887 (build_reg_mode, find, find_opcode): Likewise.
888 (print_insn_format): Fix call to print_opcode_format.
889 (md_assemble): Fix call to build_dbranch_insn.
890
2c20dfb2
NC
8912001-09-27 Nick Clifton <nickc@cambridge.redhat.com>
892
893 * config/tc-arm.c: Add missing prototypes.
894
1fd716b9
JJ
8952001-09-26 Jeff Johnston <jjohnstn@redhat.com>
896
897 * input-file.c (input_file_open): When reading the
898 first line looking for #NO_APP, prepare for the possibility
899 of finding #APP instead. Also fix algorithm to allow
900 white-space to follow either #NO_APP or #APP directives.
901
97735a42
AM
9022001-09-25 Geoff Berry <geoff.berry@bops.com>
903
904 * listing.c (buffer_line): Don't write past the end of `line' when
905 EOF is reached.
906
6e22e505
AO
9072001-09-25 Alexandre Oliva <aoliva@redhat.com>
908
909 * config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
910 relocation for differences between symbols in a section other
911 than the one in which the difference is to be placed; apply
912 the relocation instead.
913
89b57c9a
NC
9142001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
915
916 * config/tc-arc.c: Add missing prototype.
917 (md_atof): Change type to int. Add missing prototype.
918 * config/tc-arc.h: Prototype exported functions.
919
a80076a1
NC
9202001-09-22 Nick Clifton <nickc@cambridge.redhat.com>
921
922 * as.c: Add missing function prototype.
923 * config/obj-aout.c: Fix compile time warning.
924
7146a6f5
AM
9252001-09-21 Bruno Haible <haible@clisp.cons.org>
926
927 * config/tc-openrisc.c: Don't include <ctype.h>.
928
16a419ba
NC
9292001-09-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
930
931 * gas/config/tc-s390.c: Add option -mwarn-areg-zero.
932
44addf7f
AM
9332001-09-19 Alan Modra <amodra@bigpond.net.au>
934
935 * config/tc-i370.c: Fix typo in last change.
936
2d5aaba0
NC
9372001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
938
939 * doc/as.texinfo (Symbol Names): Improve documentation on local
940 labels and add documenation about dollar labels.
941
3882b010
L
9422001-09-18 Bruno Haible <haible@clisp.cons.org>
943
944 * as.h: Don't include <ctype.h>.
945 * as.c (main): For gettext, also set the LC_CTYPE locate facet.
946 * atof-generic.c: Include "safe-ctype.h" instead of <ctype.h>.
947 (atof_generic): Use ISDIGIT instead of isdigit.
948 * config/m68k-parse.y: Include "safe-ctype.h".
949 (yylex): Use ISDIGIT/ISALNUM instead of isdigit/isalnum.
950 * config/obj-elf.c: Include "safe-ctype.h".
951 (obj_elf_vtable_inherit): Use ISSPACE instead of isspace.
952 * config/obj-vms.c: Include "safe-ctype.h".
953 (Write_VMS_MHD_Records): Use TOUPPER instead of islower/toupper.
954 (VMS_Case_Hack_Symbol): Use ISUPPER/ISLOWER/TOUPPER/TOLOWER
955 instead of isupper/islower/toupper/tolower.
956 * config/tc-a29k.c: Include "safe-ctype.h" instead of <ctype.h>.
957 (insert_sreg): Use TOUPPER instead of islower/toupper.
958 (machine_ip): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead of
959 isalpha/isalnum/isupper/tolower.
960 (a29k_unrecognized_line, md_operand): Use ISDIGIT instead of
961 isdigit.
962 * config/tc-alpha.c: Include "safe-ctype.h" instead of <ctype.h>.
963 (md_undefined_symbol, s_alpha_ent): Use ISDIGIT instead of isdigit.
964 * config/tc-arc.c: Include "safe-ctype.h" instead of <ctype.h>.
965 (md_assemble): Use ISSPACE/ISALNUM instead of isspace/isalnum.
966 (arc_extoper): Use TOLOWER instead of isupper/tolower.
967 * config/tc-arm.c: Include "safe-ctype.h" instead of <ctype.h>.
968 (arm_psr_parse): Use ISALPHA instead of isalpha.
969 (accum0_required_here): Use ISALNUM instead of isalnum.
970 (do_ldrd): Use ISSPACE instead of isspace.
971 (decode_shift): Use ISALPHA instead of isalpha.
972 (insert_reg): Use TOUPPER instead of islower/toupper.
973 (arm_reg_parse): Use ISALPHA instead of isalpha.
974 (arm_parse_reloc): Use ISALNUM/ISPUNCT/TOLOWER instead of
975 isalnum/ispunct/tolower.
976 * config/tc-avr.c: Include "safe-ctype.h" instead of <ctype.h>.
977 (md_parse_option): Use TOLOWER instead of tolower.
978 (avr_operand): Use ISDIGIT/TOLOWER instead of isdigit/tolower.
979 * config/tc-cris.c: Include "safe-ctype.h" instead of <ctype.h>.
980 (cris_process_instruction): Use ISLOWER instead of islower.
981 (get_gen_reg): Use ISALNUM/ISDIGIT instead of isalnum/isdigit.
982 (get_spec_reg): Use TOLOWER/ISALNUM instead of isupper/tolower/isalnum.
983 (get_flags): Use ISSPACE instead of isspace.
984 * config/tc-d10v.c: Include "safe-ctype.h" instead of <ctype.h>.
985 (do_assemble): Use TOLOWER instead of tolower.
986 * config/tc-d30v.c: Include "safe-ctype.h" instead of <ctype.h>.
987 (do_assemble): Use TOLOWER instead of tolower.
988 (d30v_start_line): Use ISSPACE instead of isspace.
989 * config/tc-fr30.c: Include "safe-ctype.h" instead of <ctype.h>.
990 (fr30_is_colon_insn): Use TOLOWER instead of tolower.
991 * config/tc-h8300.c: Include "safe-ctype.h" instead of <ctype.h>.
992 (skip_colonthing, get_operand): Use ISDIGIT instead of isdigit.
993 * config/tc-h8500.c: Include "safe-ctype.h" instead of <ctype.h>.
994 (start_label): Use ISALPHA instead of isalpha.
995 * config/tc-hppa.c: Include "safe-ctype.h" instead of <ctype.h>.
996 (pa_ip): Use ISUPPER/ISLOWER/TOLOWER instead of
997 isupper/islower/tolower.
998 (pa_parse_number): Use ISDIGIT instead of isdigit.
999 (pa_chk_field_selector): Use TOLOWER instead of tolower.
1000 (pa_stringer): Use ISDIGIT instead of isdigit.
1001 * config/tc-i370.c: Include "safe-ctype.h" instead of <ctype.h>.
1002 (register_name): Use ISALPHA instead of isalpha.
1003 (i370_elf_suffix): Use ISALNUM/TOLOWER instead of
1004 isalnum/islower/tolower.
1005 (i370_addr_offset): Use ISDIGIT/ISALPHA instead of
1006 isdigit/isalpha.
1007 (i370_addr_cons): Use ISALPHA/ISXDIGIT instead of
1008 isalpha/isxdigit.
1009 (md_assemble): Use ISSPACE instead of isspace.
1010 * config/tc-i386.c: Include "safe-ctype.h" instead of <ctype.h>.
1011 (md_begin): Use ISDIGIT/ISLOWER/ISUPPER/TOLOWER/ISALPHA
1012 instead of isdigit/islower/isupper/tolower/isalpha.
1013 (output_invalid): Use ISPRINT instead of isprint.
1014 * config/tc-i860.c: Include "safe-ctype.h" instead of <ctype.h>.
1015 (i860_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
1016 * config/tc-i960.c: Include "safe-ctype.h" instead of <ctype.h>.
1017 (get_args): Use ISALNUM instead of isalnum.
1018 * config/tc-ia64.c: Include "safe-ctype.h".
1019 (dot_pred_rel): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
1020 (ia64_unrecognized_line): Use ISDIGIT instead of isdigit.
1021 (ia64_parse_name): Likewise.
1022 * config/tc-m32r.c: Include "safe-ctype.h" instead of <ctype.h>.
1023 (assemble_two_insns): Use ISSPACE/ISALNUM/ISUPPER/TOLOWER
1024 instead of isspace/isalnum/isupper/tolower.
1025 * config/tc-m68hc11.c: Include "safe-ctype.h" instead of <ctype.h>.
1026 (md_assemble): Use TOLOWER/ISALNUM instead of tolower/isalnum.
1027 * config/tc-m68k.c: Include "safe-ctype.h" instead of <ctype.h>.
1028 (mklower_table): Remove variable.
1029 (mklower): Remove macro.
1030 (insert_reg): Use TOUPPER instead of islower/toupper.
1031 (md_begin): Remove initialization of mklower_table.
1032 (s_reg): Use ISALNUM instead of isalnum.
1033 (mri_assemble): Use ISUPPER/TOLOWER instead of isupper/tolower.
1034 (parse_mri_condition): Use TOLOWER instead of isupper/tolower.
1035 (build_mri_control_operand): Use TOLOWER instead of tolower.
1036 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
1037 * config/tc-m88k.c: Include "safe-ctype.h" instead of <ctype.h>.
1038 (md_assemble): Use ISSPACE instead of isspace.
1039 (get_imm16): Use ISALNUM instead of isalnum.
1040 (get_cnd): Use ISDIGIT/ISUPPER/TOLOWER instead of
1041 isdigit/isupper/tolower.
1042 (get_bf_offset_expression): Use ISALPHA/ISUPPER/TOLOWER
1043 instead of isalpha/isupper/tolower.
1044 (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of
1045 isdigit/islower/isupper.
1046 * config/tc-mcore.c: Include "safe-ctype.h" instead of <ctype.h>.
1047 (mcore_s_section): Use ISSPACE instead of isspace.
1048 (parse_reg): Use ISSPACE/TOLOWER/ISALNUM instead of
1049 isspace/tolower/isalnum.
1050 (parse_creg): Use ISSPACE/TOLOWER instead of isspace/tolower.
1051 (parse_psrmod): Use TOLOWER instead of isascii/tolower.
1052 (parse_exp, parse_mem, md_assemble): Use ISSPACE instead of
1053 isspace.
1054 * config/tc-mips.c: Include "safe-ctype.h" instead of <ctype.h>.
1055 (mips_ip): Use ISSPACE/ISDIGIT instead of isspace/isdigit.
1056 (mips16_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
1057 (my_getSmallExpression): Use ISDIGIT/TOLOWER instead of
1058 isdigit/tolower.
1059 (tc_get_register): Likewise.
1060 (get_number): Use ISDIGIT/ISXDIGIT instead of isdigit/isxdigit.
1061 (s_mips_ent): Use ISDIGIT instead of isdigit.
1062 * config/tc-mn10200.c: Include "safe-ctype.h" instead of <ctype.h>.
1063 (md_assemble): Use ISSPACE instead of isspace.
1064 * config/tc-mn10300.c: Include "safe-ctype.h" instead of <ctype.h>.
1065 (md_assemble): Use ISSPACE instead of isspace.
1066 * config/tc-ns32k.c: Don't include <ctype.h>.
1067 * config/tc-pdp11.c: Include "safe-ctype.h".
1068 (mklower): Remove function.
1069 (parse_reg): Use TOLOWER instead of mklower.
1070 * config/tc-pj.c: Include "safe-ctype.h".
1071 (md_assemble): Use ISSPACE instead of isspace.
1072 * config/tc-ppc.c: Include "safe-ctype.h" instead of <ctype.h>.
1073 (register_name): Use ISALPHA instead of isalpha.
1074 (ppc_elf_suffix): Use ISALNUM/TOLOWER instead of
1075 isalnum/islower/tolower.
1076 (md_assemble): Use ISSPACE instead of isspace.
1077 (ppc_canonicalize_symbol_name): Use ISLOWER/TOUPPER instead of
1078 islower/toupper.
1079 * config/tc-s390.c: Include "safe-ctype.h" instead of <ctype.h>.
1080 (register_name): Use ISALPHA instead of isalpha.
1081 (s390_elf_suffix, s390_lit_suffix): Use ISALNUM instead of isalnum.
1082 (md_gather_operands, md_assemble, s390_insn): Use ISSPACE instead of
1083 isspace.
1084 * config/tc-sh.c: Include "safe-ctype.h" instead of <ctype.h>.
1085 (sh_elf_suffix): Use ISALNUM/TOLOWER instead of
1086 isalnum/islower/tolower.
1087 (IDENT_CHAR): Use ISALNUM instead of isalnum.
1088 (parse_reg): Use TOLOWER instead of tolower.
1089 (find_cooked_opcode): Use TOLOWER instead of isupper/tolower.
1090 * config/tc-sparc.c: Include "safe-ctype.h" instead of <ctype.h>.
1091 (sparc_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
1092 (parse_keyword_arg): Use ISALNUM instead of isalnum.
1093 * config/tc-tahoe.c: Include "safe-ctype.h".
1094 (tahoe_reg_parse): Use ISDIGIT instead of isdigit.
1095 (tip_op): Use TOLOWER instead of isupper/tolower.
1096 * config/tc-tic30.c: Include "safe-ctype.h".
1097 (md_begin): Use ISLOWER/ISDIGIT/ISUPPER/TOLOWER/ISLOWER/
1098 ISALPHA instead of islower/isdigit/isupper/tolower/islower/isalpha.
1099 (tic30_operand): Use TOLOWER instead of tolower.
1100 (tic30_find_parallel_insn): Likewise.
1101 (output_invalid): Use ISPRINT instead of isprint.
1102 * config/tc-tic54x.c: Include "safe-ctype.h".
1103 (tic54x_asg, tic54x_eval): Use ISALPHA instead of isalpha.
1104 (lookup_version): Use TOUPPER instead of toupper.
1105 (tic54x_var): Use ISALPHA instead of isalpha.
1106 (tic54x_mlib): Use ISSPACE instead of isspace.
1107 (subsym_iscons): Use TOUPPER instead of toupper.
1108 (get_operands): Use ISSPACE instead of isspace.
1109 (is_type): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
1110 (encode_indirect, encode_operand): Use TOUPPER instead of toupper.
1111 (next_line_shows_parallel): Use ISSPACE instead of isspace.
1112 (subsym_get_arg, subsym_substitute): Use ISDIGIT instead of isdigit.
1113 (tic54x_start_line_hook, md_assemble, tic54x_start_label): Use
1114 ISSPACE instead of isspace.
1115 * config/tc-tic80.c: Include "safe-ctype.h".
1116 (md_assemble): Use ISSPACE instead of isspace.
1117 * config/tc-v850.c: Include "safe-ctype.h" instead of <ctype.h>.
1118 (system_register_name): Use ISDIGIT instead of isdigit.
1119 (md_assemble): Use ISSPACE instead of isspace.
1120 * config/tc-vax.c: Include "safe-ctype.h" instead of <ctype.h>.
1121 (vax_reg_parse): Use TOLOWER/ISDIGIT instead of
1122 isupper/tolower/isdigit.
1123 (vip_op): Use TOLOWER instead of isupper/tolower.
1124 * config/tc-w65.c: Don't include <ctype.h>.
1125 * config/tc-z8k.c: Include "safe-ctype.h" instead of <ctype.h>.
1126 (tohex): Use ISDIGIT/ISLOWER instead of isdigit/islower.
1127 (whatreg): Use ISDIGIT instead of isdigit.
1128 * ecoff.c: Include "safe-ctype.h" instead of <ctype.h>.
1129 (ecoff_directive_ent, ecoff_stab): Use ISDIGIT instead of isdigit.
1130 * expr.c: Include "safe-ctype.h" instead of <ctype.h>.
1131 (integer_constant): Use ISALNUM/TOUPPER instead of
1132 isalnum/islower/toupper.
1133 (operand): Use TOLOWER instead of isupper/tolower.
1134 * gasp.c: Include "safe-ctype.h" instead of <ctype.h>.
1135 (sb_strtol, level_0, change_base, doinstr): Use ISDIGIT instead
1136 of isdigit.
1137 (process_assigns, whatcond): Use TOUPPER instead of toupper.
1138 (chartype_init): Use ISALPHA/ISDIGIT instead of isalpha/isdigit.
1139 (main): For gettext, also set the LC_CTYPE locate facet.
1140 * hash.c: Include "safe-ctype.h".
1141 (main): Use TOLOWER instead of isupper/tolower.
1142 * itbl-lex.l: Don't include <ctype.h>.
1143 * listing.c: Include "safe-ctype.h" instead of <ctype.h>.
1144 (listing_newline): Use ISCNTRL instead of isascii/iscntrl. Don't
1145 omit non-ASCII characters.
1146 (debugging_pseudo): Use ISSPACE instead of isspace.
1147 * macro.c: Include "safe-ctype.h" instead of <ctype.h>.
1148 (buffer_and_nest): Use ISALNUM instead of isalnum.
1149 (get_token): Use ISALPHA/ISALNUM instead of isalpha/isalnum.
1150 (define_macro): Use ISUPPER/TOLOWER instead of isupper/tolower.
1151 (macro_expand_body): Use ISALNUM/ISDIGIT/ISUPPER/ISALPHA
1152 instead of isalnum/isdigit/isupper/isalpha.
1153 (check_macro): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead
1154 of isalpha/isalnum/isupper/tolower.
1155 * read.c: Include "safe-ctype.h" instead of <ctype.h>.
1156 (read_a_source_file): Use ISUPPER/TOLOWER/ISDIGIT instead of
1157 isupper/tolower/isdigit.
1158 (s_mri_common): Use ISDIGIT instead of isdigit.
1159 (s_mri_sect): Use ISDIGIT/TOUPPER instead of isdigit/toupper.
1160 (s_float_space): Use ISALPHA instead of isalpha.
1161 (ignore_rest_of_line): Use ISPRINT instead of isprint.
1162 (float_cons): Use ISALPHA instead of isalpha.
1163 (next_char_of_string): Use ISDIGIT/ISXDIGIT instead of
1164 isdigit/isxdigit.
1165 * symbols.c: Include "safe-ctype.h" instead of <ctype.h>.
1166 (save_symbol_name): Use ISLOWER/TOUPPER instead of
1167 islower/toupper.
1168 (symbol_find_base): Use TOUPPER instead of islower/toupper.
1169 (decode_local_label_name): Use ISDIGIT instead of isdigit.
1170
b6849f55
NC
11712001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
1172
1173 * tc-s390.c (s390_insn): Add code to cope with 6 byte O_constants
1174 in 64 bit mode and make format "e" work.
1175
0e1a166b
AM
11762001-09-18 Alan Modra <amodra@bigpond.net.au>
1177
1178 * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
1179
1180 * write.c (set_symtab): Update bfd_alloc declaration. Use a temp
1181 var to ensure bfd_alloc arg is the right type.
1182 (write_object_file): Cast args of bfd_seek. Replace bfd_write with
1183 bfd_bwrite.
1184
1185 * config/obj-coff.c: Replace calls to bfd_write with calls to
1186 bfd_bwrite. Cast args of bfd_seek.
1187
1188 * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned
1189 warning.
1190
1191 * config/tc-mn10300.c (set_arch_mach): Make param unsigned.
1192
1193 * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with
1194 call to bfd_bread.
1195
e08ae979
HPN
11962001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
1197
1198 * config/tc-sh.h (sh_force_relocation): Prototype.
1199 (struct fix): Forward declare.
1200 * config/tc-sh.c (type sh_operand_info): Move to top of file.
1201 (cons, s_align_bytes): Remove old-type declarations.
1202 (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand,
1203 get_operands, get_specific, insert, build_relax,
1204 insert_loop_bounds, build_Mytes): Prototype.
1205 (little): Make static. Prototype.
1206 (check, tc_Nout_fix_to_chars): Delete unused functions.
1207
920acd62
EC
12082001-09-14 Eric Christopher <echristo@redhat.com>
1209
1210 * config/tc-mips.c (md_parse_option): Remove setting mips_64 via
1211 -mgp32/mgp64.
1212
056a1d49
NC
12132001-09-14 Kevin Lo <kevlo@openbsd.org>
1214
1215 * configure.in: Add arm-openbsd target.
1216 * configure: Regenerate.
1217
4008bd9b
TS
12182001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1219
1220 * configure.in: Change machine triplets from mips-*-linux-gnu* to
1221 mips*-*-linux*.
1222
233b8738
TS
12232001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1224
1225 * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
1226
d61a78a7
RH
12272001-09-11 Richard Henderson <rth@redhat.com>
1228
1229 * config/tc-alpha.c (alpha_elf_section_letter): New.
1230 (alpha_elf_section_flags): New.
1231 * config/tc-alpha.h (md_elf_section_letter): New.
1232 (md_elf_section_flags): New.
1233 * config/tc-ia64.c (ia64_elf_section_letter): New.
1234 * config/tc-ia64.h (md_elf_section_letter): New.
1235
9469ddf0
JJ
12362001-09-11 Jakub Jelinek <jakub@redhat.com>
1237
1238 * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
1239 of 'm', 'S' instead of 's'. Update bad_msg.
1240 * config/tc-ppc.c (ppc_section_letter): Update bad_msg.
1241 * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
1242
e0890092
AM
12432001-09-09 Alan Modra <amodra@bigpond.net.au>
1244
1245 * expr.c (expr): Move code setting "retval" to the end of the loop,
1246 and rearrange for efficiency. For "PIC code" subtraction, use
1247 "rightseg" rather than recalculating. For "symbol OP symbol"
1248 subtract, set "retval" to absolute_section if symbols in same
1249 section.
1250 * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
1251 O_symbol. Simplify a +/- b code. Allow equality and non-equality
1252 comparisons on symbols from any section. Allow other comparison
1253 operators as for subtraction.
1254 (symbol_equated_reloc_p): New predicate function.
1255 * symbols.h (symbol_equated_reloc_p): Declare.
79bcdb56
AM
1256 * write.c (relax_segment <rs_machine_dependent>): Ensure segment
1257 for expression syms is set correctly.
1258 (adjust_reloc_syms): Use symbol_equated_reloc_p.
e0890092
AM
1259 (write_relocs): Likewise.
1260 (write_object_file): Likewise.
e0890092
AM
1261 * config/tc-mips.c (md_estimate_size_before_relax): Likewise.
1262 * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
1263 of a complex expression when setting up frag_var.
1264
ec8fcf4a
RH
12652001-09-07 Richard Henderson <rth@redhat.com>
1266
1267 * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
1268 require_seq and allow_seq. Let !literal omit the sequence number.
1269 (tokenize_arguments): Reject sequence numbers of !allow_seq.
1270
891937bf
JJ
12712001-09-08 Jakub Jelinek <jakub@redhat.com>
1272
1273 * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
1274 section symbols the same way as externs.
1275
553178e4
TS
12762001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1277
1278 * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
1279 pseudo-op.
ad58c921 1280
cb56d3d3
TS
12812001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1282
1283 * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
1284 (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
1285 PIC, BFD_RELOC_16_PCREL for the rest.
1286 (mips_ip): Likewise.
79bcdb56
AM
1287 (md_pcrel_from): return the right offset for the differently shifted
1288 pcrel relocs.
cb56d3d3 1289 (md_apply_fix): Handle BFD_RELOC_16_PCREL.
ad58c921 1290
3969b680
RH
12912001-09-05 Richard Henderson <rth@redhat.com>
1292
1293 * config/tc-ia64.c (FUNC_IPLT_RELOC): New.
1294 (pseudo_func): Add @iplt.
1295 (pseudo_opcode): Add data16 and data16.ua.
1296 (md_begin): Set iplt pseudo.
1297 (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
1298
12992001-09-04 Richard Henderson <rth@redhat.com>
19f78583
RH
1300
1301 * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
1302 (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
1303 (alpha_macros): Remove occurrences of same.
1304 (O_lituse_addr, O_gprel): New.
1305 (DUMMY_RELOC_LITUSE_*): New.
1306 (s_alpha_ucons, s_alpha_arch): Prototype.
1307 (alpha_reloc_op): Construct elements via DEF macro.
1308 (ALPHA_RELOC_SEQUENCE_OK): Remove.
1309 (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
1310 members to not be literal specific.
1311 (next_sequence_num): New.
1312 (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for
1313 added/removed BFD relocations.
1314 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
1315 (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
1316 (tokenize_arguments): Parse ! relocations properly.
1317 (find_macro_match): Delete unused macro argument types.
1318 (assemble_insn): Add reloc parameter; emit that instead of the
1319 default as appropriate.
1320 (get_alpha_reloc_tag): New. Split from ...
1321 (emit_insn): ... here. Allocate a reloc tag for GPDISP.
1322 (assemble_tokens): Don't search macros if user relocation present.
1323 Copy reloc sequence number to insn struct.
1324 (emit_ldgp): Remove user reloc handling.
1325 (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
1326 (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
1327 (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
1328 * config/tc-alpha.h (tc_adjust_symtab): Always define.
1329 (struct alpha_fix_tag): Name members less literal specific.
1330
131b0983 13312001-09-04 Jeffrey A Law (law@cygnus.com)
de342d07
JL
1332
1333 * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the
1334 address of two symbols in different sections.
1335
3c02b2ab
EC
13362001-08-31 Eric Christopher <echristo@redhat.com>
1337 Jason Eckhardt <jle@redhat.com>
1338
1339 * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
1340 5kc, and 20kc. Clean up old entries.
1341
131b0983
NC
13422001-08-31 J"orn Rennecke <amylaar@redhat.com>
1343 Jeff Law <law@redhat.com>
36ed2fff 1344
3c1ba8a3
JL
1345 * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
1346 offset match H8 ELF spec.
1347 (md_section_align): Alternate implementation for BFD_ASSEMBLER.
1348 (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
1349
36ed2fff
JL
1350 * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.
1351 (build_bytes): Mark fixups for PCrel branches as signed. For
1352 OBJ_ELF, make sure the reloc's offset points to the first byte
1353 to be modified.
1354 (md_convert_frag): Update definiton based on BFD_ASSEMBLER.
1355 * tc-h8300.h (relocation mappings): Add.
1356
131b0983 13572001-08-30 J"orn Rennecke <amylaar@redhat.com>
f333765f
JL
1358
1359 * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
1360 define for BFD_ASSEMBLER.
1361 (tc_reloc_mangle): Likewise.
1362 (tc_gen_reloc): New function for BFD_ASSEMBLER.
1363
131b0983 13642001-08-29 Jeffrey A Law (law@cygnus.com)
83e20b45 1365
3c02b2ab 1366 * config/tc-h8300.c (h8300hmode): Record the machine type
83e20b45
JL
1367 if BFD_ASSEMBLER is defined.
1368 (h8300smode, md_begin): Similarly.
1369
f6314f3e
PB
13702001-08-29 Joel Sherrill <joel@OARcorp.com>
1371
3c02b2ab 1372 * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
f6314f3e
PB
1373 default from coff to elf.
1374 * configure: Regenerate.
1375
131b0983 13762001-08-29 J"orn Rennecke <amylaar@redhat.com>
ccad732d 1377
7e0de7bf
JL
1378 * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
1379 assorted coff relocations to the corresponding elf relocations.
1380 * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately.
1381
ccad732d
JL
1382 * configure.in: Add case for h8300-*-elf.
1383 * configure: Regenerate.
1384
131b0983 13852001-08-29 J"orn Rennecke <amylaar@redhat.com>
1262d520
JR
1386
1387 * doc/internals.texi (MD_PCREL_FROM_SECTION): Change
82f3c9a3 1388 documentation to reflect reality.
1262d520 1389
7283eb86
TS
13902001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1391
ad58c921 1392 * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
7283eb86
TS
1393 (macro): Reflect change to MAX_GPREL_OFFSET.
1394
0baf16f2
AM
13952001-08-27 Torbjorn Granlund <tege@swox.com>
1396 Staffan Ulfberg <staffanu@swox.se>
1397 Linus Nordberg <linus@swox.se>
1398 Alan Modra <amodra@bigpond.net.au>
1399
1400 * configure.in: Recognise powerpc*le*, not just powerpcle*.
1401 * configure: Regenerate.
1402 * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER,
1403 PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros.
1404 (md_assemble): Use them.
1405 (ppc_machine): Support stub for ELF64 as well as XCOFF.
1406 (md_pseudo_table): Add "llong", "quad".
1407 (md_parse_option): Match default_cpu of powerpc*.
1408 (ppc_arch): Likewise.
1409 (ppc_subseg_align): Only for OBJ_XCOFF.
1410 (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF.
1411 (md_begin): Select PPC_OPCODE_64 for 64 bit.
1412 (ppc_insert_operand): Don't bother testing 'file' before calling
1413 as_bad_where. Use as_bad_where for operand->insert errors.
1414 (mapping): Add ELF64 relocation modifiers.
1415 (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc
1416 expressions with abs_symbol.
1417 (ppc_elf_cons): Correct offset for little endian targets.
1418 (ppc_elf_frob_symbol): New.
1419 (md_assemble): Add support for 64 bit ELF relocs.
1420 (ppc_tc): Ensure 8 byte alignment when 64 bit.
1421 (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF. Match
1422 ".toc" section for 64 bit ELF.
1423 (ppc_fix_adjustable): New. Macro body moved from tc-ppc.h.
1424 (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED. Only do
1425 the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF. For 64 bit,
1426 use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16.
1427 Expand on comments, error message. Add support for 64 bit relocs,
1428 and use PPC_HI etc. macros.
1429 * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
1430 (HANDLE_ALIGN): Define to generate nops in code sections rather
1431 than zeros.
1432 (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC.
1433 (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections.
1434 (tc_fix_adjustable): Move body of macro to tc-ppc.c.
1435 (ppc_fix_adjustable): Declare.
1436 (tc_frob_symbol): Define.
1437 (ppc_elf_frob_symbol): Declare.
1438
9d654c1c
AJ
14392001-08-26 Andreas Jaeger <aj@suse.de>
1440
1441 * config/tc-s390.c: Add missing prototypes
1442 (md_gather_operands): Make static.
1443
e7d556df
TS
14442001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1445
ad58c921
TS
1446 * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum
1447 allowed value, not the word beyond maximum.
1448 * config/tc-mips.c (macro_build_lui): Code cleanup.
e7d556df
TS
1449 (macro): Reflect change to MAX_GPREL_OFFSET.
1450 (mips_ip): Check explicitly against S_EX_NONE.
1451 (my_get_SmallExpression): parse for %gp_rel, not %gprel.
1452 (md_apply_fix): Code cleanup.
1453
34f63668
AJ
14542001-08-24 Andreas Jaeger <aj@suse.de>
1455
1456 * config/tc-ppc.h: Fix prototype declaration.
1457
c538998c
JJ
14582001-08-23 Jakub Jelinek <jakub@redhat.com>
1459
1460 * config/tc-ia64.c (dot_endp): Set function symbol sizes.
1461 * config/obj-elf.c (obj_elf_size): When size is constant, free
1462 and clear symbol_get_obj(sym)->size if any.
1463
1ff54a84
TS
14642001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1465
ad58c921
TS
1466 * config/tc-mips.c (md_begin): Warn about incompatibility between
1467 -march=FOO and -mipsN option, continue with default ISA.
1ff54a84 1468
a6bacc80
TS
14692001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1470
1471 * config/tc-mips.c (md_parse_option): #ifdef the
1472 traditional/non-traditional names as it is done in mips_target_format.
1473
ca3f7695
RH
14742001-08-20 Richard Henderson <rth@redhat.com>
1475
1476 * config/tc-alpha.h (MD_APPLY_FIX3): Define.
1477 * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
1478 use seg parameter instead of now_seg.
1479
e87a0284
L
14802001-08-18 H.J. Lu <hjl@gnu.org>
1481
1482 * config/tc-mips.c (show): Add the missing prototype.
1483
fb1b3232
TS
14842001-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1485
1486 * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
1487 return values.
1488 (mips_ip): Use the new return values instead of characters. Add
1489 support for %higher and %highest.
1490 (LP): Remove.
1491 (RP): Remove.
1492 (my_getSmallExpression): Make parsing case insensitive and more
1493 reliable. Add support for %higher and %highest. Further support to
1494 parse %gprel and %neg is implemented but currently deactivated.
1495
23fe39df
AM
14962001-08-17 Alan Modra <amodra@bigpond.net.au>
1497
1498 * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
1499 (ecoff_build_symbols): Likewise.
1500 * read.c (s_lcomm_internal): Fix signed/unsigned warning.
1501
be00bddd
TS
15022001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1503
1504 * config/tc-mips.c (mips_elf_final_processing): Set elf header flags
1505 for n32 ABI if appropriate.
1506
07ae3efa
TS
15072001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1508
1509 * config/tc-mips.c (cons_fix_new_mips): Remove.
1510 * config/tc-mips.h (TC_CONS_FIX_NEW): Remove.
1511 (cons_fix_new_mips): Remove.
1512
c68012fb
JJ
15132001-08-14 Jeff Johnston <jjohnstn@redhat.com>
1514
79bcdb56
AM
1515 * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
1516 a label, not a hex constant.
c68012fb 1517
5d430f8b
NC
15182001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
1519
1520 * config/tc-v850.h: Add missing prototypes.
1521
198ce79b
AJ
15222001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
1523
1524 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
1525 relocations.
1526
4ffadb11
NC
15272001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
1528
1529 * config/tc-sparc.c (cons_fix_new_sparc): Move
1530 `sparc_no_align_cons = 0;' to...
1531 (s_uacons): ...here so that sparc_no_align_cons will get
1532 cleared properly.
1533
f72c8c98
KH
15342001-08-11 Kazu Hirata <kazu@hxi.com>
1535
1536 * config/tc-mips.c: Fix a comment typo.
1537
ea1fb5dc
RS
15382001-08-10 Richard Sandiford <rsandifo@redhat.com>
1539
1540 * config/tc-mips.c (move_register): New function.
1541 (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
1542 (mips_ip): Likewise.
1543 (macro2): Use move_register rather than macro_build for moves.
1544 (mips16_macro): Likewise.
1545 (macro): Likewise. Handle M_MOVE.
1546
0218d1e4
AJ
15472001-08-10 Andreas Jaeger <aj@suse.de>
1548
1549 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1550 to build warnings.
1551 * configure: Regenerate.
1552
11b37b7b
AM
15532001-08-10 Alan Modra <amodra@bigpond.net.au>
1554
fa6e9318
AM
1555 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
1556 Comment indentation of #pragma.
1557 * macro.c (alloca): Likewise.
1558
11b37b7b
AM
1559 * config/tc-ppc.c: Revert 2001-08-08.
1560
8d28c9d7
AM
15612001-08-09 Alan Modra <amodra@bigpond.net.au>
1562
1563 * symbols.c: Add missing prototypes.
1564 * config/e-i386elf.c: Likewise.
1565 * config/e-i386coff.c: Likewise.
1566 * config/e-i386aout.c: Likewise.
1567 * config/obj-coff.c: Likewise.
1568 (def_symbol_in_progress, stack): Move definition.
1569 * config/obj-elf.c: Add missing prototypes.
1570 (obj_elf_change_section): Make static.
1571 (obj_elf_parse_section_letters): Likewise.
1572 (obj_elf_section_word): Likewise.
1573 (obj_elf_section_type): Likewise.
1574
fce3099f
AM
15752001-08-08 Alan Modra <amodra@bigpond.net.au>
1576
1577 From 1999-10-25 Torbjorn Granlund <tege@swox.com>
1578 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
1579 determining reloc type with code reading operands->reloc field.
1580
d959c450
AM
15812001-08-08 Alan Modra <amodra@bigpond.net.au>
1582
8fd3e36b
AM
1583 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
1584 function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
1585 * config/obj-elf.h (elf_copy_symbol_attributes): Declare.
1586 (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
1587
8a543126
AM
1588 * output-file.c (output_file_create): Don't try to open a second
1589 time as it's unnecessary. FOPEN_W was undefined too.
d959c450 1590
38487616
TS
15912001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1592
ad58c921 1593 * config/tc-mips.c (macro_build): Replace magic constants by defines.
38487616
TS
1594 (mips_ip): Likewise. Typo.
1595
9a41af64
TS
15962001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1597
ad58c921
TS
1598 * config/tc-mips.c (mips_abi_string): Initialize with NULL instead
1599 of 0.
9a41af64
TS
1600 (RELAX_ENCODE): Replace bfd_vma by valueT.
1601 (load_address): Formatting.
1602 (macro): Likewise. Code cleanup. Typo.
1603 (macro2): Formatting.
1604 (md_parse_option): Typo.
1605 (s_mipsset): Reorder cases to look nicer.
1606 (md_estimate_size_before_relax): Formatting. Code cleanup.
1607 (mips_elf_final_processing): Check against NULL instead of 0.
1608 (md_obj_end): Remove ugly `' in message string.
1609 (s_mips_ent): Remove ugly `' in message string.
1610
6dce9e24
TS
16112001-07-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1612
1613 * config/tc-mips.c (md_begin): Take -mcpu value into account even when
1614 -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
1615 mutually exclusive (if they are different).
1616 (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
1617 set more than once.
1618
236bd878
RS
16192001-08-03 Richard Sandiford <rsandifo@redhat.com>
1620
1621 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value
1622 from GPREL addends.
1623
ca4e0257
RS
16242001-08-02 Richard Sandiford <rsandifo@redhat.com>
1625
1626 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
1627 * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
1628 (md_long_opts): Add -mfp32 option.
1629 (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32.
1630 (md_show_usage): Show usage for -mfp32 and -mgp32.
1631 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
1632 (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
1633 (HAVE_32BIT_ADDRESSES): New macro.
1634 (load_register): Use HAVE_32BIT_GPRS to determine the register width.
1635 (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
1636 (s_cprestore, s_cpadd): Likewise.
1637 (macro): Use HAVE_32BIT_GPRS to determine the width of registers
1638 used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine
1639 the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES
1640 to determine the width of addresses in load, store and jump macros.
1641 (macro2): Use HAVE_32BIT_GPRS to determine the width of registers
1642 used in set instructions; do not check the address size for them.
1643 Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
1644 unaligned load and store macros.
1645 (mips_ip): Use the new macros to check the width of a register when
1646 processing float constants. Force a constant into memory if it is
1647 destined for an FPR and the FPRs are wider than the GPRs. Warn about
1648 odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather
1649 than mips_gp32 to select synthetic instructions.
1650 (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
1651 synthetic instructions.
1652
28bab82b
NC
16532001-08-01 Christian Groessler <cpg@aladdin.de>
1654
1655 * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl",
1656 "rh", "rr", "rq", or "sp" then don't automatically assume
1657 it's a register name. Check whether there is a number
1658 following.
1659
28f81592
AM
16602001-08-01 Alan Modra <amodra@bigpond.net.au>
1661
1662 * config/tc-i386.c (lex_got): Match lower case relocation tokens.
1663 Don't allocate more space than necessary for the input line copy.
1664
0e389e77
AM
16652001-08-01 Alan Modra <amodra@bigpond.net.au>
1666
1667 * read.c: Standardize error/warning messages - don't capitalise, no
1668 final period or newline, don't say "ignored" or "zero assumed" for
1669 as_bad messages. In some cases, change the wording to that used
1670 elsewhere for similar messages.
1671 * app.c: Likewise.
1672 * as.c: Likewise.
1673 * atof-generic.c: Likewise.
1674 * cgen.c: Likewise.
1675 * cond.c: Likewise.
1676 * depend.c: Likewise.
1677 * dwarf2dbg.c: Likewise.
1678 * ecoff.c: Likewise.
1679 * expr.c: Likewise.
1680 * frags.c: Likewise.
1681 * input-file.c: Likewise.
1682 * input-scrub.c: Likewise.
1683 * listing.c: Likewise.
1684 * output-file.c: Likewise.
1685 * stabs.c: Likewise.
1686 * subsegs.c: Likewise.
1687 * symbols.c: Likewise.
1688 * write.c: Likewise.
1689 * ecoff.c (ecoff_directive_end): Test for missing name by
1690 comparing input line pointers rather than reading string.
1691 (ecoff_directive_ent): Likewise.
1692 * read.c (s_set): Likewise.
1693 (s_align): Report a warning rather than an error for
1694 alignment too large.
1695 (s_comm): Check for missing symbol name.
1696 (s_lcomm_internal): Likewise.
1697 (s_lsym): Likewise.
1698 (s_globl): Use is_end_of_line instead of looking for '\n'.
1699 (s_lcomm_internal): Likewise.
1700 (ignore_rest_of_line): Report a warning rather than an error.
1701
e138127a
GK
17022001-07-31 Geoffrey Keating <geoffk@redhat.com>
1703
1704 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
1705 any kind of relocation against a not-loaded section.
1706
468cced8
AM
17072001-07-30 Alan Modra <amodra@bigpond.net.au>
1708
1709 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
1710 to include '@' in symbol names when parsing versioned symbols
1711 rather than calling get_symbol_end multiple times.
1712 * config/tc-i370.c (register_name): Format fixes. Don't call
1713 get_symbol_end after parsing number.
1714 * config/tc-mn10200.c (data_register_name): Format fixes. Hoist
1715 code out of conditional.
1716 (address_register_name): Likewise.
1717 (other_register_name): Likewise.
1718 * config/tc-mn10300.c (r_register_name): Likewise.
1719 (xr_register_name): Likewise.
1720 (data_register_name): Likewise.
1721 (address_register_name): Likewise.
1722 (other_register_name): Likewise.
1723 * config/tc-ppc.c (register_name): Likewise.
1724 * config/tc-s390.c (register_name): Likewise.
1725
13283e2d
SC
17262001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1727
1728 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
1729 and bra relax: update fragP->fr_fix after the fixup.
1730
409d19c4
AM
17312001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
1732
1733 * read.c (s_set): Check for missing symbol name.
1734
050be34e
AM
17352001-07-26 Alan Modra <amodra@bigpond.net.au>
1736
1737 * write.c (relax_segment <rs_space>): Account for fr_fix.
1738
46bac6de
L
17392001-07-25 H.J. Lu <hjl@gnu.org>
1740
1741 * config/tc-mips.c (md_estimate_size_before_relax): Make sure
1742 we treat weak like extern only for ELF.
1743 (mips_fix_adjustable): Make sure we don't adjust extern/weak
1744 symbols only for ELF.
1745
2f4dcb11
CD
17462001-07-25 Chris Demetriou <cgd@broadcom.com>
1747
1748 * config/tc-mips.c: Fix spelling error in comment.
1749
62f65a7b
DB
17502001-07-25 Dave Brolley <brolley@redhat.com>
1751
1752 * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
1753 (IS_PARALLEL_SEPARATOR): New macro.
1754 (do_scrub_begin): Set up characters in tc_parallel_separator_chars
1755 as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
1756 (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
1757 LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
1758 been seen).
1759
3817f222
AM
17602001-07-24 Alan Modra <amodra@bigpond.net.au>
1761
1762 * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
1763 (DEP1, DEPTC, DEPOBJ, DEP2): Use it.
1764 Update dependencies with "make dep-am".
1765 * Makefile.in: Regenerate.
1766 * doc/Makefile.in: Regenerate.
1767
07726851
KH
17682001-07-23 Kazu Hirata <kazu@hxi.com>
1769
1770 * config/tc-alpha.h: Fix formatting.
1771 * config/tc-arc.c: Likewise.
1772 * config/tc-d10v.h: Likewise.
1773 * config/tc-hppa.c: Likewise.
1774 * config/tc-i370.c: Likewise.
1775 * config/tc-i386.h: Likewise.
1776 * config/tc-i960.h: Likewise.
1777 * config/tc-ia64.c: Likewise.
1778 * config/tc-ia64.h: Likewise.
1779 * config/tc-m32r.c: Likewise.
1780 * config/tc-m68k.c: Likewise.
1781 * config/tc-m88k.c: Likewise.
1782 * config/tc-ns32k.c: Likewise.
1783 * config/tc-pdp11.c: Likewise.
1784 * config/tc-pj.h: Likewise.
1785 * config/tc-s390.c: Likewise.
1786 * config/tc-sparc.c: Likewise.
1787 * config/tc-sparc.h: Likewise.
1788 * config/tc-tic80.c: Likewise.
1789 * config/tc-w65.h: Likewise.
1790
ac62c346
AM
17912001-07-23 Alan Modra <amodra@bigpond.net.au>
1792
1793 * symbols.c (S_GET_VALUE): Don't treat O_constant and local
1794 symbols specially. Always resolve, adding fr_address to value.
1795 * write.c (write_object_file): Don't add fr_address to sym values.
1796 (relax_frag): Likewise.
1797 (relax_segment): Likewise.
1798 * config/obj-ieee.c (do_symbols): Likewise.
1799 * config/tc-cris.c (md_convert_frag): Likewise.
1800 * config/tc-fr30.c (md_convert_frag): Likewise.
1801 * config/tc-i386.c (md_convert_frag): Likewise.
1802 * config/tc-m32r.c (md_convert_frag): Likewise.
1803 * config/tc-m68hc11.c (md_convert_frag): Likewise.
1804 * config/tc-mcore.c (md_convert_frag): Likewise.
1805 * config/tc-mips.c (mips16_extended_frag): Likewise.
1806 * config/tc-ns32k.c (md_convert_frag): Likewise.
1807 * config/tc-m68k.c (md_convert_frag_1): Likewise.
1808 (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
1809 DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
1810 (md_relax_table): Remove first four entries. Format.
1811 (md_estimate_size_before_relax): Remove old_fix. Don't bother
1812 setting fr_var. Simplify byte branch checks.
1813
677537c1
AM
18142001-07-23 Alan Modra <amodra@bigpond.net.au>
1815
1816 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
1817 "isbranch" param as all calls have it set.
1818 (pa_parse_neg_cmpsub_cmpltr): Likewise.
1819 (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
1820 strcasecmp in "nullify" var.
1821 (pa_parse_neg_add_cmpltr): Likewise.
1822 (pa_ip): Don't "save_s" unnecessarily. Update calls to above
1823 functions. Don't print wrong conditions in error messages.
1824
c745b67a
AJ
18252001-07-23 Andreas Jaeger <aj@suse.de>
1826
1827 * config/tc-s390.c (s390_force_relocation): Removed.
1828
1829 * config/tc-s390.h: Remove double declaration of
1830 TC_FORCE_RELOCATION.
1831
2b3c5a5d
L
18322001-07-22 H.J. Lu <hjl@gnu.org>
1833
1834 * config/tc-mips.c (s_mips_end): Remove unused variables.
1835 (s_mips_frame): Add ATTRIBUTE_UNUSED.
1836
f27a3839
AS
18372001-07-17 Andreas Schwab <schwab@suse.de>
1838
1839 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
1840 .loc.
1841 (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
1842 insn.
1843 * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1844
5bae9b28
MG
18452001-07-17 matthew green <mrg@eterna.com.au>
1846
1847 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
1848 TE_NetBSD.
1849 (line_comment_chars): Set to '/' if TE_NetBSD.
1850
7ed28e65
MG
18512001-07-14 matthew green <mrg@eterna.com.au>
1852
1853 * configure.in (i386-*-netbsdelf*): New target.
92c077a3 1854 * configure: Regenerate.
7ed28e65 1855
bdbe95c8
NC
18562001-07-10 Mark Elbrecht <snowball3@softhome.net>
1857
1858 * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
1859 class of the non-debug symbol is C_NULL.
1860
15dcfbc3
NC
18612001-07-10 Anders Norlander <anorland@synergenix.se>
1862
1863 * doc/as.texinfo (Incbin): Fix grammatical errors.
1864
f740e790
NC
18652001-07-10 Nick Clifton <nickc@cambridge.redhat.com>
1866
1867 * depend.c: Use FOPEN_.. macros in calls to fopen().
1868 * input-file.c: As above.
1869 * itbl-ops.c: As above.
1870 * listing.c: As above.
1871 * output-file.c: As above.
1872 * read.c: As above.
1873
7e005732
NC
18742001-07-08 Anders Norlander <anorland@synergenix.se>
1875
1876 * read.c (s_incbin): New .incbin function.
1877 * read.c (potable): Add "incbin" pseudo-op.
1878 * read.h: Add s_incbin prototype.
1879 * doc/as.texinfo (incbin): Document .incbin pseudo-op.
1880 * NEWS: Mention new feature.
1881
ae341099
NC
18822001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
1883
1884 * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
1885 DEBUG_UNSPECIFIED.
1886
002de68b
JH
18872001-07-06 John Healy <jhealy@redhat.com>
1888
1889 * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
1890 set of fixups to be stored.
1891 (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
1892 restored to be chosen from any that are saved.
1893 (gas_cgen_swap_fixups): Modified to allow the current set of
1894 fixups to be swapped with any other set that has been saved.
1895 (gas_cgen_initialize_saved_fixups_array): New routine.
1896 * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
1897 gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
1898 or MAX_SAVED_FIXUP_CHAINS.
1899 * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
1900 store, swap and restore fuctions to reflect the new interface.
1901
7099f9f9
NC
19022001-07-06 Nick Clifton <nickc@cambridge.redhat.com>
1903
1904 * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
1905 ignore empty, ineffectual alignment frags when deciding if a
1906 branch can be short.
1907
557debba
JW
19082001-07-05 Steve Ellcey <sje@cup.hp.com>
1909
1910 * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
1911 and SPECIAL_SECTION_FINI_ARRAY.
1912 (special_section_name): Add .init_array and .fini_array.
1913 (md_pseudo_table): Add init_array and fini_array.
1914 (md): Add pointer_size and pointer_size_shift fields.
1915 (setup_unwind_header): New static function.
1916 (output_unw_records): Modify to use setup_unwind_header.
1917 (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
1918 md.pointer_size_shift.
1919 (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
1920
4ad09363
BE
19212001-07-05 Ben Elliston <bje@redhat.com>
1922
464bb47c
BE
1923 * README (Supported platforms): m88k no longer suffers bitrot.
1924
4ad09363
BE
1925 * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
1926
7fb088be
AM
19272001-07-05 Alan Modra <amodra@bigpond.net.au>
1928
1929 * struc-symbol.h (struct local_symbol): Rename lsy_offset to
1930 lsy_value. Correct typos in comments.
1931 * symbols.c (local_symbol_make): Update for name change.
1932 (local_symbol_convert): Likewise.
1933 (colon): Likewise.
1934 (S_GET_VALUE): Likewise.
1935 (S_SET_VALUE): Likewise.
1936 (print_symbol_value_1): Likewise.
1937 (resolve_symbol_value): Likewise. Don't divide local sym values
1938 by OCTETS_PER_BYTE twice.
1939
3e37788f
JW
19402001-07-04 Jim Wilson <wilson@redhat.com>
1941
87885043
JW
1942 * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
1943
3e37788f
JW
1944 * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
1945 sched branches.
1946
81b0b3f1
BE
19472001-07-05 Ben Elliston <bje@redhat.com>
1948
2a1e2a6d
BE
1949 * read.c (s_fill): Correct spelling error in comments.
1950
81b0b3f1
BE
1951 * doc/c-m88k.texi: New file.
1952 * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
1953 * doc/Makefile.in: Regenerate.
1954 * doc/all.texi: Set M880X0.
1955 * doc/as.texinfo: Hook in m88k-dependent documentation.
1956
18ae5d72
EC
19572001-07-04 Eric Christopher <echristo@redhat.com>
1958
1959 * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
1960
1961 * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
1962 and rm5721 as valid cpu strings.
1963 (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
1964
7461da6e
RS
19652001-07-04 Richard Sandiford <rsandifo@redhat.com>
1966
1967 * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
1968 if it's expected to be non-zero.
1969
87548816
NC
19702001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1971
7bcad3e5
NC
1972 * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
1973 fscan->fx_frag.
1974
87548816 1975 * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
ac62c346
AM
1976 (write_object_file): Set finalize_syms to
1977 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
1978 called.
87548816 1979
acebd4ce 1980 * doc/internals.texi: Document
18ae5d72 1981 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
87548816 1982
99a814a1
AM
19832001-07-02 Alan Modra <amodra@bigpond.net.au>
1984
1985 * config/tc-ppc.c: Formatting fixes.
1986
bd59b34f
BE
19872001-07-01 Ben Elliston <bje@redhat.com>
1988
1989 * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
1990 they cause some subtle breakage. Will fix them again later.
1991
e237d851
NC
19922001-06-28 Nick Clifton <nickc@cambridge.redhat.com>
1993
1994 * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
1995 outside of a function as a .appline directive.
1996
ec68c924
EC
19972001-06-28 Eric Christopher <echristo@redhat.com>
1998 H.J. Lu <hjl@gnu.org>
1999
551b1d89
BE
2000 * config/tc-mips.c (mips_arch): New. Use mips_arch instead
2001 of mips_cpu for the ISA selection.
2002 (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
2003 (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
ec68c924
EC
2004 (mips_tune): New. Use mips_tune for scheduling and optimization
2005 issues.
2006 (append_insn): Use mips_tune and mips_arch.
2007 (macro_build): Ditto.
2008 (mips_ip): Ditto.
2009 (md_begin): Handle mips_arch, mips_tune and mips_cpu. For
2010 backwards compatability mips_cpu generates arch and tune.
2011 (md_show_usage): Document new behavior.
2012
2013 * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
2014 Deprecate -mcpu.
2015
2016 * NEWS: Update.
2017
d8273442
NC
20182001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
2019
38b87a1b
NC
2020 * write.c (write_object_file): Do not set finalize_syms until
2021 after the segments have been sized. Some backends may still
2022 need to access the syms's frags in order to adjust relaxed
2023 frags.
2024
d8273442
NC
2025 * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
2026 constants.
2027
1a16aca4
AM
20282001-06-27 Alan Modra <amodra@bigpond.net.au>
2029
2030 * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
2031 subtract MD_PCREL_FROM_SECTION for 68k.
2032 (fixup_segment <Difference of 2 syms different seg>): Only fudge
2033 by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
2034
d48019e0
AM
20352001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com>
2036
2037 * write.c (fixup_segment <Difference of 2 syms same seg>): If
2038 pcrel, subtract MD_PCREL_FROM_SECTION value.
2039
37ffda10
BE
20402001-06-24 Ben Elliston <bje@redhat.com>
2041
2042 * stabs.c (generate_asm_file): Make local variable `len' a size_t.
2043
6f112c47
JJ
20442001-06-24 Jakub Jelinek <jakub@redhat.com>
2045
2046 * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
2047 section symbols the same way as externs.
2048
a181d81e
BE
20492001-06-24 Ben Elliston <bje@redhat.com>
2050
453520d7
BE
2051 * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
2052 (emit_relocations): Ditto.
2053 (s_bss): Ditto.
2054 (md_begin): Reformat comments to conform to the GNU standards.
2055 (md_assemble): Ditto.
2056
e21e484e
BE
2057 * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
2058 (md_parse_option): Mark parameters as unused.
2059 (md_show_usage): Ditto.
2060 (calcop): Adjust type of `reg_prefix' to char.
2061 (get_reg): Ditto.
2062 (getval): Adjust type of local `c' to char.
2063 (md_create_short_jump): Mark from_addr, to_addr params as unused.
2064 (md_create_long_jump): Ditto.
2065 (md_estimate_size_before_relax): Mark parameters as unused.
453520d7 2066
a181d81e
BE
2067 * config/tc-m88k.c (md_pseudo_table): Properly terminate the table
2068 to allay a possible compiler warning.
2069
dd9b19ab
NC
20702001-06-22 Nick Clifton <nickc@cambridge.redhat.com>
2071
2072 * doc/internals.texi (CPU backend): Document md_atof.
2073
8be31359
NC
20742001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com>
2075
d48019e0
AM
2076 * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode
2077 return pointer) alias for %r2 or %r31, depending on 32 or 64 bit
2078 architecture.
8be31359 2079
1cac9012
NC
20802001-06-21 Philip Blundell <philb@gnu.org>
2081
2082 * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses
2083 updated.
2084 (insns): Remove entry for adrl. Add long_flag for adr.
2085 (do_adr): Handle `l' suffix.
2086 (do_adrl): Delete.
2087
b091f402
AM
20882001-06-21 Alan Modra <amodra@bigpond.net.au>
2089
2090 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
2091 (md_apply_fix): Use it here. Replace printf with equivalent
2092 as_bad_where.
2093 (tc_gen_reloc): Use as_bad_where instead of as_bad.
2094 (md_apply_fix): Here too.
2095 * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
2096 * config/tc-m68k.c (tc_gen_reloc): Likewise.
2097 (md_convert_frag_1): Likewise.
2098
1ad63b2f
TR
20992000-06-20 Tom Rix <trix@redhat.com>
2100
2101 * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes.
2102
c45021f2
NC
21032001-06-18 H.J. Lu <hjl@gnu.org>
2104
ac62c346
AM
2105 * doc/Makefile.am (info): Depend on $(MANS).
2106 (as.1): Remove the prefix `$(srcdir)/'.
2107 * doc/Makefile.in: Regenerated.
c45021f2 2108
ac62c346 2109 * as.1: Removed.
c45021f2 2110
2172d73b
PB
21112001-06-18 Philip Blundell <philb@gnu.org>
2112
2113 * config/tc-arm.c (do_msr): Remove restriction on usage of
2114 immediate operands.
2115
45c500fa
AM
21162001-06-19 Alan Modra <amodra@bigpond.net.au>
2117
2118 * dwarf2dbg.c (dwarf2_finish): Output file info even when no
2119 line info.
2120
0b317b08
PB
21212001-06-13 Philip Blundell <philb@gnu.org>
2122
2123 * config/tc-arm.c (thumb_shift): Improve wording of error message.
2124 (do_t_arit): Likewise.
2125
07a7a145
NC
21262001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
2127
2bc0a128
NC
2128 * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
2129 .loc pseudos if the dfwarf2 functions are available.
2130 (md_assemble): Only call dwarf2_emit_insn if it is available.
2131
07a7a145
NC
2132 * expr.c: Fix typo in comment.
2133
b131d4dc
NC
21342001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2135
2136 * doc/as.texinfo (Infix Ops): Document that comparison and
2137 combiner operators can be used as infix operators.
2138
e1f44d10
NC
21392001-06-12 Peter Jakubek <pjak@snafu.de>
2140
8a543126 2141 * config/tc-m68k.c (parse_mri_control_operand): Fix handling
ac62c346
AM
2142 of AND/OR.
2143 (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
2144 (reverse_mri_condition): Likewise.
2145 (swap_mri_condition): Issue warning for conditions that can not be
2146 swapped.
2147 (build_mri_control_operand): Fix order of operands (swapped).
2148 (build_mri_control_operand): Allow upper case extension in structured
2149 control directives.
2150 (s_mri_else): Likewise.
2151 (s_mri_next): Likewise.
2152 (s_mri_for): Likewise.
2153 (s_mri_if): Fix handling comment ('*') in mri mode.
2154 (s_mri_while): Likewise.
8a543126 2155 * macro.c (macro_expand): Allow macro invocation with empty
ac62c346 2156 extension.
e1f44d10 2157
3971ce95
NC
21582001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2159
2160 * config/tc-arm.c: Fix test for overlow of literal pool.
2161
63486801
L
21622001-06-11 H.J. Lu <hjl@gnu.org>
2163
2164 * NEWS: Updated for the new -n option for the MIPS assembler.
2165
2166 * config/tc-mips.c (md_show_usage): Add -n.
2167
2168 * doc/as.texinfo: Document the new -n option.
2169 * doc/c-mips.texi: Likewise.
2170 * doc/as.1: Regenerated.
2171
5dd0794d
AM
21722001-06-10 Alan Modra <amodra@bigpond.net.au>
2173
2174 * config/obj-coff.c (obj_coff_section): Formatting fix.
2175
2176 * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and
2177 ",pn".
2178
39c0a331
L
21792001-06-08 H.J. Lu <hjl@gnu.org>
2180
2181 * config/tc-mips.c (warn_nops): New variable. Set to 0 to
2182 disable warning about all NOPS that the assembler generates.
2183 (macro): Warn NOPS generated only if warn_nops is not 0.
2184 (md_shortopts): Add `n'.
2185 (md_parse_option): Set warn_nops to 1 for `n'.
2186
268f6bed
L
21872001-06-08 H.J. Lu <hjl@gnu.org>
2188
2189 * config/tc-mips.c (mips_ip): Properly handle illegal operands.
2190
ea4ff978
L
21912001-06-08 H.J. Lu <hjl@gnu.org>
2192
2193 * config/tc-mips.c (md_apply_fix): Don't adjust common
2194 extern/weak symbols for ELF.
2195 (md_estimate_size_before_relax): Treat weak like extern for
2196 ELF.
2197 (mips_fix_adjustable): Don't adjust extern/weak symbols for
2198 ELF.
2199
98aa84af
AM
22002001-06-08 Alan Modra <amodra@bigpond.net.au>
2201
2202 * Makefile.am: 'som' is not wrongly spelled 'some'.
2203 * Makefile.in: Regenerate.
2204
2205 * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
2206 S_GET_VALUE by using a temp.
c0037ab6 2207 (append_insn): Likewise, and for S_SET_VALUE too.
98aa84af
AM
2208 (mips_emit_delays): Likewise.
2209 (my_getExpression): Likewise.
2210 (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
2211 (mips16_extended_frag): Remove code concerned with avoiding
2212 locking in a frag address now that symbols are not finalized until
2213 relaxation is complete. Cater for first relaxation pass having
2214 bogus addresses. Use relax_marker to reliably determine whether a
2215 symbol frag has been reached on the current pass.
2216
f85f789b
L
22172001-06-07 H.J. Lu <hjl@gnu.org>
2218
2219 * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
2220 * configure: Regenerate.
2221
df3bcd6f
L
22222001-06-07 H.J. Lu <hjl@gnu.org>
2223
2224 * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
2225 ecoff emulation.
2226 * configure: Regenerate.
2227
add56521
L
22282001-06-07 H.J. Lu <hjl@gnu.org>
2229
2230 * config/tc-mips.c (mips_pseudo_table): Add "extern" if
2231 MIPS_STABS_ELF is defined.
2232
6da13e9a
NC
22332001-06-06 Nick Clifton <nickc@cambridge.redhat.com>
2234
2235 * as.c (show_usage): Remove L from listing options. It is not a
2236 generic option.
2237
879db8be
NC
22382001-06-06 Christian Groessler <cpg@aladdin.de>
2239
c0037ab6 2240 * config/tc-z8k.c: Removed many warnings by removing unused
879db8be
NC
2241 variables and tagging unused parameters as such.
2242 (md_begin): Fixed a typo (","instead of ";").
2243 (struct ctrl_table): Add parentheses to initialize array
2244 correctly.
2245 (struct flag_table): Likewise.
2246 (struct intr_table): Likewise.
2247 (struct table): Likewise.
2248 (check_operand): "#if 0"'ed since it doesn't seem to be used.
2249
98b32482
NC
22502001-06-06 Peter Jakubek <pjak@snafu.de>
2251
8a543126 2252 * config/tc-m68k.c (md_show_usage): Add all supported ColdFire
98b32482
NC
2253 options to list (e.g. m5206e, m5307, m5407).
2254
6e139bf0
AM
22552001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2256
2257 * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
2258 BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
2259
cb9401fc
AM
22602001-06-06 Alan Modra <amodra@bigpond.net.au>
2261
2262 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
2263 <JumpByte, JumpDword insn output>: Remove dead code.
2264
3c5cdb54
AM
22652001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
2266
2267 * as.c (parse_args): Correct option name "listing-lhs-width2".
2268
92ed29ef
NC
22692001-06-05 Nick Clifton <nickc@cambridge.redhat.com>
2270
2271 * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's
2272 status.
2273
371b7465
RH
22742001-05-30 Richard Henderson <rth@redhat.com>
2275
2276 * read.c (emit_leb128_expr): Call md_cons_align.
2277
0f2712ed
NC
22782001-05-28 Jeff Sturm <jsturm@one-point.com>
2279
2280 * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
2281 BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64.
2282 (tc_gen_reloc): Likewise.
2283 (sparc_cons_align): Don't clear sparc_no_align_cons.
c0037ab6 2284 (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for
0f2712ed
NC
2285 BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set.
2286
fbe572f9
AM
22872001-05-27 Alan Modra <amodra@one.net.au>
2288
9e40345d
AM
2289 * write.c (relax_segment <rs_space>): Check the section of a
2290 symbol to determine whether it is absolute rather than comparing
2291 its frag against zero_address_frag as listings play tricks with
2292 frags.
2293
fbe572f9
AM
2294 * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
2295 allocated in the same chunk as the fixed part.
2296
54d3cad9
AM
22972001-05-26 Alan Modra <amodra@one.net.au>
2298
2299 * write.c (relax_segment <rs_space>): Calculate growth using
2300 addresses before stretch. Prevent repeated error messages.
2301 From Peter Jakubek <pjak@snafu.de>
2302 Use as_bad_where and as_warn_where to pinpoint errors.
2303
766c03c9
AM
23042001-05-25 Alan Modra <amodra@one.net.au>
2305
05bdb37e
AM
2306 * symbols.c (resolve_symbol_value): Always set segment, even when
2307 not finalizing symbol value.
2308
1cd55018
AM
2309 * config/obj-ieee.c (write_object_file): Set finalize_syms.
2310 * config/obj-coff.c (write_object_file): Likewise.
2311 * (size_section): Remove rs_space assert as fr_symbol is no longer
2312 removed.
2313 (fill_section): Likewise.
2314
c709b096
AM
2315 * configure.in: Replace linuxoldld with linux*oldld.
2316 * configure: Regenerate.
2317
b58c9faf
AM
2318 From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
2319 * config/tc-i386.c (md_convert_frag): Don't die on local symbols
2320 that have been finalized.
2321
c89c8534
AM
2322 * symbols.c (resolve_symbol_value): Clear sy_resolving before
2323 taking exit_dont_set_value.
2324
54d3cad9
AM
2325 * write.c (relax_segment <rs_space>): Don't zap fr_symbol when
2326 relaxing.
766c03c9 2327
6877bb43
TR
23282000-05-24 Tom Rix <trix@redhat.com>
2329
5dd0794d 2330 * config/obj-coff.c (add_lineno): xcoff allows negative line
6877bb43 2331 numbers
5dd0794d 2332 * config/tc-ppc.c (ppc_stabx): fix generated symbol
c0037ab6 2333
e027f3e8
AM
23342001-05-24 Alan Modra <amodra@one.net.au>
2335
2336 * write.c (write_object_file): Set finalize_syms = 1 before
2337 size_seg is called.
2338
d1cf510e
NC
23392001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2340
2341 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
2342 architecture, remove erraneous ISA_MIPS32.
2343 (md_show_usage): Add MIPS r12k support.
2344 (mips_cpu_info_table): Add MIPS r12k support.
c0037ab6 2345
507c8a1a
AM
23462001-05-22 Alan Modra <amodra@one.net.au>
2347
2d0441d9
AM
2348 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
2349 testing for NULs.
2350
6386f3a7
AM
2351 * symbols.c (resolve_symbol_value): Remove "finalize" param,
2352 instead use finalize_syms directly. Don't treat expressions
2353 specially with regard to finalize_syms. Update calls to self.
2354 (resolve_local_symbol): Update call to resolve_symbol_value.
2355 (S_GET_VALUE): Likewise. Return resolve_symbol_value if
2356 !finalize_syms.
2357 * symbols.h (resolve_symbol_value): Update prototype.
2358 * config/obj-aout.c (obj_crawl_symbol_chain): Update call
2359 to resolve_symbol_value.
2360 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
2361 * config/obj-coff.c (do_relocs_for): Likewise.
2362 (yank_symbols): Likewise.
2363 (fixup_segment): Likewise.
2364 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
2365 * config/tc-mips.c (md_convert_frag): Likewise.
2366 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
2367 (ppc_fix_adjustable): Likewise.
2368 * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
2369 (dwarf2dbg_convert_frag): Likewise.
2370 * ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
2371 (eh_frame_convert_frag): Likewise.
2372 * expr.c (make_expr_symbol): Likewise.
2373 * write.c (adjust_reloc_syms): Likewise.
2374 (write_object_file): Likewise.
2375 (relax_segment): Likewise.
2376 (fixup_segment): Likewise.
2377 (finalize_syms): Init to zero, and update comment.
2378 (write_object_file): Set finalize_syms to 1 rather than 2.
2379 * doc/internals.texi (sy_value): Mention finalize_syms.
2380 (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
2381
c801568a
AM
2382 * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
2383 as relaxable if embedded system, make weak syms non-relaxable.
2384 Move definition..
2385 (tc_m68k_fix_adjustable): ..so it can be used here.
2386 (md_apply_fix_2): Sign extend without conditional.
2387
507c8a1a
AM
2388 * config/tc-v850.c: Update copyright.
2389
aaa4f6d9
JJ
23902001-05-16 Jeff Johnston <jjohnstn@redhat.com>
2391
c0037ab6
AM
2392 * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
2393 howto entry is not found.
aaa4f6d9 2394
7e8f4100
AO
23952001-05-15 Alexandre Oliva <aoliva@redhat.com>
2396
2397 * config/tc-mn10300.c (mn10300_force_relocation): Don't
2398 optimize differences between symbols in code sections to
2399 constants.
2400 (mn10300_fix_adjustable): Don't adjust to section+offset
2401 relocations pointing at symbols in code sections.
2402
9fcc94b6
AM
24032001-05-16 Alan Modra <amodra@one.net.au>
2404
2405 * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
2406 for 8 byte insns.
2407 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
2408 opcodes are output rather than after. Delete insn_size.
2409 * config/tc-v850.c (md_assemble): Similarly, but delete
2410 total_insn_size.
2411
de1cb007
RH
24122001-05-14 Richard Henderson <rth@redhat.com>
2413
2414 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
2415 last change.
2416
67a659f6
RH
24172001-05-14 Richard Henderson <rth@redhat.com>
2418
2419 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
2420 also collect whether to expect an FDE augmentation.
2421 (check_eh_frame): Rewrite as a state machine. Track where in
2422 an FDE we are located, skip any augmentation.
2423 (eh_frame_estimate_size_before_relax): Get code alignment from
2424 the fragment subtype.
2425 (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
2426 * read.c (emit_leb128_expr): Call check_eh_frame.
2427
076dc439
AO
24282001-05-14 Alexandre Oliva <aoliva@redhat.com>
2429
2430 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
2431 before a relaxable insns.
2432
4e75439a
AO
24332001-05-13 Alexandre Oliva <aoliva@redhat.com>
2434
2435 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
2436 between symbols if the base symbol is in the current section;
2437 emit a PC-relative relocation instead.
2438
bcee8eb8
AM
24392001-05-12 Peter Targett <peter.targett@arccores.com>
2440
2441 * config/tc-arc.c: Update copyright and tidy source comments.
2442 (md_pseudo_table): Add directive .cpu back as an alias for
2443 .option. Add .file and .line for dwarf2 support.
2444 (arc_mach_type): Make bfd_mach_arc_6 default.
2445 (md_longopts): Add entry 'pre-v6' representing old command line
2446 option when assembling for 'arc5' core versions.
2447 (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
2448 default behaviour.
2449 (arc_code_symbol): Make symbol value for @h30 fixup expression
2450 equal to O_constant.
2451 (md_assemble): Call dwarf2_emit_insn.
2452 Include "dwarf2dbg2.h". Formatting fixes throughout file.
2453 * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
bcee8eb8
AM
2454 * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.
2455
579f31ac
JJ
24562001-05-11 Jakub Jelinek <jakub@redhat.com>
2457
2458 * config/tc-ia64.c (special_linkonce_name): New.
2459 (make_unw_section): Map .gnu.linkonce.t.FOO text section into
2460 .gnu.linkonce.ia64unw{,i}.FOO.
2461 (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
2462 (dot_endp): Add comment about it.
2463
15f65ae4
NC
24642001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
2465
c0037ab6 2466 * config/tc-arm.c (arm_handle_align): When truncating an aligned
15f65ae4
NC
2467 block, ensure that the low order bits of the alignment are
2468 preserved.
2469
606ab118
AM
24702001-05-10 Alan Modra <amodra@one.net.au>
2471
2472 * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of
2473 symbol_next.
2474
2475 * config/tc-fr30.c (md_estimate_size_before_relax): Return size of
2476 current variable part of frag.
2477 * config/tc-m32r.c (md_estimate_size_before_relax): Likewise.
2478 * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise.
2479 * config/tc-m68hc11.c (RELAX_STATE): Define.
2480 (RELAX_LENGTH): Define.
2481 (md_estimate_size_before_relax): Handle non-relaxable cases
2482 separately from relaxable cases for clarity, and return correct
2483 size for multi-pass relaxation.
2484 * config/tc-tahoe.c (RELAX_LENGTH): Correct.
2485 (md_estimate_size_before_relax): As for tc-m68hc11.c.
2486 (md_convert_frag): Remove "length_code".
2487 * config/tc-vax.c (RELAX_STATE): Define.
2488 (RELAX_LENGTH): Define.
2489 (md_relax_table): Add missing entry.
2490 (md_estimate_size_before_relax): As for tc-m68hc11.c.
2491 (md_convert_frag): Remove "length_code".
2492 * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and
2493 don't bother setting fr_var. Return correct size for multi-pass
2494 relaxation.
2495 * config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
2496 (md_convert_frag): Don't bother clearing fr_var.
2497 (md_pseudo_table): Correct initialization.
2498 * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var.
2499 (md_estimate_size_before_relax): No need to set fr_var.
2500 * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var.
2501 (md_estimate_size_before_relax): No need to set fr_var.
2502
1f23ade4
RH
25032001-05-09 Richard Henderson <rth@redhat.com>
2504
2505 * config/tc-ia64.c (generate_unwind_image): Align the fragment
2506 beginning a function's unwind info block.
2507
96f37af6
AO
25082001-05-09 Alexandre Oliva <aoliva@redhat.com>
2509
2510 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
2511
8390138c
AS
25122001-05-08 Andreas Schwab <schwab@suse.de>
2513
2514 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
2515 fx_pcrel_adjust explicitly sign extend when reading it.
2516
5c65dbc1
AM
25172001-05-08 Alan Modra <amodra@one.net.au>
2518
2519 * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
2520 from md_relax_table, and combine some switch cases.
2521
a7c92dae
AO
25222001-05-06 Alexandre Oliva <aoliva@redhat.com>
2523
2524 * config/tc-mn10300.c (md_assemble): Subtract operand->shift
2525 from offset in non-pcrel operands too.
2526
d8708f40
NC
25272001-05-06 Nick Clifton <nickc@cambridge.redhat.com>
2528
2529 * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
2530 * config/tc-arm.c (arm_handle_align): Do not insert more than
2531 MAX_MEM_FOR_RS_ALIGN_CODE bytes.
2532 (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE.
2533
3438adb3
AM
25342001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2535
2536 * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h.
2537 Run "make dep-am".
2538 * Makefile.in: Regenerate.
2539 * configure.in: Remove duplicate mips-*-ecoff* entry.
2540 * configure: Regenerate.
2541
2542 * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry.
2543 (n_names): Cast away type mismatch.
2544 (ecoff_sec_sym_ok_for_reloc): Add unused attribute.
2545 (obj_ecoff_frob_symbol): Likewise.
2546 * ecoff.c: (add_file): Add unused attribute.
2547 (ecoff_directive_begin): Likewise.
2548 (ecoff_directive_bend): Likewise.
2549 (ecoff_directive_def): Likewise.
2550 (ecoff_directive_dim): Likewise.
2551 (ecoff_directive_scl): Likewise.
2552 (ecoff_directive_size): Likewise.
2553 (ecoff_directive_type): Likewise.
2554 (ecoff_directive_tag): Likewise.
2555 (ecoff_directive_val): Likewise.
2556 (ecoff_directive_endef): Likewise.
2557 (ecoff_directive_end): Likewise.
2558 (ecoff_directive_ent): Likewise.
2559 (ecoff_directive_extern): Likewise.
2560 (ecoff_directive_file): Likewise.
2561 (ecoff_directive_fmask): Likewise.
2562 (ecoff_directive_frame): Likewise.
2563 (ecoff_directive_mask): Likewise.
2564 (ecoff_directive_loc): Likewise.
2565 (mark_stabs): Likewise.
2566 (ecoff_stab): Likewise.
2567 (ecoff_frob_symbol): Cast away type mismatch.
2568 (ecoff_padding_adjust): Likewise.
2569 (ecoff_build_symbols): Likewise.
2570 (ecoff_build_procs): Likewise.
2571 (ecoff_build_aux): Likewise.
2572 (ecoff_build_strings): Likewise.
2573 (ecoff_build_fdr): Likewise.
2574 (ecoff_build_debug): Likewise.
2575 * itbl-ops.c (itbl_assemble): Variable initialization.
2576
636c26b0
AM
25772001-05-03 Alan Modra <amodra@one.net.au>
2578
2579 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
2580 expressions rather than triggering an assert.
2581
c7e40348
NC
25822001-05-02 Johan Rydberg <jrydberg@opencores.org>
2583
3438adb3
AM
2584 * config/tc-openrisc.c: New file.
2585 * config/tc-openrisc.h: Likewise.
c7e40348 2586
3438adb3
AM
2587 * Makefile.am: Add OpenRISC target.
2588 * Makefile.in: Regenerated.
c7e40348 2589
3438adb3
AM
2590 * configure.in (openrisc-*-*): Add target.
2591 * configure: Regenerated.
c7e40348 2592
5cb1517b
NC
25932001-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2594
2595 * config/tc-arm.c (arm_frag_align_code): Change error message to
2596 more explanatory version.
2597
f4ddc5e6
L
25982001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
2599
2600 * config/tc-mips.c (md_parse_option): Also accept
2601 elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
2602
fa7fda74
L
26032001-04-27 David Mosberger <davidm@hpl.hp.com>
2604
2605 * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
2606 argument passing order: predicate goes last, not first.
2607
87748b32
NC
26082001-04-27 Sean McNeil <sean@mcneil.com>
2609
2610 * configure.in: Add arm-vxworks.
2611 * configure: Regenerate.
2612
16a0c2d4
NC
26132001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
2614
2615 * config/tc-arm.c (arm_handle_align): New Function: Generate
2616 no-op filled alignment frags.
2617 (arm_frag_align_code): New Function: Create a code alignment frag.
2618 (arm_init_frag): New Function: Initialse the target dependent
2619 parts of a frag.
2620
2621 * config/tc-arm.h (TC_FRAG_TYPE): Define.
2622 (TC_FRAG_INIT): Define.
2623 (HANDLE_ALIGN): Define.
2624 (md_do_align): Define.
2625
ea3b9044
NC
26262001-04-25 Nick Clifton <nickc@cambridge.redhat.com>
2627
2628 * config/obj-coff.c (do_linenos_for): Check to see if the filename
2629 symbol has been initialised before extracting its symbol index.
2630
d6d788bd
L
26312001-04-24 H.J. Lu <hjl@gnu.org>
2632
2633 * configure: Regenerated with the right version of autoconf.
2634
6840198f
NC
26352001-04-24 Christian Groessler <cpg@aladdin.de>
2636
2637 * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now
2638 generate R_CALLR and R_REL16 relocations
2639
1c97d17b
JE
26402000-04-20 Jason Eckhardt <jle@redhat.com>
2641
2642 * config/tc-d10v.h (tc_frob_label): Update the symbol's frag
2643 since frag_now can change after d10v_cleanup is called.
2644
1c33f1da
DB
26452001-04-16 David O'Brien <obrien@FreeBSD.org>
2646
2647 * configure.in: Add the em type for FreeBSD targets.
2648 * configure: Regenerate.
2649
eb0dfd58
AO
26502001-04-14 Alexandre Oliva <aoliva@redhat.com>
2651
8c5e1ccd
AO
2652 * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
2653 * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
2654
eb0dfd58
AO
2655 * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
2656 pc-relative relocations not placed at the end of the instruction.
2657
1deb8127
JW
26582001-04-13 Jim Wilson <wilson@redhat.com>
2659
2660 * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
2661 excluding br.i.
2662
f5fa8ca2
JJ
26632001-04-13 Jakub Jelinek <jakub@redhat.com>
2664
2665 * config/obj-elf.c (obj_elf_change_section): Add entsize argument,
2666 handle SHF_MERGE and SHF_STRINGS.
2667 (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
2668 (obj_elf_section): Allow additional argument specifying entity size.
2669 * write.c (adjust_reloc_syms): Keep relocations against local symbols
2670 in SEC_MERGE sections.
2671
fb81275c
JM
26722001-04-12 Jason Merrill <jason_merrill@redhat.com>
2673
2674 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
2675
a8a22e33
AO
26762001-04-12 Alexandre Oliva <aoliva@redhat.com>
2677
2678 * expr.c (operand): Pass &c to md_parse_name().
2679 * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2680
af9539e4
L
26812001-04-07 Steven J. Hill <sjhill@cotw.com>
2682
2683 * config/tc-mips.c: Support ELF64 for traditional MIPS targets.
2684
2685 * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
2686 * Makefile.in: Regenerated.
2687
2688 * configure.in: Use traditional MIPS targets for Linux/MIPS.
2689 * configure: Regenerated.
2690
4dfea105
AO
26912001-04-06 Alexandre Oliva <aoliva@redhat.com>
2692
2693 * config/tc-mn10300.c (xr_registers): Added `pc'.
2694
e66457fb
AM
26952001-04-05 Alan Modra <alan@linuxcare.com.au>
2696
2697 * configure.in: Add h8500-*-coff and h8500-*-rtems targets.
2698 * configure: Regenerate.
2699
2700 * config/tc-h8500.c (md_estimate_size_before_relax): Add missing
2701 cases, and always return size based on current fr_subtype.
2702 (md_begin): Move initialization of md_relax_table..
2703 (md_relax_table): ..to static initializer. Set rlx_length for
2704 UNDEF_WORD_DISP cases.
2705 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
2706 (md_begin): Likewise.
2707 (md_relax_table): Likewise.
2708 * config/tc-mcore.c (md_estimate_size_before_relax): Likewise.
2709 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
2710 Set rlx_backward and rlx_forward to zero for unused states.
2711 * config/tc-sh.c (md_estimate_size_before_relax): Likewise.
2712 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
2713 (UNCOND12, UNCOND32): Remove duplicate defines.
2714
aacb5251
HPN
27152001-04-04 Hans-Peter Nilsson <hp@axis.com>
2716
c335d394
HPN
2717 * config/tc-cris.c (md_estimate_size_before_relax) <case
2718 ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
2719 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
2720 <all cases>: Always set fragP->fr_var using md_cris_relax_table.
2721 Add cases to cover all relax states.
ed67db7a
HPN
2722 (cris_insn_first_word_frag): New.
2723 (md_assemble): Call cris_insn_first_word_frag to get the first
2724 frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
2725 end. Drop variable insn_size.
2726 (gen_bdap): Call cris_insn_first_word_frag, not frag_more.
2727 (cris_sym_leading_underscore): Wrap first as_bad parameter in _().
2728 (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
c335d394 2729
aacb5251
HPN
2730 * write.c (write_object_file): Reset broken word state before
2731 calling relax_seg.
2732
cdbc6895
AM
27332001-03-31 Alan Modra <alan@linuxcare.com.au>
2734
61b96bb4
AM
2735 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT
2736 for one line if not already enabled.
2737 * cond.c (s_elseif): Correct conditional assembly listing.
2738 (s_else): Likewise.
2739
cdbc6895
AM
2740 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
2741 Don't abort on NULL current_cframe.
2742
93c2a809
AM
27432001-03-30 Alan Modra <alan@linuxcare.com.au>
2744
0529cb87 2745 * dwarf2dbg.c (dwarf2_directive_file): Fix warnings.
1a5447b8
AM
2746 (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value.
2747 * config/obj-aout.c (obj_crawl_symbol_chain): Likewise.
2748 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
2749 * config/obj-coff.c (do_relocs_for): Likewise.
2750 (yank_symbols): Likewise.
2751 (fixup_segment): Likewise.
2752 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
2753 (ppc_fix_adjustable): Likewise.
2754 * config/tc-mips.c (md_convert_frag): Likewise.
2755 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
2756 * ehopt.c (eh_frame_convert_frag): Likewise.
2757 * expr.c (make_expr_symbol): Likewise.
0529cb87 2758
e46d99eb
AM
2759 * frags.h (struct frag): Add last_fr_address. Reorder fields for
2760 better packing.
2761 * symbols.c (resolve_symbol_value): Don't fix expression values
2762 until relaxation is complete.
2763 (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value.
2764 (S_GET_VALUE): Likewise, and return unresolved expression value.
2765 * write.c (finalize_syms): New.
2766 (relax_and_size_seg): Split into..
2767 (relax_seg): New function, returns 1 if anything changed..
2768 (size_seg): And the remainder of relax_and_size_seg.
2769 (fixup_segment): Arrange for final resolution of sym values.
2770 (adjust_reloc_syms): Likewise.
2771 (write_object_file): Likewise, and repeatedly call relax_seg until
2772 nothing more changes.
2773 (relax_segment): Return 1 if anything changed. Use correct types
2774 for rs_org `target' and `after'.
2775 * write.h (finalize_syms): Declare.
2776 (relax_segment): Update prototype.
2777
93c2a809
AM
2778 * config/tc-sh.c (md_estimate_size_before_relax): Add extra
2779 do-nothing cases to switch to avoid abort on a second relaxation
2780 pass, and tidy code a little.
2781 * config/tc-cris.c (md_estimate_size_before_relax): Likewise.
2782 * config/tc-h8500.c (md_estimate_size_before_relax): Likewise.
2783 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
2784 * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
2785 (md_relax_table): Remove first four unused entries. Increment
2786 rlx_length by one throughout table, and update comments to suit.
2787 (md_estimate_size_before_relax): Return size of current variable
2788 part of frag to reflect reality when relaxing more than once.
2789 * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout.
2790 (COND32, UNCD32): Rename to DISP32 throughout.
2791 (UNDEF_WORD_DISP): Renumber to 3.
2792 (md_estimate_size_before_relax): Add extra do-nothing cases.
2793 * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite.
2794 * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.
2795 * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to
2796 handle word and dword branches.
2797
d551a338
HPN
27982001-03-29 Hans-Peter Nilsson <hp@axis.com>
2799
2800 * config/tc-cris.h (tc_fix_adjustable): Allow only
2801 BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
23ec5d03
HPN
2802 * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in
2803 example in comment to valid type.
d551a338 2804
440ecb38
L
28052001-03-28 H.J. Lu <hjl@gnu.org>
2806
2807 * read.c (equals): Set to local for COFF only if it hasn't been
2808 defined before.
2809
8a238888
AM
28102001-03-28 Alan Modra <alan@linuxcare.com.au>
2811
2812 * config/tc-hppa.c (DEFAULT_LEVEL): Define.
2813 (md_begin): Use it when setting default architecture.
2814
775cf891
NC
28152001-03-27 Nick Papadonis <nick@coelacanth.com>
2816
2817 * read.c (equals): (for COFF) default symbols to being local.
2818
f9c19112
HPN
28192001-03-27 Hans-Peter Nilsson <hp@axis.com>
2820
2821 * configure.in (cris-*-*): Change default emulation to criself.
2822 (cris-*-*aout*): New rule.
2823 * configure: Regenerate.
2824
07855bec
NC
28252001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com>
2826
2827 * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
2828 BFD_RELOC_390_GOTENT.
2829 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
2830 BFD_RELOC_390_GOTENT.
2831
28322001-03-26 Nick Clifton <nickc@redhat.com>
2833
2834 * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
2835 * config/tc-s390.c (s390_force_relocation): New function: Force
2836 relocations for VTINHERIT relocs.
2837
0285c67d
NC
28382001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2839
2840 * doc/as.texinfo: Put @c man begin to generate the as man page.
2841 When generating man, define all the variables. Re-organize some
2842 options to obtain better indentation of man page.
2843 * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2844 (as.1): Build from as.texinfo.
2845 * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
2846
551c1ca1
AM
28472001-03-25 Alan Modra <alan@linuxcare.com.au>
2848
2849 * config/tc-i386.c (i386_scale): Accept an absolute expression for
2850 scale factor, and return the end of the expression.
2851 (i386_operand): Modify for above.
2852
c3a27914
NC
28532001-03-23 Nick Clifton <nickc@redhat.com>
2854
2855 * doc/as.texinfo: Document --listing-XXX command line switches.
2856 Explain why listings behave differently when -pipe is used.
2857
37006e43
NC
28582001-03-23 Richard Sandiford <rsandifo@redhat.com>
2859
2860 * write.c (fix_new_exp): Print an error if passed a register.
2861
08caf3f8
HPN
28622001-03-23 Hans-Peter Nilsson <hp@axis.com>
2863
2864 * config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
2865 (PIC_SUFFIX_CHAR): New macro.
2866 (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
2867 (pic): New variable.
2868 (md_longopts): New option --pic.
2869 (OPTION_PIC): Define.
2870 (md_estimate_size_before_relax): Tweak longish comment.
2871 (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
2872 (md_assemble): Handle a PIC relocation on prefix and normal
2873 instruction operands.
2874 <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
2875 "complex" operand expressions. Call frag_more outside
2876 gen_cond_branch_32 parameter list.
2877 (cris_process_instruction): Handle PIC relocs on parsed
2878 operand expressions. Validize PIC reloc sizes.
2879 (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
2880 (gen_bdap): Handle "complex" operand expressions.
2881 (gen_cond_branch_32): Use as_warn_where, not as_warn. Use
2882 ADD.D offset,PC as jump instruction if generating PIC. Generate
2883 error instead of crashing on complex expressions.
2884 (cris_number_to_imm): Add segT parameter. All callers changed.
2885 Use segT parameter, not now_seg, for segment of fixup. Handle
2886 PCREL relocations but check that they are fully resolved.
2887 (md_parse_option): Handle OPTION_PIC.
2888 (tc_gen_reloc): Handle PIC relocs.
2889 (md_show_usage): Update for --pic.
2890 (md_apply_fix3): Renamed from md_apply_fix.
2891 (md_pcrel_from): Accept emitting PCREL relocs when ELF.
2892 (md_cris_force_relocation): Force relocation for PIC relocs.
2893
2894 * config/tc-cris.h: Tweak attribution.
2895 (MD_APPLY_FIX3): Define.
2896 (IS_CRIS_PIC_RELOC): New macro.
2897 (TC_RELOC_RTSYM_LOC_FIXUP): Define.
2898 (tc_fix_adjustable): Don't adjust a globally visible symbol when
2899 generating ELF.
8a238888 2900 (tc_frob_symbol): Avoid emitting undefined symbols.
08caf3f8 2901
38686296
AM
29022001-03-20 Alan Modra <alan@linuxcare.com.au>
2903
2904 * frags.h (struct frag): Add relax_marker.
2905 * write.c (is_dnrange): Delete.
2906 (relax_frag): Use correct types for `aim', `target', `address'.
2907 Delete `offset', `was_address'. Test `relax_marker' instead of
2908 using fragile (and slow) address test.
2909 (relax_segment): Init and flip `relax_marker'.
2910
2e98d2de
AM
29112001-03-19 Alan Modra <alan@linuxcare.com.au>
2912
2913 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
2914 used register name.
2915
e629c13f
SC
29162001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2917
2918 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
2919 with 'Motorola specification for assembly language input standard'.
2920
249e3833
RH
29212001-03-17 Richard Henderson <rth@redhat.com>
2922
2923 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
2924 (dwarf2_directive_loc): Don't use them.
2925 (dwarf2_directive_file): Reject duplicate file definitions.
2926 (get_filenum): Zero allocated memory.
2927 (out_file_list): Complain about missing file definitions.
2928
2289f85d
AM
29292001-03-17 Alan Modra <alan@linuxcare.com.au>
2930
2931 * read.c (do_org): Handle complex expressions.
2932 * cgen.c (gas_cgen_finish_insn): Likewise.
2933
4d5a53ff
JW
29342001-03-15 David Mosberger <davidm@hpl.hp.com>
2935
2936 * config/tc-ia64.c (md): New member keep_pending_output.
2937 (ia64_flush_pending_output): Flush only if md.keep_pending_output
2938 is not set.
2939 (dot_xdata): Turn on md.keep_pending_output for the duration of
2940 this function.
2941 (dot_xfloat_cons): Ditto.
2942 (dot_xstringer): Ditto.
2943 (dot_xdata_ua): Ditto.
2944 (dot_xfloat_cons_ua): Ditto.
2945
29462001-03-15 Jim Wilson <wilson@redhat.com>
2947
2948 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
2949 label support.
2950
19c0258a
AO
29512001-03-15 Alexandre Oliva <aoliva@redhat.com>
2952
2953 * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
2954
d68d4570
DD
29552001-03-15 DJ Delorie <dj@redhat.com>
2956
2957 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
2958 blindly freeing string if it isn't at the top of the obstack.
2959
f3c180ae
AM
29602001-03-13 Alan Modra <alan@linuxcare.com.au>
2961
2962 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
2963 (NUM_FLAG_CODE): Define.
2964 (lex_got): New function.
2965 (got_reloc): New global var.
2966 (x86_cons_fix_new): New function.
2967 (x86_cons): New function.
2968 (i386_immediate): Use lex_got here, replacing inline code. Change
2969 "ignoring junk.." error message to "junk.."
2970 (i386_displacement): Likewise.
2971 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
2972 (x86_cons): Declare.
2973 (TC_CONS_FIX_NEW): Define.
2974 (x86_cons_fix_new): Declare.
2975
83e7603d
NC
29762001-03-12 Nick Clifton <nickc@redhat.com>
2977
2978 * config/tc-arm.c (md_begin): Always set machine type based on
2979 cpu_variant.
2980
1ae12ab7
AM
29812001-03-07 Alan Modra <alan@linuxcare.com.au>
2982
2983 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
f3c180ae 2984 (md_assemble) <smallest displacement>: Use correct field of i.op[]
1ae12ab7 2985 union.
f3c180ae
AM
2986 <JumpInterSegment output>: Use correct i.disp_reloc[].
2987 <immediate output>: Likewise.
1ae12ab7 2988
4f3c3dbb
NC
29892001-03-06 Nick Clifton <nickc@redhat.com>
2990
2991 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
2992 BLX(1) instruction.
2993
dc84e067
NC
29942001-03-06 Igor Shevlyakov <igor@windriver.com>
2995
2996 * config/tc-m68k.c : Add 5407 to archs[] table.
2997 (HAVE_LONG_BRANCH): Add mcf5407.
2998 (select_control_regs): Recognize 5407.
2999
a8150a88
DB
30002001-03-02 Dave Brolley <brolley@redhat.com>
3001
1ae12ab7
AM
3002 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
3003 than m32r_do_align.
a8150a88 3004
e103941e
NC
30052001-03-02 Richard Sandiford <rsandifo@redhat.com>
3006
3007 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
3008 (gen_to_words): Print warnings if NaNs are found and the target CPU
3009 does not support them. Allow largest exponent to be used in normal
3010 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
3011
7c44d1d3
AJ
30122001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
3013
3014 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
3015 anymore since we use bfd_elf_generic_reloc now.
3016 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
3017
27b7e12d
AM
30182001-02-27 Alan Modra <alan@linuxcare.com.au>
3019
3020 * configure.in (BFD_VERSION): New.
3021 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
3022 * configure: Regenerate.
3023 * Makefile.am: Run "make dep-am"
3024 * Makefile.in: Regenerate.
3025 * doc/Makefile.in: Regenerate.
3026
1af96959
NC
30272001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
3028
3029 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
3030 SEC_NEVER_LOAD when the 'n' flag is used.
3031 Add SEC_NEVER_LOAD to matchflags.
3032
d95767bf
SC
30332001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3034
3035 * symbols.c (decode_local_label_name): Initialize message_format
3036 only when an error is reported (perf pb due to I18N).
3037
3737d051
L
30382001-02-23 H.J. Lu <hjl@gnu.org>
3039
3040 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
3041 BFD_ASSEMBLER is not defined.
3042
23fe39df 30432001-02-23 Richard Sandiford <rsandifo@redhat.com>
b653e7f9
NC
3044
3045 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
3046 done if it's against a symbol.
3047
7463c317
TW
30482001-02-22 Timothy Wall <twall@cygnus.com>
3049
3050 * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
3051 target formats if applicable.
3052 * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
3053 * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
3054 * Makefile.in: Regenerated.
3055 * configure.in: Added configuration for ia64-*-aix*.
3056 * configure: Regenerated.
7c44d1d3 3057
87f8eb97
JW
30582001-02-21 David Mosberger <davidm@hpl.hp.com>
3059
3060 * config/tc-ia64.c (enum operand_match_result): New type.
3061 (operand_match): Change return type to operand_match_result.
3062 Fix all returns appropriately, adding support for returning the
3063 out-of-range result.
3064 (parse_operands): New locals result, error_pos, out_of_range_pos,
3065 curr_out_of_range_pos. Rewrite operand matching loop to give better
3066 error messages.
7c44d1d3 3067
33d01f33
JW
30682001-02-21 David Mosberger <davidm@hpl.hp.com>
3069
3070 * config/tc-ia64.c (struct unwind): Add member "prologue_count".
3071 (dot_proc): Clear unwind.prologue_count to zero.
3072 (dot_prologue): Increment unwind.prologue_count.
3073 (dot_restore): If second operand is omitted, use
3074 unwind.prologue_count -1 for "ecount" (# of additional regions to
3075 pop). Decrement unwind.prologue_count by number of regions
3076 popped.
3077
7e84d676
NC
30782001-02-21 Nick Clifton <nickc@redhat.com>
3079
3080 * doc/as.texinfo (Section): Note that some flags to the COFF
3081 version of .section remove attributes rather than setting them.
3082
5cd4edbe
KH
30832001-02-20 Kazu Hirata <kazu@hxi.com>
3084
29184774
NC
3085 * config/tc-pdp11.c: Fix formatting.
3086 * config/tc-pdp11.h: Likewise.
5cd4edbe 3087
80b3ee89
AJ
30882001-02-20 Bo Thorsen <bo@suse.de>
3089
3090 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
3091 entry.
3092
0fde8cc6 30932001-02-18 David O'Brien <obrien@FreeBSD.org>
cac5b87b
DB
3094
3095 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
3096 all FreeBSD platforms should look the same at this level.
3097 * configure: Rebuilt.
3098 * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
3099
e135f41b
NC
31002001-02-18 lars brinkhoff <lars@nocrew.org>
3101
3102 * Makefile.am: Add PDP-11 target.
3103 * configure.in: Likewise.
3104 * config/tc-pdp11.c: New file.
3105 * config/tc-pdp11.h: New file.
3106 * doc/Makefile.am: Add PDP-11 documentation.
3107 * doc/all.texi: Likewise.
3108 * doc/as.texinfo: Likewise.
3109 * doc/c-pdp11.texi: New file.
3110
363c574f
MG
31112001-02-16 matthew green <mrg@redhat.com>
3112
5dd0794d 3113 * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
363c574f 3114
fa1cb89c
JW
31152001-02-13 Jim Wilson <wilson@redhat.com>
3116
3117 * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
3118 reloc instead of a 0 reloc.
3119 (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
3120 as done.
3121 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
3122
c842b53a
ILT
31232001-02-13 Ian Lance Taylor <ian@zembu.com>
3124
3125 * write.c (is_dnrange): Stop as soon as the address becomes
3126 larger.
3127 (relax_frag): Add segment parameter. Only call symbol_get_frag
3128 once. Only call is_dnrange if the symbol is in the same segment,
3129 and the symbol address is larger.
3130 (relax_segment): Pass segment to md_relax_frag and relax_frag.
3131 * write.h (relax_frag): Update declaration.
3132 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
3133 it to relax_frag.
3134 * config/tc-m32r.c (m32r_relax_frag): Likewise.
3135 * config/tc-m32r.h (md_relax_frag): Add segment parameter.
3136 (m32r_relax_frag): Update declaration.
3137 * config/tc-mips.h (md_relax_frag): Add segment parameter.
3138 * config/tc-tic54x.h (md_relax_frag): Likewise.
3139 * doc/internals.texi (CPU backend): Update documentation for
3140 md_relax_frag.
3141
6fad6acb
AM
31422001-02-13 Alan Modra <alan@linuxcare.com.au>
3143
fddf5b5b
AM
3144 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
3145 Mention effect of < 386 architectures on jump promotion.
3146 (i386-Jumps): xref above. Don't assume long disp is 32 bits.
3147
3148 * config/tc-i386.c (no_cond_jump_promotion): New.
3149 (set_cpu_arch): Parse "jumps" arch modifier.
3150 (insn_size): Modify usage comment.
3151 (ENCODE_RELAX_STATE): Reformat and protect macro arg.
3152 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
3153 (TYPE_FROM_RELAX_STATE): New define.
3154 (UNCOND_JUMP, COND_JUMP): Renumber.
3155 (md_relax_table): Reorder to suit.
3156 (COND_JUMP86): New define.
3157 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
3158 (md_assemble): Create frag var for jumps of max size, encode relax
3159 state for COND_JUMP86.
3160 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
3161 leave conditional jumps small if no_cond_jump_promotion.
3162 (md_convert_frag): Likewise.
3163
6fad6acb
AM
3164 * expr.c (operator): Don't bump input_line_pointer for two char
3165 operators. Instead return operator size via new param num_chars.
3166 (expr): Use above to parse multi-char operators correctly.
3167
131b0983 31682001-02-12 Jan Hubicka <jh@suse.cz>
23df1078 3169
29184774 3170 * config/tc-i386.c (i386_displacement): Fix handling of
23df1078
JH
3171 BFD_RELOC_X86_64_GOTPCREL.
3172 (i386_validate_fix): Likewise.
3173
b1e2e654
PB
31742001-02-12 Philip Blundell <pb@futuretv.com>
3175
3176 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
3177 ldrt/strt instructions.
3178
9117d219
NC
31792001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3180
3181 * config/tc-mips.c (macro): For M_LA_AB emit a
3182 BFD_RELOC_MIPS_CALL16 relocation or a
3183 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
3184 BFD_RELOC_MIPS_GOT16 and
3185 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
3186 loading the jump register when generating SVR4_PIC code.
3187
97238fbd
CD
31882001-02-10 Chris Demetriou <cgd@broadcom.com>
3189
3190 * configure.in: Make 'mipself' and 'mipsecoff' emulations
3191 map to MIPS-specific files, as they used to do before the
3192 change on 2000-05-21.
3193 * configure: Regerate.
3194
0f074f60
CD
31952001-02-10 Chris Demetriou <cgd@broadcom.com>
3196
3197 * config/tc-mips.c (md_parse_option): Don't try to compile
3198 ELF-only option code if not ELF.
3199
91a2ae2a
RH
32002001-02-08 David Mosberger <davidm@hpl.hp.com>
3201
3202 * config/tc-ia64.h (md_elf_section_type): New macro.
3203 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
3204 (they're now handled via ia64_elf_section_type.
3205
3206 * config/tc-ia64.c (unwind): New members saved_text_seg,
3207 saved_text_subseg, and force_unwind_entry.
3208 (optimize_unw_records): New function to optimize away unnecessary
3209 unwind directives.
3210 (ia64_elf_section_type): New function.
3211 (output_unw_records): Generate unwind info only if the size is
3212 non-zero or if it's forced for some other reason (e.g.,
3213 handlerdata or a personality routine).
3214 (generate_unwind_image): Don't switch back to previous
3215 section---stay inside the unwind info section instead so that
3216 handlerdata that may follow goes into the right place.
3217 (dot_handlerdata): Force generation of unwind entry and save the
3218 current active text segment before generating unwind image.
3219 (dot_unwentry): Force generation of unwind entry.
3220 (dot_personality): Ditto.
3221 (dot_endp): Generate unwind table entry only if there is
3222 some unwind info or the unwind entry was forced.
3223
3224 * config/tc-ia64.c (make_unw_section_name): New macro to form
3225 unwind section name.
3226 (generate_unwind_image): Add "text_name" argument. Use it to
3227 form unwind section name.
3228 (dot_handlerdata): Determine current segment (section) name and
3229 pass it to generate_unwind_image().
3230 (dot_endp): Determine current segment (section) name and use
3231 it to determine the appropriate unwind section name.
3232 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
3233 n, fill, and max arguments.
3234
a85d7ed0
NC
32352001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
3236
3237 * Makefile.am: Add linux target for S/390.
3238 * configure.in: Likewise.
3239 * config/tc-s390.c: New file.
3240 * config/tc-s390.h: New file.
3241
de68de20
AO
32422001-02-09 Alexandre Oliva <aoliva@redhat.com>
3243
3244 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
3245 2byte, 4byte and 8byte.
3246
23fe39df 32472001-02-08 Alan Modra <alan@linuxcare.com.au>
8ea46bbd
AM
3248
3249 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
3250 md_number_to_chars with size > sizeof (valueT).
3251
a99746f4
L
32522001-02-06 H.J. Lu <hjl@gnu.org>
3253
3254 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
3255 there is no relocation.
3256
f4e17b3d
L
32572001-02-06 H.J. Lu <hjl@gnu.org>
3258
3259 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
3260
3261 * config/tc-ia64.c (md_parse_option): Only accept the valid
3262 ia64 options on "-axxx".
3263
3557da92
JW
32642001-02-05 Jim Wilson <wilson@redhat.com>
3265
3266 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
3267 aborting for invalid operands.
3268
da6c73e0
AM
32692001-02-06 Alan Modra <alan@linuxcare.com.au>
3270
3271 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
3272 than via pointer. Update all callers.
3273 (UNWIND_LOW32): Define.
3274 (UNWIND_HIGH32): Define.
3275 (pa_build_unwind_subspace): Use the above macros instead of dumping
3276 bitfields directly. Call frag_more once rather than multiple times.
3277 (md_assemble): Use UNWIND_LOW32.
3278 (pa_entry): Likewise
3279 (pa_procend): Likewise.
3280 (process_exit): Use UNWIND_HIGH32.
3281
986c6f4b
SC
32822001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3283
3284 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
3285 function to select the header according to the cpu.
3286 (md_after_pass_hook, md_do_align): Remove.
3287 (md_cleanup, m68hc11_cleanup): Remove.
3288 (md_pcrel_from_section): Declare.
3289 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
3290 (build_jump_insn, build_insn): Likewise.
3291 (m68hc11_listing_header): New function.
3292 (m68hc11_cleanup): Remove.
3293
dbb8ad49
SC
32942001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3295
328dc123 3296 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
80b3ee89 3297 symbols because there is no support for shared libraries and these
328dc123 3298 symbols can't be overridden (unless they are weak).
dbb8ad49 3299
a987bfc9
RH
33002001-02-01 Momchil Velikov <velco@fadata.bg>
3301
3302 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
3303 for the compilation unit with a zero byte.
3304
22862cde
AM
33052001-01-30 Alan Modra <alan@linuxcare.com.au>
3306
3307 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
3308 destinations. Correct range check for 17 and 22 bit branches.
3309
8ec6253e
NC
33102001-01-25 Nick Clifton <nickc@redhat.com>
3311
3312 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
3313 still set. Issue an error message instead.
3314 (md_estimate_size_before_relax): Delete unused variable
3315 'buffer_address'. Fixup parentheses around if statement.
80b3ee89 3316
43ad3147
KH
33172001-01-23 Kazu Hirata <kazu@hxi.com>
3318
3319 * as.c: Fix formatting.
3320 * ehopt.c: Likewise.
3321 * messages.c: Likewise.
3322 * stabs.c: Likewise.
3323 * symbols.c: Likewise.
3324
015c05c1
AM
33252001-01-23 Ben Elliston <bje@redhat.com>
3326
3327 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
3328
66498417
KH
33292001-01-22 Kazu Hirata <kazu@hxi.com>
3330
3331 * config/tc-alpha.c: Fix formatting.
3332
1aad8cf8
KH
33332001-01-19 Kazu Hirata <kazu@hxi.com>
3334
3335 * config/tc-alpha.c: Fix formatting.
3336
32ff5c2e
KH
33372001-01-18 Kazu Hirata <kazu@hxi.com>
3338
3339 * config/tc-alpha.c: Fix formatting.
3340
cd17328a
NC
33412001-01-18 Nick Clifton <nickc@redhat.com>
3342
3343 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
3344 "da" flags.
3345 (stm_flags): Remove redundant bit from "ed" and "da" flags.
3346
81c425d1
AO
33472001-01-18 Alexandre Oliva <aoliva@redhat.com>
3348
3349 * configure.in (cpu_type, arch): Match i386 too.
3350 * configure: Rebuilt.
3351
e5cb08ac
KH
33522001-01-16 Kazu Hirata <kazu@hxi.com>
3353
3354 * config/tc-i386.c: Fix formatting.
3355
1d3d5051
AM
33562001-01-16 Alan Modra <alan@linuxcare.com.au>
3357
64afeba3
AM
3358 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
3359 relocs for .PARISC.unwind section.
3360
1d3d5051
AM
3361 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
3362 depending on section flags, not just for .text.
3363
b44b1b85
JW
33642001-01-15 Jim Wilson <wilson@redhat.com>
3365
3366 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
3367 not immediately followed by an instruction.
3368
098f2ec3
KH
33692001-01-15 Kazu Hirata <kazu@hxi.com>
3370
3371 * config/tc-m68hc11.c: Fix formatting.
3372
d4887adc
NC
33732001-01-15 Nick Clifton <nickc@redhat.com>
3374
3375 * symbols.c (colon): Change 'already defined symbol' from a
3376 fatal error to an ordinary error. There is no reason why this
3377 error should be fatal.
3378
3379 * message.c (as_fatal): Delete output file, if one has been
015c05c1 3380 created.
d4887adc 3381
fcfd4916
AM
33822001-01-14 Alan Modra <alan@linuxcare.com.au>
3383
3384 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
3385
bfb32b52
KH
33862001-01-14 Kazu Hirata <kazu@hxi.com>
3387
3388 * config/tc-alpha.c: Fix formatting.
3389 * config/tc-arc.c: Likewise.
3390 * config/tc-arc.h: Likewise.
3391 * config/tc-d10v.c: Likewise.
3392 * config/tc-i370.c: Likewise.
3393 * config/tc-i386.c: Likewise.
3394 * config/tc-i960.c: Likewise.
3395 * config/tc-m68k.c: Likewise.
3396 * config/tc-ppc.c: Likewise.
3397 * config/tc-sparc.c: Likewise.
3398 * config/tc-tahoe.c: Likewise.
3399 * config/tc-vax.c: Likewise.
3400
1e07b820
KH
3401 * config/tc-arc.c: Fix formatting.
3402
19203624
KH
3403 * config/tc-arc.c: Fix formatting.
3404
1328dc98
AM
34052001-01-14 Alan Modra <alan@linuxcare.com.au>
3406
c46b7515
AM
3407 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
3408 both 32 and 64 bit ELF.
3409
1328dc98
AM
3410 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
3411 and don't bother storing `m' for "ce" completer. Tidy handling of
3412 'J' and 'K' operands to suit. Handle '<' and '>' operands.
3413
131b0983 34142001-01-14 Jan Hubicka <jh@suse.cz>
b9d79e03 3415
29184774 3416 * config/tc-i386.h (TARGET_MACH): New macro.
b9d79e03 3417 (i386_mach): Declare.
29184774 3418 * config/tc-i386.c (i386_mach): New function.
b9d79e03 3419
a349d9dd
PB
34202001-01-13 Philip Blundell <philb@gnu.org>
3421
3422 * doc/as.texinfo: Fix spelling and cross-references.
3423
3424 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
3425 character for all systems, not just GNU/Linux. Make it explicit
3426 that `-k' doesn't affect code generation, just ELF flags.
3427
131b0983 34282001-01-13 Jan Hubicka <jh@suse.cz>
e2914f48
JH
3429
3430 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
3431 instructions.
3432
272d76e0
FCE
34332001-01-12 Frank Ch. Eigler <fche@redhat.com>
3434
3435 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
3436
d0398d6a
NC
34372001-01-12 Nick Clifton <nickc@redhat.com>
3438
3439 * as.c (print_args): Update copyright date to 2001.
3440
2d73a4ca
NC
34412001-01-12 Peter Targett <peter.targett@arccores.com>
3442
3443 * doc/c-arc.texi: New file.
3444 Some sections to be expanded.
3445
6e0b89ee
AM
34462001-01-12 Alan Modra <alan@linuxcare.com.au>
3447
3448 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
3449 (md_parse_option): Always accept "--32".
3450
0d2bcfaf
NC
34512001-01-11 Peter Targett <peter.targett@arccores.com>
3452
3453 * as.h (TC_ARC): Ensure struc-symbol.h included.
3454 * as.c (dwarf2dbg.h): Include to remove implicit declaration
3455 warnings.
3456 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
3457 (TARGET_SYMBOL_FIELDS) added.
3458
3459 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
3460 * doc/c-arc.texi: New file.
3461 Some sections to be expanded.
3462 * doc/as.texinfo: Update command-line options.
3463 Removed outdated text for ARC dependant features, instead include
3464 text from above file.
3465
3466 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
3467 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
3468 (targ-cpu.h) header.
3469 * config/tc-arc.h:
3470 * config/tc-arc.c: New updated configuration for
3471 ARC, including selection of core variants, and extensibility of
3472 instructions, registers etc. through directives.
3473
3474 * config/tc-arc.c (arc_extinst): Minor corrections for
3475 error messages.
3476 (arc_common) Likewise. Make alignment argument optional for local
3477 symbols also, with default of zero.
3478
88051039
SC
34792001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3480
3481 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
3482 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
3483 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
3484 and fix_new_exp() instead.
3485 (md_convert_frag): For indexed post byte use the symbol value
3486 rather than the displacement.
3487 (md_relax_table): Fix indexed offset relax.
3488
d8273f3b
SC
34892001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3490
3491 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
3492 relax weak symbols.
015c05c1 3493 (relaxable_symbol): New function.
d8273f3b 3494
eea2ad45
AJ
34952001-01-11 Andreas Jaeger <aj@suse.de>
3496
3497 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
3498 not used anywhere.
3499
7a91e76a
NC
35002001-01-10 Nick Clifton <nickc@redhat.com>
3501
3502 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
3503 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
3504
aa257fcd
NC
35052001-01-10 Nick Clifton <nickc@redhat.com>
3506
3507 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
3508 character used to dollar local symbols.
3509 (LOCAL_LABEL_CHAR): New constant - the magic character used to
3510 local label symbols.
3511 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
3512 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
3513 if defined.
3514 Use LOCAL_LABEL_CHAR.
3515 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
3516 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
3517 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
3518
b77a7acd
AJ
35192001-01-08 Bo Thorsen <bo@suse.de>
3520
015c05c1
AM
3521 * config/tc-i386.c (i386_immediate, i386_displacement):
3522 GOTPCREL check fix.
b77a7acd 3523
5c2bd011
ILT
35242001-01-07 Ian Lance Taylor <ian@zembu.com>
3525
3526 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
3527 in last change.
3528
46a04e3a
PB
35292001-01-07 Philip Blundell <philb@gnu.org>
3530
3531 * doc/as.texinfo (Bug Reporting): Update email address for
3532 reports.
3533 * README: Likewise.
3534
131b0983 35352001-01-06 Jan Hubicka <jh@suse.cz>
b96d3a20
JH
3536
3537 * configure.in: Define DEFAULT_ARCH for i386.
29184774 3538 * config/tc-i386.c (md_assemble): Return after the error message;
b96d3a20
JH
3539 move testing for 64bit operands to proper place.
3540
55b62671
AJ
35412001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
3542
3543 * doc/as.texinfo: Document '#' as comment character for i386 and
3544 x86_64. Add AMD x86-64 into menu of machine dependent information.
3545
3546 * doc/c-i386.texi: Document x86_64 extensions.
3547
131b0983 35482001-01-05 Jan Hubicka <jh@suse.cz>
7bc70a8e 3549
29184774 3550 * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
7bc70a8e 3551
131b0983 35522001-01-04 Jan Hubicka <jh@suse.cz>
a167610d 3553
29184774 3554 * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
a167610d
JH
3555 * NEWS: Add note about Pentium4 support.
3556
131b0983 35572001-01-04 Jan Hubicka <jh@suse.cz>
09f131f2 3558
29184774 3559 * config/tc-i387.c (pi, pte, pt): Update.
09f131f2
JH
3560 (type_names): Add new types.
3561
131b0983 35622001-01-03 Jan Hubicka <jh@suse.cz>
6f8c0c4c 3563
29184774 3564 * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
6f8c0c4c
JH
3565 CpuUnknown): Renumber
3566 (CpuP4, CpuSSE2): New.
3567 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
3568
b96ed59a
PB
35692001-01-03 Philip Blundell <pb@futuretv.com>
3570
3571 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
3572 relocs.
3573 (alpha_fix_adjustable): Likewise.
3574 (md_apply_fix): Likewise.
3575
a735d1cd
L
35762000-12-31 H.J. Lu <hjl@gnu.org>
3577
3578 * listing.c (listing_message): Allocate string only if it is
3579 used.
3580
3581 * configure: Rebuild.
3582
67db5ab4
HPN
35832000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
3584
3585 * doc/internals.texi (Relaxing with a table) <after relaxation>:
3586 Point out caveats with generating fixups for the opcode in a frag.
3587
131b0983 35882000-12-30 Jan Hubicka <jh@suse.cz>
c0d8940f
JH
3589
3590 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
3591 * NEWS: Add x86_64.
3592
087f563c
L
35932000-12-29 H.J. Lu <hjl@gnu.org>
3594
3595 * listing.c (calc_hex): Print the variable part only if the
3596 fragment type is rs_fill.
3597
8108ad8e
HPN
35982000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
3599
3600 * doc/internals.texi (tc_conditional_pseudoop,
3601 TC_LINKRELAX_FIXUP): Fix typos.
3602
799051fc
RH
36032000-12-28 Richard Henderson <rth@redhat.com>
3604
3605 * write.c (subsegs_finish): Fix thinko last change -- don't
3606 "optimize" the alignment == 0 case.
3607
0a9ef439
RH
36082000-12-28 Richard Henderson <rth@redhat.com>
3609
3610 * as.h (rs_align_test): New.
3611 * frags.c (NOP_OPCODE): Move default from read.c.
3612 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
3613 (frag_align_code): New.
3614 * frags.h (frag_align_code): Declare.
3615 * read.c (NOP_OPCODE): Remove.
3616 (do_align): Use frag_align_code.
3617 * write.c (NOP_OPCODE): Remove.
3618 (get_recorded_alignment): New.
3619 (cvt_frag_to_fill): Handle rs_align_test.
3620 (relax_segment): Likewise.
3621 (subsegs_finish): Align last subseg in section to the
3622 section alignment. Use frag_align_code.
3623 * write.h (get_recorded_alignment): Declare.
3624 * config/obj-coff.c (size_section): Handle rs_align_test.
3625 (fill_section, fixup_mdeps): Likewise.
3626 (write_object_file): Use frag_align_code.
3627
3628 * config/tc-alpha.c (alpha_align): Use frag_align_code.
3629 (alpha_handle_align): New.
3630 * config/tc-alpha.h (HANDLE_ALIGN): New.
3631 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3632
3633 * config/tc-i386.h (md_do_align): Use frag_align_code.
3634 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3635
3636 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
3637 (ia64_handle_align): New.
3638 * config/tc-ia64.h (HANDLE_ALIGN): New.
3639 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3640
3641 * config/tc-m32r.c (m32r_do_align): Remove.
3642 (m32r_handle_align): New.
3643 (fill_insn): Use frag_align_code.
3644 * config/tc-m32r.h (md_do_align): Remove.
3645 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
3646 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
3647 * config/tc-mips.c, config/tc-mips.h: Similarly.
3648
3649 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
3650 (sh_handle_align): Likewise. Handle rs_align_code.
3651 (sh_do_align): Remove.
3652 * config/tc-sh.h (md_do_align): Remove.
3653 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3654
3655 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
3656 (sparc_handle_align): Likewise. Handle rs_align_code.
3657 * config/tc-sparc.h (md_do_align): Remove.
3658 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3659
3cd4dda7
DD
36602000-12-22 DJ Delorie <dj@redhat.com>
3661
3662 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
3663 when we assemble the first half of a pair.
3664
ec56dfb4
L
36652000-12-22 H.J. Lu <hjl@gnu.org>
3666
3667 * config/tc-i386.c (reloc): Update the macro for non-bfd
3668 assembler.
3669 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
3670
ad1172d4
L
36712000-12-22 H.J. Lu <hjl@gnu.org>
3672
3673 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
3674
131b0983 36752000-12-20 Jan Hubicka <jh@suse.cz>
3e73aa7c 3676
29184774 3677 * config/tc-i386.h (i386_target_format): Define even for ELFs.
3e73aa7c
JH
3678 (QWORD_MNEM_SUFFIX): New macro.
3679 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
3680 New macros
3681 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
3682 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
3683 ImmExt): Renumber.
3684 (Size64, No_qSuf, NoRex64, Rex64): New macros.
3685 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
3686 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
3687 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
3688 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
3689 Renumber.
3690 (Reg, WordReg): Add Reg64.
3691 (Imm): Add Imm32S and Imm64.
3692 (EncImm): New.
3693 (Disp): Add Disp64 and Disp32S.
3694 (AnyMem): Add Disp32S.
3695 (RegRex, RegRex64): New macros.
3696 (rex_byte): New type.
29184774 3697 * config/tc-i386.c (set_16bit_code_flag): Kill.
3e73aa7c
JH
3698 (fits_in_unsigned_long, fits_in_signed_long): New functions.
3699 (reloc): New parameter "signed"; support x86_64.
3700 (set_code_flag): New.
3701 (DEFAULT_ARCH): New macro; default to "i386".
3702 (default_arch): New static variable.
3703 (struct _i386_insn): New fields Operand_PCrel; rex.
3704 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
3705 (flag_code): New enum and static variable.
3706 (use_rela_relocations): New static variable.
3707 (flag_code_names): New static variable.
3708 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
3709 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
3710 K6 and Athlon.
3711 (i386_align_code): Return plain "nop" for x86_64.
3712 (mode_from_disp_size): Support Disp32S.
3713 (smallest_imm_type): Support Imm32S and Imm64.
3714 (offset_in_range): Support size of 8.
3715 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
3716 (md_pseudo_table): Add "code64"; use set_code_flat.
3717 (md_begin): Emit sane error message on hash failure.
3718 (tc_i386_fix_adjustable): Support x86_64 relocations.
3719 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
3720 instructions supported on particular arch just partially,
3721 output of 64bit immediates, handling of Imm32S and Disp32S type.
3722 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
3723 (i386_displacement): Likewise.
3724 (i386_index_check): Cleanup; support 64bit addresses.
3725 (md_apply_fix3): Support x86_64 relocation and rela.
3726 (md_longopts): Add "32" and "64".
3727 (md_parse_option): Add OPTION_32 and OPTION_64.
3728 (i386_target_format): Call even for ELFs; choose between
3729 elf64-x86-64 and elf32-i386.
3730 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
3731 (tc_gen_reloc): Support rela relocations and x86_64.
3732 (intel_e09_1): Support QWORD.
3733
21d6c4af
DN
37342000-12-15 Diego Novillo <dnovillo@redhat.com>
3735
3736 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
55b62671 3737 it's not an offset expression.
21d6c4af
DN
3738 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
3739 keep the braces '[' and ']' in the output string.
3740 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
3741 != FLAT. There is no such op_modifier.
3742
6717891c
NC
37432000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3744
3745 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
3746 if we have it.
3747
ee515fb7
KH
37482000-12-13 Kazu Hirata <kazu@hxi.com>
3749
3750 * as.h: Fix formatting.
3751 * cgen.h: Likewise.
3752 * dwarf2dbg.c: Likewise.
3753 * input-scrub.c: Likewise.
3754 * read.h: Likewise.
3755
349a994c
DD
37562000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
3757
3758 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
3759 configure: Regenerate.
3760
42dbf88c
NC
37612000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3762
3763 * dwarf2dbg.c: #include <limits.h> only if it exists.
3764
0485cba3
AM
37652000-12-13 Rodney Brown <RodneyBrown@mynd.com>
3766
3767 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
3768 (md_apply_fix): Here too.
3769
514829c3
JW
37702000-12-12 Jim Wilson <wilson@redhat.com>
3771
3772 * config/tc-ia64.h (ia64_init): Add prototype.
3773
92eb7b32
L
37742000-12-12 H.J. Lu <hjl@gnu.org>
3775
3776 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
3777
3778 * read.h (outputting_stabs_line_debug): Change it to int.
3779 * stabs.c (outputting_stabs_line_debug): Likewise.
3780
8141c27d
GK
37812000-12-12 Geoffrey Keating <geoffk@redhat.com>
3782
3783 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
3784 the address of a function result.
3785
5d6f4f16
GK
37862000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3787
3788 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
3789 (md_assemble): Call dwarf2_emit_insn.
3790 (shlib): Fix typo SHILB -> SHLIB.
3791 (md_parse_option): Likewise.
3792 (ppc_elf_validate_fix): Likewise:
3793 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
3794
d4c0c039
NC
37952000-12-12 Nick Clifton <nickc@redhat.com>
3796
3797 * cgen.h: Fix formatting.
3798 * input-scrub.c: Fix formatting.
3799 * macro.c: Fix formatting.
e972090a 3800 * config/tc-mips.c: Fix formatting.
584da044 3801 * doc/c-mips.texi: Fix formatting.
55b62671 3802
131b0983 38032000-12-11 Jan hubicka <jh@suse.cz>
f16b83df 3804
29184774 3805 * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
f16b83df
JH
3806 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
3807 references.
3808 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
3809 otherwise.
29184774 3810 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
f16b83df
JH
3811 (No_dSuf): Kill.
3812
3813 * i386.h (*_Suf): Remove No_dSuf.
3814 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
3815 Remove.
3816 (i386_optab): Remove 'd' in the suffixes.
3817
50705ef4
AM
38182000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3819
3820 * config/tc-i386.c (T_SHORT): Undefine before defining.
3821
beae10d5
KH
38222000-12-05 Kazu Hirata <kazu@hxi.com>
3823
3824 * config/tc-mips.c: Fix formatting.
3825
bccba5f0 38262000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
3827
3828 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
3829 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
3830 (md_show_usage): Ditto.
3831 (md_parse_option): Ditto.
3832 (d10v_cleanup): Writes pending instruction only if
3833 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 3834 Fix compile time warning messages.
50705ef4
AM
3835
3836 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
3837
38382000-12-04 Matthew Hiller <hiller@redhat.com>
3839
50705ef4 3840 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
3841 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
3842 function entry and unset at function exit.
3843
50705ef4 3844 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
3845
3846 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
3847
3848 * dwarf2dbg.c: Fix compile time warning messages.
3849
bc805888
KH
38502000-12-03 Kazu Hirata <kazu@hxi.com>
3851
3852 * config/tc-a29k.c: Fix formatting.
3853 * config/tc-alpha.c: Likewise.
3854 * config/tc-arm.c: Likewise.
3855 * config/tc-cris.c: Likewise.
3856 * config/tc-hppa.c: Likewise.
3857 * config/tc-i370.c: Likewise.
3858 * config/tc-i386.c: Likewise.
3859 * config/tc-i860.c: Likewise.
3860 * config/tc-i960.c: Likewise.
3861 * config/tc-ia64.c: Likewise.
3862 * config/tc-m68hc11.c: Likewise.
3863 * config/tc-m68k.c: Likewise.
3864 * config/tc-m88k.c: Likewise.
3865 * config/tc-pj.c: Likewise.
3866 * config/tc-ppc.c: Likewise.
3867 * config/tc-sh.c: Likewise.
3868 * config/tc-sparc.c: Likewise.
3869 * config/tc-tahoe.c: Likewise.
3870 * config/tc-vax.c: Likewise.
3871
3dacdf2e
NC
38722000-12-01 Chris Demetriou <cgd@sibyte.com>
3873
50705ef4
AM
3874 * config/tc-mips.c (mips_ip): When calculating offsets,
3875 don't accept as constant the difference between the
3876 addresses of symbols in two different sections.
3877
3878 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
3879 specifiers.
3880 (validate_mips_insn): Likewise. Also, update 'B' operand
3881 specifier to use OP_*_CODE20 constants and delete 'm' operand
3882 specifier.
3883 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
3884 operand specifiers. Change warning generated by 'B' operand
3885 specifier to reflect its new multi-purpose usage.
3886
3887 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
3888 -1, and update comment.
3889 (file_mips_isa): Likewise.
3890 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
3891 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
3892 ISA_* constants rather than hard-coded numbers.
3893 (mips_cpu_info): New structure.
3894 (mips_cpu_info_table): New table describing CPU and ISA names
3895 and numbers.
3896 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
3897 mips_cpu_info_from_cpu): New functions.
3898 (mips_isa_to_str): New function to get string for ISA name.
3899 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
3900 return const char *.
3901 (md_begin): Redo CPU and ISA selection logic, using
3902 mips_cpu_info_from_*. Convert to use ISA_* constants rather
3903 than hard-coded numbers.
3904 (append_insn, mips_emit_delays, macro, macro2): Convert to use
3905 ISA_* constants rather than hard-coded numbers.
3906 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
3907 (md_longopts): Delete OPTION_NO_MIPS32.
3908 (md_parse_option): Convert to use ISA_* constants rather than
3909 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
3910 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
3911 to use strcasecmp to recognize "default" and to use
3912 mips_cpu_info_from_name to get CPU numbers from argument.
3913 (md_show_usage): Move -mips32 so it's with the rest of the ISA
3914 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
3915 mips32-4k.
3916 (s_mipsset): Accept ISA value 32.
3917 * doc/as.texinfo: Clean up MIPS options summary slightly,
3918 remove -no-mips32. Add note about -mips4 and -mips32
3919 specifying those ISA levels. Delete -mips32 and -no-mips32
3920 cpu flag descriptions.
3921 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
3922 up the supported CPU switch list, and replace 4Kc, 4Km, and
3923 4Kp entries with a single mips32-4k entry. Note that you can
3924 use ".set mips32".
3925
29184774 3926 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
50705ef4
AM
3927 ISA_MIPS64.
3928 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
3929 -mips5 and -mips64.
3930 (md_parse_option): Add cases for OPTION_MIPS5 and
3931 OPTION_MIPS64.
3932 (md_show_usage): Mention -mips5 and -mips64 arguments.
3933 (s_mipsset): Add cases for MIPS5 and MIPS64.
3934 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
3935 and pseudo-CPUs.
3936 * doc/as.texinfo: Mention -mips5 and -mips64 options
3937 and their meanings.
3938 * doc/c-mips.texi: Likewise. Also update introduction
3939 and ".set" usage information.
3940
3941 * config/tc-mips.c (md_show_usage): Add "sb1" to the
3942 CPU list.
3943 (mips_cpu_info_table): Add SB-1 entries.
3944 * doc/c-mips.texi: Add "sb1" to the list of CPUs
3945 known to the -mcpu option.
3946
3947 * doc/as.texinfo: Correct description of MIPS -mcpu
3948 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 3949
23fe39df 39502000-12-01 Joel Sherrill <joel@OARcorp.com>
5f68c319 3951
3dacdf2e
NC
3952 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
3953 New targets.
3954 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3955 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
3956 * configure: Regenerate.
3957 * config.in: Regenerate.
3958 * Makefile.in: Regenerate.
3959 * aclocal.m4: Regenerate.
3960 * po/gas.pot: Regenerate.
50705ef4 3961
4ce3447c
PB
39622000-11-30 Philip Blundell <pb@futuretv.com>
3963
3964 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
3965 even in non BFD_ASSEMBLER case.
3966
76a0ddac
DN
39672000-11-30 Diego Novillo <dnovillo@redhat.com>
3968
29184774 3969 * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
76a0ddac
DN
3970 syntax.
3971
220e750f
RH
39722000-11-29 Richard Henderson <rth@redhat.com>
3973
3974 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
3975 until dwarf2_finish; use relaxation to get cross-fragment offsets;
3976 thread multiple subsegments properly; handle multiple code
3977 sections properly; emit proper compilation unit info for assembler
3978 generated debugging.
3979
3980 * as.h (enum _relax_state): Add rs_dwarf2dbg.
3981 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
3982 (dwarf2dbg_estimate_size_before_relax): Declare.
3983 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
3984 * write.c: Include dwarf2dbg.h.
3985 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
3986 (relax_segment): Likewise.
3987
99b222b4
HPN
39882000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3989
3990 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
3991 jump>: Use as_bad_where instead of as_bad. Tweak error message
3992 accordingly. Stabilize frag by updating fix part and resetting
3993 variant part.
3994 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
3995 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
3996 indexing is_end_of_line[].
3997 (md_assemble): Initialize size to 0.
3998 (md_section_align): Mark parameter seg as unused.
e46fee70 3999 (parse_reg): Parse names case-insensitively.
99b222b4 4000
814f6641
KH
40012000-11-28 Kazu Hirata <kazu@hxi.com>
4002
4003 * config/obj-aout.h: Fix formatting.
4004 * config/obj-bout.h: Likewise.
4005 * config/obj-coff.c: Likewise.
4006 * config/obj-coff.h: Likewise.
4007 * config/obj-elf.h: Likewise.
4008 * config/obj-som.h: Likewise.
4009 * config/obj-vms.c: Likewise.
4010 * config/obj-vms.h: Likewise.
4011 * config/tc-h8300.h: Likewise.
4012 * config/tc-ns32k.h: Likewise.
4013 * config/tc-sparc.h: Likewise.
4014 * config/tc-tic54x.h: Likewise.
4015 * config/tc-z8k.h: Likewise.
4016
e47b9e39
NC
40172000-11-28 Nick Clifton <nickc@redhat.com>
4018
4019 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
4020 License is present in the sources, but not the output, and
4021 also available from the GNU website.
4022 (GNU Free Documentation License): Comment out this section.
4023
fcdc20a4
HPN
40242000-11-28 Hans-Peter Nilsson <hp@axis.com>
4025
43c34dee
HPN
4026 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
4027 targets. Remove i860 from valid a.out targets.
4028 * Makefile.in: Regenerate.
4029
fcdc20a4 4030 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 4031 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
4032 (md_assemble): Call dwarf2_emit_insn if generating ELF.
4033 (s_cris_file, s_cris_loc): New.
4034 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
4035 * Makefile.am: Regenerate dependencies.
4036 * Makefile.in: Regenerate.
4037
16887944
AM
40382000-11-28 Alan Modra <alan@linuxcare.com.au>
4039
4040 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
4041 (MRI_MUL_PRECEDENCE): Likewise.
4042 (op_rank): Fix a comment typo.
4043
ae3e85dd
SC
40442000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4045
4046 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
4047 the error message.
4048 (get_operand): Fix analysis for movw/movb instructions.
4049
077b8428
NC
40502000-11-24 Nick Clifton <nickc@redhat.com>
4051
4052 * configure.in (xscale-elf): Add target.
4053 (xscale-coff): Add target.
4054 * configure: Regenerate.
4055
4056 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
4057 extenstion.
4058 (ARM_EXT_XSCALE): New ARM architecture extension.
4059 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
4060 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
4061 (ARM_THUMB): Rename to ARM_EXT_THUMB.
4062 (ARM_ARCH_V4): Remove processor from architecture.
4063 (ARM_ARCH_3M): New architecutre definition.
4064 (ARM_ARCH_V5TE): New architecutre definition.
4065 (ARM_ARCH_XSCALE): New architecutre definition.
4066 (CPU_DEFAULT): Allow to be defaulted to XScale.
4067 (atpcs): New boolean variable.
4068 (ldr_flags): Support 'd' flag for double word loads.
4069 (str_flags): Support 'd' flag for double word stored.
4070 (do_mia): New function.
4071 (do_mar): New function.
4072 (do_mra): New function.
4073 (do_pld): New function.
4074 (do_ldrd): New function.
4075 (do_blx): New function.
4076 (do_bkpt): New function.
4077 (do_clz): New function.
4078 (do_lstc2): New function.
4079 (do_cdp2): New function.
4080 (do_t_blx): New function.
4081 (do_t_bkpt): New function.
4082 (do_smla): New function.
4083 (do_smlal): New function.
4084 (do_smul): New function.
4085 (do_qadd): New function.
4086 (do_co_reg2c): New function.
4087 (LONGEST_INSN): Redefine to 7.
4088
4089 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
4090 command line switches.
4091
2434f565
JW
40922000-11-22 Jim Wilson <wilson@redhat.com>
4093
4094 * config/tc-ia64.c (pseudo_func): Add missing initializers.
4095 (struct rsrc): Make line unsigned.
4096 (gr_values): Add missing initializer.
4097 (SLOT_NUM_NOT_SET): Add unsigned cast.
4098 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
4099 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
4100 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
4101 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
4102 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
4103 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
4104 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
4105 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
4106 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
4107 Add ATTRIBUTE_UNUSED to unused parameters.
4108 (convert_expr_to_ab_reg): Add parens.
4109 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
4110 (dot_prologue): Initialize grsave when declared.
4111 (md_pseudo_table): Add missing initializers.
4112 (operand_match): Add casts to bfd_vma.
4113 (emit_one_bundle): Delete unused local prev. Make required_template
4114 unsigned.
4115 (specify_resource): Cast i to unsigned.
4116 (note_register_values): Use fprintf_vma.
4117 (print_dependency): Likewise.
4118
5a080f89
JW
41192000-11-21 Jim Wilson <wilson@redhat.com>
4120
5e7474a7
JW
4121 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
4122 for unwind info section.
4123 (dot_endp): Likewise for unwind section.
4124
5a080f89
JW
4125 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
4126 fix_new_exp.
4127
732d96b6
JJ
41282000-11-21 Jakub Jelinek <jakub@redhat.com>
4129
4130 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
4131 (output_insn): Call dwarf2_emit_insn.
b8e904dc 4132 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 4133
6d2cf69f
RH
41342000-11-17 Richard Henderson <rth@redhat.com>
4135
4136 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
4137 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
4138 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
4139
8179bd9b
NC
41402000-11-17 Nick Clifton <nickc@redhat.com>
4141
4142 * config/tc-arm.c (md_pseudo_table): Add support for .line and
4143 .file pseudo ops.
4144
316e2c05
RH
41452000-11-17 Richard Henderson <rth@redhat.com>
4146
4147 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
4148
a8316fe2
RH
41492000-11-17 Richard Henderson <rth@redhat.com>
4150
4151 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 4152 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
4153 tri-state definition of alpha_flag_mdebug.
4154 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
4155 (s_alpha_file): Store first .file directive.
4156 (s_alpha_stab): New.
4157 (md_pseudo_table): Add stabs and stabn.
4158
e346e481
RH
41592000-11-17 Richard Henderson <rth@redhat.com>
4160
4161 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
4162
4dc7ead9
RH
41632000-11-17 Richard Henderson <rth@redhat.com>
4164
4165 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 4166 (main): Call dwarf2_finish.
4dc7ead9
RH
4167 * as.h (debug_type): Clarify documentation of the meaning
4168 of this variable.
4169 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
4170 (print_stats): Fix parenthesis problem.
4171 (now_subseg_size): New.
4172 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
4173 (dwarf2_directive_file): Don't set debug_type.
4174 (dwarf2_where): Honor DEBUG_DWARF2 first.
4175 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
4176 do nothing if not emitting dwarf2 debug info, or no work.
4177 * dwarf2dbg.h (dwarf2_emit_insn): Update.
4178 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
4179 (ecoff_new_file): Likewise.
4180 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
4181 commentary wrt dwarf2.
4182
4183 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
4184 ATTRIBUTE_UNUSED as needed.
4185 (emit_insn): Call dwarf2_emit_insn.
4186 (s_alpha_file): New.
4187 (s_alpha_loc): New.
4188 (s_alpha_coff_wrapper): Don't handle them.
4189 (md_pseudo_table): Update for .file and .loc.
4190 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
4191
4192 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
4193 don't protect with debug_type.
4194 * config/tc-hppa.c (md_assemble): Likewise.
4195 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
4196 * config/tc-mn10300.c (md_assemble): Likewise.
4197 * config/tc-sh.c (md_assemble): Likewise.
4198 * config/tc-v850.c (md_assemble): Likewise.
4199
4200 * config/tc-arm.c (arm_end_of_source): Remove.
4201 * config/tc-hppa.c (pa_end_of_source): Remove.
4202 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
4203 * config/tc-mn10300.c (mn10300_finalize): Remove.
4204 * config/tc-sh.c (sh_finalize): Remove.
4205 * config/tc-v850.c (sh_finalize): Remove.
4206
4207 * config/tc-arm.h (md_end): Remove.
4208 * config/tc-hppa.h (md_end): Remove.
4209 (DWARF2_LINE_MIN_INSN_LENGTH): New.
4210 * config/tc-m68hc11.h (md_end): Remove.
4211 * config/tc-mn10300.h (md_end): Remove.
4212 * config/tc-sh.h (md_end): Remove.
4213 * config/tc-v850.h (md_end): Remove.
4214
4215 * config/tc-ia64.c (emit_one_bundle): Don't protect
4216 dwarf2 bits with debug_type.
4217 (md_assemble): Likewise.
4218 (ia64_end_of_source): Don't call dwarf2_finish.
4219
ca683b78
JW
42202000-11-16 Jim Wilson <wilson@redhat.com>
4221
4222 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
4223 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
4224 > 16.
4225
6f620856
L
42262000-11-16 H.J. Lu <hjl@gnu.org>
4227
4228 * config/obj-elf.c (obj_elf_symver): Don't check the missing
4229 version name.
4230
19d63e5d
KH
42312000-11-15 Kazu Hirata <kazu@hxi.com>
4232
4233 * config/tc-tic30.c: Fix formatting.
4234 * config/tc-tic80.c: Likewise.
4235 * config/tc-v850.c: Likewise.
4236 * config/tc-vax.c: Likewise.
4237 * config/tc-w65.c: Likewise.
4238 * config/tc-z8k.c: Likewise.
4239
a8761a19
DD
42402000-11-14 DJ Delorie <dj@redhat.com>
4241
4242 * config/tc-v850.c: Support dwarf2.
4243 * config/tc-v850.h: Ditto.
4244
4245 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
4246 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 4247
88be23ec
BS
42482000-11-15 Bernd Schmidt <bernds@redhat.com>
4249
29184774 4250 * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
88be23ec
BS
4251 (errata_nops_necessary_p): New function.
4252 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
4253 md.
4254
72a76794
JW
42552000-11-14 Jim Wilson <wilson@redhat.com>
4256
4257 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
4258 return little endian bfd formats.
4259
4a1805b1
KH
42602000-11-14 Kazu Hirata <kazu@hxi.com>
4261
4262 * config/aout_gnu.h: Fix formatting.
4263 * config/atof-vax.c: Likewise.
4264 * config/m68k-parse.h: Likewise.
4265 * config/m88k-opcode.h: Likewise.
4266 * config/obj-elf.c: Likewise.
4267 * config/tc-arm.c: Likewise.
4268 * config/tc-cris.c: Likewise.
4269 * config/tc-i386.c: Likewise.
4270 * config/tc-ia64.c: Likewise.
4271 * config/tc-mn10300.c: Likewise.
4272 * config/te-386bsd.h: Likewise.
4273 * config/te-hppa.h: Likewise.
4274 * config/te-nbsd.h: Likewise.
4275 * config/te-ppcnw.h: Likewise.
4276 * config/te-sparcaout.h: Likewise.
4277 * config/te-tmips.h: Likewise.
4278 * config/vax-inst.h: Likewise.
4279 * config/vms-conf.h: Likewise.
4280
c810873d
JJ
42812000-11-14 Jakub Jelinek <jakub@redhat.com>
4282
4283 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
4284
79082ff0
L
42852000-11-13 H.J. Lu <hjl@gnu.org>
4286
4287 * config/obj-elf.c (elf_frob_symbol): Support
4288 ".symver name,name2@@@nodename".
4289 (elf_frob_file_before_adjust): Likewise.
4290
4291 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
4292 and ".symver name,name2@@@nodename".
4293 Fix a typo.
4294
1da00eb4
L
42952000-11-12 H.J. Lu (hjl@gnu.org)
4296
4297 * config/obj-elf.c (obj_elf_symver): Check missing version
4298 name.
4299
f585997b
L
43002000-11-12 H.J. Lu (hjl@gnu.org)
4301
4302 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
4303 instead of bfd_vma for non-bfd assemblers.
4304
ef5c4bfc
KH
43052000-11-09 Kazu Hirata <kazu@hxi.com>
4306
4307 * itbl-ops.c: Fix comment typos.
4308
f5a30c2e
JW
43092000-11-08 Jim Wilson <wilson@redhat.com>
4310
4311 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
4312 (struct unwind): Add next_slot_frag field.
4313 (slot_index): New parameters slot_frag and first_frag. Add code
4314 to add in frag sizes when different. Add comments.
4315 (fixup_unw_records): New locals first_frag and last_frag. Pass new
4316 arguments to slot_index.
4317 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
4318 loop end. Set next_slot_frag field.
4319
339681c0
L
43202000-11-07 H.J. Lu <hjl@gnu.org>
4321
4322 * doc/as.texinfo (.symver): Updated for versioned symbol
4323 reference.
4324
4325 * obj.h (format_ops): Add the frob_file_before_adjust field.
4326
4327 * config/obj-aout.c (aout_format_ops): Set the
4328 frob_file_before_adjust field to 0.
4329 * config/obj-coff.c (coff_format_ops): Likewise.
4330 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
4331
4332 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
4333 name.
4334 (elf_frob_file_before_adjust): New function to remove unneeded
4335 versioned symbols from the symbol table.
4336 (elf_format_ops): Set the frob_file_before_adjust field to
4337 elf_frob_file_before_adjust.
4338
4339 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
4340 not defined.
4341
4342 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
4343
4a314ec8
NC
43442000-11-07 Peter Targett <peter.targett@arccores.com>
4345
8a543126 4346 * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
4a314ec8 4347 BIG_ENDIAN macros.
8a543126 4348 * config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
4a314ec8 4349 Fix compile time warning messages.
50705ef4 4350
604d524f
NC
43512000-11-07 Nick Clifton <nickc@redhat.com>
4352
4353 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
4354 buffer in order to avoid buffer overflows.
4355
44f5c83a
JW
43562000-11-06 Steve Ellcey <sje@cup.hp.com>
4357
4358 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
4359 Change M to m for -milp32 or -mlp64 to match gcc.
4360 (dot_endp): Use bytes_per_address instead of 8.
4361 (emit_one_bundle): Use number_to_chars_littleendian instead of
4362 md_number_to_chars.
4363 (fix_insn): Likewise.
4364 (ia64_init): New function.
4365 (ia64_target_format): New function.
4366 (md_begin): Set endianness, arch, and machine as appropriate.
4367 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
4368 Make these macros depend on TE_HPUX macro.
4369 (TARGET_FORMAT): Define.
4370 (HOST_SPECIAL_INIT): Define.
4371 * config/te-hpux.h: New file.
4372 * configure.in: Add "ia64-*-hpux*" target to configure.
4373 * configure: Regenerate.
50705ef4 4374
7152f1dc
KH
43752000-11-06 Kazu Hirata <kazu@hxi.com>
4376
ef99799a
KH
4377 * as.c: Fix formatting.
4378 * dwarf2dbg.c: Likewise.
4379 * input-file.c: Likewise.
7152f1dc
KH
4380 * input-file.h: Likewise.
4381 * input-scrub.c: Likewise.
ef99799a
KH
4382 * itbl-ops.c: Likewise.
4383 * listing.c: Likewise.
4384 * macro.h: Likewise.
4385 * messages.c: Likewise.
4386 * read.c: Likewise.
4387 * subsegs.c: Likewise.
4388 * subsegs.h: Likewise.
4389 * write.c: Likewise.
7152f1dc 4390
cf055d54
NC
43912000-11-06 Nick Clifton <nickc@redhat.com>
4392
4393 * doc/as.texinfo: Add GNU Free Documentation License.
4394 * doc/gasp.texi: Add GNU Free Documentation License.
4395 * doc/as.1: Add GNU Free Documentation License.
4396
8d6b5c8e
NC
43972000-11-05 Nick Clifton <nickc@redhat.com>
4398
4399 * config/tc-arm.c: Add include of "dwarf2dbg.h"
4400
59ff2774
NC
44012000-11-02 Per Lundberg <plundis@chaosdev.org>
4402
4403 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
4404 * configure: Regenerate.
4405
37d8bb27
NC
44062000-11-01 Nick Clifton <nickc@redhat.com>
4407
4408 * read.c (original_case_string): New global variable.
4409 (read_a_source_file): Copy opcode string into
4410 original_case_string if clobbering the case of the opcode.
4411 * read.h: Export the definition of original_case_string.
4412 * config/tc-arm.c (md_assembler): When parsing a .req
4413 directive use the original opcode string, not the case
4414 clobbered version.
4415
d75bb8cf
NC
44162000-11-02 Nick Clifton <nickc@redhat.com>
4417
4418 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 4419 variable.
d75bb8cf
NC
4420 (md_assemble): Call dwarf2_generate_asm_lineno instead of
4421 dwarf2_where and dwarf2_gen_line_info.
4422
6c17cfe4
PB
44232000-11-02 Theo Honohan <th@futuretv.com>
4424
50705ef4 4425 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 4426
c51ce5f0
EC
44272000-10-31 Eric Christopher <echristo@redhat.com>
4428
4429 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
4430 or pc-relative, else use fx_offset.
4431
f1bcba5b
JW
44322000-10-31 Jim Wilson <wilson@redhat.com>
4433
4434 * config/tc-ia64.c (struct md): New field tag_fixups.
4435 (ia64_flush_insns): Handle tag_fixups. Error if dangling
4436 qualifying predicate.
4437 (emit_one_bundle): Delete spurious multiplication by one. Handle
4438 tag_fixups.
4439 (ia64_start_line): Error if dangling qualifying predicate.
4440 (defining_tag): New static variable.
4441 (ia64_unrecognized_line, case '['): Parse tags.
4442 (ia64_frob_label): Create tag_fixups.
4443 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 4444
8637c045
AM
44452000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4446
4447 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
4448
ebeeafe6
BS
44492000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
4450
29184774 4451 * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
ebeeafe6 4452
b041f888
KH
44532000-10-30 Kazu Hirata <kazu@hxi.com>
4454
4455 * expr.c: Fix formatting.
4456 * flonum-copy.c: Likewise.
4457 * flonum.h: Likewise.
4458 * gasp.c: Likewise.
4459 * hash.c: Likewise.
4460
d8374dcd
HPN
44612000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
4462
4463 * as.h (OPTION_MD_BASE): Bump to 190.
4464 * as.c (parse_args) <std_longopts>: Add comment about the need to
4465 check OPTION_MD_BASE in as.h.
4466
1308f14c
HPN
4467 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
4468 for weak symbols.
4469
6f6ef0fa
NC
44702000-10-27 Nick Clifton <nickc@redhat.com>
4471
4472 * configure.in (emulations): Add m68hc12.
4473 * configure: Regenerate.
4474 * po/gas.pot: Regenerate.
c51ce5f0 4475
bf1b5881
AH
44762000-10-27 Aldy Hernandez <aldyh@redhat.com>
4477
50705ef4
AM
4478 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
4479 cpsr*.
4480 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 4481
85a39694
NC
44822000-10-25 Nick Clifton <nickc@redhat.com>
4483
4484 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
4485 a DWARF2 line number information sequence.
4486
4487 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
4488
4489 * read.c (generate_lineno_debug): Update comment describing why
4490 DWARF2 line number debug information is not generated
4491 automatically by this function.
4492
4493 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
4494 not all.
c51ce5f0 4495
85a39694
NC
4496 * config/tc-arm.h (md_end): Define.
4497 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 4498
85a39694
NC
4499 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
4500 if generating DWARF2 line numbers.
4501 (arm_end_of_source): New function. Call dwarf2_finish if
4502 necessary.
4503
4504 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
4505 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
4506 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 4507
cce0cbdc
DN
45082000-10-25 Diego Novillo <dnovillo@cygnus.com>
4509
29184774 4510 * config/tc-i386.c: Fix prototype declarations for functions taking no
cce0cbdc
DN
4511 arguments.
4512
64a0c779
DN
45132000-10-24 Diego Novillo <dnovillo@cygnus.com>
4514
29184774 4515 * config/tc-i386.c (i386_operand_modifier): Remove.
64a0c779
DN
4516 (build_displacement_string): Remove.
4517 (i386_parse_seg): Remove.
4518 (i386_intel_memory_operand): Remove.
4519 (i386_intel_operand): Re-write using recursive descent parser based
4520 on MASM documentation.
4521 (struct intel_parser_s): New structure.
4522 (intel_parser): New static variable.
4523 (struct intel_token): New structure.
4524 (cur_token, prev_token): New static variables.
4525 (T_NIL): Define.
4526 (T_CONST): Define.
4527 (T_REG): Define.
4528 (T_BYTE): Define.
4529 (T_WORD): Define.
4530 (T_DWORD): Define.
4531 (T_QWORD): Define.
4532 (T_XWORD): Define.
4533 (T_SHORT): Define.
4534 (T_OFFSET): Define.
4535 (T_PTR): Define.
4536 (T_ID): Define.
4537 (intel_match_token): New function.
4538 (intel_get_token): New function.
4539 (intel_putback_token): New function.
4540 (intel_expr): New function.
4541 (intel_e05): New function.
4542 (intel_e05_1): New function.
4543 (intel_e06): New function.
4544 (intel_e06_1): New function.
4545 (intel_e09): New function.
4546 (intel_e09_1): New function.
4547 (intel_e10): New function.
4548 (intel_e10_1): New function.
4549 (intel_e11): New function.
4550
19f7b010
JJ
45512000-10-20 Jakub Jelinek <jakub@redhat.com>
4552
4553 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
4554 instructions to loose any special insn->architecture mask.
4555
4556 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
4557 (sparc_md_end, sparc_arch_types, sparc_arch,
4558 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
4559 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
4560 request v9b architecture if they are used).
4561
3ae647a0
NC
45622000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4563
4564 * config/tc-m68k.c: Fix the previous misapplied patch.
4565
5cbdaa77
NC
45662000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4567
50705ef4
AM
4568 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
4569 BFD_ASSEMBLER and !BFD_ASSEMBLER.
4570 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
4571 BFD_RELOC_*.
5cbdaa77 4572
e6c774b4
KH
45732000-10-17 Kazu Hirata <kazu@hxi.com>
4574
4575 * debug.c: Fix formatting.
4576 * depend.c: Likewise.
4577 * dwarf2dbg.c: Likewise.
4578 * dwarf2dbg.h: Likewise.
4579 * ecoff.c: Likewise.
4580 * expr.c: Likewise.
4581 * expr.h: Likewise.
4582 * flonum-konst.c: Likewise.
4583 * frags.h: Likewise.
4584
ea20a7da
CC
45852000-10-17 Chandrakala Chavva <cchavva@redhat.com>
4586
4587 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
4588 options.
4589 * doc/as.texinfo: Added notes about this new option.
4590
266cb5f1
HPN
45912000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
4592
4593 * config/tc-sh.c (JREG): Remove.
4594 (md_convert_frag): Remove #if 0:d code using JREG.
4595
6588847e
DN
45962000-10-15 Diego Novillo <dnovillo@cygnus.com>
4597
4598 * config/tc-i386.c (i386_operand_modifier): Only match
4599 modifiers SHORT and FLAT if they are followed by a space.
4600 (parse_register): When `allow_naked_reg' is set, do not confuse
4601 identifiers that start with a register name with a register.
4602
30a2b4ef
KH
46032000-10-12 Kazu Hirata <kazu@hxi.com>
4604
4605 * app.c: Fix formatting.
4606 * as.c: Likewise.
4607 * as.h: Likewise.
4608 * bit_fix.h: Likewise.
4609 * cgen.c: Likewise.
4610 * cgen.h: Likewise.
4611 * cond.c: Likewise.
4612
d01e2a23
AM
46132000-10-11 Alan Modra <alan@linuxcare.com.au>
4614
4615 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
4616
44852b19
AM
46172000-10-07 Alan Modra <alan@linuxcare.com.au>
4618
dc1fc56b
AM
4619 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
4620 Re-arrange function a little and improve error message.
4621
44852b19
AM
4622 * write.c (write_relocs): Fix a comment.
4623
4624 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
4625 link-once sections.
4626
afa680f8
JW
46272000-10-05 Jim Wilson <wilson@cygnus.com>
4628
4629 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
4630
ce8a8b2f
AM
46312000-10-05 Alan Modra <alan@linuxcare.com.au>
4632
4633 * config/tc-i386.c: Delete some useless comments, reformat others.
4634
4635 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
4636 non-global syms in linkonce sections.
4637
56d27c17
AM
46382000-10-04 Ralf Baechle <ralf@gnu.org>
4639
4640 * config/tc-ia64.c (operand_match): Don't use // style comments.
4641 * config/tc-i370.c: Likewise.
4642
7b15d668
HPN
46432000-09-29 Hans-Peter Nilsson <hp@axis.com>
4644
4645 Changes to handle varying register prefix and user symbol prefix.
4646 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
4647 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
4648 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
4649 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
4650 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
4651 (demand_register_prefix): New variable.
4652 (md_pseudo_table): New pseudo ".syntax".
4653 (md_longopts): New options --no-underscore and --underscore.
4654 (cris_target_format): Return elf32-us-cris or elf32-cris depending
4655 on symbols_have_leading_underscore.
4656 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
4657 (get_spec_reg): Ditto.
4658 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
4659 Fix formatting.
4660 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
4661 --help.
4662 <case OPTION_NO_US, case OPTION_US>: New.
4663 (md_show_usage): Be brief and reformat to match continuation of
4664 --help.
4665 * po/gas.pot: Regenerate.
4666
27df9f40
AM
46672000-09-28 Alan Modra <alan@linuxcare.com.au>
4668
4669 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
4670 force relocs for 12 bit branches.
4671 (md_apply_fix): Similarly, adjust logic here.
4672
5506e1a5
AM
46732000-09-28 Alan Modra <alan@linuxcare.com.au>
4674
4675 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
4676 adjust for external and weak syms as we will use a reloc. Allow
4677 for +8 offset when calculating limits of branches.
4678 (hppa_fix_adjustable): Undo 2000-09-23 change.
4679 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
4680 Correct distance calculation.
47d89dba
AM
4681 (tc_gen_reloc): Print the file name and line number if we can't
4682 handle a fixup.
5506e1a5
AM
4683
4684 From John David Anglin <dave@hiauly1.hia.nrc.ca>
4685 * config/tc-hppa.c (nonzero_dibits): Define.
4686 (arg_reloc_stub_needed): Check each arg and return value
4687 separately for zero case.
4688 (pa_align): Declare argument `bytes'.
4689
81d4177b
KH
46902000-09-25 Kazu Hirata <kazu@hxi.com>
4691
4692 * config/tc-cris.c: Fix formatting.
4693 * config/tc-d10v.h: Likewise.
4694 * config/tc-d30v.c: Likewise.
4695 * config/tc-d30v.h: Likewise.
4696 * config/tc-fr30.c: Likewise.
4697 * config/tc-fr30.h: Likewise.
4698 * config/tc-m68k.c: Likewise.
4699 * config/tc-m68k.h: Likewise.
4700 * config/tc-pj.h: Likewise.
4701 * config/tc-ppc.c: Likewise.
4702 * config/tc-ppc.h: Likewise.
4703 * config/tc-sh.c: Likewise.
4704 * config/tc-sh.h: Likewise.
4705 * config/tc-sparc.c: Likewise.
4706 * config/tc-v850.h: Likewise.
4707 * config/tc-vax.h: Likewise.
4708 * config/tc-w65.h: Likewise.
4709 * config/tc-z8k.h: Likewise.
4710
959ee541
AM
47112000-09-23 Alan Modra <alan@linuxcare.com.au>
4712
4713 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
4714 checks only for ELF.
4715 (hppa_force_relocation): Likewise.
4716
139368c9
JW
47172000-09-22 Jim Wilson <wilson@cygnus.com>
4718
4719 * config/tc-ia64.c (dv_sem): Add "stop".
4720 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
4721 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
4722 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
4723 match above.
4724 (mark_resources): Check IA64_RS_PRr.
4725
151337e8
NC
47262000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4727
56d27c17 4728 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
4729 md_estimate_size_before_relax): Redesign and clean up the
4730 relaxation mechanism.
4731
0b7410c4
KH
47322000-09-21 Kazu Hirata <kazu@hxi.com>
4733
4734 * config/tc-ns32k.c: Fix formatting.
4735 * config/tc-ns32k.h: Likewise.
4736
a4d24084
KH
47372000-09-20 Kazu Hirata <kazu@hxi.com>
4738
82efde3a
KH
4739 * config/tc-m32r.c: Fix formatting.
4740 * config/tc-m32r.h: Likewise.
4741 * config/tc-m68851.h: Likewise.
4742 * config/tc-m68hc11.c: Likewise.
4743 * config/tc-m68hc11.h: Likewise.
4744 * config/tc-m88k.c: Likewise.
4745 * config/tc-mcore.c: Likewise.
a75214e5 4746 * config/tc-mcore.h: Likewise.
82efde3a
KH
4747 * config/tc-mips.c: Likewise.
4748 * config/tc-mips.h: Likewise.
4749 * config/tc-mn10200.h: Likewise.
4750 * config/tc-mn10300.h: Likewise.
a75214e5 4751 * config/tc-tahoe.c: Likewise.
a4d24084
KH
4752 * config/tc-tahoe.h: Likewise.
4753
4844386e 47542000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
4755
4756 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
4757 Likewise in relaxation description comments.
4758
9e754211
AM
47592000-09-18 Alan Modra <alan@linuxcare.com.au>
4760
4761 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
4762 subtraction of two syms without emitting a relocation.
4763
4764 From David Huggins-Daines <dhd@linuxcare.com>
4765 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
4766 global or weak symbols.
4767
4a4f25cf
KH
47682000-09-15 Kazu Hirata <kazu@hxi.com>
4769
4770 * config/tc-h8300.h: Fix formatting.
4771 * config/tc-h8500.c: Likewise.
4772 * config/tc-h8500.h: Likewise.
4773 * config/tc-hppa.h: Likewise.
4774 * config/tc-i370.h: Likewise.
4775 * config/tc-i386.h: Likewise.
4776 * config/tc-i860.c: Likewise.
4777 * config/tc-i860.h: Likewise.
4778 * config/tc-i960.h: Likewise.
4779 * config/tc-ia64.c: Likewise.
4780 * config/tc-ia64.h: Likewise.
4781
1dab94dd
KH
47822000-09-14 Kazu Hirata <kazu@hxi.com>
4783
4784 * config/tc-a29k.c: Fix formatting.
4785 * config/tc-alpha.c: Likewise.
4786 * config/tc-arc.c: Likewise.
4787 * config/tc-arc.h: Likewise.
4788 * config/tc-arm.c: Likewise.
4789 * config/tc-arm.h: Likewise.
4790 * config/tc-avr.c: Likewise.
4791 * config/tc-avr.h: Likewise.
4792 * config/tc-tic30.c: Likewise.
4793 * config/tc-tic30.h: Likewise.
4794 * config/tc-tic54x.c: Likewise.
4795 * config/tc-tic54x.h: Likewise.
4796 * config/tc-tic80.c: Likewise.
4797 * config/tc-tic80.h: Likewise.
4798
7484b8e6
TW
47992000-09-14 Timothy Wall <twall@cygnus.com>
4800
4801 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
4802 parallel comparisons for later use.
4803 (struct rsrc): Add parallel comparison type.
4804 (resources_match): Skip special cases of PR usage (non-conflicting
4805 parallel compares).
56d27c17 4806
bf514e21
KH
48072000-09-13 Kazu Hirata <kazu@hxi.com>
4808
4809 * config/obj-ecoff.c: Fix formatting.
4810 * config/obj-elf.c: Likewise.
4811 * config/obj-elf.h: Likewise.
4812 * config/obj-evax.h: Likewise.
4813 * config/obj-generic.h: Likewise.
4814 * config/obj-hp300.c: Likewise.
4815 * config/obj-hp300.h: Likewise.
4816 * config/obj-ieee.h: Likewise.
4817 * config/obj-vms.c: Likewise.
4818 * config/obj-vms.h: Likewise.
4819
156c2f8b 48202000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 4821
50705ef4
AM
4822 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
4823 (md_parse_option): Ditto.
4824 (md_longopts): Add -mips32 option.
4825 (md_show_usage): Document new options.
4826 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
4827 (mips_ip): Assemble mfc0 with a sub-selection code.
4828 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
4829 (mips_cpu_to_str): New function.
4830 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
4831 Use CPU_* defines instead of hardcoded numbers.
4832
50705ef4
AM
4833 * doc/as.texinfo: Document new options.
4834 * doc/c-mips.texi: Ditto.
156c2f8b 4835
a01b9fa4
KH
48362000-09-12 Kazu Hirata <kazu@hxi.com>
4837
4838 * as.h: Fix formatting.
4839 * asintl.h: Likewise.
4840 * bit_fix.h: Likewise.
dcd619be
KH
4841 * config/obj-aout.c: Likewise.
4842 * config/obj-aout.h: Likewise.
4843 * config/obj-bout.c: Likewise.
4844 * config/obj-bout.h: Likewise.
4845 * config/obj-coff.c: Likewise.
4846 * config/obj-coff.h: Likewise.
a01b9fa4
KH
4847 * dwarf2dbg.h: Likewise.
4848 * expr.h: Likewise.
4849 * flonum.h: Likewise.
4850 * frags.h: Likewise.
4851 * itbl-ops.h: Likewise.
4852 * macro.h: Likewise.
4853 * read.h: Likewise.
4854 * sb.h: Likewise.
4855 * struc-symbol.h: Likewise.
4856 * subsegs.h: Likewise.
4857 * symbols.h: Likewise.
4858 * tc.h: Likewise.
4859 * write.h: Likewise.
4860
92774660
KH
48612000-09-11 Kazu Hirata <kazu@hxi.com>
4862
f0e652b4
KH
4863 * bignum-copy.c: Fix formatting.
4864 * config/tc-i370.c: Likewise.
92774660
KH
4865 * config/tc-i960.c: Likewise.
4866 * config/tc-m68k.c: Likewise.
f0e652b4
KH
4867 * ehopt.c: Likewise.
4868 * flonum-copy.c: Likewise.
4869 * flonum-konst.c: Likewise.
4870 * flonum-mult.c: Likewise.
4871 * literal.c: Likewise.
4872 * read.c: Likewise.
4873 * sb.c: Likewise.
4874 * stabs.c: Likewise.
4875 * subsegs.c: Likewise.
92774660 4876
222f8079
PB
48772000-09-09 Philip Blundell <philb@gnu.org>
4878
4879 * configure.in (arm*-*-uclinux*): New target.
4880 * configure: Regenerate.
4881
c488923f
KH
48822000-09-09 Kazu Hirata <kazu@hxi.com>
4883
4884 * input-file.c: Fix formatting.
4885 * itbl-ops.c: Likewise.
4886 * messages.c: Likewise.
4887
e0e3ecca
PB
48882000-09-08 Philip Blundell <philb@gnu.org>
4889
4890 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
4891 offset is negative.
4892
5d64ca4e
L
48932000-09-07 H.J. Lu <hjl@gnu.org>
4894
4895 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
4896 * configure: Rebuild.
4897
bdaaa2e1
KH
48982000-09-07 Kazu Hirata <kazu@hxi.com>
4899
e49bc11e
KH
4900 * atof-generic.c: Fix formatting.
4901 * config/tc-mips.c: Likewise.
e13b337a
KH
4902 * config/tc-vax.c: Likewise.
4903 * input-scrub.c: Likewise.
bdaaa2e1 4904
d07ed2cd
AO
49052000-09-07 Alexandre Oliva <aoliva@redhat.com>
4906
4907 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
4908 * configure.in (sh-*-linux*): Added.
4909 * configure: Rebuilt.
4910
86905619
KH
49112000-09-06 Kazu Hirata <kazu@hxi.com>
4912
a28a3ccf
JL
4913 * config/tc-hppa.c: Fix formatting.
4914
86905619
KH
4915 * ecoff.c: Fix formatting.
4916
58cccadb
AO
49172000-09-06 Alexandre Oliva <aoliva@redhat.com>
4918
4919 * configure: Rebuilt with new libtool.m4.
4920
542d6675
KH
49212000-09-05 Kazu Hirata <kazu@hxi.com>
4922
4923 * cgen.c: Fix formatting.
4924 * config/tc-ia64.c: Likewise.
4925
5b343f5a
NC
49262000-09-05 Nick Clifton <nickc@redhat.com>
4927
4928 * aclocal.m4: Regenerate.
4929 * config.in: Regenerate.
4930 * configure: Regenerate.
4931 * po/gas.pot: Regenerate.
50bbae35 4932
07e90ad5
HPN
49332000-09-05 Hans-Peter Nilsson <hp@axis.com>
4934
4935 * config/tc-cris.c: Correct comment typos.
4936
1485d400
EC
49372000-09-05 Eric Christopher <echristo@cygnus.com>
4938
4939 * config/tc-mn10300.c: Cleanup.
4940 (md_pcrel_from): Enable.
4941
904a31bf
AM
49422000-09-05 Alan Modra <alan@linuxcare.com.au>
4943
927781e2
AM
4944 * expr.c (operand): Fix a comment typo.
4945 * write.c (write_relocs): Fix a signed/unsigned warning.
4946
ecacdc7a
AM
4947 * config/tc-hppa.c (fudge_reg_expressions): New
4948 (hppa_force_reg_syms_absolute): New.
4949 (pa_equ): Allow reg_section expressions.
4950 * config/tc-hppa.c (md_optimize_expr): Define.
4951 (hppa_force_reg_syms_absolute): Prototype.
4952
4953 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
4954 (pa_parse_number): Pass in arg to select fp reg parsing.
4955 Return 1 to indicate format checks pass. If strict, then only
4956 accept a register or register symbol. Return value in...
4957 (pa_number): New static for pa_parse_number.
4958 (FP_REG_BASE): Define.
4959 (FP_REG_RSEL): Define.
4960 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
4961 appropriate. White space changes.
4962 (need_pa11_opcode): Don't bother passing any params, get them from
4963 globals instead.
4964 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
4965 Remove extraneous check in case 'Q'.
4966 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
4967 reg, set section of resulting symbol to reg_section.
4968 (pa_parse_space_stmt): Modify call to pa_parse_number.
4969 (pa_space): Likewise.
4970
904a31bf
AM
4971 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
4972 (hppa_force_relocation): Handle vtable relocs.
4973 (pa_vtable_entry): New.
4974 (pa_vtable_inherit): New.
4975 (md_pseudo_table): Add entries for vtable pseudos.
4976 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
4977 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
4978 against weak syms.
4979 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
4980 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
4981 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
4982 millicode import.
4983 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
4984 specify a symbol type.
4985
4986 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
4987 dependent things together.
4988 (md_elf_symbol_type): Define.
4989
4990 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
4991 symbol.
4992 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
4993
4994 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
4995 (obj_elf_vtable_entry): Declare.
4996
4997 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
4998 and export function.
4999 (obj_elf_vtable_entry): Similarly.
5000 (elf_pseudo_table): Fix the damage with a cast.
5001
a47cf567 50022000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
5003
5004 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
5005 for template selection when a label is needed.
5006
197865e8
KH
50072000-09-02 Kazu Hirata <kazu@hxi.com>
5008
5009 * config/tc-ia64.c: Fix formatting.
5010
18e03609
NC
50112000-09-02 Nick Clifton <nickc@redhat.com>
5012
5013 * configure.in: Increase version number to 2.10.91.
5014 * configure: Regenerate.
5015 * aclocal.m4: Regenerate.
5016 * config.in: Regenerate.
5017 * po/gas.pot: Regenerate.
5018 * Makefile.in: Regenerate.
1485d400 5019
a1cc9221
AO
50202000-09-01 Alexandre Oliva <aoliva@redhat.com>
5021
5022 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
5023 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
5024 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
5025 similar relocs.
5026 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
5027 branches.
5028
50292000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
5030
5031 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
5032 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
5033 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
5034 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
5035 (GOT_symbol): New variable.
5036 (md_undefined_symbol): Set it.
5037
44576e1f
RH
50382000-09-01 Richard Henderson <rth@cygnus.com>
5039
5040 * config/tc-ia64.c (match): Don't inline.
5041 (extra_goodness): New.
5042 (md_begin): Prefer nop.f and nop.b for best_template.
5043
29f8404c
KH
50442000-08-31 Kazu Hirata <kazu@hxi.com>
5045
76b0a8c0
KH
5046 * as.c: Fix formatting.
5047 * cond.c: Likewise.
5048 * frags.c: Likewise.
29f8404c
KH
5049 * macro.c: Likewise.
5050
b4c1ea07
EC
50512000-08-31 Eric Christopher <echristo@cygnus.com>
5052
5053 * config/tc-mn10300.c: Cleanup and fix warnings.
5054 (md_pseudo_table): Add initializers.
5055 (md_show_usage): Cleanup.
5056 (md_parse_option): Fix warnings.
5057 (md_undefined_symbol): Fix warnings.
5058 (md_conver_frag): Fix warnings.
5059 (tc_gen_reloc): Fix warnings.
5060 (md_apply_fix3): Fix warnings.
5061 (check_operand): Fix warnings.
5062
ac48eca1
AO
50632000-08-31 Alexandre Oliva <aoliva@redhat.com>
5064
5065 * acinclude.m4: Include libtool and gettext macros from the
5066 top level.
5067 * aclocal.m4, configure: Rebuilt.
5068
e0c21649
GK
50692000-08-30 Mark Hatle <mhatle@mvista.com>
5070
5071 * config/tc-ppc.c (md_parse_option): Recognize -m405.
5072
cf39a089
KH
50732000-08-31 Kazu Hirata <kazu@hxi.com>
5074
5075 * listing.c: Fix formatting.
5076
3ee4defc
KH
50772000-08-29 Kazu Hirata <kazu@hxi.com>
5078
5079 * app.c: Fix a comment typo. Fix formatting.
5080
1e8d20f4
NC
50812000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
5082
29184774 5083 * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
50bbae35
AM
5084 offset of the target destination for jmp instructions.
5085 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 5086
5bcac8a4
HPN
50872000-08-24 Hans-Peter Nilsson <hp@axis.com>
5088
5089 * NEWS: Mention support for CRIS.
5090
131b0983 50912000-08-24 Denis Chertykov <denisc@overta.ru>
46547ecc
DC
5092
5093 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
5094 Sets `.lcomm' alignment to zero.
5095
4b853faa
AO
50962000-08-23 Alexandre Oliva <aoliva@redhat.com>
5097
29184774
NC
5098 * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
5099 TC_FIX_ADJUSTABLE): Define.
4b853faa 5100
efcc5914
JW
51012000-08-23 Jim Wilson <wilson@cygnus.com>
5102
5103 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
5104 unwind.personality_routine is set.
5105
aca719bf
AO
51062000-08-23 H.J. Lu <hjl@gnu.org>
5107
5108 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
5109
a3da4de1
AO
51102000-08-23 Alexandre Oliva <aoliva@redhat.com>
5111
5112 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
5113 environment is pe.
5114
56385375
L
51152000-08-22 H.J. Lu <hjl@gnu.org>
5116
5117 * config.in (STRICTCOFF): New for strict COFF.
5118
5119 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
5120 i386-*-go32* and i386-go32-rtems*.
5121 * configure: Rebuilt.
5122
5123 * config/obj-coff.c (obj_coff_endef): Follow the historical
5124 behavior if STRICTCOFF is not defined.
5125
5126 * doc/internals.texi: Document STRICTCOFF.
5127
8f36cd18
AO
51282000-08-22 Alexandre Oliva <aoliva@redhat.com>
5129
5130 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
5131 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
5132 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
5133 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
5134 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
5135 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
5136 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
5137 Likewise.
5138
58a77e41
EC
51392000-08-22 Eric Christopher <echristo@cygnus.com>
5140
5141 * config/tc-mn10300.c: (md_apply_fix): New function.
5142 (mn10300_force_relocation): New function.
5143 (mn10300_fix_adjustable): New function.
5144
5145 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
5146 (TC_HANDLES_FX_DONE): Define.
5147 (obj_fix_adjustable): Define.
5148 (MD_APPLY_FIX3): Define.
5149 (TC_LINKRELAX_FIXUP): Define.
5150
5151 * write.c: (TC_LINKRELAX_FIXUP): Define if not
5152 previously defined.
5153 (fixup_segment): Use TC_LINKRELAX_FIXUP.
5154
5155 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
5156
ded0649c
JE
51572000-08-21 Jason Eckhardt <jle@cygnus.com>
5158
5159 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
5160 if the fixup resulted in a relocation.
5161
66102fe2
NC
51622000-08-18 Nick Clifton <nickc@redhat.com>
5163
5164 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
5165 Make reference to first element of shift_names explicit.
5166
02198638
AO
51672000-08-18 Alexandre Oliva <aoliva@redhat.com>
5168
5169 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
5170 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
5171 add a symbol's address. Removed all target-specific #ifdefs that
5172 used to accomplished the same.
5173 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
5174 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
5175 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
5176 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
5177 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
5178
353e2c69
KH
51792000-08-17 Kazu Hirata <kazu@hxi.com>
5180
5181 * dwarf2dbg.c: Fix formatting.
5182
4fb7971f
NC
51832000-08-17 Nick Clifton <nickc@redhat.com>
5184
5185 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
5186 to be recoded as logical shift lefts by zero.
5187
50b81f19
JW
51882000-08-16 Jim Wilson <wilson@cygnus.com>
5189
5190 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
5191 postincrement modified registers. Handle IA64_OPND_R3_2 addl
5192 source registers.
5193 (note_register_values): Handle IA64_OPND_R3_2 operands.
5194
f869cfc6
JE
51952000-08-16 Jason Eckhardt <jle@cygnus.com>
5196
50bbae35 5197 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 5198
8cb8bcba
NC
51992000-08-16 Nick Clifton <nickc@redhat.com>
5200
5201 * config/tc-arm.c (struct asm_shift): Delete.
5202 (shift[]): Delete.
5203 (enum asm_shift_index): New.
5204 (struct asm_shift_properties): New.
5205 (struct asm_shift_name): New.
5206 (shift_properties[]); New.
5207 (shift_names[]); New.
5208
5209 (decode_shift): Use new structures.
5210 Issue a warning is "ROR #0" is used.
5211 Issue a warning if "ASR #0" or "LSR #0" is used.
5212
5213 (md_begin): Initialise arm_shift_hsh table from new
5214 asm_shift_name array.
5215
c2158c24
JJ
52162000-08-16 Jakub Jelinek <jakub@redhat.com>
5217
5218 * config/tc-sparc.c: Kill all warnings.
5219 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
5220 in -xarch= as well.
5221 (md_show_usage): Update usage text.
5222
70485b5c
NC
52232000-08-16 Nick Clifton <nickc@redhat.com>
5224
c2158c24 5225 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
5226 useful.
5227
a47cf567 52282000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
5229
5230 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
5231
5232 * config/tc-sh.c (md_assemble): Changed so debug_type
5233 test performed for ppi_assemble
5234 * config/tc-sh.c: Included dwarf2dbg.h.
5235 (debug_line): Defined.
5236 (md_assemble): Generates dwarf2 line info.
5237 (sh_finalize): New function. Finalize dwarf2 info.
5238 (assemble_ppi): Returns size of code generated.
5239 (build_Mytes): Returns size of code generated.
5240 (md_pseudo_table): Added "file" and "loc" psuedo ops.
5241 * config/tc-sh.h (md_end): Defined.
5242 (sh_finalize): Declared.
5243
1db77c8e
AO
52442000-08-15 Alexandre Oliva <aoliva@redhat.com>
5245
5246 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
5247 md_number_to_chars.
5248
046b3b54
NC
52492000-08-14 Nick Clifton <nickc@redhat.com>
5250
5251 * config/tc-arm.c (do_bx): Allow "bx pc".
5252
c43c2cc5
JW
52532000-08-14 Jim Wilson <wilson@cygnus.com>
5254
5255 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
5256 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
5257 (md_begin): Change assignment to md.flag to OR in the new bit.
5258
d1d8ba22
NC
52592000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
5260
5261 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
5262 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
5263 C_MOU, and C_EOS.
d1d8ba22 5264
22b36938
JE
52652000-08-14 Jason Eckhardt <jle@cygnus.com>
5266
5267 * NEWS: Mention i860 support.
5268
131b0983 52692000-08-14 Jeffrey A Law (law@cygnus.com)
c0bd0db2
JL
5270
5271 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
5272
0ac658b8
AS
52732000-08-14 Andreas Schwab <schwab@suse.de>
5274
5275 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
5276
9fc2dda2
JE
52772000-08-11 Andreas Schwab <schwab@suse.de>
5278
5279 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
5280 argument.
5281
bc4466dc
KH
52822000-08-11 Kazu Hirata <kazu@hxi.com>
5283
5284 * expr.c: Fix formatting.
351aa9f6 5285 * config/obj-bout.c: Likewise.
bc4466dc 5286
a9c99419
JE
52872000-08-10 Jason Eckhardt <jle@cygnus.com>
5288
5289 * doc/c-i860.texi: Flesh out the i860 section more.
5290
7c743825
KH
52912000-08-10 Kazu Hirata <kazu@hxi.com>
5292
5293 * symbols.c: Fix formatting.
929b12bc 5294 * expr.c: Likewise.
7c743825 5295
131b0983 52962000-08-09 Diego Novillo <dnovillo@cygnus.com>
fa2255cb 5297
29184774
NC
5298 * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
5299 modifier has the IgnoreSize bit set.
fa2255cb 5300
fc997f4b
AM
53012000-08-09 Alan Modra <alan@linuxcare.com.au>
5302
5303 From Rodney Brown <RodneyBrown@mynd.com>
5304 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
5305 * configure: Regenerate.
5306
a47cf567
NC
53072000-08-09 Kazu Hirata <kazu@hxi.com>
5308
5309 * hash.c: Fix formatting.
5310 * gasp.c: Likewise.
5311
305d537e
JE
53122000-08-08 Jason Eckhardt <jle@cygnus.com>
5313
5314 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
5315 (i860_fix_info): New enum.
5316 (MD_APPLY_FIX3): Define.
5317 (WORKING_DOT_WORD): Define.
5318 (TC_HANDLES_FX_DONE): Define.
5319 (DIFF_EXPR_OK): Define.
5320 (LISTING_HEADER): Define.
5321 (TARGET_FORMAT): Select target format based on endian flag.
5322 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
5323 (target_big_endian): Add external declaration.
5324
5325 * config/tc-i860.c: All existing code reworked completely. Other
5326 new code shown below.
5327 (SYNTAX_SVR4): Define.
5328 (target_warn_expand): New variable.
5329 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
5330 (md_longopts): Declare and define with new options (-EL, -EB,
5331 and -mwarn-expand).
5332 (md_show_usage): New function.
5333 (md_operand): New function.
5334 (obtain_reloc_for_imm16): New function.
5335 (md_apply_fix3): New function.
5336 (tc_gen_reloc): New function.
5337
df86943d
NC
53382000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5339
5340 * config/tc-m68hc11.c (build_jump_insn): Make sure the
5341 2 bytes of the jump address are in the same frag.
5342 (find): Accept 68hc12 register indirect modes.
5343
5344 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 5345
30d25259
RH
53462000-08-07 Richard Henderson <rth@cygnus.com>
5347
5348 * config/tc-ia64.c (unwind): Add prologue_mask member.
5349 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
5350 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
5351 (dot_body): Clear unwind.prologue_mask.
5352 (dot_prologue): Set it. Accept a register second argument.
5353
2d484c7f
KH
53542000-08-07 Kazu Hirata <kazu@hxi.com>
5355
5356 * config/atof-ieee.c: Fix formatting.
5357 * config/atof-tahoe.c: Likewise.
5358
a47cf567 53592000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 5360
3d4ae3c0
NC
5361 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
5362 work.
5363
c91d2e08
NC
5364 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
5365 of .popsection, .previous, .pushsection, .subsection,
5366 .version, .vtable_entry, .vtable_inherit and .weak.
5367
47926f60
KH
53682000-08-05 Kazu Hirata <kazu@hxi.com>
5369
5370 * config/tc-cris.c: Fix formatting.
5371 * config/tc-i386.c: Likewise.
5372 * config/tc-sparc.c (sparc_ip): Simplify the code.
5373
ab3e48dc
KH
53742000-08-04 Kazu Hirata <kazu@hxi.com>
5375
5376 * config/tc-cris.c: Rearrange code for readability.
5377 * config/tc-d10v.c: Fix formatting.
5378 * config/tc-m32r.c: Likewise.
5379 * config/tc-sparc.c: Likewise.
5380
3d56ab85
JW
53812000-08-02 Jim Wilson <wilson@cygnus.com>
5382
5383 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
5384 before ia64_find_opcode.
5385 (md_assemble): Likewise.
5386
3f9dfb2c
NC
53872000-08-01 Nick Clifton <nickc@cygnus.com>
5388
a47cf567 5389 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 5390 Undo some formatting fixes.
3f9dfb2c 5391
28e4f854
KH
53922000-08-01 Kazu Hirata <kazu@hxi.com>
5393
5394 * config/obj-som.c: Fix formatting.
5395 * config/obj-ieee.c: Likewise.
5396 * config/tc-arm.c: Likewise.
5397 * config/tc-v850.c: Likewise.
5398
a570e639
NC
53992000-08-01 Nick Clifton <nickc@redhat.com>
5400
5401 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
5402 index by command line option.
58a77e41 5403
a570e639
NC
54042000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5405
5406 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
5407 (@node M68K-Branch): Rewrite to match the reality.
5408
e3308d0d
JE
54092000-07-31 Jason Eckhardt <jle@cygnus.com>
5410
5411 * doc/c-i860.texi: New file.
5412 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
5413 * doc/Makefile.in: Regenerate.
5414 * doc/all.texi: Add I860 as relevant architecture.
5415 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
5416
2fd5405a
NC
54172000-07-31 Kazu Hirata <kazu@hxi.com>
5418
5419 * config/tc-d30v.c: Fix formatting.
5420
28e7409f
NC
54212000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5422
50bbae35
AM
5423 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
5424 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
5425 long emit a long branch if available instead of an absolute jump, never
5426 emit absolute jumps for anything with --pcrel.
28e7409f
NC
5427
5428 * doc/c-m68k.texi: Document new command line option.
58a77e41 5429
a47cf567
NC
54302000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
5431
5432 * config/tc-avr.c: Use PARAMS macro in function declarations.
5433 Don't declare md_pcrel_from_section (already in tc-avr.h).
5434 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
5435 (avr_operand): Don't set (unsigned) op_mask to -1.
5436
534022ea
JE
54372000-07-28 Jason Eckhardt <jle@cygnus.com>
5438
50bbae35
AM
5439 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
5440 * configure: Regenerated.
5441 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
5442 of operand to the .type directive (.e.g, "type").
534022ea 5443
4c400d5e
AM
54442000-07-28 Alan Modra <alan@linuxcare.com.au>
5445
5446 * as.h (warn_comment, found_comment, found_comment_file): Declare.
5447 * app.c (do_scrub_chars): Record where first comment found.
5448 * read.c (read_a_source_file): Init found_comment on entry, and
5449 notify whether comments found on exit.
5450 * config/tc-hppa.c (md_shortopts): Add "c".
5451 (md_longopts): Add warn-comment.
5452 (md_parse_option): Handle it.
5453 (md_show_usage): Show available options.
5454 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
5455
131b0983 54562000-07-27 Andrew Cagney <cagney@b1.cygnus.com>
0aa529cb
AC
5457
5458 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
5459 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 5460 sym_ptr_ptr
0aa529cb
AC
5461 (md_estimate_size_before_relax): Don't fall off end of function.
5462
c6a7ab1f
NC
54632000-07-27 Kazu Hirata <kazu@hxi.com>
5464
5465 * config/tc-avr.c: Fix formatting.
5466 * config/tc-ns32k.c: Likewise.
5467
e0c6ed95
AM
54682000-07-27 Alan Modra <alan@linuxcare.com.au>
5469
5470 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
5471
54722000-07-27 Kazu Hirata <kazu@hxi.com>
5473
5474 * config/tc-d10v.c: Fix formatting.
5475 * config/tc-z8k.c: Likewise.
5476 * config/tc-sparc.c: Likewise.
5477
6883dc5e 54782000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
5479
5480 * cgen.c (queue_fixup): Declare opinfo.
5481 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
5482 (gas_cgen_md_operand): Ditto.
5483 (gas_cgen_md_apply_fix3): Ditto.
5484
39da8128
DD
54852000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
5486
5487 * config/obj-coff.c (obj_frob_symbol): Don't merge
5488 labels. Don't merge if the symbol isn't constant. Return
5489 immediately if a symbol is merged.
5490
65e68b04
AM
54912000-07-22 Alan Modra <alan@linuxcare.com.au>
5492
5493 * frags.c (frag_align): Correct absolute section alignment.
5494
5e0d736c
DD
54952000-07-20 DJ Delorie <dj@redhat.com>
5496
5497 * config/obj-coff.c (obj_frob_symbol): revert previous change,
5498 it breaks linking against DLLs.
5499
3bcbcc3d
HPN
55002000-07-20 Hans-Peter Nilsson <hp@axis.com>
5501
5502 * configure.in: Add CRIS support.
5503 * configure: Regenerate.
5504 * Makefile.am: (CPU_TYPES): Add cris.
5505 (CPU_OBJ_VALID) [aout]: Add cris.
5506 (MULTI_CPU_TYPES): Add cris.
5507 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 5508 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
5509 (TARGET_CPU_CFILES): Add config/tc-cris.c.
5510 (TARGET_CPU_HFILES): Add config/tc-cris.h.
5511 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
5512 Regenerate dependencies.
5513 * Makefile.in: Regenerate.
5514 * aclocal.m4: Regenerate.
5515 * as.c: Declare crisaout, criself.
5516 * config/tc-cris.h, config/tc-cris.c: New.
5517 * config/e-criself.c, config/e-crisaout.c: New.
5518 * po/POTFILES.in, po/gas.pot: Regenerate.
5519
041ff4dd 55202000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 5521
041ff4dd 5522 * read.c: Fix formatting.
efaf0ba4 5523 * write.c: Fix formatting.
041ff4dd 5524
f980ada0
L
55252000-07-19 H.J. Lu <hjl@gnu.org>
5526
5527 * sb.c: Include <stdlib.h> if exists for abort ().
5528
25a8b250
AM
55292000-07-19 Alan Modra <alan@linuxcare.com.au>
5530
5531 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
5532 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
5533 (pa_type_args): Same here.
5534
7a9aaf92
NC
55352000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
5536
5537 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
5538 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
5539 the storage class is already set.
5540
8098403c
NC
55412000-07-17 Kazu Hirata <kazu@hxi.com>
5542
fafb6d17 5543 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
5544 * config/tc-mn10200.c: Likewise.
5545 * config/tc-mn10300.c: Likewise.
5546 * config/tc-pj.c: Likewise.
5547 * config/tc-tic80.c: Likewise.
5548 * config/tc-w65.c: Likewise.
8098403c 5549
977e771a
FCE
55502000-07-17 Frank Ch. Eigler <fche@redhat.com>
5551
5552 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
5553 is defined.
5554
63bf5651
ILT
55552000-07-15 Ian Lance Taylor <ian@zembu.com>
5556
5557 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
5558 @code.
5559
1cd1c99b
AM
55602000-07-15 Alan Modra <alan@linuxcare.com.au>
5561
5562 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
5563 ELF as are used for SOM (except the 32-bit reloc one) to decide
5564 whether a symbol can be reduced to a section symbol. Expand on
5565 the comment for symbols involved in LR% and RR% expressions.
5566
119d663a
NC
55672000-07-14 Nick Clifton <nickc@cygnus.com>
5568
5569 * config/tc-mips.c (mips_disable_float_construction): New
5570 static variable. Set to true if doubles should not be
5571 constructed by loading two single width fp registers with
5572 halves of the value.
5573 (mips_ip): Test mips_disable_float_construction.
5574 (md_longopts): Add command line switches --construct-floats
5575 and --no-construct-floats.
5576 (md_parse_option): Parse new command line options.
5577 (md_show_usage): Describe new command line options.
5578
5579 * doc/c-mips.texi: Document new command line options.
5580
906fac54
AM
55812000-07-13 Koundinya K <kk@ddeorg.soft.net>
5582
5583 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
5584 * configure: Regenerate.
5585
55862000-07-13 Hans-Peter Nilsson <hp@axis.com>
5587
5588 * configure.in (DEFAULT_EMULATION setting): Revert part of
5589 2000-07-01 change that set te_multi=multi unless set to tmips.
5590 * configure: Regenerate.
5591
7f788821
NC
55922000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
5593
5594 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 5595 section when aligning it increases its size.
7f788821 5596
9a736b6b
NC
55972000-07-11 Kazu Hirata <kazu@hxi.com>
5598
5599 * config/tc-tic54x.c: Fix formatting.
5600
3dd5103b
NC
56012000-07-10 Kazu Hirata <kazu@hxi.com>
5602
5603 * config/tc-h8500.c: Fix formatting.
1aea3bb8 5604 * config/tc-tic54x.c: Fix formatting.
3dd5103b 5605
46b85d42
AM
56062000-07-10 Alan Modra <alan@linuxcare.com.au>
5607
5608 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
5609 displacements correctly.
5610
5611 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
5612
56132000-07-10 Ryan Bradetich <rbradetich@uswest.net>
5614
5615 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
5616 warning.
5617 (hash_jam): Ditto.
5618
ad1079af
AM
56192000-07-09 Alan Modra <alan@linuxcare.com.au>
5620
5621 From David Huggins-Daines <dhd@linuxcare.com>
5622 * config/te-hppalinux64.h: Add a new emulation.
5623 * configure.in (emulations): Add configure bits to support the
5624 64-bit Linux/parisc target.
5625 * configure: Regenerate.
5626
5627 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
5628 (md_shortopts): Add `V' for ELF.
5629
5630 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
5631 when SOM or ELF_ARG_RELOC are defined.
5632 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
5633 ELF_ARG_RELOC are defined.
5634 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
5635 (pa_stringer): ..Do it here instead. Fix comment typos.
5636 (hppa_force_relocation): Cast enums to int before comparing with
5637 ints.
5638
5639 From Ryan Bradetich <rbradetich@uswest.net>
5640 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
5641 redifinition warning.
5642 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
5643 (hppa_force_relocation): ditto
ad1079af
AM
5644 (md_apply_fix): Added cast to buf to fix warnings.
5645
5646 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
5647 cons_fix_new_hppa, hppa_force_relocation): Prototype.
5648
5649 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
5650 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
5651 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
5652 reloc_type** to avoid warnings in switch.
5653 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
5654 little earlier instead.
5655
5656 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
5657 and elf.
5658 (pa_type_args): Use symbol_arg_reloc_info.
5659 (struct pa_it): Make arg_reloc unsigned int.
5660 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
5661 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
5662 (pa_code): Delete. pa_text duplicates this function.
5663 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
5664 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
5665 int.
5666 (cons_fix_new_hppa): Actually change selector to e_fsel when
5667 warning about assuming so.
5668 (tc_gen_reloc): More example elf arg reloc code.
5669 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
5670 (hppa_force_relocation): Likewise.
5671
5672 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
5673 files.
5674 (pa_end_of_source): Prototype.
5675 (hppa_fix_adjustable): Prototype.
5676 (LABELS_WITHOUT_COLONS): Move it..
5677 * config/te-hppa.h: To here.
5678
5679 * config/te-hppa64.h: New file.
5680
5681 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
5682 type.
5683 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
5684 format -10, -16, 16 relocs.
5685 (hppa_elf_mark_end_of_function): Test for null
5686 last_call_info->start_symbol
5687
5688 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
5689 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
5690 re_assesmble_* functions. Delete extraneous statements. Fix
5691 typos in comments.
5692 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
5693 insn to re_assemble_*.
5694
623aa224
UC
56952000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
5696
5697 * doc/internals.texi (Expressions): Fix typo.
58a77e41 5698
c4aa876b
NC
56992000-07-08 Kazu Hirata <kazu@hxi.com>
5700
5701 * config/tc-sh.c: Fix formatting.
d0313fb7 5702 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
5703 * depend.c: Fix formatting.
5704 * flonum-konst.c: Likewise.
5705 * flonum-mult.c: Likewise.
c4aa876b 5706
6b31947e
NC
57072000-07-07 Kazu Hirata <kazu@hxi.com>
5708
a5bfe8c9 5709 * config/tc-sh.c: Fix comments.
bc0d738a
NC
5710 * config/obj-vms.c: Fix comments.
5711 * config/tc-a29k.c: Likewise.
5712 * config/tc-alpha.c: Likewise.
5713 * config/tc-h8300.c: Likewise.
5714 * config/tc-h8500.c: Likewise.
5715 * config/tc-i370.c: Likewise.
5716 * config/tc-ia64.c: Likewise.
5717 * config/tc-m68hc11.c: Likewise.
5718 * config/tc-m68k.c: Likewise.
5719 * config/tc-mips.c: Likewise.
5720 * config/tc-ns32k.c: Likewise.
5721 * config/tc-ppc.c: Likewise.
5722 * config/tc-z8k.c: Likewise.
6b31947e 5723
b8a9dcab
NC
57242000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
5725
5726 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
5727 Default to '(SEC_LOAD | SEC_DATA)'.
5728 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
5729
5730 * doc/internals.texi (CPU Backend): Describe
5731 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
5732
131b0983 57332000-06-06 Andrew Cagney <cagney@b1.cygnus.com>
beb2de9b
AC
5734
5735 * as.c (parse_args): NULL terminate the long option list.
5736
131b0983 57372000-06-04 Andrew Cagney <cagney@b1.cygnus.com>
24ddb296
AC
5738
5739 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 5740 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 5741
1fe72011
NC
57422000-07-05 Nick Clifton <nickc@cygnus.com>
5743
5744 * config/tc-d30v.c (write_2_short): Further changes to warning
5745 messages produced when combining EITHER_BUT_PREFER_MU attributed
5746 opcodes.
5747
a5bfe8c9 57482000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
5749
5750 * MAINTAINERS: new
5751
8de8f17e
AO
57522000-07-04 Alexandre Oliva <aoliva@redhat.com>
5753
5754 * config/tc-arm.c (psrs): Accept combinations of flags.
5755
00d2865b
NC
57562000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
5757
5758 * config/tc-avr.c: Change _ () to _() around all strings marked
5759 for translation (exception from the usual coding style).
5760 (avr_opt): New struct variable, how the new switches are set.
5761 (OPTION_MMCU): Define as 'm' and actually use.
5762 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
5763 (show_mcu_list): New function, display the list of known MCUs.
5764 (md_show_usage): Document the new switches. Call show_mcu_list.
5765 (avr_set_arch): Change 'm' to OPTION_MMCU.
5766 (md_parse_option): Call show_mcu_list if unknown MCU specified.
5767 Handle the new switches.
5768 (avr_operands): Disable warnings for undefined combinations of
5769 operands if -mall-opcodes. Disable warnings for skipping two-word
5770 instructions if enhanced core or -mno-skip-bug.
5771 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
5772 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
5773 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
5774 (avr_ldi_expression): Warn about implicit lo8().
5775 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
5776
54588503
UC
57772000-07-01 Koundinya K <kk@ddeorg.soft.net>
5778
50bbae35
AM
5779 * configure.in: Add entry for mips-*-sysv4*MP*
5780 * configure: Rebuild
5781 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
5782 elf32-tradlittlemips for traditional mips targets.
5783 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
5784 test for Link Once sections as in adjust_reloc_syms.
5785 * config/te-tmips.h: New file for traditional mips targets. Define
5786 TE_TMIPS.
58a77e41 5787
c9900432
NC
57882000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
5789
5790 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
5791 flags argument is not present, don't change an existing section's
5792 section's attributes. If the flags argument is present, warn if the
5793 attributes don't match the section's current attributes. When
5794 long section names are supported, set SEC_LINK_ONCE and
5795 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
5796
131b0983 57972000-06-29 Hans-Peter Nilsson <hp@axis.com>
9d87310a
HPN
5798
5799 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
5800 symbols; create them.
5801
dbddefbf
NC
58022000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
5803
5804 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 5805 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 5806
2ae7e77b
AH
58072000-06-27 Aldy Hernandez <aldyh@redhat.com>
5808
5809 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
5810 expressions. Ignore the problem when handling 16 bit signed
5811 immediates, because the assembler will take care of the relocation
5812 later.
2ae7e77b 5813
6b2539e3
NC
58142000-06-27 Nick Clifton <nickc@cygnus.com>
5815
5816 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 5817 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
5818 sequential order, and emit warning messages if the input source
5819 code contains constructs like that, or parallel constructs
5820 containing such opcodes.
5821
65aa24b6
NC
58222000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
5823
5824 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
5825 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
5826 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
5827 (md_show_usage): Update usage message.
5828 (md_parse_option): Allow redefinition of MCU type within the
5829 same avr[1-5] bfd machine type. Show both old and new MCU type
5830 in the error message.
5831 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
5832 Simplify 8K wrap code.
5833
f0c56b90
NC
58342000-06-25 Kazu Hirata <kazu@hxi.com>
5835
50bbae35
AM
5836 * config/obj-aout.c: Remove all uses of DEFUN.
5837 * config/obj-ieee.c: Likewise.
5838 * config/tc-sh.c: Fix comment typos.
5839 * config/tc-tahoe.c: Likewise.
5840 * config/tc-vax.c: Likewise.
5841 * config/tc-w65.c: Likewise.
5842 * config/tc-z8k.c: Likewise.
f0c56b90
NC
5843 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
5844
6d249963
DD
58452000-06-24 DJ Delorie <dj@cygnus.com>
5846
5847 * config/tc-i386.c (md_estimate_size_before_relax): Revert
5848 more changes from Sept 1999
5849 (tc_i386_fix_adjustable): ditto
5850 (md_apply_fix3): ditto
5851
680d2857 58522000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 5853
680d2857
FCE
5854 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
5855 (gas_cgen_parse_operand): Set it around expression() call.
5856 (gas_cgen_md_operand): Test for it before longjmp().
5857
e7b305a2
AM
58582000-06-24 Kazu Hirata <kazu@hxi.com>
5859
c0fecd35
AM
5860 * config/tc-h8500.c: Remove all uses of DEFUN.
5861 * config/tc-sh.c: Likewise.
5862 * config/tc-w65.c: Likewise.
5863 * config/tc-z8k.c: Likewise.
5864
e7b305a2
AM
5865 * config/tc-h8500.c: Fix typos in comments.
5866
ed6d6fd3
FCE
58672000-06-23 Frank Ch. Eigler <fche@redhat.com>
5868
5869 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
5870 is defined.
5871
f7c88872
AM
58722000-06-23 matthew green <mrg@redhat.com>
5873
5874 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 5875 defined. Fix error message for `[' grouping.
f7c88872 5876
70d6ecf3
AM
58772000-06-22 Kazu Hirata <kazu@hxi.com>
5878
5879 * config/tc-h8300.c: Fix formatting and comment typos.
5880
e9718fe1
TW
58812000-06-22 Timothy Wall <twall@cygnus.com>
5882
5883 * config/tc-ia64.c (note_register_values): Move premature QP
5884 notation clearing into the appropriate place.
5885
45288df1
AM
58862000-06-22 Alan Modra <alan@linuxcare.com.au>
5887
1581f8c9
AM
5888 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
5889 first before anything else. Add bin-bugs.h, emul.h and progress.h
5890 Sort list of files as for $(OBJS) in Makefile.am.
5891
5892 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
5893 find one. Remake dependencies.
5894 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
5895 * Makefile.in: Regenerate.
5896 * doc/Makefile.in: Regenerate.
5897
45288df1
AM
5898 * config/tc-i386.c (i386_displacement): Don't assume a constant
5899 displacement is necessarily 16 bits when in 16 bit code mode.
5900 (md_assemble): Instead size the displacement here after we know
5901 for sure that a .code16gcc operand hasn't automatically added
5902 operand size prefixes.
5903
01580992
L
59042000-06-21 H.J. Lu <hjl@gnu.org>
5905
5906 * Makefile.am: Rebuild dependency.
5907 * Makefile.in: Rebuild.
5908
40f09f82
JL
59092000-06-21 Kazu Hirata <kazu@hxi.com>
5910
5911 * config/tc-h8300.c (parse_reg): Make the function static.
5912 (parse_exp): Likewise.
5913
78295804
DD
59142000-06-20 DJ Delorie <dj@cygnus.com>
5915
5916 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
5917 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
5918 for cygwin import libraries to work properly.
5919
45f85b08
L
59202000-06-20 H.J. Lu <hjl@gnu.org>
5921
5922 * Makefile.am: Rebuild dependency.
5923 * Makefile.in: Rebuild.
5924 * configure: Likewise.
5925 * doc/Makefile.in: Likewise.
5926
39bec121
TW
59272000-06-20 Timothy Wall <twall@cygnus.com>
5928
5929 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 5930 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
5931 * doc/c-tic54x.texi: New.
5932 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 5933 documentation file.
39bec121 5934 * doc/all.texi: Add C54X.
3e87a760 5935 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
5936 * doc/Makefile.in: Regenerate.
5937 * configure.in: Add tic54x and define LIBM for tic54x.
5938 * configure: Regenrate.
5939 * config/tc-tic54x.[ch]: New.
5940 * config/obj-coff.h: Add tic54x.
5941 * Makefile.am: (CPU_TYPES): Add tic54x.
5942 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
5943 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
5944 (as_new_LDADD): Add $(LIBM).
5945 * Makefile.in: Regenerate.
3e87a760 5946
60bcf0fa
NC
59472000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
5948
5949 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
5950 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
5951 * doc/as.texinfo: Likewise.
5952
5953 * configure, Makefile.in: Regenerate.
5954 * configure.in (emulations): Recognize m6811 and m6812.
5955 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
5956 Added files for 68hc11 and 68hc12 assembler.
5957 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
5958 * config/tc-m68hc11.h: Header definition for that assembler.
5959
ec05f674
NC
59602000-06-18 Nick Clifton <nickc@redhat.com>
5961
24ef8152
NC
5962 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
5963 instead of OCTETS_PER_BYTE.
5964
ec05f674 5965 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 5966 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 5967
119caedd
L
59682000-06-18 H.J. Lu <hjl@gnu.org>
5969
5970 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
5971 * configure: Rebuild.
5972
607723e4
NC
59732000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
5974
3e87a760
AM
5975 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
5976 to BFD_ASSEMBLER.
607723e4 5977
b946ec34
NC
59782000-06-16 Nick Clifton <nickc@cygnus.com>
5979
5980 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
5981 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
5982
5983 * doc/c-mips.texi: Document newly accepted cpu variants.
5984
37ce37b1
UC
59852000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
5986
5987 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
5988
c06ae4f2
UC
59892000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
5990
5991 * macro.c (getstring): Make it possible to escape the quote
5992 character.
5993
131b0983 59942000-06-13 Catherine Moore <clm@redhat.com>
20348649
JL
5995
5996 * config/tc-hppa.c (pa_export): Weak symbols can be global.
5997
bcef29e6
L
59982000-06-13 H.J. Lu <hjl@gnu.org>
5999
6000 * configure: Regenerate.
6001
63a0b638
AM
60022000-06-09 Alan Modra <alan@linuxcare.com.au>
6003
6004 * app.c (do_scrub_begin): Don't default lex[';'] as a line
6005 separator.
6006 * doc/internals.texi (line_separator_chars): Semicolon is no
6007 longer a default. Mention null and newline as defaults.
6008
6009 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
6010
6011 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
6012 * config/tc-i860.h (line_separator_chars): Likewise.
6013 * config/tc-h8300.c (line_separator_chars): Likewise.
6014 * config/tc-i960.c (line_separator_chars): Likewise.
6015 * config/tc-m68k.c (line_separator_chars): Likewise.
6016 * config/tc-mips.c (line_separator_chars): Likewise.
6017 * config/tc-ns32k.c (line_separator_chars): Likewise.
6018 * config/tc-sparc.c (line_separator_chars): Likewise.
6019 * config/tc-vax.c (line_separator_chars): Likewise.
6020
6021 * config/tc-h8300.c (comment_chars): Use string initialiser.
6022 * config/tc-i960.c (line_comment_chars): Likewise.
6023 * config/tc-z8k.c (comment_chars, line_comment_chars,
6024 line_separator_chars): Likewise.
6025
6026 * config/tc-arm.c (line_separator_chars): Always use `;', not just
6027 for TE_LINUX.
6028
9bab9349
NC
60292000-06-08 Nick Clifton <nickc@cygnus.com>
6030
6031 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
6032 for size 1 fixes.
6033
946efd95
DB
60342000-06-08 David O'Brien <obrien@FreeBSD.org>
6035
6036 * configure.in (VERSION): Update to show this is the CVS mainline.
6037
6480b79a
DB
60382000-06-08 Matthew Jacob <mjacob@feral.com>
6039
6040 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
6041 $at is the integer register $r28, vs. both $r28 and the floating
6042 point register $f28.
6043
10850f29
JW
60442000-06-08 James E. Wilson <wilson@cygnus.com>
6045
6046 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
6047 (dot_endp): Don't call ia64_flush_insns.
6048 (emit_one_bundle): Don't delete prologue/body records from
6049 unwind_record list in first loop. Rewrite second loop to account for
6050 this.
6051
150f24a2
JW
60522000-06-07 David Mosberger <davidm@hpl.hp.com>
6053
6054 * config/tc-ia64.c: Add missing prototypes.
6055 (generate_unwind_image): Cast argument to output_unw_records call.
6056
131b0983 60572000-06-07 Denis Chertykov <denisc@overta.ru>
e38c9cc2 6058
46b85d42 6059 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 6060
131b0983 60612000-06-07 Denis Chertykov <denisc@overta.ru>
1188e082
DC
6062
6063 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
6064 (REGISTER_P): likewise.
6065 (avr_opcodes): uses include/opcode/avr.h
6066 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 6067
ac743b2c
AM
60682000-06-04 Alan Modra <alan@linuxcare.com.au>
6069
0b545448
AM
6070 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
6071 initializers too.
ac743b2c 6072
969e1a7b
L
60732000-06-03 H.J. Lu <hjl@gnu.org>
6074
6075 * read.c (is_end_of_line): Put back `;'.
6076
65172ab8
AM
60772000-06-03 Alan Modra <alan@linuxcare.com.au>
6078
6079 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
6080
b75c0c92
AM
60812000-06-01 Alan Modra <alan@linuxcare.com.au>
6082
6083 * expr.c (operand): Test is_end_of_line outside switch to catch
6084 line separator chars that are also operators.
6085 (operator): Return O_illegal for line separator chars.
6086
6087 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
6088 entry (or `!' entry for TC_HPPA).
6089
6090 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
6091 before indexing is_end_of_line. Remove redundant check for '\0'.
6092 (fp_op2): Likewise.
6093 * config/tc-h8500.c (md_assemble): Likewise.
6094 * config/tc-mcore.c (md_assemble): Likewise.
6095 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
6096 (md_atof): Likewise
6097
6098 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
6099 is_end_of_line.
6100 * config/tc-mcore.c (mcore_cons): Likewise.
6101 (mcore_float_cons): Likewise.
6102 (mcore_stringer): Likewise.
6103 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
6104
a6836251
SB
61052000-06-01 Scott Bambrough <scottb@netwinder.org>
6106
6107 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
6108
43841e91
NC
61092000-05-29 Nick Clifton <nickc@cygnus.com>
6110
6111 * config/tc-sh.c: Fix compile time warning messages.
6112
6113 * config/tc-mips.c: Fix compile time warning messages.
6114
a057431b
PB
61152000-05-29 Philip Blundell <philb@gnu.org>
6116
6117 * doc/as.texinfo: Update copyright dates.
a81d9f0c 6118 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
6119 * NEWS: Mention ARM ELF support.
6120
3c07fb76
AO
61212000-05-27 Alexandre Oliva <aoliva@cygnus.com>
6122
6123 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
6124 it is modified, and use the real_size to compute the frag address
6125 for dwarf2 line info.
6126
ad4d6ccf
AM
61272000-05-27 Alan Modra <alan@linuxcare.com.au>
6128
6129 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
6130 line-matching scheme to cope with automake moving variables around.
6131 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
6132 * Makefile.in: Regenerate.
6133
6faf3d66
JJ
61342000-05-26 Jakub Jelinek <jakub@redhat.com>
6135
6136 * config/tc-sparc.c (sparc_relax): New.
6137 (md_longopts): Add -relax and -no-relax options.
6138 (md_parse_options, md_show_usage): Likewise.
6139 (md_apply_fix3): Optimize tail call into branch always if possible.
6140
131b0983 61412000-05-04 Donald Lindsay <dlindsay@cygnus.com>
0a44c2b1
DL
6142
6143 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
6144 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
6145 rules, with warning when a GAS statement specifies a packing that
6146 will result in an instruction being squashed.
3e87a760
AM
6147 Added typdef packing_type and enumerals, changed various integer
6148 literals to use the enumerals.
0a44c2b1 6149
e0c9811a
JW
61502000-05-24 David Mosberger <davidm@hpl.hp.com>
6151
6152 * config/tc-ia64.c (dot_restorereg_p): New function.
6153 (md_pseudo_table): Add restorereg.p.
6154 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
6155 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
6156
6157 * config/tc-ia64.h (unw_record_type): Add unwabi.
6158 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
6159 called MASK with members for imask, and the masks produced by
6160 fr_mem, gr_mem, br_mem, and frgr_mem.
6161 (unw_p_record): Add members ABI and CONTEXT.
6162 (unw_x_record): Add member AB.
6163 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
6164 as pseudo-register for use during unwind info generation.
6165 (AR_PFS, AR_LC): New macros.
6166 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
6167 whose names start with an at sign (as in "@priunat").
6168 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
6169 register.
6170 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
6171 proc_end, unwind_info, personality_routine): Consolidate into
6172 "unwind" structure to reduce offset-table use. Add member
6173 NEXT_SLOT_NUMBER to track the slot number for the next instruction
6174 to be emitted.
6175 (output_R1_format, output_R3_format, output_P3_format,
6176 output_P6_format): Initialize R with zero to reduce compiler warnings.
6177 (output_P7_format): Ditto. Add `default' branch to switch
6178 statement to reduce compiler warnings.
6179 (output_P8_format, output_B1_format, output_B4_format): Ditto.
6180 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
6181 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
6182 into single argument.
6183 (output_X1_format, output_X3_format): Initialize R with zero to reduce
6184 compiler warnings. Merge A and B args into single argument.
6185 (output_X2_format, output_X4_format): Remove unused variable R. Merge
6186 A and B args into single argument.
6187 (free_record): Removed (wasn't used).
6188 (free_list_records): Also free imasks in prologue records.
6189 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
6190 (output_spill_mask): Remove.
6191 (output_unwabi): New function.
6192 (output_epilogue, output_label_state, output_copy_state): Call
6193 alloc_record.
6194 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
6195 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
6196 argument.
6197 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
6198 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
6199 as part of handling the prologue records. Emit region's imask if
6200 we have one. Handle unwabi, epilogue, label_state, copy_state,
6201 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
6202 spill_sprel_p, and spill_reg_p records.
6203 (set_imask, count_bits, slot_index): New function.
6204 (fixup_unw_records): Fix region size computation. Handle
6205 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
6206 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
6207 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
6208 set_imask accordingly. Update imask for gr_gr, and br_gr records.
6209 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
6210 (dot_save): Use manifest constants for applicaton registers.
6211 Handle REG_PR and REG_PRIUNAT.
6212 (dot_restore): Don't just ignore it.
6213 (dot_restorereg): New function..
6214 (generate_unwind_image): Ensure unwind info is a multiple of eight
6215 bytes, not just four bytes.
6216 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
6217 (dot_altrp): Don't just ignore it.
6218 (dot_savemem): New function. Replaces dot_savesp() and
6219 dot_savepsp(). Use manifest constants for applicaton registers.
6220 Handle REG_PR and REG_PRIUNAT.
6221 (dot_savef): Simplify.
6222 (dot_saveb): Support generation of br_gr.
6223 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
6224 dot_label_state, dot_copy_state): New function.
6225 (dot_unwabi): Don't just ignore it.
6226 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 6227 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
6228 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
6229 (emit_one_bundle): Set slot number for prologue/body records
6230 *before* emitting the first insn.
6231 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
6232 (md_begin): Declare "psp" pseudo-register.
6233 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
6234 so we don't get segfault.
6235 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
6236 counts as required per SW Conventions manual
6237 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
6238 output_preds_psprel, output_preds_sprel, output_spill_base,
6239 output_unat_psprel, output_unat_sprel, output_lc_psprel,
6240 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
6241 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
6242 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
6243 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
6244 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
6245 (dot_vframe): Implement.
6246 (dot_vframesp, dot_vframepsp): New function.
6247
131b0983 62482000-05-23 Hans-Peter Nilsson <hp@axis.com>
f98fd99f
HPN
6249
6250 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 6251 * configure: Regenerate.
f98fd99f 6252
ee7fcc42
AM
62532000-05-23 Alan Modra <alan@linuxcare.com.au>
6254
6255 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
6256 (md_estimate_size_before_relax): so we can use it here instead of
6257 old kludges. Localise vars to blocks. Comment.
6258
6259 * frags.c (frag_new): Update fr_var comments.
6260 * frags.h (struct frag): Ditto.
6261
c67e42c9
RH
62622000-05-22 Richard Henderson <rth@cygnus.com>
6263
6264 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
6265 (pseudo_func): Add pcrel.
6266 (operand_match): Handle IA64_OPND_TGT64.
6267 (build_insn): Likewise.
6268 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
6269 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
6270 (fix_insn): Handle all three 64-bit relocation types.
6271
131b0983 62722000-05-22 Hans-Peter Nilsson <hp@axis.com>
5110c57e
HPN
6273
6274 * obj.h (struct format_ops): New members begin, app_file,
6275 s_set_other, s_set_desc, s_get_type, s_set_type,
6276 separate_stab_sections, init_stab_section.
6277
6278 * config/obj-multi.h: Update GPL notice to v2.
6279 (obj_begin): New.
6280 (obj_app_file): New.
6281 (S_SET_SIZE): Test s_set_size for NULL before calling.
6282 (S_SET_ALIGN): Similar for s_set_align.
6283 (S_SET_OTHER): New.
6284 (S_SET_DESC): New.
6285 (S_GET_TYPE): New.
6286 (S_SET_TYPE): New.
6287 (SEPARATE_STAB_SECTIONS): New.
6288 (INIT_STAB_SECTION): New.
6289 (EMIT_SECTION_SYMBOLS): New.
6290 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
6291
6292 * config/obj-elf.h: Update GPL notice to v2.
6293 Mention that this file is included from obj-multi.h.
6294 (obj_begin): Wrap definition in ifndef.
6295 (elf_file_symbol): Constify declaration.
6296 (obj_app_file): Ditto.
6297 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
6298 Wrap in ifndef SEPARATE_STAB_SECTIONS.
6299
6300 * config/obj-elf.c (elf_s_set_other): New.
6301 (elf_file_symbol): Constify argument.
6302 (elf_separate_stab_sections): New.
6303 (elf_init_stab_section): New.
6304 (elf_format_ops): Add new members. Remove comma at end.
6305
6306 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
6307 (ecoff_format_ops): Add new fields. Remove comma at end.
6308 Mention inconsistency for emit_section_symbols.
6309
6310 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
6311
6312 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
6313 (coff_separate_stab_sections): New.
6314 (coff_format_ops): Add new members.
6315
6316 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
6317 (obj_aout_s_set_other): New.
6318 (obj_aout_s_set_desc): New.
6319 (obj_aout_s_get_type): New.
6320 (obj_aout_s_set_type): New.
6321 (obj_aout_separate_stab_sections): New.
6322 (aout_format_ops): New members added. Use obj_aout_process_stab,
6323 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
6324 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
6325 appropriate.
6326 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
6327
b98ef147
AM
63282000-05-22 Alan Modra <alan@linuxcare.com.au>
6329
6330 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
6331 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
6332 (md_estimate_size_before_relax): Ensure jumps to weak and
6333 externally visible symbols are relocatable.
6334
131b0983 63352000-05-20 Hans-Peter Nilsson <hp@axis.com>
0aa5d426
HPN
6336
6337 * stabs.c (aout_process_stab): Make global.
6338 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
6339 * read.h (aout_process_stab): Declare.
6340
6341 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
6342 Generalize to *aout, *coff *elf.
6343 * configure: Regenerated.
6344
6345 * doc/internals.texi (Object format backend): Say
6346 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
6347
6348 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
6349 * Makefile.in: Regenerated.
6350
7c3dc350
CM
63512000-05-19 Catherine Moore <clm@cygnus.com>
6352
6353 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
6354
b3b6a3fe
JL
63552000-05-18 Alan Modra <alan@linuxcare.com.au>
6356
6357 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
6358 instruction to reflect change in re_assemble_*.
6359
131b0983 63602000-05-18 Jeffrey A Law (law@cygnus.com)
c9e10a08
JL
6361
6362 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
6363 build PA64 ELF tools.
6364 * configure: Rebuilt.
6365
3043679f
AM
63662000-05-17 Alan Modra <alan@linuxcare.com.au>
6367
6368 * Makefile.am: Regenerate dependencies.
6369 * Makefile.in: Regenerate.
6370
322f2c45
NC
63712000-05-15 Nick Clifton <nickc@cygnus.com>
6372
6373 * config/tc-arm.c (struct asm_psr): Add boolean field
6374 distinguishing between CSPR and SPSR. Rename 'number' field
6375 to 'field'.
6376 (psrs): Rearrange contents to match new asm_psr structure.
6377 (arm_psr_parse): Move next to psr_required_here. Make it
6378 return an asm_psr structure.
6379 (psr_required_here): Use asm_psr structure returned by
6380 arm_psr_parse.
6381 (do_msr): Reorganise to allow psr_required_here to be called
6382 only once.
6383 (md_undefined_name): Mark 'name' parameter as unused, since
6384 the COFF target does not use it.
322f2c45 6385
5e6cbf41
PB
63862000-05-14 David O'Brien <obrien@FreeBSD.org>
6387
6388 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
6389 standards.
6390 * config/te-aux.h: Likewise.
6391 * config/te-dpx2.h: Likewise.
6392 * config/te-go32.h: Likewise.
6393 * config/te-hp300.h: Likewise.
6394 * config/te-hppa.h: Likewise.
6395 * config/te-i386aix.h: Likewise.
6396 * config/te-ic960.h: Likewise.
6397 * config/te-interix.h: Likewise.
6398 * config/te-nbsd532.h: Likewise.
6399 * config/te-pc532mach.h: Likewise.
6400 * config/te-ppcnw.h: Likewise.
6401 * config/te-psos.h: Likewise.
6402 * config/te-sparcaout.h: Likewise.
6403 * config/te-sun3.h: Likewise.
6404 * config/te-sysv32.h: Likewise.
6405
4132022d
AM
64062000-05-14 Alan Modra <alan@linuxcare.com.au>
6407
6408 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
6409 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
6410 and sign extend without an if statement.
6411 (build_bytes): Likewise.
6412
64132000-05-14 Kazu Hirata <kazu@hxi.com>
6414
6415 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
6416 X_add_symbol L_32 case.
6417
b4fd930a
AM
64182000-05-14 David O'Brien <obrien@FreeBSD.org>
6419
6420 * config/te-freebsd.h: New file.
6421
a38cf1db
AM
64222000-05-13 Alan Modra <alan@linuxcare.com.au>
6423
897083bd
AM
6424 * asintl.h (gettext, dgettext, dcgettext, textdomain,
6425 bindtextdomain): Replace defines with those from intl/libgettext.h
6426 to quieten gcc warnings.
6427
a38cf1db
AM
6428 * NEWS: Mention x86 .arch and -q.
6429
6430 * config/tc-i386.c (quiet_warnings): New.
6431 (md_assemble): Use quiet_warnings.
6432 (md_parse_option): Set quiet_warnings from -q.
6433 (md_show_usage): Mention -q, delete -m.
6434 (flag_do_long_jump): Delete.
6435 (md_parse_option): Remove -m.
6436 (md_show_usage): Remove -m.
6437 (md_create_long_jump): Remove useless flag_do_long_jump code.
6438
6439 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
6440 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
6441
e413e4e9
AM
64422000-05-13 Alan Modra <alan@linuxcare.com.au>
6443 Alexander Sokolov <robocop@netlink.ru>
6444
6445 * doc/c-i386.texi (i386-Arch): New section.
6446 (i386-Syntax): Mention .intel_syntax and .att_syntax.
6447
6448 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
6449 (smallest_imm_type): Use smallest opcode for shift by one if cpu
6450 architecture has been given and is not 486.
6451 (set_cpu_arch): New.
6452 (md_pseudo_table): Add .arch.
6453 (md_assemble): Warn if cpu architecture has been given and an
6454 unsupported instruction.
6455
6456 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
6457 Move operand_types bit defines after relevant template field.
6458 (template): Add cpu_flags.
6459 (Cpu*): Define.
6460 (arch_entry): New.
6461
e8b1cae5
AO
64622000-05-12 Alexandre Oliva <aoliva@cygnus.com>
6463
6464 * config/tc-mn10300.h (md_end): Define.
6465 (mn10300_finalize): Declare.
6466 * config/tc-mn10300.c: Include dwarf2dbg.h.
6467 (debug_line): Define.
6468 (md_assemble): Generate dwarf2 line info.
6469 (mn10300_finalize): New function. Finalize dwarf2 info.
6470
426b0403
AM
64712000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
6472
6473 * config/tc-mips.c (md_estimate_size_before_relax): Use the
6474 external version of the relocation for weak symbols.
6475
e4c58b25
JW
64762000-05-08 David Mosberger <davidm@hpl.hp.com>
6477
6478 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
6479 frame size in units of 16 bytes, as required per SW Conventions manual.
6480 (output_unw_records): Output info-block header as a dword to get
6481 byte-order right.
6482
8fce3f5e
AM
64832000-05-08 Alan Modra <alan@linuxcare.com.au>
6484
6485 * as.h: #include "file", not <file> on files from ../include.
6486 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
6487 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
6488 (md_convert_frag): Add ATTRIBUTE_UNUSED.
6489 (tc_coff_symbol_emit_hook): Ditto.
6490 (OPTCOUNT): Cast to int to avoid compiler warning.
6491 (md_begin): Fix signed/unsigned warnings.
6492
64932000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6494
6495 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
6496 ABRANCH LONG case for a conditional branch on a 68000.
6497 (md_estimate_size_before_relax): Likewise. Also handle
6498 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
6499 (m68k-ip: case ABSL): Relax absolute references to 16-bit
6500 PC-relative on all CPUs.
6501 (md_estimate_size_before_relax): Likewise.
6502
fb166ee3
AM
65032000-05-04 Alan Modra <alan@linuxcare.com.au>
6504
6505 * as.c (parse_args): Just mention current year in printed
6506 copyright message.
6507
7a899fff
C
65082000-05-03 J.T. Conklin <jtc@redback.com>
6509
6510 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 6511 unit registers.
7a899fff
C
6512 (md_parse_option): Recognize -m7400.
6513
44877466
ILT
65142000-05-03 Ian Lance Taylor <ian@zembu.com>
6515
6516 * config/atof-ieee.c (gen_to_words): When adding carry back in,
6517 don't permit lp to become less than the words array.
6518
eaa15ab8
NC
65192000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
6520
6521 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
6522 Fix little-endian case.
6523
7c4f6a03
AM
65242000-05-03 David O'Brien <obrien@NUXI.com>
6525
6526 * as.c (parse_args): Update copyright.
6527
da5d444c
AM
65282000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
6529
8a543126 6530 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
da5d444c
AM
6531 for the .bss section too.
6532
3f9b03b5
AM
65332000-05-02 Alan Modra <alan@linuxcare.com.au>
6534
6535 * configure.in: Set em=linux for hppa-*-linux.
6536 * configure: Regenerate.
6537 * doc/Makefile.in: Regenerate with correct automake.
6538
6539 * frags.c (frag_grow): Sanity check chunk_size.
6540
6541 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
6542 * config/obj-som.h: Likewise.
6543 * config/obj-ieee.h: Likewise.
6544
6545 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
6546
6547 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
6548 (md_pseudo_table): Fully initialise OBJ_ELF cases.
6549 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
6550 (pa_ip): low_sign_unext now returns via function value. Use
6551 re_assemble_* instead of dis_assemble_* and
6552 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
6553 unnecessarily.
6554 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
6555 (md_section_align, md_parse_option, md_show_usage,
6556 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
6557 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
6558 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
6559 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
6560 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
6561 pa_text): Likewise.
6562 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
6563 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
6564 outside of switch. Correct mask and shifting errors in case 10
6565 and case -11. In case 21, compare against signed range to suit
6566 hppa_field_adjust changes. In case 12, use re_assemble_12. In
6567 case 17 and case 22, use offsetT variable to properly check range.
6568 Use re_assemble_* here too.
6569 (evaluate_absolute): Change type of value to offsetT. Call
6570 hppa_field_adjust to do the work for us.
6571 (pa_parse_cmpb_64_cmpltr): Delete save_s.
6572 (pa_parse_cmpib_64_cmpltr): Ditto.
6573 (pa_build_unwind_subspace): Delete unused var subseg. Change type
6574 of i to unsigned int.
6575 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
6576 (pa_end_of_source): Return type is void.
6577
131b0983 65782000-05-01 Catherine Moore <clm@cygnus.com>
a2984248
CM
6579
6580 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
6581
131b0983 65822000-05-01 Denis Chertykov <denisc@overta.ru>
df136245
DC
6583
6584 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
6585 More comments added.
6586 (md_begin): Removed "construct symbols for each register name".
6587 Because register names conflicts with GCC generated function
6588 names.
6589 (avr_operand): Now constant numbers can be used as a register
6590 identifiers (0 as r0, 31 as r31).
6591 (md_assemble): use skip_space () before parsing instruction
6592 operands.
6593
c1e73230
AM
65942000-05-01 Alan Modra <alan@linuxcare.com.au>
6595
6596 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
6597 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
6598 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
6599 * configure: Regenerate.
6600
a1934524
AM
66012000-04-29 Andreas Jaeger <aj@suse.de>
6602
6603 * as.h: Correctly check GCC version.
6604
d9b7d820
AM
66052000-04-26 David O'Brien <obrien@FreeBSD.org>
6606
6607 * doc/as.1: Fix unbalanced brackets.
6608
6609 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
6610 TE_FreeBSD.
6611 (line_comment_chars): Set to '/' if TE_FreeBSD.
6612
131b0983 66132000-04-25 Jeffrey A Law (law@cygnus.com)
cea1ab94
JL
6614
6615 * configure.in: Configury support for PA64 (currently disabled).
6616 * configure: Rebuilt.
6617
e799a695
AM
66182000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
6619
3e87a760 6620 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
6621 bfd_set_section_alignment.
6622
3b0ec529
AM
66232000-04-25 Alan Modra <alan@linuxcare.com.au>
6624
6625 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
6626 than 32.
6627
adcf07e6
NC
66282000-04-24 Nick Clifton <nickc@cygnus.com>
6629
6630 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
6631 * doc/as.texinfo (Align): Include arm and strongarm in list of
6632 targets that have the second form of the behaviour of the .align
3e87a760 6633 directive.
adcf07e6 6634
5047a41f
JL
66352000-04-24 Mark Klein <mklein@dis.com>
6636
29184774 6637 * config/obj-som.c: Terminate obj_pseudo_table.
5047a41f 6638
131b0983 66392000-04-24 Clinton Popetz <cpopetz@cygnus.com>
a47cf567
NC
6640
6641 * as.c (parse_args): Allow md_parse_option to override -a listing
6642 option.
6643 * config/obj-coff.c (add_lineno): Change type of offset parameter
6644 from "int" to "bfd_vma."
6645 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
6646 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
6647 (ppc_change_csect): Align correctly for XCOFF64.
6648 (ppc_machine): New function, which discards "ppc_machine" line.
6649 (ppc_tc): Cons for 8 when code is 64 bit.
6650 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
6651 relocations.
6652 (md_parse_option): Handle -a64 and -a32.
6653 (ppc_xcoff64): New.
6654 * config/tc-ppc.h (TARGET_MACH): Define.
6655 (TARGET_FORMAT): Move to function.
6656 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
6657
131b0983 66582000-04-23 Denis Chertykov <denisc@overta.ru>
a47cf567
NC
6659
6660 * config/tc-avr.c: New AVR_ISA_ defined.
6661 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
6662 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
6663 for `fmul', `movw' and `lpm R,Z' instructions.
6664 (avr_operands): Warn if current opcode is a two-word instruction
6665 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
6666 (avr_opcodes): New commands added.
6667 (REGISTER_P): Check 'a' and 'v' constraint letters.
6668 (mcu_types): New MCU added.
6669
bf3ca999
TW
66702000-04-22 Timothy Wall <twall@cygnus.com>
6671
6672 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
6673 to "natval".
6674 (operand_match): Conditionally insert default bit values for IMMU9.
6675
98e5953c
JL
66762000-04-14 Matthew Green <mrg@cygnus.com>
6677
6678 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
6679 * configure: Rebuilt.
6680
131b0983
NC
66812000-04-21 Jeffrey A Law (law@cygnus.com)
6682 Jason Eckhardt <jle@cygnus.com>
a02fab7e 6683
c67e42c9 6684 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
6685
6686 * config/tc-hppa.c (CHECK_ALIGN): New macro.
6687 Added handling of new operand types l,y,&,fe,fE,fx.
6688
131b0983
NC
66892000-04-21 Richard Henderson <rth@cygnus.com>
6690 David Mosberger <davidm@hpl.hp.com>
6691 Timothy Wall <twall@cygnus.com>
6692 Andrew MacLeod <amacleod@cygnus.com>
6693 Jim Wilson <wilson@cygnus.com>
800eeca4
JW
6694
6695 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 6696 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
6697 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
6698 * Makefile.in: Rebuild.
6699 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
6700 * configure: Rebuild.
6701 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
6702 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
6703 * expr.c (expr): Handle md_optimize_expr.
6704 * read.c (LEX_HASH): Add comment.
6705 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 6706
66778679
RH
67072000-04-21 Richard Henderson <rth@cygnus.com>
6708
6709 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
6710 bundling a non-delayed branch type instruction.
6711
aa15f6f7
AO
67122000-04-20 Alexandre Oliva <aoliva@cygnus.com>
6713
6714 * config/tc-mn10300.c (HAVE_AM30): Define.
6715 (md_assemble): Use it.
6716
16adf844
AM
67172000-04-19 Alan Modra <alan@linuxcare.com.au>
6718
742f45cf
AM
6719 * config/obj-elf.c (obj_elf_change_section): Check for changed
6720 section attributes.
6721
16adf844
AM
6722 * Makefile.am: (CPU_MULTI_VALID): Remove.
6723 (MULTI_CPU_TYPES): Define.
6724 (MULTI_CPU_OBJ_VALID): Define.
6725 (DEPTC): Use the above.
6726 (DEPOBJ): Same here.
6727 (DEP2): And here.
6728 Regenerate dependencies.
6729 * Makefile.in: Regenerate.
6730
9c46fb1b
AM
67312000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6732
742f45cf 6733 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 6734
508866be
L
67352000-04-18 H.J. Lu (hjl@gnu.org)
6736
6737 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 6738 bfd_vma for non-bfd assemblers.
508866be 6739
ba2adb93
AM
67402000-04-17 Alan Modra <alan@linuxcare.com.au>
6741
6742 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
6743 doesn't give spurious errors.
6744
12ff5d56
AM
67452000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6746
66778679 6747 * as.h (SEEK_SET): Define if undefined.
12ff5d56 6748
fc633e5b
AM
67492000-04-13 Alan Modra <alan@linuxcare.com.au>
6750
6751 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
6752 constants, and don't assume offsetT is 32 bits.
6753
1ed18ec1
NC
67542000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
6755
6756 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
6757 (md_pcrel_from_section): Add prototype.
6758 (d10v_fix_adjustable): Add prototype.
6759 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
6760
6761 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
6762
3db10f32
NC
67632000-04-12 Nick Clifton <nickc@cygnus.com>
6764
6765 * config/tc-d10v.c (find_opcode): Correctly calculate position of
6766 symbol in frag chain.
6767
847f7ad4
AM
67682000-04-10 Alan Modra <alan@linuxcare.com.au>
6769
6770 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
6771 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
6772 (fits_in_signed_word, smallest_imm_type): Ditto.
6773 (md_assemble): Use an offsetT var to hold offsetT values, not a
6774 long.
6775 (offset_in_range): New.
6776 (md_assemble): Use it.
6777 (md_convert_frag): Change type of target_address, opcode_address,
6778 and displacement_from_opcode_start to offsetT.
6779 (md_create_short_jump): Change type of offset to offsetT.
6780 (md_create_long_jump): Ditto.
6781 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
6782 (md_chars_to_number): Remove.
6783 (output_invalid): Remove duplicate prototype.
6784
ec694b89
NC
67852000-04-09 Nick Clifton <nickc@cygnus.com>
6786
6787 * Makefile.am (CPU_TYPES): Add 'avr'.
6788 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
6789 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
6790
16adf844 6791 * Makefile.in: Regenerate.
ec694b89
NC
6792
6793 * doc/as.texinfo: Add M32R documentation.
6794
131b0983 67952000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 6796
a2d91340 6797 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 6798 --enable-build-warnings option.
a2d91340
AC
6799 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
6800 * Makefile.in, configure: Re-generate.
6801
d92b1a8a
NC
68022000-04-07 Nick Clifton <nickc@cygnus.com>
6803
6804 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
6805 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
6806 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
6807 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
6808 (arm_force_relocation): Force relocations for
6809 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
6810
131b0983 68112000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk>
52ccafd0
JR
6812
6813 * config/tc-sh.c (get_operands): There's no third operand if the
6814 first operand is an immediate.
6815
131b0983 68162000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk>
015551fc
JR
6817
6818 * config/tc-sh.c (immediate): Delete.
6819 (sh_operand_info): Add immediate member.
6820 (parse_reg): Use A_PC for pc.
6821 (parse_exp): Add second argument 'op'. All callers changed.
6822 (parse_at): Expect pc to be coded as A_PC.
6823 Use immediate field in *op.
6824 (insert): Add fourth argument 'op'. All callers changed.
6825 (build_relax): Add second argument 'op'. All callers changed.
6826 (insert_loop_bounds): New function.
6827 (build_Mytes): Remove DISP_4.
6828 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
6829 (assemble_ppi): Use immediate field in *operand.
6830 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
6831 (md_apply_fix): Likewise.
6832 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
6833
131b0983 68342000-04-05 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
79bd78be
AO
6835
6836 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
6837
131b0983 68382000-04-04 Hans-Peter Nilsson <hp@axis.com>
e30e5a6a
HPN
6839
6840 * internals.texi (CPU backend): Document
6841 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
6842
41b49281
AM
68432000-04-04 Alan Modra <alan@linuxcare.com.au>
6844
8ad3436c
AM
6845 * po/gas.pot: Regenerate.
6846
6847 * as.c (show_usage): Restore translated part of bug string.
6848 * gasp.c (show_usage): Likewise.
6849
41b49281
AM
6850 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
6851 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
6852 than move-if-change.
6853 (DEP1): Modify for "gcc -MM".
6854 (DEPTC): Likewise.
6855 (DEPOBJ): Likewise.
6856 (DEP2): Likewise.
6857 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
6858 Update dependencies.
6859 * Makefile.in: Regenerate.
6860
0a727238
AO
68612000-04-03 Alexandre Oliva <aoliva@cygnus.com>
6862
6863 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
6864 (md_begin): Likewise.
6865 (HAVE_AM33): New macro.
6866 (md_assemble): Use it. Match r_regs and xr_regs only if
6867 HAVE_AM33.
6868
c20f4f8c
AM
68692000-04-03 Alan Modra <alan@linuxcare.com.au>
6870
6871 * as.h: #include "bin-bugs.h"
6872 * as.c (show_usage): Use REPORT_BUGS_TO.
6873 * gasp.c: #include "bin-bugs.h"
6874 (show_usage): Use REPORT_BUGS_TO.
6875
6876 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
6877
131b0983 68782000-04-03 Hans-Peter Nilsson <hp@axis.com>
753f6b12
HPN
6879
6880 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
6881 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
6882 adjustments.
6883
726c5dcd
AM
68842000-04-03 Alan Modra <alan@linuxcare.com.au>
6885
6886 * config/tc-i386.c (i386_immediate): Don't assume a constant
6887 immediate is necessarily 16 bits when in 16 bit code mode.
6888 (md_assemble): Instead set guess_suffix here after we have checked
6889 registers.
6890
bf80011a
RH
68912000-04-02 Richard Henderson <rth@cygnus.com>
6892
6893 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
6894 quantities. Correct right shift sign extension.
6895 (build_insn): Make `number' unsigned long. Mask top 6 bits of
6896 32-bit value when shifting into place.
6897
92161534
ILT
68982000-04-01 Ian Lance Taylor <ian@zembu.com>
6899
6900 * app.c: Add ATTRIBUTE_UNUSED as needed.
6901 * config/tc-ppc.c: Likewise.
6902 (ppc_size): Make unsigned long.
6903 (ppc_insert_operand): Add casts to avoid warnings.
6904
447f3982
NC
69052000-03-31 Nick Clifton <nickc@cygnus.com>
6906
6907 * config/tc-d10v.h (md_flush_pending_output): Define.
6908
21d75ec2
NC
69092000-03-29 Nick Clifton <nickc@cygnus.com>
6910
6911 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
6912 segment. Works for both BFD_ASSEMBLER and others.
6913 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
6914
d1a1bf19
NC
69152000-03-29 Nick Clifton <nickc@cygnus.com
6916
6917 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
6918
224de7a5
AM
69192000-03-28 Alan Modra <alan@linuxcare.com.au>
6920
6921 * listing.c (LISTING_LHS_WIDTH): Default depends on
6922 LISTING_WORD_SIZE.
6923 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
6924
5b8274e3
ILT
69252000-03-27 Ian Lance Taylor <ian@zembu.com>
6926
6927 * config/tc-sh.c (md_show_usage): Use backslash before newline in
6928 string literal.
6929
224de7a5 69302000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
6931
6932 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
6933
6934 * config/tc-avr.c (mcu_types): Add missing initialiser.
6935 (md_pcrel_from_section): Add prototype.
6936 (avr_operand): Remove redundant test of unsigned < 0.
6937 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
6938
69392000-03-27 Denis Chertykov <denisc@overta.ru>
6940
6941 * config/tc-avr.c: New file for AVR support.
6942 * config/tc-avr.h: Likewise.
6943 * configure.in: Add AVR support.
6944 * configure: Regenerate.
6945
9f10757c
TW
69462000-03-26 Timothy Wall <twall@cygnus.com>
6947
6948 * gasp.c (macro_op): Add new argument to check_macro call.
6949 Macro structure definitions moved to macro.h
6950 * sb.h: Add argument to prototype for input_scrub_include_sb.
6951 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
6952 nesting checks with an additional flag.
6953 (struct input_save): Add flag to indicate whether current sb
6954 should be checked for proper macro/conditional nesting.
6955 (input_scrub_push/pop): Save/restore nest check flag.
6956 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 6957 defined.
9f10757c
TW
6958 * macro.c (check_macro): Allow caller to retrieve parsed macro
6959 information if a pointer is provided. This information may be
6960 used by the new macro hooks.
6961 * macro.h: Update prototype for check_macro. Macro struct
6962 definitions moved here from macro.c/gasp.c.
6963 * read.c (read_a_source_file): Add parameter to check_macro call,
6964 and pass macro info to the macro hook, if defined.
6965 (input_scrub_insert_line): New. Allow insertion of a line of
6966 characters into the input stream.
6967 (input_scrub_insert_file): New. Allow insertion of an arbitrary
6968 file into the input stream.
6969 (s_include): Use input_scrub_insert_file.
6970 * internals.texi: Document new macro hooks.
6971 * as.h: New prototypes added.
3e87a760 6972
224de7a5 69732000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
6974
6975 * config/tc-i386.c: Don't start any as_bad or as_warn message with
6976 an initial capital letter.
6977 (i386_index_check): Reindent.
6978
11424155
NC
69792000-03-19 Nick Clifton <nickc@cygnus.com>
6980
eaa15ab8 6981 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
6982 relative branches.
6983
43f05576
NC
69842000-03-17 Thomas de Lellis <tdel@windriver.com>
6985
66778679
RH
6986 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
6987 instruction operand bad if Rd > 7 when generating
6988 thumb instructions. Prevents for example,
6989 "adr r12,label" from silently failing and generating
6990 the wrong instruction.
3e87a760 6991
67231402
NC
69922000-03-17 Nick Clifton <nickc@cygnus.com>
6993
6994 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
6995 that have a destingation >= 0x400000.
3e87a760 6996 Fix compile time warning messages.
67231402 6997
131b0983 69982000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk>
a37c8f88
JR
6999
7000 * config/tc-sh.c (md_begin): When encountering insn that are
7001 not supported by the current arch, only change the name if
7002 its contents are the same as prev_name.
7003 (get_specific): If the the architecture doesn't match, fail.
7004
131b0983 70052000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk>
dead1419
JR
7006
7007 * config/tc-sh.c (IDENT_CHAR): Define.
7008 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
7009 matching back where it came from.
7010
131b0983 70112000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk>
182e89d3
JR
7012
7013 * config/tc-sh.c (md_show_usage): Add description of -dsp.
7014
84f73d89
NC
70152000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
7016
7017 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
7018 normal operands.
7019
dbbc7809
JL
70202000-03-15 Kazu Hirata <kazu@hxi.com>
7021
7022 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
7023
131b0983 70242000-03-13 Hans-Peter Nilsson <hp@axis.se>
271bb601
HPN
7025
7026 * expr.c (operand) [case 'f']: When testing if '0f' can start a
7027 floating-point-number, make sure 'f' is in FLT_CHARS.
7028
131b0983 70292000-03-11 Hans-Peter Nilsson <hp@axis.se>
8684e216
HPN
7030
7031 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
7032 (s_lcomm_internal): Use it.
7033 * doc/internals.texi (CPU backend): Document it.
7034 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
7035 bytes.
7036
bb2d6cd7
GK
70372000-03-10 Geoffrey Keating <geoffk@cygnus.com>
7038
7039 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
7040 when embedded-pic.
7041
7042 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
7043 implementation doesn't have special handling for switch
7044 statements.
bb2d6cd7
GK
7045 (macro_build): Allow for code in sections other than .text.
7046 (macro): Likewise.
7047 (mips_ip): Likewise.
7048 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 7049 Don't perform relocs if we will be outputting them.
bb2d6cd7 7050 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
7051 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
7052 embedded-pic.
bb2d6cd7 7053
5c86cbc7 70542000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 7055
66778679
RH
7056 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
7057 relocation type based on the entry in the fixup structure.
a47cf567 7058 Put S_IS_EXTERN processing back in.
5c86cbc7 7059
f8c827e9
L
70602000-03-08 H.J. Lu (hjl@gnu.org)
7061
7062 * Makefile.am (install-exec-tooldir): Depend on
7063 install-exec-bindir for parallel make.
7064 * Makefile.in: Regenerated.
7065
8ad9e709
NC
70662000-03-06 Nick Clifton <nickc@cygnus.com>
7067
7068 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
7069 switch.
7070 (md_parse_option): Parse -m32r command line switch - disable m32rx
7071 compatability.
ded0aeb7
NC
7072 (md_show_usage): Document new option.
7073
7074 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
7075 * doc/Makefile.in: Regenerate.
7076 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 7077
b7b8f327
MM
70782000-03-02 Michael Meissner <meissner@redhat.com>
7079
7080 * config/tc-d30v.c (check_range): Remove code that incorrectly
7081 sign extended values where bits < 32.
7082
15886821
L
70832000-03-02 H.J. Lu (hjl@gnu.org)
7084
7085 * configure.in: Support --enable-targets=all on ia32.
7086 * configure: Regenerated.
7087
8bf950bf
NC
70882000-03-01 Nick Clifton <nickc@cygnus.com>
7089
7090 * gasp.c (do_align): Remove bogus check of alignment value.
7091
c5e54cc2
ILT
70922000-02-27 Thomas de Lellis <tdel@windriver.com>
7093
7094 * config/obj-elf.c (elf_frob_symbol): Remove code which when
7095 TC_PPC was defined forced the type of a symbol with no other type
7096 to be BSF_OBJECT.
7097
65fd87bc
ILT
70982000-02-27 Hans-Peter Nilsson <hp@axis.com>
7099
7100 * doc/internals.texi (CPU backend): Mention that
7101 line_separator_chars do not break up comments. Fix typos for
7102 LEX_AT and LEX_NAME descriptions. Document operands for
7103 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
7104 description of md_create_short_jump usage. Document argument for
7105 md_undefined_symbol.
7106
a25fe906
ILT
71072000-02-27 Jakub Jelinek <jakub@redhat.com>
7108
7109 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
7110 (md_parse_option): Handle it.
7111 (md_show_usage): Document it.
7112
21b10511
ILT
71132000-02-27 Ian Lance Taylor <ian@zembu.com>
7114
7115 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
7116 opcode, for the instruction `pal19'. From Andrea Arcangeli
7117 <andrea@suse.de>.
7118
773f551c
AM
71192000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
7120
7121 * config/tc-i386.c (i386_immediate): Move constant operand sizing
7122 from here..
7123 (md_assemble): To here, before template operands are matched.
7124 Also ensure a constant immediate is sign extended when we know the
7125 size is at most 16 bits. This is to catch cases like "add
7126 $0xffc0,%ax" where we don't know the size, and thus that the
7127 immediate can be represented as Imm8S until after parsing the
7128 register operand.
7129 (i386_displacement): Similarly sign extend 16 bit constant
7130 displacements.
7131 (md_assemble): Relax 16-bit jump constant range check to suit sign
7132 extended displacements.
7133
28d33191
JL
71342000-02-26 Andreas Jaeger <aj@suse.de>
7135
7136 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
7137
cc5ca5ce
AM
71382000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
7139
7140 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
7141 call operands when intel_syntax.
7142 (intel_float_operand): Return 2 for "fi...".
7143 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
7144 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
7145 earlier "SHORT" change.
7146 (md_assemble): When determining suffix from Regs, exclude
7147 InOutPortReg.
7148
056350c6
NC
71492000-02-24 Nick Clifton <nickc@cygnus.com>
7150
7151 * configure: Add arm-wince, mips-pe and sh-pe targets.
7152 * configure: Regenerate.
7153
7154 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
7155 sh-pe targets.
7156 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
7157 "pe-mips" for the mips-pe target.
7158
7159 * config/tc-arm.c (insns): Change displacement encoded in BL
7160 and B instructions if the target port is arm-wince.
7161 (do_ldst): Do not bias the relocation offset if the target
7162 port is arm-wince.
7163 (md_pcrel_from): Add in missing relocation offset bias if the
7164 target os arm-wince.
7165
7166 * config/tc-mips.c (mips_target_format): Support COFF flavour.
7167 (md_begin): Disable -G support for mips-pe target.
7168 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
7169 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
7170 COFF flavour.
7171
7172 * config/tc-sh.c (md_begin): sh-pe target is little endian.
7173 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
7174 assembler, just set the alignment to 4.
7175
7176 * config/te-wince-pe.h: New file for WinCE targets. Define
7177 TE_WINCE.
7178
36bf8ab9
AM
71792000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
7180
7181 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
7182 string instructions.
7183 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
7184 (i386_intel_memory_operand): After finding a segment override,
7185 check again for no `[' before looking for a displacement. Bomb if
7186 more than one displacement rather than silently discarding the
7187 second and subsequent ones. Free strings malloc'd by
7188 build_displacement_string.
7189
f5795b08
CM
71902000-02-24 Catherine Moore <clm@cygnus.com>
7191
7192 * config/obj-som.c (obj_pseudo_table): Add "weak".
7193 (obj_som_weak): New routine.
7194
abd63a32
AM
71952000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
7196
520dc8e8
AM
7197 * config/tc-i386.c (union i386_op): New.
7198 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
7199 Throughout file replace occurences of disps[n], imms[n], regs[n]
7200 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
7201 intel mode operand swapping. Add assert in regKludge and
7202 fake_zero_displacement code. Test i.types[n] when outputting
7203 displacements and immediates. Combine output of Disp16 with
7204 Disp32.
7f3f1ea2
AM
7205 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
7206 when in intel mode by (not) reversing fsub and fdiv operands
7207 before the template search. This fails for single operand
7208 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
7209 undefined. Instead fix the base_opcode after we've found the
7210 template. Move base_opcode xor with found_reverse_match from
7211 opcode output code to before this fix so we test for the correct
7212 opcodes.
7213 (md_assemble): Don't use strcmp when deciding to ignore the suffix
7214 check in intel mode. Instead compare opcodes.
520dc8e8
AM
7215
7216 * config/tc-i386.h (TC_RELOC): Delete.
7217 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
7218 with equivalent call to reloc.
7219
abd63a32
AM
7220 * as.h (flag_m68k_mri): Move declaration after target include, and
7221 only declare when TC_M68K defined. Define as zero otherwise.
7222 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
7223 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
7224 Define as zero otherwise.
7225 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
7226 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
7227 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
7228 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
7229 testing whether defined.
7230 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
7231 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
7232 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
7233 rather than testing whether defined.
7234 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
7235 (parse_mri_cons): Declare and use only when TC_M68K.
7236 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
7237 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
7238 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
7239
7240 * NEWS: Mention IBM 370 support.
7241
7e052742
RH
72422000-02-23 Richard Henderson <rth@cygnus.com>
7243
7244 * config/tc-i386.c (md_assemble): When swapping operands for
7245 intel_syntax, assume everything that's not Imm or Disp is a
7246 register.
7247
5b93d8bb
AM
72482000-02-23 Linas Vepstas <linas@linas.org>
7249
7250 * config/tc-i370.c, config/tc-i370.h: New files.
7251 * Makefile.am: Add support for Linux/IBM 370.
7252 * configure.in: Likewise.
7253 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
7254 * config/obj-elf.c: Include elf/i370.h
7255 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
7256
7257 * Makefile.in: Regenerate.
7258 * configure: Regenerate.
7259
7260 * doc/c-i370.texi: New file.
7261 * doc/all.texi: Include it.
7262 * doc/as.texinfo: And here.
3e87a760 7263 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
7264 * doc/Makefile.in: Regenerate.
7265
25f2196d
CC
72662000-02-19 Michael Meissner <meissner@redhat.com>
7267
7268 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
7269 determine if an instruction can be used in parallel with an ADDppp
7270 or SUBppp instruction.
7271
6349b5f4
AH
72722000-02-22 Andrew Haley <aph@cygnus.com>
7273
7274 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
7275
2f6d2f85 72762000-02-22 Andrew Haley <aph@cygnus.com>
c97ef257
AH
7277
7278 * config/tc-mips.c (mips_gp32): New variable.
7279 (macro_build) Use mips_gp32.
7280 (mips_ip): Ditto.
7281 (md_longopts): Add "-mgp32" and "-mgp64".
7282 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 7283
a47cf567
NC
7284 (OPTION_M7900): Change offset
7285 (OPTION_NO_M7900): Ditto.
7286
b985eaa8
ILT
72872000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7288
7289 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
7290 warning, and bump it to 1.
7291
52454417
ILT
72922000-02-22 Ian Lance Taylor <ian@zembu.com>
7293
7294 From Brad Lucier <lucier@math.purdue.edu>:
7295 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
7296 match format.
7297
6b76fefe
CM
72982000-02-21 Catherine Moore <clm@cygnus.com>
7299
7300 * config/tc-mips.c (MF_HILO_INSN): Define.
7301 (mips_7000_hilo_fix): Declare.
7302 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
7303 (md_parse_option): Check for 7000_HILO_FIX options.
7304 (OPTION_M7000_HILO_FIX): Define.
7305 (OPTION_NO_M7000_HILO_FIX): Define.
7306 * doc/c-mips.texi (-mfix7000): Describe.
7307
f6af82bd
AM
73082000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
7309
7310 * listing.c (print_lines): Remove unused variable `end'.
7311
7312 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
7313 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 7314 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
7315 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
7316 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 7317 statement and quell signed vs. unsigned comparison warning.
f6af82bd 7318
8c8281f4
NC
73192000-02-18 Nick Clifton <nickc@cygnus.com>
7320
7321 * config/tc-d10v.c (find_opcode): Add a symbol's value to
7322 the computed frag offset, rather than overwriting it.
7323
131b0983 73242000-02-17 J"orn Rennecke <amylaar@cygnus.co.uk>
d4845d57
JR
7325
7326 * config/tc-sh.c ("elf/sh.h"): Include.
7327 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
7328 (md.begin): Initialize target_arch.
7329 Only include opcodes in has table that match selected architecture.
7330 (parse_reg): Recognize register names for sh-dsp.
7331 (parse_at): Recognize post-modify addressing.
7332 (get_operands): The leading space is now optional.
7333 (get_specific): Remove FDREG_N support. Add support for sh-dsp
7334 arguments. Update valid_arch.
7335 (build_Mytes): Add support for SDT_REG_N.
7336 (find_cooked_opcode): New function, broken out of md_assemble.
7337 (assemble_ppi, sh_elf_final_processing): New functions.
7338 (md_assemble): Use find_cooked_opcode and assemble_ppi.
7339 (md_longopts, md_parse_option): New option: -dsp.
7340 * config/tc-sh.h (elf_tc_final_processing): Define.
7341 (sh_elf_final_processing): Declare.
7342
131b0983 73432000-02-11 Jeffrey A Law (law@cygnus.com)
c97305a1
JL
7344
7345 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
7346 the unwinder subspace. Save the current seg/subseg before creating
7347 the new seg/subseg.
7348
bec50466
NC
73492000-02-10 Nick Clifton <nickc@cygnus.com>
7350
7351 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 7352 little endian targets.
bec50466 7353 (INST_BYTE1): Redefine to handle big and little endian
66778679 7354 targets.
bec50466
NC
7355 (cpu_type): New type: Select between M340 and M210.
7356 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 7357 instructions of the M340.
bec50466 7358 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 7359 instructions.
bec50466
NC
7360 (md_atof): Add support for little endian targets.
7361 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 7362 line switches.
bec50466
NC
7363 (md_convert_frag): Add support for little endian targets.
7364 (md_apply_fix3): Add support for little endian targets.
7365 (md_number_to_chars): Add support for little endian targets.
7366
a25c045a
TW
73672000-02-10 Timothy Wall <twall@redhat.com>
7368
7369 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
7370 defined, use it to verify the symbol just read should be a label.
7371
f28e8eb3
TW
73722000-02-10 Timothy Wall <twall@redhat.com>
7373
7374 * app.c (do_scrub_chars): Handle "||" for parallel instructions
7375 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
7376 around colons when KEEP_WHITE_AROUND_COLON is defined.
7377 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
7378 and KEEP_WHITE_AROUND_COLON.
7379
6dc19fc4
TW
73802000-02-08 Timothy Wall <twall@redhat.com>
7381
7382 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 7383 logic.
6dc19fc4 7384 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 7385 implemented.
6dc19fc4
TW
7386 (end_repeat): New. Provide support for a "break" out of the
7387 repeat loop.
7388 * read.h: Add prototypes for new functions.
3e87a760 7389
f805106c
TW
73902000-02-08 Timothy Wall <twall@redhat.com>
7391
7392 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
7393 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
7394 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
7395 non-zero.
7396
4469be0f
TW
73972000-02-08 Timothy Wall <twall@redhat.com>
7398
7399 * read.c: Added elseif to directives table.
7400 * read.h: Added prototype for s_elseif.
7401 * doc/as.texinfo: Added description for elseif.
7402 * cond.c (s_elseif): New function
3e87a760 7403
24a17b6c
TW
74042000-02-04 Timothy Wall <twall@redhat.com>
7405
7406 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 7407 listings.
24a17b6c 7408
bea9907b 74092000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 7410
bea9907b
TW
7411 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
7412 default values.
7413 * frags.c (frag_new): Calculate fr_fix in octets
7414 (frag_now_fix) Return offset as target address offset (bytes).
7415 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 7416 quantities).
bea9907b
TW
7417 * frags.h: Added prototype for frag_now_fix_octets().
7418 Distinguish between octets and bytes in field descriptions.
7419 * listing.c (calc_hex): Account for octets vs bytes when
7420 printing addresses/offsets.
7421 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
7422 target is little-endian, print the octets in a word in big-endian
7423 order so that the display looks like a proper hexadecimal number,
7424 instead of having the octets reversed.
7425 * read.c (do_align): When recording alignment, alignment power
7426 should be in terms of target bytes (minimum addressible unit)
7427 instead of octets.
7428 (do_org) Convert ORG target address (byte) argument into an
7429 octet offset when generating a variable fragment.
7430 * symbols.c (resolve_symbol_value): Symbol final value
7431 converted to a target address offset (bytes) from its octet offset.
7432 * config/obj-coff.c (coff_frob_symbol): Symbol target address
7433 offset (bytes) is adjusted by the frag offset (octets) converted
7434 to bytes.
7435 (coff_frob_section) Section alignment power is in terms of bytes;
7436 convert it to an octet alignment power when calculating size (and
7437 size mask) in octets. Don't modify the section size in order to
7438 "align" it for TI COFF, since that format has a different method
7439 for storing alignment information.
3e87a760 7440
210dcc61
TW
74412000-02-01 Timothy Wall <twall@cygnus.com>
7442
7443 * stabs.c (generate_asm_file): Escape backslashes in stabs file
7444 entries, matching the way GCC generates them. If not escaped, the
7445 filename is encoded incorrectly.
7446
557537a5 74472000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 7448
557537a5
NC
7449 * config/tc-arm.c (reg_table): Add support for ATPCS register
7450 naming conventions.
2c1c4c62 7451
557537a5 74522000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 7453
2c1c4c62
GK
7454 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
7455 already defined.
3e87a760 7456 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
7457 New macro.
7458 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
7459 of a symbol when we really care about its value.
7460
23fe39df 74612000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
7462
7463 * config/tc-mcore.c (md_assemble): Give warning message if
7464 operands passes to instruction are more than the spec.
7465
2f0ca46a
NC
74662000-01-27 Thomas de Lellis <tdel@windriver.com>
7467
66778679 7468 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a 7469 Thumb mode but the label seen was not declared as '.thumb_func'
23fe39df 7470 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 7471 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 7472
4c63da97
AM
74732000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
7474
7475 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
7476 Add dependencies for e-i386aout.o. Fix 2 comment lines.
7477
7478 * Makefile.in: Same here.
7479 Update copyright.
7480
7481 * configure.in: Set bfd_gas for i386-aout when primary target
7482 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
7483 we may need the primary te_file. Remove incorrect comment.
7484
7485 * configure: Regenerate.
7486
7487 * config/e-i386aout.c: New file.
7488
7489 * as.c (USE_EMULATIONS): Move to before print_version_id.
7490 (struct emulation): Add i386aout.
7491 (show_usage): Split text strings. Reformat -a text. Add --em
7492 help.
7493 Update copyright.
7494
7495 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
7496 (aout_format_ops): New.
7497 Update copyright.
7498
7499 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
7500 preprocessor conditional and add aout USE_EMULATIONS tests.
7501 (read_a_source_file): Don't pass error strings to printf as
7502 format arg.
7503 Update copyright.
7504
7505 * gasp.c (exp_get_abs): Don't pass error strings to printf as
7506 format arg.
7507 (do_data): Same here.
7508 (process_file): And here.
7509 Update copyright.
7510
7511 * symbols.c (colon): Rewrite "already defined" fatal message
7512 code for aout with USE_EMULATIONS.
7513 Update copyright.
7514
7515 * config/obj-aout.c (OBJ_HEADER): Define.
7516 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 7517 fields of sentinel.
4c63da97
AM
7518 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
7519 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
7520 forms here.
7521 (obj_aout_type): Expand S_SET_OTHER here too.
7522 (obj_read_begin_hook): Remove.
7523 (aout_pop_insert): New.
7524 (obj_aout_s_get_other): New.
7525 (obj_aout_s_get_desc): New.
7526 (aout_format_ops): New.
7527 Update copyright.
7528
7529 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
7530 gets aout_pseudo_table.
7531 (aout_pseudo_table): Declare.
7532 (obj_read_begin_hook): Define.
7533 Update copyright.
7534
7535 * config/obj-coff.c (obj_pseudo_table): Rename to
7536 coff_pseudo_table.
7537 (coff_pop_insert): Use coff_pseudo_table.
7538 (coff_sec_sym_ok_for_reloc): Remove.
7539 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
7540 and comment all zero entries and remove #if 0 code.
7541 Update copyright.
7542
7543 * config/obj-coff.h (obj_pop_insert): Define.
7544 (coff_pseudo_table): Declare.
7545 Update copyright.
7546
7547 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
7548 s_get_size, s_set_size. Comment all zero entries.
7549 Update copyright.
7550
7551 * config/obj-elf.c (elf_s_get_other): New function.
7552 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
7553 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
7554 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
7555 comment.
7556 (obj_elf_parse_section_letters): Don't pass error strings to
7557 printf as format arg.
7558 Update copyright.
7559
7560 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
7561 OBJ_MAYBE_ECOFF.
7562 (elf_s_get_other): Declare.
7563 (S_GET_OTHER) Define as elf_s_get_other if not already
7564 defined.
7565 (S_SET_OTHER): Only define when not already defined.
7566 (elf_obj_read_begin_hook): Declare.
7567 (obj_read_begin_hook): Define.
7568 (elf_obj_symbol_new_hook): Declare.
7569 (obj_symbol_new_hook): Define.
7570 Update copyright.
7571
7572 * config/obj-multi.h: Add copyright header and protect against
7573 multiple inclusion. Add * to all function pointers.
7574 (OBJ_HEADER): If defined, include it rather than other defines
7575 in this file.
7576 (obj_frob_file_after_relocs): Test for NULL.
7577 (obj_symbol_new_hook): Here too.
7578 (obj_sec_sym_ok_for_reloc): And here.
7579 (S_GET_OTHER): Define.
7580 (S_GET_DESC): Define.
7581 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
7582 (OBJ_MAYBE_ELF): Update comment.
7583
7584 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
7585 OBJ_AOUT preprocessor conditional and handle emulation by
7586 testing OUTPUT_FLAVOR.
7587 (i386_displacement): Here too.
7588 (md_section_align): Similarly here.
7589 (i386_target_format): Conditionally compile when more than one
7590 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
7591 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
7592 (i386_displacement): Here too.
7593 Update copyright.
7594
7595 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
7596 Define TARGET_FORMAT for aout only when not multi.
7597 Update copyright.
7598
7599 * config/te-multi.h: Delete file as it's identical to te-generic.h
7600
add0c677
AM
76012000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
7602
7603 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
7604 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
7605 LONG_MNEM_SUFFIX.
7606
7607 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
7608 DWORD_MNEM_SUFFIX.
7609 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
7610 comments.
7611
a19d8eb0
CP
76122000-01-13 Clinton Popetz <cpopetz@cygnus.com>
7613
66778679
RH
7614 * config/tc-mips.c (mips_do_align): New function.
7615 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 7616
550262c4
NC
76172000-01-10 Philip Blundell <philb@gnu.org>
7618
7619 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 7620 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
7621 line separator for Linux.
7622 * doc/as.texinfo (Comments): Mention the ARM.
7623
0decc840
NC
76242000-01-10 Philip Blundell <pb@futuretv.com>
7625
7626 * configure.in (arm*-*-conix*): New target.
7627 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
7628 armv*-*-linux-gnu.
7629 * configure: Regenerate.
7630
2e13b764
NC
76312000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
7632
7633 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
7634 (obj_elf_visibility): New function.
3e87a760 7635
2e13b764
NC
7636 * doc/as.texinfo (Visibility): New node: document visibility
7637 pseudo ops.
7638
2f6d2f85 7639For older changes see ChangeLog-9899
This page took 0.667134 seconds and 4 git commands to generate.