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