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