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