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