Typo fix.
[binutils-gdb.git] / gas / ChangeLog
1 Wed Aug 29 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
2
3 * doc/internals.texi (MD_PCREL_FROM_SECTION): Change
4 documentation to reflect reality.
5
6 2001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
7
8 * tc_mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
9 (macro): Reflect change to MAX_GPREL_OFFSET.
10
11 2001-08-27 Torbjorn Granlund <tege@swox.com>
12 Staffan Ulfberg <staffanu@swox.se>
13 Linus Nordberg <linus@swox.se>
14 Alan Modra <amodra@bigpond.net.au>
15
16 * configure.in: Recognise powerpc*le*, not just powerpcle*.
17 * configure: Regenerate.
18 * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER,
19 PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros.
20 (md_assemble): Use them.
21 (ppc_machine): Support stub for ELF64 as well as XCOFF.
22 (md_pseudo_table): Add "llong", "quad".
23 (md_parse_option): Match default_cpu of powerpc*.
24 (ppc_arch): Likewise.
25 (ppc_subseg_align): Only for OBJ_XCOFF.
26 (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF.
27 (md_begin): Select PPC_OPCODE_64 for 64 bit.
28 (ppc_insert_operand): Don't bother testing 'file' before calling
29 as_bad_where. Use as_bad_where for operand->insert errors.
30 (mapping): Add ELF64 relocation modifiers.
31 (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc
32 expressions with abs_symbol.
33 (ppc_elf_cons): Correct offset for little endian targets.
34 (ppc_elf_frob_symbol): New.
35 (md_assemble): Add support for 64 bit ELF relocs.
36 (ppc_tc): Ensure 8 byte alignment when 64 bit.
37 (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF. Match
38 ".toc" section for 64 bit ELF.
39 (ppc_fix_adjustable): New. Macro body moved from tc-ppc.h.
40 (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED. Only do
41 the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF. For 64 bit,
42 use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16.
43 Expand on comments, error message. Add support for 64 bit relocs,
44 and use PPC_HI etc. macros.
45 * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
46 (HANDLE_ALIGN): Define to generate nops in code sections rather
47 than zeros.
48 (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC.
49 (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections.
50 (tc_fix_adjustable): Move body of macro to tc-ppc.c.
51 (ppc_fix_adjustable): Declare.
52 (tc_frob_symbol): Define.
53 (ppc_elf_frob_symbol): Declare.
54
55 2001-08-26 Andreas Jaeger <aj@suse.de>
56
57 * config/tc-s390.c: Add missing prototypes
58 (md_gather_operands): Make static.
59
60 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
61
62 * tc_mips.h (MAX_GPREL_OFFSET): Change it to the maximum allowed
63 value, not the word beyond maximum.
64 * tc_mips.c (macro_build_lui): Code cleanup.
65 (macro): Reflect change to MAX_GPREL_OFFSET.
66 (mips_ip): Check explicitly against S_EX_NONE.
67 (my_get_SmallExpression): parse for %gp_rel, not %gprel.
68 (md_apply_fix): Code cleanup.
69
70 2001-08-24 Andreas Jaeger <aj@suse.de>
71
72 * config/tc-ppc.h: Fix prototype declaration.
73
74 2001-08-23 Jakub Jelinek <jakub@redhat.com>
75
76 * config/tc-ia64.c (dot_endp): Set function symbol sizes.
77 * config/obj-elf.c (obj_elf_size): When size is constant, free
78 and clear symbol_get_obj(sym)->size if any.
79
80 2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
81
82 * tc_mips.c (md_begin): Warn about incompatibility between -march=FOO
83 and -mipsN option, continue with default ISA.
84
85 2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
86
87 * config/tc-mips.c (md_parse_option): #ifdef the
88 traditional/non-traditional names as it is done in mips_target_format.
89
90 2001-08-20 Richard Henderson <rth@redhat.com>
91
92 * config/tc-alpha.h (MD_APPLY_FIX3): Define.
93 * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
94 use seg parameter instead of now_seg.
95
96 2001-08-18 H.J. Lu <hjl@gnu.org>
97
98 * config/tc-mips.c (show): Add the missing prototype.
99
100 2001-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
101
102 * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
103 return values.
104 (mips_ip): Use the new return values instead of characters. Add
105 support for %higher and %highest.
106 (LP): Remove.
107 (RP): Remove.
108 (my_getSmallExpression): Make parsing case insensitive and more
109 reliable. Add support for %higher and %highest. Further support to
110 parse %gprel and %neg is implemented but currently deactivated.
111
112 2001-08-17 Alan Modra <amodra@bigpond.net.au>
113
114 * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
115 (ecoff_build_symbols): Likewise.
116 * read.c (s_lcomm_internal): Fix signed/unsigned warning.
117
118 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
119
120 * config/tc-mips.c (mips_elf_final_processing): Set elf header flags
121 for n32 ABI if appropriate.
122
123 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
124
125 * config/tc-mips.c (cons_fix_new_mips): Remove.
126 * config/tc-mips.h (TC_CONS_FIX_NEW): Remove.
127 (cons_fix_new_mips): Remove.
128
129 2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
130
131 * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
132 a label, not a hex constant.
133
134 2001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
135
136 * config/tc-v850.h: Add missing prototypes.
137
138 2001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
139
140 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
141 relocations.
142
143 2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
144
145 * config/tc-sparc.c (cons_fix_new_sparc): Move
146 `sparc_no_align_cons = 0;' to...
147 (s_uacons): ...here so that sparc_no_align_cons will get
148 cleared properly.
149
150 2001-08-11 Kazu Hirata <kazu@hxi.com>
151
152 * config/tc-mips.c: Fix a comment typo.
153
154 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
155
156 * config/tc-mips.c (move_register): New function.
157 (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
158 (mips_ip): Likewise.
159 (macro2): Use move_register rather than macro_build for moves.
160 (mips16_macro): Likewise.
161 (macro): Likewise. Handle M_MOVE.
162
163 2001-08-10 Andreas Jaeger <aj@suse.de>
164
165 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
166 to build warnings.
167 * configure: Regenerate.
168
169 2001-08-10 Alan Modra <amodra@bigpond.net.au>
170
171 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
172 Comment indentation of #pragma.
173 * macro.c (alloca): Likewise.
174
175 * config/tc-ppc.c: Revert 2001-08-08.
176
177 2001-08-09 Alan Modra <amodra@bigpond.net.au>
178
179 * symbols.c: Add missing prototypes.
180 * config/e-i386elf.c: Likewise.
181 * config/e-i386coff.c: Likewise.
182 * config/e-i386aout.c: Likewise.
183 * config/obj-coff.c: Likewise.
184 (def_symbol_in_progress, stack): Move definition.
185 * config/obj-elf.c: Add missing prototypes.
186 (obj_elf_change_section): Make static.
187 (obj_elf_parse_section_letters): Likewise.
188 (obj_elf_section_word): Likewise.
189 (obj_elf_section_type): Likewise.
190
191 2001-08-08 Alan Modra <amodra@bigpond.net.au>
192
193 From 1999-10-25 Torbjorn Granlund <tege@swox.com>
194 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
195 determining reloc type with code reading operands->reloc field.
196
197 2001-08-08 Alan Modra <amodra@bigpond.net.au>
198
199 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
200 function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
201 * config/obj-elf.h (elf_copy_symbol_attributes): Declare.
202 (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
203
204 * output-file.c (output_file_create): Don't try to open a second
205 time as it's unnecessary. FOPEN_W was undefined too.
206
207 2001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
208
209 * tc-mips.c (macro_build): Replace magic constants by defines.
210 (mips_ip): Likewise. Typo.
211
212 2001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
213
214 * tc-mips.c (mips_abi_string): Initialize with NULL instead of 0.
215 (RELAX_ENCODE): Replace bfd_vma by valueT.
216 (load_address): Formatting.
217 (macro): Likewise. Code cleanup. Typo.
218 (macro2): Formatting.
219 (md_parse_option): Typo.
220 (s_mipsset): Reorder cases to look nicer.
221 (md_estimate_size_before_relax): Formatting. Code cleanup.
222 (mips_elf_final_processing): Check against NULL instead of 0.
223 (md_obj_end): Remove ugly `' in message string.
224 (s_mips_ent): Remove ugly `' in message string.
225
226 2001-07-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
227
228 * config/tc-mips.c (md_begin): Take -mcpu value into account even when
229 -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
230 mutually exclusive (if they are different).
231 (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
232 set more than once.
233
234 2001-08-03 Richard Sandiford <rsandifo@redhat.com>
235
236 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value
237 from GPREL addends.
238
239 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
240
241 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
242 * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
243 (md_long_opts): Add -mfp32 option.
244 (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32.
245 (md_show_usage): Show usage for -mfp32 and -mgp32.
246 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
247 (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
248 (HAVE_32BIT_ADDRESSES): New macro.
249 (load_register): Use HAVE_32BIT_GPRS to determine the register width.
250 (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
251 (s_cprestore, s_cpadd): Likewise.
252 (macro): Use HAVE_32BIT_GPRS to determine the width of registers
253 used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine
254 the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES
255 to determine the width of addresses in load, store and jump macros.
256 (macro2): Use HAVE_32BIT_GPRS to determine the width of registers
257 used in set instructions; do not check the address size for them.
258 Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
259 unaligned load and store macros.
260 (mips_ip): Use the new macros to check the width of a register when
261 processing float constants. Force a constant into memory if it is
262 destined for an FPR and the FPRs are wider than the GPRs. Warn about
263 odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather
264 than mips_gp32 to select synthetic instructions.
265 (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
266 synthetic instructions.
267
268 2001-08-01 Christian Groessler <cpg@aladdin.de>
269
270 * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl",
271 "rh", "rr", "rq", or "sp" then don't automatically assume
272 it's a register name. Check whether there is a number
273 following.
274
275 2001-08-01 Alan Modra <amodra@bigpond.net.au>
276
277 * config/tc-i386.c (lex_got): Match lower case relocation tokens.
278 Don't allocate more space than necessary for the input line copy.
279
280 2001-08-01 Alan Modra <amodra@bigpond.net.au>
281
282 * read.c: Standardize error/warning messages - don't capitalise, no
283 final period or newline, don't say "ignored" or "zero assumed" for
284 as_bad messages. In some cases, change the wording to that used
285 elsewhere for similar messages.
286 * app.c: Likewise.
287 * as.c: Likewise.
288 * atof-generic.c: Likewise.
289 * cgen.c: Likewise.
290 * cond.c: Likewise.
291 * depend.c: Likewise.
292 * dwarf2dbg.c: Likewise.
293 * ecoff.c: Likewise.
294 * expr.c: Likewise.
295 * frags.c: Likewise.
296 * input-file.c: Likewise.
297 * input-scrub.c: Likewise.
298 * listing.c: Likewise.
299 * output-file.c: Likewise.
300 * stabs.c: Likewise.
301 * subsegs.c: Likewise.
302 * symbols.c: Likewise.
303 * write.c: Likewise.
304 * ecoff.c (ecoff_directive_end): Test for missing name by
305 comparing input line pointers rather than reading string.
306 (ecoff_directive_ent): Likewise.
307 * read.c (s_set): Likewise.
308 (s_align): Report a warning rather than an error for
309 alignment too large.
310 (s_comm): Check for missing symbol name.
311 (s_lcomm_internal): Likewise.
312 (s_lsym): Likewise.
313 (s_globl): Use is_end_of_line instead of looking for '\n'.
314 (s_lcomm_internal): Likewise.
315 (ignore_rest_of_line): Report a warning rather than an error.
316
317 2001-07-31 Geoffrey Keating <geoffk@redhat.com>
318
319 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
320 any kind of relocation against a not-loaded section.
321
322 2001-07-30 Alan Modra <amodra@bigpond.net.au>
323
324 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
325 to include '@' in symbol names when parsing versioned symbols
326 rather than calling get_symbol_end multiple times.
327 * config/tc-i370.c (register_name): Format fixes. Don't call
328 get_symbol_end after parsing number.
329 * config/tc-mn10200.c (data_register_name): Format fixes. Hoist
330 code out of conditional.
331 (address_register_name): Likewise.
332 (other_register_name): Likewise.
333 * config/tc-mn10300.c (r_register_name): Likewise.
334 (xr_register_name): Likewise.
335 (data_register_name): Likewise.
336 (address_register_name): Likewise.
337 (other_register_name): Likewise.
338 * config/tc-ppc.c (register_name): Likewise.
339 * config/tc-s390.c (register_name): Likewise.
340
341 2001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr>
342
343 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
344 and bra relax: update fragP->fr_fix after the fixup.
345
346 2001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
347
348 * read.c (s_set): Check for missing symbol name.
349
350 2001-07-26 Alan Modra <amodra@bigpond.net.au>
351
352 * write.c (relax_segment <rs_space>): Account for fr_fix.
353
354 2001-07-25 H.J. Lu <hjl@gnu.org>
355
356 * config/tc-mips.c (md_estimate_size_before_relax): Make sure
357 we treat weak like extern only for ELF.
358 (mips_fix_adjustable): Make sure we don't adjust extern/weak
359 symbols only for ELF.
360
361 2001-07-25 Chris Demetriou <cgd@broadcom.com>
362
363 * config/tc-mips.c: Fix spelling error in comment.
364
365 2001-07-25 Dave Brolley <brolley@redhat.com>
366
367 * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
368 (IS_PARALLEL_SEPARATOR): New macro.
369 (do_scrub_begin): Set up characters in tc_parallel_separator_chars
370 as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
371 (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
372 LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
373 been seen).
374
375 2001-07-24 Alan Modra <amodra@bigpond.net.au>
376
377 * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
378 (DEP1, DEPTC, DEPOBJ, DEP2): Use it.
379 Update dependencies with "make dep-am".
380 * Makefile.in: Regenerate.
381 * doc/Makefile.in: Regenerate.
382
383 2001-07-23 Kazu Hirata <kazu@hxi.com>
384
385 * config/tc-alpha.h: Fix formatting.
386 * config/tc-arc.c: Likewise.
387 * config/tc-d10v.h: Likewise.
388 * config/tc-hppa.c: Likewise.
389 * config/tc-i370.c: Likewise.
390 * config/tc-i386.h: Likewise.
391 * config/tc-i960.h: Likewise.
392 * config/tc-ia64.c: Likewise.
393 * config/tc-ia64.h: Likewise.
394 * config/tc-m32r.c: Likewise.
395 * config/tc-m68k.c: Likewise.
396 * config/tc-m88k.c: Likewise.
397 * config/tc-ns32k.c: Likewise.
398 * config/tc-pdp11.c: Likewise.
399 * config/tc-pj.h: Likewise.
400 * config/tc-s390.c: Likewise.
401 * config/tc-sparc.c: Likewise.
402 * config/tc-sparc.h: Likewise.
403 * config/tc-tic80.c: Likewise.
404 * config/tc-w65.h: Likewise.
405
406 2001-07-23 Alan Modra <amodra@bigpond.net.au>
407
408 * symbols.c (S_GET_VALUE): Don't treat O_constant and local
409 symbols specially. Always resolve, adding fr_address to value.
410 * write.c (write_object_file): Don't add fr_address to sym values.
411 (relax_frag): Likewise.
412 (relax_segment): Likewise.
413 * config/obj-ieee.c (do_symbols): Likewise.
414 * config/tc-cris.c (md_convert_frag): Likewise.
415 * config/tc-fr30.c (md_convert_frag): Likewise.
416 * config/tc-i386.c (md_convert_frag): Likewise.
417 * config/tc-m32r.c (md_convert_frag): Likewise.
418 * config/tc-m68hc11.c (md_convert_frag): Likewise.
419 * config/tc-mcore.c (md_convert_frag): Likewise.
420 * config/tc-mips.c (mips16_extended_frag): Likewise.
421 * config/tc-ns32k.c (md_convert_frag): Likewise.
422 * config/tc-m68k.c (md_convert_frag_1): Likewise.
423 (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
424 DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
425 (md_relax_table): Remove first four entries. Format.
426 (md_estimate_size_before_relax): Remove old_fix. Don't bother
427 setting fr_var. Simplify byte branch checks.
428
429 2001-07-23 Alan Modra <amodra@bigpond.net.au>
430
431 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
432 "isbranch" param as all calls have it set.
433 (pa_parse_neg_cmpsub_cmpltr): Likewise.
434 (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
435 strcasecmp in "nullify" var.
436 (pa_parse_neg_add_cmpltr): Likewise.
437 (pa_ip): Don't "save_s" unnecessarily. Update calls to above
438 functions. Don't print wrong conditions in error messages.
439
440 2001-07-23 Andreas Jaeger <aj@suse.de>
441
442 * config/tc-s390.c (s390_force_relocation): Removed.
443
444 * config/tc-s390.h: Remove double declaration of
445 TC_FORCE_RELOCATION.
446
447 2001-07-22 H.J. Lu <hjl@gnu.org>
448
449 * config/tc-mips.c (s_mips_end): Remove unused variables.
450 (s_mips_frame): Add ATTRIBUTE_UNUSED.
451
452 2001-07-17 Andreas Schwab <schwab@suse.de>
453
454 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
455 .loc.
456 (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
457 insn.
458 * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
459
460 2001-07-17 matthew green <mrg@eterna.com.au>
461
462 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
463 TE_NetBSD.
464 (line_comment_chars): Set to '/' if TE_NetBSD.
465
466 2001-07-14 matthew green <mrg@eterna.com.au>
467
468 * configure.in (i386-*-netbsdelf*): New target.
469 * configure: Regenerate.
470
471 2001-07-10 Mark Elbrecht <snowball3@softhome.net>
472
473 * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
474 class of the non-debug symbol is C_NULL.
475
476 2001-07-10 Anders Norlander <anorland@synergenix.se>
477
478 * doc/as.texinfo (Incbin): Fix grammatical errors.
479
480 2001-07-10 Nick Clifton <nickc@cambridge.redhat.com>
481
482 * depend.c: Use FOPEN_.. macros in calls to fopen().
483 * input-file.c: As above.
484 * itbl-ops.c: As above.
485 * listing.c: As above.
486 * output-file.c: As above.
487 * read.c: As above.
488
489 2001-07-08 Anders Norlander <anorland@synergenix.se>
490
491 * read.c (s_incbin): New .incbin function.
492 * read.c (potable): Add "incbin" pseudo-op.
493 * read.h: Add s_incbin prototype.
494 * doc/as.texinfo (incbin): Document .incbin pseudo-op.
495 * NEWS: Mention new feature.
496
497 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
498
499 * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
500 DEBUG_UNSPECIFIED.
501
502 2001-07-06 John Healy <jhealy@redhat.com>
503
504 * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
505 set of fixups to be stored.
506 (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
507 restored to be chosen from any that are saved.
508 (gas_cgen_swap_fixups): Modified to allow the current set of
509 fixups to be swapped with any other set that has been saved.
510 (gas_cgen_initialize_saved_fixups_array): New routine.
511 * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
512 gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
513 or MAX_SAVED_FIXUP_CHAINS.
514 * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
515 store, swap and restore fuctions to reflect the new interface.
516
517 2001-07-06 Nick Clifton <nickc@cambridge.redhat.com>
518
519 * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
520 ignore empty, ineffectual alignment frags when deciding if a
521 branch can be short.
522
523 2001-07-05 Steve Ellcey <sje@cup.hp.com>
524
525 * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
526 and SPECIAL_SECTION_FINI_ARRAY.
527 (special_section_name): Add .init_array and .fini_array.
528 (md_pseudo_table): Add init_array and fini_array.
529 (md): Add pointer_size and pointer_size_shift fields.
530 (setup_unwind_header): New static function.
531 (output_unw_records): Modify to use setup_unwind_header.
532 (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
533 md.pointer_size_shift.
534 (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
535
536 2001-07-05 Ben Elliston <bje@redhat.com>
537
538 * README (Supported platforms): m88k no longer suffers bitrot.
539
540 * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
541
542 2001-07-05 Alan Modra <amodra@bigpond.net.au>
543
544 * struc-symbol.h (struct local_symbol): Rename lsy_offset to
545 lsy_value. Correct typos in comments.
546 * symbols.c (local_symbol_make): Update for name change.
547 (local_symbol_convert): Likewise.
548 (colon): Likewise.
549 (S_GET_VALUE): Likewise.
550 (S_SET_VALUE): Likewise.
551 (print_symbol_value_1): Likewise.
552 (resolve_symbol_value): Likewise. Don't divide local sym values
553 by OCTETS_PER_BYTE twice.
554
555 2001-07-04 Jim Wilson <wilson@redhat.com>
556
557 * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
558
559 * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
560 sched branches.
561
562 2001-07-05 Ben Elliston <bje@redhat.com>
563
564 * read.c (s_fill): Correct spelling error in comments.
565
566 * doc/c-m88k.texi: New file.
567 * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
568 * doc/Makefile.in: Regenerate.
569 * doc/all.texi: Set M880X0.
570 * doc/as.texinfo: Hook in m88k-dependent documentation.
571
572 2001-07-04 Eric Christopher <echristo@redhat.com>
573
574 * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
575
576 * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
577 and rm5721 as valid cpu strings.
578 (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
579
580 2001-07-04 Richard Sandiford <rsandifo@redhat.com>
581
582 * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
583 if it's expected to be non-zero.
584
585 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
586
587 * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
588 fscan->fx_frag.
589
590 * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
591 (write_object_file): Set finalize_syms to
592 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
593 called.
594
595 * doc/internals.texi; Document
596 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
597
598 2001-07-02 Alan Modra <amodra@bigpond.net.au>
599
600 * config/tc-ppc.c: Formatting fixes.
601
602 2001-07-01 Ben Elliston <bje@redhat.com>
603
604 * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
605 they cause some subtle breakage. Will fix them again later.
606
607 2001-06-28 Nick Clifton <nickc@cambridge.redhat.com>
608
609 * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
610 outside of a function as a .appline directive.
611
612 2001-06-28 Eric Christopher <echristo@redhat.com>
613 H.J. Lu <hjl@gnu.org>
614
615 * config/tc-mips.c (mips_arch): New. Use mips_arch instead
616 of mips_cpu for the ISA selection.
617 (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
618 (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
619 (mips_tune): New. Use mips_tune for scheduling and optimization
620 issues.
621 (append_insn): Use mips_tune and mips_arch.
622 (macro_build): Ditto.
623 (mips_ip): Ditto.
624 (md_begin): Handle mips_arch, mips_tune and mips_cpu. For
625 backwards compatability mips_cpu generates arch and tune.
626 (md_show_usage): Document new behavior.
627
628 * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
629 Deprecate -mcpu.
630
631 * NEWS: Update.
632
633 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
634
635 * write.c (write_object_file): Do not set finalize_syms until
636 after the segments have been sized. Some backends may still
637 need to access the syms's frags in order to adjust relaxed
638 frags.
639
640 * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
641 constants.
642
643 2001-06-27 Alan Modra <amodra@bigpond.net.au>
644
645 * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
646 subtract MD_PCREL_FROM_SECTION for 68k.
647 (fixup_segment <Difference of 2 syms different seg>): Only fudge
648 by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
649
650 2001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com>
651
652 * write.c (fixup_segment <Difference of 2 syms same seg>): If
653 pcrel, subtract MD_PCREL_FROM_SECTION value.
654
655 2001-06-24 Ben Elliston <bje@redhat.com>
656
657 * stabs.c (generate_asm_file): Make local variable `len' a size_t.
658
659 2001-06-24 Jakub Jelinek <jakub@redhat.com>
660
661 * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
662 section symbols the same way as externs.
663
664 2001-06-24 Ben Elliston <bje@redhat.com>
665
666 * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
667 (emit_relocations): Ditto.
668 (s_bss): Ditto.
669 (md_begin): Reformat comments to conform to the GNU standards.
670 (md_assemble): Ditto.
671
672 * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
673 (md_parse_option): Mark parameters as unused.
674 (md_show_usage): Ditto.
675 (calcop): Adjust type of `reg_prefix' to char.
676 (get_reg): Ditto.
677 (getval): Adjust type of local `c' to char.
678 (md_create_short_jump): Mark from_addr, to_addr params as unused.
679 (md_create_long_jump): Ditto.
680 (md_estimate_size_before_relax): Mark parameters as unused.
681
682 * config/tc-m88k.c (md_pseudo_table): Properly terminate the table
683 to allay a possible compiler warning.
684
685 2001-06-22 Nick Clifton <nickc@cambridge.redhat.com>
686
687 * doc/internals.texi (CPU backend): Document md_atof.
688
689 2001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com>
690
691 * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode
692 return pointer) alias for %r2 or %r31, depending on 32 or 64 bit
693 architecture.
694
695 2001-06-21 Philip Blundell <philb@gnu.org>
696
697 * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses
698 updated.
699 (insns): Remove entry for adrl. Add long_flag for adr.
700 (do_adr): Handle `l' suffix.
701 (do_adrl): Delete.
702
703 2001-06-21 Alan Modra <amodra@bigpond.net.au>
704
705 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
706 (md_apply_fix): Use it here. Replace printf with equivalent
707 as_bad_where.
708 (tc_gen_reloc): Use as_bad_where instead of as_bad.
709 (md_apply_fix): Here too.
710 * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
711 * config/tc-m68k.c (tc_gen_reloc): Likewise.
712 (md_convert_frag_1): Likewise.
713
714 2000-06-20 Tom Rix <trix@redhat.com>
715
716 * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes.
717
718 2001-06-18 H.J. Lu <hjl@gnu.org>
719
720 * doc/Makefile.am (info): Depend on $(MANS).
721 (as.1): Remove the prefix `$(srcdir)/'.
722 * doc/Makefile.in: Regenerated.
723
724 * as.1: Removed.
725
726 2001-06-18 Philip Blundell <philb@gnu.org>
727
728 * config/tc-arm.c (do_msr): Remove restriction on usage of
729 immediate operands.
730
731 2001-06-19 Alan Modra <amodra@bigpond.net.au>
732
733 * dwarf2dbg.c (dwarf2_finish): Output file info even when no
734 line info.
735
736 2001-06-13 Philip Blundell <philb@gnu.org>
737
738 * config/tc-arm.c (thumb_shift): Improve wording of error message.
739 (do_t_arit): Likewise.
740
741 2001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
742
743 * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
744 .loc pseudos if the dfwarf2 functions are available.
745 (md_assemble): Only call dwarf2_emit_insn if it is available.
746
747 * expr.c: Fix typo in comment.
748
749 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
750
751 * doc/as.texinfo (Infix Ops): Document that comparison and
752 combiner operators can be used as infix operators.
753
754 2001-06-12 Peter Jakubek <pjak@snafu.de>
755
756 * config/tc-m68k.c (parse_mri_control_operand): Fix handling
757 of AND/OR.
758 (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
759 (reverse_mri_condition): Likewise.
760 (swap_mri_condition): Issue warning for conditions that can not be
761 swapped.
762 (build_mri_control_operand): Fix order of operands (swapped).
763 (build_mri_control_operand): Allow upper case extension in structured
764 control directives.
765 (s_mri_else): Likewise.
766 (s_mri_next): Likewise.
767 (s_mri_for): Likewise.
768 (s_mri_if): Fix handling comment ('*') in mri mode.
769 (s_mri_while): Likewise.
770 * macro.c (macro_expand): Allow macro invocation with empty
771 extension.
772
773 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
774
775 * config/tc-arm.c: Fix test for overlow of literal pool.
776
777 2001-06-11 H.J. Lu <hjl@gnu.org>
778
779 * NEWS: Updated for the new -n option for the MIPS assembler.
780
781 * config/tc-mips.c (md_show_usage): Add -n.
782
783 * doc/as.texinfo: Document the new -n option.
784 * doc/c-mips.texi: Likewise.
785 * doc/as.1: Regenerated.
786
787 2001-06-10 Alan Modra <amodra@bigpond.net.au>
788
789 * config/obj-coff.c (obj_coff_section): Formatting fix.
790
791 * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and
792 ",pn".
793
794 2001-06-08 H.J. Lu <hjl@gnu.org>
795
796 * config/tc-mips.c (warn_nops): New variable. Set to 0 to
797 disable warning about all NOPS that the assembler generates.
798 (macro): Warn NOPS generated only if warn_nops is not 0.
799 (md_shortopts): Add `n'.
800 (md_parse_option): Set warn_nops to 1 for `n'.
801
802 2001-06-08 H.J. Lu <hjl@gnu.org>
803
804 * config/tc-mips.c (mips_ip): Properly handle illegal operands.
805
806 2001-06-08 H.J. Lu <hjl@gnu.org>
807
808 * config/tc-mips.c (md_apply_fix): Don't adjust common
809 extern/weak symbols for ELF.
810 (md_estimate_size_before_relax): Treat weak like extern for
811 ELF.
812 (mips_fix_adjustable): Don't adjust extern/weak symbols for
813 ELF.
814
815 2001-06-08 Alan Modra <amodra@bigpond.net.au>
816
817 * Makefile.am: 'som' is not wrongly spelled 'some'.
818 * Makefile.in: Regenerate.
819
820 * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
821 S_GET_VALUE by using a temp.
822 (append_insn): Likewise, and for S_SET_VALUE too.
823 (mips_emit_delays): Likewise.
824 (my_getExpression): Likewise.
825 (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
826 (mips16_extended_frag): Remove code concerned with avoiding
827 locking in a frag address now that symbols are not finalized until
828 relaxation is complete. Cater for first relaxation pass having
829 bogus addresses. Use relax_marker to reliably determine whether a
830 symbol frag has been reached on the current pass.
831
832 2001-06-07 H.J. Lu <hjl@gnu.org>
833
834 * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
835 * configure: Regenerate.
836
837 2001-06-07 H.J. Lu <hjl@gnu.org>
838
839 * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
840 ecoff emulation.
841 * configure: Regenerate.
842
843 2001-06-07 H.J. Lu <hjl@gnu.org>
844
845 * config/tc-mips.c (mips_pseudo_table): Add "extern" if
846 MIPS_STABS_ELF is defined.
847
848 2001-06-06 Nick Clifton <nickc@cambridge.redhat.com>
849
850 * as.c (show_usage): Remove L from listing options. It is not a
851 generic option.
852
853 2001-06-06 Christian Groessler <cpg@aladdin.de>
854
855 * config/tc-z8k.c: Removed many warnings by removing unused
856 variables and tagging unused parameters as such.
857 (md_begin): Fixed a typo (","instead of ";").
858 (struct ctrl_table): Add parentheses to initialize array
859 correctly.
860 (struct flag_table): Likewise.
861 (struct intr_table): Likewise.
862 (struct table): Likewise.
863 (check_operand): "#if 0"'ed since it doesn't seem to be used.
864
865 2001-06-06 Peter Jakubek <pjak@snafu.de>
866
867 * config/tc-m68k.c (md_show_usage): Add all supported ColdFire
868 options to list (e.g. m5206e, m5307, m5407).
869
870 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
871
872 * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
873 BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
874
875 2001-06-06 Alan Modra <amodra@bigpond.net.au>
876
877 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
878 <JumpByte, JumpDword insn output>: Remove dead code.
879
880 2001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
881
882 * as.c (parse_args): Correct option name "listing-lhs-width2".
883
884 2001-06-05 Nick Clifton <nickc@cambridge.redhat.com>
885
886 * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's
887 status.
888
889 2001-05-30 Richard Henderson <rth@redhat.com>
890
891 * read.c (emit_leb128_expr): Call md_cons_align.
892
893 2001-05-28 Jeff Sturm <jsturm@one-point.com>
894
895 * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
896 BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64.
897 (tc_gen_reloc): Likewise.
898 (sparc_cons_align): Don't clear sparc_no_align_cons.
899 (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for
900 BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set.
901
902 2001-05-27 Alan Modra <amodra@one.net.au>
903
904 * write.c (relax_segment <rs_space>): Check the section of a
905 symbol to determine whether it is absolute rather than comparing
906 its frag against zero_address_frag as listings play tricks with
907 frags.
908
909 * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
910 allocated in the same chunk as the fixed part.
911
912 2001-05-26 Alan Modra <amodra@one.net.au>
913
914 * write.c (relax_segment <rs_space>): Calculate growth using
915 addresses before stretch. Prevent repeated error messages.
916 From Peter Jakubek <pjak@snafu.de>
917 Use as_bad_where and as_warn_where to pinpoint errors.
918
919 2001-05-25 Alan Modra <amodra@one.net.au>
920
921 * symbols.c (resolve_symbol_value): Always set segment, even when
922 not finalizing symbol value.
923
924 * config/obj-ieee.c (write_object_file): Set finalize_syms.
925 * config/obj-coff.c (write_object_file): Likewise.
926 * (size_section): Remove rs_space assert as fr_symbol is no longer
927 removed.
928 (fill_section): Likewise.
929
930 * configure.in: Replace linuxoldld with linux*oldld.
931 * configure: Regenerate.
932
933 From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
934 * config/tc-i386.c (md_convert_frag): Don't die on local symbols
935 that have been finalized.
936
937 * symbols.c (resolve_symbol_value): Clear sy_resolving before
938 taking exit_dont_set_value.
939
940 * write.c (relax_segment <rs_space>): Don't zap fr_symbol when
941 relaxing.
942
943 2000-05-24 Tom Rix <trix@redhat.com>
944
945 * config/obj-coff.c (add_lineno): xcoff allows negative line
946 numbers
947 * config/tc-ppc.c (ppc_stabx): fix generated symbol
948
949 2001-05-24 Alan Modra <amodra@one.net.au>
950
951 * write.c (write_object_file): Set finalize_syms = 1 before
952 size_seg is called.
953
954 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
955
956 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
957 architecture, remove erraneous ISA_MIPS32.
958 (md_show_usage): Add MIPS r12k support.
959 (mips_cpu_info_table): Add MIPS r12k support.
960
961 2001-05-22 Alan Modra <amodra@one.net.au>
962
963 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
964 testing for NULs.
965
966 * symbols.c (resolve_symbol_value): Remove "finalize" param,
967 instead use finalize_syms directly. Don't treat expressions
968 specially with regard to finalize_syms. Update calls to self.
969 (resolve_local_symbol): Update call to resolve_symbol_value.
970 (S_GET_VALUE): Likewise. Return resolve_symbol_value if
971 !finalize_syms.
972 * symbols.h (resolve_symbol_value): Update prototype.
973 * config/obj-aout.c (obj_crawl_symbol_chain): Update call
974 to resolve_symbol_value.
975 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
976 * config/obj-coff.c (do_relocs_for): Likewise.
977 (yank_symbols): Likewise.
978 (fixup_segment): Likewise.
979 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
980 * config/tc-mips.c (md_convert_frag): Likewise.
981 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
982 (ppc_fix_adjustable): Likewise.
983 * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
984 (dwarf2dbg_convert_frag): Likewise.
985 * ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
986 (eh_frame_convert_frag): Likewise.
987 * expr.c (make_expr_symbol): Likewise.
988 * write.c (adjust_reloc_syms): Likewise.
989 (write_object_file): Likewise.
990 (relax_segment): Likewise.
991 (fixup_segment): Likewise.
992 (finalize_syms): Init to zero, and update comment.
993 (write_object_file): Set finalize_syms to 1 rather than 2.
994 * doc/internals.texi (sy_value): Mention finalize_syms.
995 (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
996
997 * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
998 as relaxable if embedded system, make weak syms non-relaxable.
999 Move definition..
1000 (tc_m68k_fix_adjustable): ..so it can be used here.
1001 (md_apply_fix_2): Sign extend without conditional.
1002
1003 * config/tc-v850.c: Update copyright.
1004
1005 2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
1006
1007 * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
1008 howto entry is not found.
1009
1010 2001-05-15 Alexandre Oliva <aoliva@redhat.com>
1011
1012 * config/tc-mn10300.c (mn10300_force_relocation): Don't
1013 optimize differences between symbols in code sections to
1014 constants.
1015 (mn10300_fix_adjustable): Don't adjust to section+offset
1016 relocations pointing at symbols in code sections.
1017
1018 2001-05-16 Alan Modra <amodra@one.net.au>
1019
1020 * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
1021 for 8 byte insns.
1022 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
1023 opcodes are output rather than after. Delete insn_size.
1024 * config/tc-v850.c (md_assemble): Similarly, but delete
1025 total_insn_size.
1026
1027 2001-05-14 Richard Henderson <rth@redhat.com>
1028
1029 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
1030 last change.
1031
1032 2001-05-14 Richard Henderson <rth@redhat.com>
1033
1034 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
1035 also collect whether to expect an FDE augmentation.
1036 (check_eh_frame): Rewrite as a state machine. Track where in
1037 an FDE we are located, skip any augmentation.
1038 (eh_frame_estimate_size_before_relax): Get code alignment from
1039 the fragment subtype.
1040 (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
1041 * read.c (emit_leb128_expr): Call check_eh_frame.
1042
1043 2001-05-14 Alexandre Oliva <aoliva@redhat.com>
1044
1045 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
1046 before a relaxable insns.
1047
1048 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1049
1050 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
1051 between symbols if the base symbol is in the current section;
1052 emit a PC-relative relocation instead.
1053
1054 2001-05-12 Peter Targett <peter.targett@arccores.com>
1055
1056 * config/tc-arc.c: Update copyright and tidy source comments.
1057 (md_pseudo_table): Add directive .cpu back as an alias for
1058 .option. Add .file and .line for dwarf2 support.
1059 (arc_mach_type): Make bfd_mach_arc_6 default.
1060 (md_longopts): Add entry 'pre-v6' representing old command line
1061 option when assembling for 'arc5' core versions.
1062 (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
1063 default behaviour.
1064 (arc_code_symbol): Make symbol value for @h30 fixup expression
1065 equal to O_constant.
1066 (md_assemble): Call dwarf2_emit_insn.
1067 Include "dwarf2dbg2.h". Formatting fixes throughout file.
1068 * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1069 * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.
1070
1071 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1072
1073 * config/tc-ia64.c (special_linkonce_name): New.
1074 (make_unw_section): Map .gnu.linkonce.t.FOO text section into
1075 .gnu.linkonce.ia64unw{,i}.FOO.
1076 (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
1077 (dot_endp): Add comment about it.
1078
1079 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1080
1081 * config/tc-arm.c (arm_handle_align): When truncating an aligned
1082 block, ensure that the low order bits of the alignment are
1083 preserved.
1084
1085 2001-05-10 Alan Modra <amodra@one.net.au>
1086
1087 * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of
1088 symbol_next.
1089
1090 * config/tc-fr30.c (md_estimate_size_before_relax): Return size of
1091 current variable part of frag.
1092 * config/tc-m32r.c (md_estimate_size_before_relax): Likewise.
1093 * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise.
1094 * config/tc-m68hc11.c (RELAX_STATE): Define.
1095 (RELAX_LENGTH): Define.
1096 (md_estimate_size_before_relax): Handle non-relaxable cases
1097 separately from relaxable cases for clarity, and return correct
1098 size for multi-pass relaxation.
1099 * config/tc-tahoe.c (RELAX_LENGTH): Correct.
1100 (md_estimate_size_before_relax): As for tc-m68hc11.c.
1101 (md_convert_frag): Remove "length_code".
1102 * config/tc-vax.c (RELAX_STATE): Define.
1103 (RELAX_LENGTH): Define.
1104 (md_relax_table): Add missing entry.
1105 (md_estimate_size_before_relax): As for tc-m68hc11.c.
1106 (md_convert_frag): Remove "length_code".
1107 * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and
1108 don't bother setting fr_var. Return correct size for multi-pass
1109 relaxation.
1110 * config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
1111 (md_convert_frag): Don't bother clearing fr_var.
1112 (md_pseudo_table): Correct initialization.
1113 * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var.
1114 (md_estimate_size_before_relax): No need to set fr_var.
1115 * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var.
1116 (md_estimate_size_before_relax): No need to set fr_var.
1117
1118 2001-05-09 Richard Henderson <rth@redhat.com>
1119
1120 * config/tc-ia64.c (generate_unwind_image): Align the fragment
1121 beginning a function's unwind info block.
1122
1123 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1124
1125 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
1126
1127 2001-05-08 Andreas Schwab <schwab@suse.de>
1128
1129 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
1130 fx_pcrel_adjust explicitly sign extend when reading it.
1131
1132 2001-05-08 Alan Modra <amodra@one.net.au>
1133
1134 * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
1135 from md_relax_table, and combine some switch cases.
1136
1137 2001-05-06 Alexandre Oliva <aoliva@redhat.com>
1138
1139 * config/tc-mn10300.c (md_assemble): Subtract operand->shift
1140 from offset in non-pcrel operands too.
1141
1142 2001-05-06 Nick Clifton <nickc@cambridge.redhat.com>
1143
1144 * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
1145 * config/tc-arm.c (arm_handle_align): Do not insert more than
1146 MAX_MEM_FOR_RS_ALIGN_CODE bytes.
1147 (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE.
1148
1149 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1150
1151 * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h.
1152 Run "make dep-am".
1153 * Makefile.in: Regenerate.
1154 * configure.in: Remove duplicate mips-*-ecoff* entry.
1155 * configure: Regenerate.
1156
1157 * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry.
1158 (n_names): Cast away type mismatch.
1159 (ecoff_sec_sym_ok_for_reloc): Add unused attribute.
1160 (obj_ecoff_frob_symbol): Likewise.
1161 * ecoff.c: (add_file): Add unused attribute.
1162 (ecoff_directive_begin): Likewise.
1163 (ecoff_directive_bend): Likewise.
1164 (ecoff_directive_def): Likewise.
1165 (ecoff_directive_dim): Likewise.
1166 (ecoff_directive_scl): Likewise.
1167 (ecoff_directive_size): Likewise.
1168 (ecoff_directive_type): Likewise.
1169 (ecoff_directive_tag): Likewise.
1170 (ecoff_directive_val): Likewise.
1171 (ecoff_directive_endef): Likewise.
1172 (ecoff_directive_end): Likewise.
1173 (ecoff_directive_ent): Likewise.
1174 (ecoff_directive_extern): Likewise.
1175 (ecoff_directive_file): Likewise.
1176 (ecoff_directive_fmask): Likewise.
1177 (ecoff_directive_frame): Likewise.
1178 (ecoff_directive_mask): Likewise.
1179 (ecoff_directive_loc): Likewise.
1180 (mark_stabs): Likewise.
1181 (ecoff_stab): Likewise.
1182 (ecoff_frob_symbol): Cast away type mismatch.
1183 (ecoff_padding_adjust): Likewise.
1184 (ecoff_build_symbols): Likewise.
1185 (ecoff_build_procs): Likewise.
1186 (ecoff_build_aux): Likewise.
1187 (ecoff_build_strings): Likewise.
1188 (ecoff_build_fdr): Likewise.
1189 (ecoff_build_debug): Likewise.
1190 * itbl-ops.c (itbl_assemble): Variable initialization.
1191
1192 2001-05-03 Alan Modra <amodra@one.net.au>
1193
1194 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
1195 expressions rather than triggering an assert.
1196
1197 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
1198
1199 * config/tc-openrisc.c: New file.
1200 * config/tc-openrisc.h: Likewise.
1201
1202 * Makefile.am: Add OpenRISC target.
1203 * Makefile.in: Regenerated.
1204
1205 * configure.in (openrisc-*-*): Add target.
1206 * configure: Regenerated.
1207
1208 2001-05-02 Nick Clifton <nickc@cambridge.redhat.com>
1209
1210 * config/tc-arm.c (arm_frag_align_code): Change error message to
1211 more explanatory version.
1212
1213 2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
1214
1215 * config/tc-mips.c (md_parse_option): Also accept
1216 elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
1217
1218 2001-04-27 David Mosberger <davidm@hpl.hp.com>
1219
1220 * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
1221 argument passing order: predicate goes last, not first.
1222
1223 2001-04-27 Sean McNeil <sean@mcneil.com>
1224
1225 * configure.in: Add arm-vxworks.
1226 * configure: Regenerate.
1227
1228 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
1229
1230 * config/tc-arm.c (arm_handle_align): New Function: Generate
1231 no-op filled alignment frags.
1232 (arm_frag_align_code): New Function: Create a code alignment frag.
1233 (arm_init_frag): New Function: Initialse the target dependent
1234 parts of a frag.
1235
1236 * config/tc-arm.h (TC_FRAG_TYPE): Define.
1237 (TC_FRAG_INIT): Define.
1238 (HANDLE_ALIGN): Define.
1239 (md_do_align): Define.
1240
1241 2001-04-25 Nick Clifton <nickc@cambridge.redhat.com>
1242
1243 * config/obj-coff.c (do_linenos_for): Check to see if the filename
1244 symbol has been initialised before extracting its symbol index.
1245
1246 2001-04-24 H.J. Lu <hjl@gnu.org>
1247
1248 * configure: Regenerated with the right version of autoconf.
1249
1250 2001-04-24 Christian Groessler <cpg@aladdin.de>
1251
1252 * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now
1253 generate R_CALLR and R_REL16 relocations
1254
1255 2000-04-20 Jason Eckhardt <jle@redhat.com>
1256
1257 * config/tc-d10v.h (tc_frob_label): Update the symbol's frag
1258 since frag_now can change after d10v_cleanup is called.
1259
1260 2001-04-16 David O'Brien <obrien@FreeBSD.org>
1261
1262 * configure.in: Add the em type for FreeBSD targets.
1263 * configure: Regenerate.
1264
1265 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1266
1267 * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
1268 * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
1269
1270 * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
1271 pc-relative relocations not placed at the end of the instruction.
1272
1273 2001-04-13 Jim Wilson <wilson@redhat.com>
1274
1275 * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
1276 excluding br.i.
1277
1278 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1279
1280 * config/obj-elf.c (obj_elf_change_section): Add entsize argument,
1281 handle SHF_MERGE and SHF_STRINGS.
1282 (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
1283 (obj_elf_section): Allow additional argument specifying entity size.
1284 * write.c (adjust_reloc_syms): Keep relocations against local symbols
1285 in SEC_MERGE sections.
1286
1287 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1288
1289 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
1290
1291 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1292
1293 * expr.c (operand): Pass &c to md_parse_name().
1294 * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
1295
1296 2001-04-07 Steven J. Hill <sjhill@cotw.com>
1297
1298 * config/tc-mips.c: Support ELF64 for traditional MIPS targets.
1299
1300 * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
1301 * Makefile.in: Regenerated.
1302
1303 * configure.in: Use traditional MIPS targets for Linux/MIPS.
1304 * configure: Regenerated.
1305
1306 2001-04-06 Alexandre Oliva <aoliva@redhat.com>
1307
1308 * config/tc-mn10300.c (xr_registers): Added `pc'.
1309
1310 2001-04-05 Alan Modra <alan@linuxcare.com.au>
1311
1312 * configure.in: Add h8500-*-coff and h8500-*-rtems targets.
1313 * configure: Regenerate.
1314
1315 * config/tc-h8500.c (md_estimate_size_before_relax): Add missing
1316 cases, and always return size based on current fr_subtype.
1317 (md_begin): Move initialization of md_relax_table..
1318 (md_relax_table): ..to static initializer. Set rlx_length for
1319 UNDEF_WORD_DISP cases.
1320 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
1321 (md_begin): Likewise.
1322 (md_relax_table): Likewise.
1323 * config/tc-mcore.c (md_estimate_size_before_relax): Likewise.
1324 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
1325 Set rlx_backward and rlx_forward to zero for unused states.
1326 * config/tc-sh.c (md_estimate_size_before_relax): Likewise.
1327 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
1328 (UNCOND12, UNCOND32): Remove duplicate defines.
1329
1330 2001-04-04 Hans-Peter Nilsson <hp@axis.com>
1331
1332 * config/tc-cris.c (md_estimate_size_before_relax) <case
1333 ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
1334 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
1335 <all cases>: Always set fragP->fr_var using md_cris_relax_table.
1336 Add cases to cover all relax states.
1337 (cris_insn_first_word_frag): New.
1338 (md_assemble): Call cris_insn_first_word_frag to get the first
1339 frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
1340 end. Drop variable insn_size.
1341 (gen_bdap): Call cris_insn_first_word_frag, not frag_more.
1342 (cris_sym_leading_underscore): Wrap first as_bad parameter in _().
1343 (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
1344
1345 * write.c (write_object_file): Reset broken word state before
1346 calling relax_seg.
1347
1348 2001-03-31 Alan Modra <alan@linuxcare.com.au>
1349
1350 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT
1351 for one line if not already enabled.
1352 * cond.c (s_elseif): Correct conditional assembly listing.
1353 (s_else): Likewise.
1354
1355 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
1356 Don't abort on NULL current_cframe.
1357
1358 2001-03-30 Alan Modra <alan@linuxcare.com.au>
1359
1360 * dwarf2dbg.c (dwarf2_directive_file): Fix warnings.
1361 (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value.
1362 * config/obj-aout.c (obj_crawl_symbol_chain): Likewise.
1363 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
1364 * config/obj-coff.c (do_relocs_for): Likewise.
1365 (yank_symbols): Likewise.
1366 (fixup_segment): Likewise.
1367 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
1368 (ppc_fix_adjustable): Likewise.
1369 * config/tc-mips.c (md_convert_frag): Likewise.
1370 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
1371 * ehopt.c (eh_frame_convert_frag): Likewise.
1372 * expr.c (make_expr_symbol): Likewise.
1373
1374 * frags.h (struct frag): Add last_fr_address. Reorder fields for
1375 better packing.
1376 * symbols.c (resolve_symbol_value): Don't fix expression values
1377 until relaxation is complete.
1378 (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value.
1379 (S_GET_VALUE): Likewise, and return unresolved expression value.
1380 * write.c (finalize_syms): New.
1381 (relax_and_size_seg): Split into..
1382 (relax_seg): New function, returns 1 if anything changed..
1383 (size_seg): And the remainder of relax_and_size_seg.
1384 (fixup_segment): Arrange for final resolution of sym values.
1385 (adjust_reloc_syms): Likewise.
1386 (write_object_file): Likewise, and repeatedly call relax_seg until
1387 nothing more changes.
1388 (relax_segment): Return 1 if anything changed. Use correct types
1389 for rs_org `target' and `after'.
1390 * write.h (finalize_syms): Declare.
1391 (relax_segment): Update prototype.
1392
1393 * config/tc-sh.c (md_estimate_size_before_relax): Add extra
1394 do-nothing cases to switch to avoid abort on a second relaxation
1395 pass, and tidy code a little.
1396 * config/tc-cris.c (md_estimate_size_before_relax): Likewise.
1397 * config/tc-h8500.c (md_estimate_size_before_relax): Likewise.
1398 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
1399 * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
1400 (md_relax_table): Remove first four unused entries. Increment
1401 rlx_length by one throughout table, and update comments to suit.
1402 (md_estimate_size_before_relax): Return size of current variable
1403 part of frag to reflect reality when relaxing more than once.
1404 * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout.
1405 (COND32, UNCD32): Rename to DISP32 throughout.
1406 (UNDEF_WORD_DISP): Renumber to 3.
1407 (md_estimate_size_before_relax): Add extra do-nothing cases.
1408 * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite.
1409 * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.
1410 * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to
1411 handle word and dword branches.
1412
1413 2001-03-29 Hans-Peter Nilsson <hp@axis.com>
1414
1415 * config/tc-cris.h (tc_fix_adjustable): Allow only
1416 BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
1417 * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in
1418 example in comment to valid type.
1419
1420 2001-03-28 H.J. Lu <hjl@gnu.org>
1421
1422 * read.c (equals): Set to local for COFF only if it hasn't been
1423 defined before.
1424
1425 2001-03-28 Alan Modra <alan@linuxcare.com.au>
1426
1427 * config/tc-hppa.c (DEFAULT_LEVEL): Define.
1428 (md_begin): Use it when setting default architecture.
1429
1430 2001-03-27 Nick Papadonis <nick@coelacanth.com>
1431
1432 * read.c (equals): (for COFF) default symbols to being local.
1433
1434 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
1435
1436 * configure.in (cris-*-*): Change default emulation to criself.
1437 (cris-*-*aout*): New rule.
1438 * configure: Regenerate.
1439
1440 2001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com>
1441
1442 * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
1443 BFD_RELOC_390_GOTENT.
1444 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
1445 BFD_RELOC_390_GOTENT.
1446
1447 2001-03-26 Nick Clifton <nickc@redhat.com>
1448
1449 * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
1450 * config/tc-s390.c (s390_force_relocation): New function: Force
1451 relocations for VTINHERIT relocs.
1452
1453 2001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1454
1455 * doc/as.texinfo: Put @c man begin to generate the as man page.
1456 When generating man, define all the variables. Re-organize some
1457 options to obtain better indentation of man page.
1458 * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
1459 (as.1): Build from as.texinfo.
1460 * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
1461
1462 2001-03-25 Alan Modra <alan@linuxcare.com.au>
1463
1464 * config/tc-i386.c (i386_scale): Accept an absolute expression for
1465 scale factor, and return the end of the expression.
1466 (i386_operand): Modify for above.
1467
1468 2001-03-23 Nick Clifton <nickc@redhat.com>
1469
1470 * doc/as.texinfo: Document --listing-XXX command line switches.
1471 Explain why listings behave differently when -pipe is used.
1472
1473 2001-03-23 Richard Sandiford <rsandifo@redhat.com>
1474
1475 * write.c (fix_new_exp): Print an error if passed a register.
1476
1477 2001-03-23 Hans-Peter Nilsson <hp@axis.com>
1478
1479 * config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
1480 (PIC_SUFFIX_CHAR): New macro.
1481 (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
1482 (pic): New variable.
1483 (md_longopts): New option --pic.
1484 (OPTION_PIC): Define.
1485 (md_estimate_size_before_relax): Tweak longish comment.
1486 (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
1487 (md_assemble): Handle a PIC relocation on prefix and normal
1488 instruction operands.
1489 <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
1490 "complex" operand expressions. Call frag_more outside
1491 gen_cond_branch_32 parameter list.
1492 (cris_process_instruction): Handle PIC relocs on parsed
1493 operand expressions. Validize PIC reloc sizes.
1494 (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
1495 (gen_bdap): Handle "complex" operand expressions.
1496 (gen_cond_branch_32): Use as_warn_where, not as_warn. Use
1497 ADD.D offset,PC as jump instruction if generating PIC. Generate
1498 error instead of crashing on complex expressions.
1499 (cris_number_to_imm): Add segT parameter. All callers changed.
1500 Use segT parameter, not now_seg, for segment of fixup. Handle
1501 PCREL relocations but check that they are fully resolved.
1502 (md_parse_option): Handle OPTION_PIC.
1503 (tc_gen_reloc): Handle PIC relocs.
1504 (md_show_usage): Update for --pic.
1505 (md_apply_fix3): Renamed from md_apply_fix.
1506 (md_pcrel_from): Accept emitting PCREL relocs when ELF.
1507 (md_cris_force_relocation): Force relocation for PIC relocs.
1508
1509 * config/tc-cris.h: Tweak attribution.
1510 (MD_APPLY_FIX3): Define.
1511 (IS_CRIS_PIC_RELOC): New macro.
1512 (TC_RELOC_RTSYM_LOC_FIXUP): Define.
1513 (tc_fix_adjustable): Don't adjust a globally visible symbol when
1514 generating ELF.
1515 (tc_frob_symbol): Avoid emitting undefined symbols.
1516
1517 2001-03-20 Alan Modra <alan@linuxcare.com.au>
1518
1519 * frags.h (struct frag): Add relax_marker.
1520 * write.c (is_dnrange): Delete.
1521 (relax_frag): Use correct types for `aim', `target', `address'.
1522 Delete `offset', `was_address'. Test `relax_marker' instead of
1523 using fragile (and slow) address test.
1524 (relax_segment): Init and flip `relax_marker'.
1525
1526 2001-03-19 Alan Modra <alan@linuxcare.com.au>
1527
1528 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
1529 used register name.
1530
1531 2001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1532
1533 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
1534 with 'Motorola specification for assembly language input standard'.
1535
1536 2001-03-17 Richard Henderson <rth@redhat.com>
1537
1538 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
1539 (dwarf2_directive_loc): Don't use them.
1540 (dwarf2_directive_file): Reject duplicate file definitions.
1541 (get_filenum): Zero allocated memory.
1542 (out_file_list): Complain about missing file definitions.
1543
1544 2001-03-17 Alan Modra <alan@linuxcare.com.au>
1545
1546 * read.c (do_org): Handle complex expressions.
1547 * cgen.c (gas_cgen_finish_insn): Likewise.
1548
1549 2001-03-15 David Mosberger <davidm@hpl.hp.com>
1550
1551 * config/tc-ia64.c (md): New member keep_pending_output.
1552 (ia64_flush_pending_output): Flush only if md.keep_pending_output
1553 is not set.
1554 (dot_xdata): Turn on md.keep_pending_output for the duration of
1555 this function.
1556 (dot_xfloat_cons): Ditto.
1557 (dot_xstringer): Ditto.
1558 (dot_xdata_ua): Ditto.
1559 (dot_xfloat_cons_ua): Ditto.
1560
1561 2001-03-15 Jim Wilson <wilson@redhat.com>
1562
1563 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
1564 label support.
1565
1566 2001-03-15 Alexandre Oliva <aoliva@redhat.com>
1567
1568 * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
1569
1570 2001-03-15 DJ Delorie <dj@redhat.com>
1571
1572 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
1573 blindly freeing string if it isn't at the top of the obstack.
1574
1575 2001-03-13 Alan Modra <alan@linuxcare.com.au>
1576
1577 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
1578 (NUM_FLAG_CODE): Define.
1579 (lex_got): New function.
1580 (got_reloc): New global var.
1581 (x86_cons_fix_new): New function.
1582 (x86_cons): New function.
1583 (i386_immediate): Use lex_got here, replacing inline code. Change
1584 "ignoring junk.." error message to "junk.."
1585 (i386_displacement): Likewise.
1586 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
1587 (x86_cons): Declare.
1588 (TC_CONS_FIX_NEW): Define.
1589 (x86_cons_fix_new): Declare.
1590
1591 2001-03-12 Nick Clifton <nickc@redhat.com>
1592
1593 * config/tc-arm.c (md_begin): Always set machine type based on
1594 cpu_variant.
1595
1596 2001-03-07 Alan Modra <alan@linuxcare.com.au>
1597
1598 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
1599 (md_assemble) <smallest displacement>: Use correct field of i.op[]
1600 union.
1601 <JumpInterSegment output>: Use correct i.disp_reloc[].
1602 <immediate output>: Likewise.
1603
1604 2001-03-06 Nick Clifton <nickc@redhat.com>
1605
1606 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
1607 BLX(1) instruction.
1608
1609 2001-03-06 Igor Shevlyakov <igor@windriver.com>
1610
1611 * config/tc-m68k.c : Add 5407 to archs[] table.
1612 (HAVE_LONG_BRANCH): Add mcf5407.
1613 (select_control_regs): Recognize 5407.
1614
1615 2001-03-02 Dave Brolley <brolley@redhat.com>
1616
1617 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
1618 than m32r_do_align.
1619
1620 2001-03-02 Richard Sandiford <rsandifo@redhat.com>
1621
1622 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
1623 (gen_to_words): Print warnings if NaNs are found and the target CPU
1624 does not support them. Allow largest exponent to be used in normal
1625 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
1626
1627 2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
1628
1629 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
1630 anymore since we use bfd_elf_generic_reloc now.
1631 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
1632
1633 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1634
1635 * configure.in (BFD_VERSION): New.
1636 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1637 * configure: Regenerate.
1638 * Makefile.am: Run "make dep-am"
1639 * Makefile.in: Regenerate.
1640 * doc/Makefile.in: Regenerate.
1641
1642 2001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
1643
1644 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
1645 SEC_NEVER_LOAD when the 'n' flag is used.
1646 Add SEC_NEVER_LOAD to matchflags.
1647
1648 2001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1649
1650 * symbols.c (decode_local_label_name): Initialize message_format
1651 only when an error is reported (perf pb due to I18N).
1652
1653 2001-02-23 H.J. Lu <hjl@gnu.org>
1654
1655 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
1656 BFD_ASSEMBLER is not defined.
1657
1658 2001-02-23 Richard Sandiford <rsandifo@redhat.com>
1659
1660 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
1661 done if it's against a symbol.
1662
1663 2001-02-22 Timothy Wall <twall@cygnus.com>
1664
1665 * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
1666 target formats if applicable.
1667 * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
1668 * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
1669 * Makefile.in: Regenerated.
1670 * configure.in: Added configuration for ia64-*-aix*.
1671 * configure: Regenerated.
1672
1673 2001-02-21 David Mosberger <davidm@hpl.hp.com>
1674
1675 * config/tc-ia64.c (enum operand_match_result): New type.
1676 (operand_match): Change return type to operand_match_result.
1677 Fix all returns appropriately, adding support for returning the
1678 out-of-range result.
1679 (parse_operands): New locals result, error_pos, out_of_range_pos,
1680 curr_out_of_range_pos. Rewrite operand matching loop to give better
1681 error messages.
1682
1683 2001-02-21 David Mosberger <davidm@hpl.hp.com>
1684
1685 * config/tc-ia64.c (struct unwind): Add member "prologue_count".
1686 (dot_proc): Clear unwind.prologue_count to zero.
1687 (dot_prologue): Increment unwind.prologue_count.
1688 (dot_restore): If second operand is omitted, use
1689 unwind.prologue_count -1 for "ecount" (# of additional regions to
1690 pop). Decrement unwind.prologue_count by number of regions
1691 popped.
1692
1693 2001-02-21 Nick Clifton <nickc@redhat.com>
1694
1695 * doc/as.texinfo (Section): Note that some flags to the COFF
1696 version of .section remove attributes rather than setting them.
1697
1698 2001-02-20 Kazu Hirata <kazu@hxi.com>
1699
1700 * config/tc-pdp11.c: Fix formatting.
1701 * config/tc-pdp11.h: Likewise.
1702
1703 2001-02-20 Bo Thorsen <bo@suse.de>
1704
1705 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
1706 entry.
1707
1708 2001-02-18 David O'Brien <obrien@FreeBSD.org>
1709
1710 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
1711 all FreeBSD platforms should look the same at this level.
1712 * configure: Rebuilt.
1713 * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
1714
1715 2001-02-18 lars brinkhoff <lars@nocrew.org>
1716
1717 * Makefile.am: Add PDP-11 target.
1718 * configure.in: Likewise.
1719 * config/tc-pdp11.c: New file.
1720 * config/tc-pdp11.h: New file.
1721 * doc/Makefile.am: Add PDP-11 documentation.
1722 * doc/all.texi: Likewise.
1723 * doc/as.texinfo: Likewise.
1724 * doc/c-pdp11.texi: New file.
1725
1726 2001-02-16 matthew green <mrg@redhat.com>
1727
1728 * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
1729
1730 2001-02-13 Jim Wilson <wilson@redhat.com>
1731
1732 * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
1733 reloc instead of a 0 reloc.
1734 (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
1735 as done.
1736 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
1737
1738 2001-02-13 Ian Lance Taylor <ian@zembu.com>
1739
1740 * write.c (is_dnrange): Stop as soon as the address becomes
1741 larger.
1742 (relax_frag): Add segment parameter. Only call symbol_get_frag
1743 once. Only call is_dnrange if the symbol is in the same segment,
1744 and the symbol address is larger.
1745 (relax_segment): Pass segment to md_relax_frag and relax_frag.
1746 * write.h (relax_frag): Update declaration.
1747 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
1748 it to relax_frag.
1749 * config/tc-m32r.c (m32r_relax_frag): Likewise.
1750 * config/tc-m32r.h (md_relax_frag): Add segment parameter.
1751 (m32r_relax_frag): Update declaration.
1752 * config/tc-mips.h (md_relax_frag): Add segment parameter.
1753 * config/tc-tic54x.h (md_relax_frag): Likewise.
1754 * doc/internals.texi (CPU backend): Update documentation for
1755 md_relax_frag.
1756
1757 2001-02-13 Alan Modra <alan@linuxcare.com.au>
1758
1759 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
1760 Mention effect of < 386 architectures on jump promotion.
1761 (i386-Jumps): xref above. Don't assume long disp is 32 bits.
1762
1763 * config/tc-i386.c (no_cond_jump_promotion): New.
1764 (set_cpu_arch): Parse "jumps" arch modifier.
1765 (insn_size): Modify usage comment.
1766 (ENCODE_RELAX_STATE): Reformat and protect macro arg.
1767 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
1768 (TYPE_FROM_RELAX_STATE): New define.
1769 (UNCOND_JUMP, COND_JUMP): Renumber.
1770 (md_relax_table): Reorder to suit.
1771 (COND_JUMP86): New define.
1772 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
1773 (md_assemble): Create frag var for jumps of max size, encode relax
1774 state for COND_JUMP86.
1775 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
1776 leave conditional jumps small if no_cond_jump_promotion.
1777 (md_convert_frag): Likewise.
1778
1779 * expr.c (operator): Don't bump input_line_pointer for two char
1780 operators. Instead return operator size via new param num_chars.
1781 (expr): Use above to parse multi-char operators correctly.
1782
1783 Mon Feb 12 17:45:50 CET 2001 Jan Hubicka <jh@suse.cz>
1784
1785 * config/tc-i386.c (i386_displacement): Fix handling of
1786 BFD_RELOC_X86_64_GOTPCREL.
1787 (i386_validate_fix): Likewise.
1788
1789 2001-02-12 Philip Blundell <pb@futuretv.com>
1790
1791 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
1792 ldrt/strt instructions.
1793
1794 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1795
1796 * config/tc-mips.c (macro): For M_LA_AB emit a
1797 BFD_RELOC_MIPS_CALL16 relocation or a
1798 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
1799 BFD_RELOC_MIPS_GOT16 and
1800 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
1801 loading the jump register when generating SVR4_PIC code.
1802
1803 2001-02-10 Chris Demetriou <cgd@broadcom.com>
1804
1805 * configure.in: Make 'mipself' and 'mipsecoff' emulations
1806 map to MIPS-specific files, as they used to do before the
1807 change on 2000-05-21.
1808 * configure: Regerate.
1809
1810 2001-02-10 Chris Demetriou <cgd@broadcom.com>
1811
1812 * config/tc-mips.c (md_parse_option): Don't try to compile
1813 ELF-only option code if not ELF.
1814
1815 2001-02-08 David Mosberger <davidm@hpl.hp.com>
1816
1817 * config/tc-ia64.h (md_elf_section_type): New macro.
1818 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
1819 (they're now handled via ia64_elf_section_type.
1820
1821 * config/tc-ia64.c (unwind): New members saved_text_seg,
1822 saved_text_subseg, and force_unwind_entry.
1823 (optimize_unw_records): New function to optimize away unnecessary
1824 unwind directives.
1825 (ia64_elf_section_type): New function.
1826 (output_unw_records): Generate unwind info only if the size is
1827 non-zero or if it's forced for some other reason (e.g.,
1828 handlerdata or a personality routine).
1829 (generate_unwind_image): Don't switch back to previous
1830 section---stay inside the unwind info section instead so that
1831 handlerdata that may follow goes into the right place.
1832 (dot_handlerdata): Force generation of unwind entry and save the
1833 current active text segment before generating unwind image.
1834 (dot_unwentry): Force generation of unwind entry.
1835 (dot_personality): Ditto.
1836 (dot_endp): Generate unwind table entry only if there is
1837 some unwind info or the unwind entry was forced.
1838
1839 * config/tc-ia64.c (make_unw_section_name): New macro to form
1840 unwind section name.
1841 (generate_unwind_image): Add "text_name" argument. Use it to
1842 form unwind section name.
1843 (dot_handlerdata): Determine current segment (section) name and
1844 pass it to generate_unwind_image().
1845 (dot_endp): Determine current segment (section) name and use
1846 it to determine the appropriate unwind section name.
1847 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
1848 n, fill, and max arguments.
1849
1850 2001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
1851
1852 * Makefile.am: Add linux target for S/390.
1853 * configure.in: Likewise.
1854 * config/tc-s390.c: New file.
1855 * config/tc-s390.h: New file.
1856
1857 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
1858
1859 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
1860 2byte, 4byte and 8byte.
1861
1862 2001-02-08 Alan Modra <alan@linuxcare.com.au>
1863
1864 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
1865 md_number_to_chars with size > sizeof (valueT).
1866
1867 2001-02-06 H.J. Lu <hjl@gnu.org>
1868
1869 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
1870 there is no relocation.
1871
1872 2001-02-06 H.J. Lu <hjl@gnu.org>
1873
1874 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
1875
1876 * config/tc-ia64.c (md_parse_option): Only accept the valid
1877 ia64 options on "-axxx".
1878
1879 2001-02-05 Jim Wilson <wilson@redhat.com>
1880
1881 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
1882 aborting for invalid operands.
1883
1884 2001-02-06 Alan Modra <alan@linuxcare.com.au>
1885
1886 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
1887 than via pointer. Update all callers.
1888 (UNWIND_LOW32): Define.
1889 (UNWIND_HIGH32): Define.
1890 (pa_build_unwind_subspace): Use the above macros instead of dumping
1891 bitfields directly. Call frag_more once rather than multiple times.
1892 (md_assemble): Use UNWIND_LOW32.
1893 (pa_entry): Likewise
1894 (pa_procend): Likewise.
1895 (process_exit): Use UNWIND_HIGH32.
1896
1897 2001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1898
1899 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
1900 function to select the header according to the cpu.
1901 (md_after_pass_hook, md_do_align): Remove.
1902 (md_cleanup, m68hc11_cleanup): Remove.
1903 (md_pcrel_from_section): Declare.
1904 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
1905 (build_jump_insn, build_insn): Likewise.
1906 (m68hc11_listing_header): New function.
1907 (m68hc11_cleanup): Remove.
1908
1909 2001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1910
1911 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
1912 symbols because there is no support for shared libraries and these
1913 symbols can't be overridden (unless they are weak).
1914
1915 2001-02-01 Momchil Velikov <velco@fadata.bg>
1916
1917 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
1918 for the compilation unit with a zero byte.
1919
1920 2001-01-30 Alan Modra <alan@linuxcare.com.au>
1921
1922 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
1923 destinations. Correct range check for 17 and 22 bit branches.
1924
1925 2001-01-25 Nick Clifton <nickc@redhat.com>
1926
1927 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
1928 still set. Issue an error message instead.
1929 (md_estimate_size_before_relax): Delete unused variable
1930 'buffer_address'. Fixup parentheses around if statement.
1931
1932 2001-01-23 Kazu Hirata <kazu@hxi.com>
1933
1934 * as.c: Fix formatting.
1935 * ehopt.c: Likewise.
1936 * messages.c: Likewise.
1937 * stabs.c: Likewise.
1938 * symbols.c: Likewise.
1939
1940 2001-01-23 Ben Elliston <bje@redhat.com>
1941
1942 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
1943
1944 2001-01-22 Kazu Hirata <kazu@hxi.com>
1945
1946 * config/tc-alpha.c: Fix formatting.
1947
1948 2001-01-19 Kazu Hirata <kazu@hxi.com>
1949
1950 * config/tc-alpha.c: Fix formatting.
1951
1952 2001-01-18 Kazu Hirata <kazu@hxi.com>
1953
1954 * config/tc-alpha.c: Fix formatting.
1955
1956 2001-01-18 Nick Clifton <nickc@redhat.com>
1957
1958 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
1959 "da" flags.
1960 (stm_flags): Remove redundant bit from "ed" and "da" flags.
1961
1962 2001-01-18 Alexandre Oliva <aoliva@redhat.com>
1963
1964 * configure.in (cpu_type, arch): Match i386 too.
1965 * configure: Rebuilt.
1966
1967 2001-01-16 Kazu Hirata <kazu@hxi.com>
1968
1969 * config/tc-i386.c: Fix formatting.
1970
1971 2001-01-16 Alan Modra <alan@linuxcare.com.au>
1972
1973 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
1974 relocs for .PARISC.unwind section.
1975
1976 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
1977 depending on section flags, not just for .text.
1978
1979 2001-01-15 Jim Wilson <wilson@redhat.com>
1980
1981 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
1982 not immediately followed by an instruction.
1983
1984 2001-01-15 Kazu Hirata <kazu@hxi.com>
1985
1986 * config/tc-m68hc11.c: Fix formatting.
1987
1988 2001-01-15 Nick Clifton <nickc@redhat.com>
1989
1990 * symbols.c (colon): Change 'already defined symbol' from a
1991 fatal error to an ordinary error. There is no reason why this
1992 error should be fatal.
1993
1994 * message.c (as_fatal): Delete output file, if one has been
1995 created.
1996
1997 2001-01-14 Alan Modra <alan@linuxcare.com.au>
1998
1999 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
2000
2001 2001-01-14 Kazu Hirata <kazu@hxi.com>
2002
2003 * config/tc-alpha.c: Fix formatting.
2004 * config/tc-arc.c: Likewise.
2005 * config/tc-arc.h: Likewise.
2006 * config/tc-d10v.c: Likewise.
2007 * config/tc-i370.c: Likewise.
2008 * config/tc-i386.c: Likewise.
2009 * config/tc-i960.c: Likewise.
2010 * config/tc-m68k.c: Likewise.
2011 * config/tc-ppc.c: Likewise.
2012 * config/tc-sparc.c: Likewise.
2013 * config/tc-tahoe.c: Likewise.
2014 * config/tc-vax.c: Likewise.
2015
2016 * config/tc-arc.c: Fix formatting.
2017
2018 * config/tc-arc.c: Fix formatting.
2019
2020 2001-01-14 Alan Modra <alan@linuxcare.com.au>
2021
2022 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
2023 both 32 and 64 bit ELF.
2024
2025 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
2026 and don't bother storing `m' for "ce" completer. Tidy handling of
2027 'J' and 'K' operands to suit. Handle '<' and '>' operands.
2028
2029 Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz>
2030
2031 * config/tc-i386.h (TARGET_MACH): New macro.
2032 (i386_mach): Declare.
2033 * config/tc-i386.c (i386_mach): New function.
2034
2035 2001-01-13 Philip Blundell <philb@gnu.org>
2036
2037 * doc/as.texinfo: Fix spelling and cross-references.
2038
2039 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
2040 character for all systems, not just GNU/Linux. Make it explicit
2041 that `-k' doesn't affect code generation, just ELF flags.
2042
2043 Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz>
2044
2045 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
2046 instructions.
2047
2048 2001-01-12 Frank Ch. Eigler <fche@redhat.com>
2049
2050 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
2051
2052 2001-01-12 Nick Clifton <nickc@redhat.com>
2053
2054 * as.c (print_args): Update copyright date to 2001.
2055
2056 2001-01-12 Peter Targett <peter.targett@arccores.com>
2057
2058 * doc/c-arc.texi: New file.
2059 Some sections to be expanded.
2060
2061 2001-01-12 Alan Modra <alan@linuxcare.com.au>
2062
2063 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
2064 (md_parse_option): Always accept "--32".
2065
2066 2001-01-11 Peter Targett <peter.targett@arccores.com>
2067
2068 * as.h (TC_ARC): Ensure struc-symbol.h included.
2069 * as.c (dwarf2dbg.h): Include to remove implicit declaration
2070 warnings.
2071 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
2072 (TARGET_SYMBOL_FIELDS) added.
2073
2074 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
2075 * doc/c-arc.texi: New file.
2076 Some sections to be expanded.
2077 * doc/as.texinfo: Update command-line options.
2078 Removed outdated text for ARC dependant features, instead include
2079 text from above file.
2080
2081 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
2082 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
2083 (targ-cpu.h) header.
2084 * config/tc-arc.h:
2085 * config/tc-arc.c: New updated configuration for
2086 ARC, including selection of core variants, and extensibility of
2087 instructions, registers etc. through directives.
2088
2089 * config/tc-arc.c (arc_extinst): Minor corrections for
2090 error messages.
2091 (arc_common) Likewise. Make alignment argument optional for local
2092 symbols also, with default of zero.
2093
2094 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2095
2096 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
2097 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
2098 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
2099 and fix_new_exp() instead.
2100 (md_convert_frag): For indexed post byte use the symbol value
2101 rather than the displacement.
2102 (md_relax_table): Fix indexed offset relax.
2103
2104 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2105
2106 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
2107 relax weak symbols.
2108 (relaxable_symbol): New function.
2109
2110 2001-01-11 Andreas Jaeger <aj@suse.de>
2111
2112 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
2113 not used anywhere.
2114
2115 2001-01-10 Nick Clifton <nickc@redhat.com>
2116
2117 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
2118 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
2119
2120 2001-01-10 Nick Clifton <nickc@redhat.com>
2121
2122 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
2123 character used to dollar local symbols.
2124 (LOCAL_LABEL_CHAR): New constant - the magic character used to
2125 local label symbols.
2126 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
2127 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
2128 if defined.
2129 Use LOCAL_LABEL_CHAR.
2130 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
2131 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
2132 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
2133
2134 2001-01-08 Bo Thorsen <bo@suse.de>
2135
2136 * config/tc-i386.c (i386_immediate, i386_displacement):
2137 GOTPCREL check fix.
2138
2139 2001-01-07 Ian Lance Taylor <ian@zembu.com>
2140
2141 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
2142 in last change.
2143
2144 2001-01-07 Philip Blundell <philb@gnu.org>
2145
2146 * doc/as.texinfo (Bug Reporting): Update email address for
2147 reports.
2148 * README: Likewise.
2149
2150 Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
2151
2152 * configure.in: Define DEFAULT_ARCH for i386.
2153 * config/tc-i386.c (md_assemble): Return after the error message;
2154 move testing for 64bit operands to proper place.
2155
2156 2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
2157
2158 * doc/as.texinfo: Document '#' as comment character for i386 and
2159 x86_64. Add AMD x86-64 into menu of machine dependent information.
2160
2161 * doc/c-i386.texi: Document x86_64 extensions.
2162
2163 Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
2164
2165 * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
2166
2167 Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
2168
2169 * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
2170 * NEWS: Add note about Pentium4 support.
2171
2172 Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
2173
2174 * config/tc-i387.c (pi, pte, pt): Update.
2175 (type_names): Add new types.
2176
2177 Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
2178
2179 * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
2180 CpuUnknown): Renumber
2181 (CpuP4, CpuSSE2): New.
2182 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
2183
2184 2001-01-03 Philip Blundell <pb@futuretv.com>
2185
2186 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
2187 relocs.
2188 (alpha_fix_adjustable): Likewise.
2189 (md_apply_fix): Likewise.
2190
2191 2000-12-31 H.J. Lu <hjl@gnu.org>
2192
2193 * listing.c (listing_message): Allocate string only if it is
2194 used.
2195
2196 * configure: Rebuild.
2197
2198 2000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
2199
2200 * doc/internals.texi (Relaxing with a table) <after relaxation>:
2201 Point out caveats with generating fixups for the opcode in a frag.
2202
2203 Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
2204
2205 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
2206 * NEWS: Add x86_64.
2207
2208 2000-12-29 H.J. Lu <hjl@gnu.org>
2209
2210 * listing.c (calc_hex): Print the variable part only if the
2211 fragment type is rs_fill.
2212
2213 2000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
2214
2215 * doc/internals.texi (tc_conditional_pseudoop,
2216 TC_LINKRELAX_FIXUP): Fix typos.
2217
2218 2000-12-28 Richard Henderson <rth@redhat.com>
2219
2220 * write.c (subsegs_finish): Fix thinko last change -- don't
2221 "optimize" the alignment == 0 case.
2222
2223 2000-12-28 Richard Henderson <rth@redhat.com>
2224
2225 * as.h (rs_align_test): New.
2226 * frags.c (NOP_OPCODE): Move default from read.c.
2227 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
2228 (frag_align_code): New.
2229 * frags.h (frag_align_code): Declare.
2230 * read.c (NOP_OPCODE): Remove.
2231 (do_align): Use frag_align_code.
2232 * write.c (NOP_OPCODE): Remove.
2233 (get_recorded_alignment): New.
2234 (cvt_frag_to_fill): Handle rs_align_test.
2235 (relax_segment): Likewise.
2236 (subsegs_finish): Align last subseg in section to the
2237 section alignment. Use frag_align_code.
2238 * write.h (get_recorded_alignment): Declare.
2239 * config/obj-coff.c (size_section): Handle rs_align_test.
2240 (fill_section, fixup_mdeps): Likewise.
2241 (write_object_file): Use frag_align_code.
2242
2243 * config/tc-alpha.c (alpha_align): Use frag_align_code.
2244 (alpha_handle_align): New.
2245 * config/tc-alpha.h (HANDLE_ALIGN): New.
2246 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2247
2248 * config/tc-i386.h (md_do_align): Use frag_align_code.
2249 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2250
2251 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
2252 (ia64_handle_align): New.
2253 * config/tc-ia64.h (HANDLE_ALIGN): New.
2254 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2255
2256 * config/tc-m32r.c (m32r_do_align): Remove.
2257 (m32r_handle_align): New.
2258 (fill_insn): Use frag_align_code.
2259 * config/tc-m32r.h (md_do_align): Remove.
2260 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
2261 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
2262 * config/tc-mips.c, config/tc-mips.h: Similarly.
2263
2264 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
2265 (sh_handle_align): Likewise. Handle rs_align_code.
2266 (sh_do_align): Remove.
2267 * config/tc-sh.h (md_do_align): Remove.
2268 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2269
2270 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
2271 (sparc_handle_align): Likewise. Handle rs_align_code.
2272 * config/tc-sparc.h (md_do_align): Remove.
2273 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2274
2275 2000-12-22 DJ Delorie <dj@redhat.com>
2276
2277 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
2278 when we assemble the first half of a pair.
2279
2280 2000-12-22 H.J. Lu <hjl@gnu.org>
2281
2282 * config/tc-i386.c (reloc): Update the macro for non-bfd
2283 assembler.
2284 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
2285
2286 2000-12-22 H.J. Lu <hjl@gnu.org>
2287
2288 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
2289
2290 Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
2291
2292 * config/tc-i386.h (i386_target_format): Define even for ELFs.
2293 (QWORD_MNEM_SUFFIX): New macro.
2294 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
2295 New macros
2296 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
2297 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
2298 ImmExt): Renumber.
2299 (Size64, No_qSuf, NoRex64, Rex64): New macros.
2300 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
2301 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
2302 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
2303 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
2304 Renumber.
2305 (Reg, WordReg): Add Reg64.
2306 (Imm): Add Imm32S and Imm64.
2307 (EncImm): New.
2308 (Disp): Add Disp64 and Disp32S.
2309 (AnyMem): Add Disp32S.
2310 (RegRex, RegRex64): New macros.
2311 (rex_byte): New type.
2312 * config/tc-i386.c (set_16bit_code_flag): Kill.
2313 (fits_in_unsigned_long, fits_in_signed_long): New functions.
2314 (reloc): New parameter "signed"; support x86_64.
2315 (set_code_flag): New.
2316 (DEFAULT_ARCH): New macro; default to "i386".
2317 (default_arch): New static variable.
2318 (struct _i386_insn): New fields Operand_PCrel; rex.
2319 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
2320 (flag_code): New enum and static variable.
2321 (use_rela_relocations): New static variable.
2322 (flag_code_names): New static variable.
2323 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
2324 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
2325 K6 and Athlon.
2326 (i386_align_code): Return plain "nop" for x86_64.
2327 (mode_from_disp_size): Support Disp32S.
2328 (smallest_imm_type): Support Imm32S and Imm64.
2329 (offset_in_range): Support size of 8.
2330 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
2331 (md_pseudo_table): Add "code64"; use set_code_flat.
2332 (md_begin): Emit sane error message on hash failure.
2333 (tc_i386_fix_adjustable): Support x86_64 relocations.
2334 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
2335 instructions supported on particular arch just partially,
2336 output of 64bit immediates, handling of Imm32S and Disp32S type.
2337 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
2338 (i386_displacement): Likewise.
2339 (i386_index_check): Cleanup; support 64bit addresses.
2340 (md_apply_fix3): Support x86_64 relocation and rela.
2341 (md_longopts): Add "32" and "64".
2342 (md_parse_option): Add OPTION_32 and OPTION_64.
2343 (i386_target_format): Call even for ELFs; choose between
2344 elf64-x86-64 and elf32-i386.
2345 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
2346 (tc_gen_reloc): Support rela relocations and x86_64.
2347 (intel_e09_1): Support QWORD.
2348
2349 2000-12-15 Diego Novillo <dnovillo@redhat.com>
2350
2351 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
2352 it's not an offset expression.
2353 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
2354 keep the braces '[' and ']' in the output string.
2355 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
2356 != FLAT. There is no such op_modifier.
2357
2358 2000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2359
2360 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
2361 if we have it.
2362
2363 2000-12-13 Kazu Hirata <kazu@hxi.com>
2364
2365 * as.h: Fix formatting.
2366 * cgen.h: Likewise.
2367 * dwarf2dbg.c: Likewise.
2368 * input-scrub.c: Likewise.
2369 * read.h: Likewise.
2370
2371 2000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
2372
2373 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
2374 configure: Regenerate.
2375
2376 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2377
2378 * dwarf2dbg.c: #include <limits.h> only if it exists.
2379
2380 2000-12-13 Rodney Brown <RodneyBrown@mynd.com>
2381
2382 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
2383 (md_apply_fix): Here too.
2384
2385 2000-12-12 Jim Wilson <wilson@redhat.com>
2386
2387 * config/tc-ia64.h (ia64_init): Add prototype.
2388
2389 2000-12-12 H.J. Lu <hjl@gnu.org>
2390
2391 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
2392
2393 * read.h (outputting_stabs_line_debug): Change it to int.
2394 * stabs.c (outputting_stabs_line_debug): Likewise.
2395
2396 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
2397
2398 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
2399 the address of a function result.
2400
2401 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2402
2403 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
2404 (md_assemble): Call dwarf2_emit_insn.
2405 (shlib): Fix typo SHILB -> SHLIB.
2406 (md_parse_option): Likewise.
2407 (ppc_elf_validate_fix): Likewise:
2408 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2409
2410 2000-12-12 Nick Clifton <nickc@redhat.com>
2411
2412 * cgen.h: Fix formatting.
2413 * input-scrub.c: Fix formatting.
2414 * macro.c: Fix formatting.
2415 * config/tc-mips.c: Fix formatting.
2416 * doc/c-mips.texi: Fix formatting.
2417
2418 Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
2419
2420 * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
2421 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
2422 references.
2423 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
2424 otherwise.
2425 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
2426 (No_dSuf): Kill.
2427
2428 * i386.h (*_Suf): Remove No_dSuf.
2429 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
2430 Remove.
2431 (i386_optab): Remove 'd' in the suffixes.
2432
2433 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2434
2435 * config/tc-i386.c (T_SHORT): Undefine before defining.
2436
2437 2000-12-05 Kazu Hirata <kazu@hxi.com>
2438
2439 * config/tc-mips.c: Fix formatting.
2440
2441 2000-12-04 Matthew Hiller <hiller@redhat.com>
2442
2443 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
2444 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
2445 (md_show_usage): Ditto.
2446 (md_parse_option): Ditto.
2447 (d10v_cleanup): Writes pending instruction only if
2448 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
2449 Fix compile time warning messages.
2450
2451 * doc/c-d10v.texi: Documents new options.
2452
2453 2000-12-04 Matthew Hiller <hiller@redhat.com>
2454
2455 * stabs.c (outputting_stabs_line_debug): New variable.
2456 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
2457 function entry and unset at function exit.
2458
2459 * read.h (outputting_stabs_line_debug): New extern declaration.
2460
2461 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
2462
2463 * dwarf2dbg.c: Fix compile time warning messages.
2464
2465 2000-12-03 Kazu Hirata <kazu@hxi.com>
2466
2467 * config/tc-a29k.c: Fix formatting.
2468 * config/tc-alpha.c: Likewise.
2469 * config/tc-arm.c: Likewise.
2470 * config/tc-cris.c: Likewise.
2471 * config/tc-hppa.c: Likewise.
2472 * config/tc-i370.c: Likewise.
2473 * config/tc-i386.c: Likewise.
2474 * config/tc-i860.c: Likewise.
2475 * config/tc-i960.c: Likewise.
2476 * config/tc-ia64.c: Likewise.
2477 * config/tc-m68hc11.c: Likewise.
2478 * config/tc-m68k.c: Likewise.
2479 * config/tc-m88k.c: Likewise.
2480 * config/tc-pj.c: Likewise.
2481 * config/tc-ppc.c: Likewise.
2482 * config/tc-sh.c: Likewise.
2483 * config/tc-sparc.c: Likewise.
2484 * config/tc-tahoe.c: Likewise.
2485 * config/tc-vax.c: Likewise.
2486
2487 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2488
2489 * config/tc-mips.c (mips_ip): When calculating offsets,
2490 don't accept as constant the difference between the
2491 addresses of symbols in two different sections.
2492
2493 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
2494 specifiers.
2495 (validate_mips_insn): Likewise. Also, update 'B' operand
2496 specifier to use OP_*_CODE20 constants and delete 'm' operand
2497 specifier.
2498 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
2499 operand specifiers. Change warning generated by 'B' operand
2500 specifier to reflect its new multi-purpose usage.
2501
2502 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
2503 -1, and update comment.
2504 (file_mips_isa): Likewise.
2505 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
2506 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
2507 ISA_* constants rather than hard-coded numbers.
2508 (mips_cpu_info): New structure.
2509 (mips_cpu_info_table): New table describing CPU and ISA names
2510 and numbers.
2511 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
2512 mips_cpu_info_from_cpu): New functions.
2513 (mips_isa_to_str): New function to get string for ISA name.
2514 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
2515 return const char *.
2516 (md_begin): Redo CPU and ISA selection logic, using
2517 mips_cpu_info_from_*. Convert to use ISA_* constants rather
2518 than hard-coded numbers.
2519 (append_insn, mips_emit_delays, macro, macro2): Convert to use
2520 ISA_* constants rather than hard-coded numbers.
2521 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
2522 (md_longopts): Delete OPTION_NO_MIPS32.
2523 (md_parse_option): Convert to use ISA_* constants rather than
2524 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
2525 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
2526 to use strcasecmp to recognize "default" and to use
2527 mips_cpu_info_from_name to get CPU numbers from argument.
2528 (md_show_usage): Move -mips32 so it's with the rest of the ISA
2529 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
2530 mips32-4k.
2531 (s_mipsset): Accept ISA value 32.
2532 * doc/as.texinfo: Clean up MIPS options summary slightly,
2533 remove -no-mips32. Add note about -mips4 and -mips32
2534 specifying those ISA levels. Delete -mips32 and -no-mips32
2535 cpu flag descriptions.
2536 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
2537 up the supported CPU switch list, and replace 4Kc, 4Km, and
2538 4Kp entries with a single mips32-4k entry. Note that you can
2539 use ".set mips32".
2540
2541 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
2542 ISA_MIPS64.
2543 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
2544 -mips5 and -mips64.
2545 (md_parse_option): Add cases for OPTION_MIPS5 and
2546 OPTION_MIPS64.
2547 (md_show_usage): Mention -mips5 and -mips64 arguments.
2548 (s_mipsset): Add cases for MIPS5 and MIPS64.
2549 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
2550 and pseudo-CPUs.
2551 * doc/as.texinfo: Mention -mips5 and -mips64 options
2552 and their meanings.
2553 * doc/c-mips.texi: Likewise. Also update introduction
2554 and ".set" usage information.
2555
2556 * config/tc-mips.c (md_show_usage): Add "sb1" to the
2557 CPU list.
2558 (mips_cpu_info_table): Add SB-1 entries.
2559 * doc/c-mips.texi: Add "sb1" to the list of CPUs
2560 known to the -mcpu option.
2561
2562 * doc/as.texinfo: Correct description of MIPS -mcpu
2563 option, by copying some of the text from doc/c-mips.texi.
2564
2565 2000-12-01 Joel Sherrill <joel@OARcorp.com>
2566
2567 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
2568 New targets.
2569 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2570 (sparc*-*-rtems*): Switched from a.out to ELF.
2571 * configure: Regenerate.
2572 * config.in: Regenerate.
2573 * Makefile.in: Regenerate.
2574 * aclocal.m4: Regenerate.
2575 * po/gas.pot: Regenerate.
2576
2577 2000-11-30 Philip Blundell <pb@futuretv.com>
2578
2579 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
2580 even in non BFD_ASSEMBLER case.
2581
2582 2000-11-30 Diego Novillo <dnovillo@redhat.com>
2583
2584 * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
2585 syntax.
2586
2587 2000-11-29 Richard Henderson <rth@redhat.com>
2588
2589 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
2590 until dwarf2_finish; use relaxation to get cross-fragment offsets;
2591 thread multiple subsegments properly; handle multiple code
2592 sections properly; emit proper compilation unit info for assembler
2593 generated debugging.
2594
2595 * as.h (enum _relax_state): Add rs_dwarf2dbg.
2596 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
2597 (dwarf2dbg_estimate_size_before_relax): Declare.
2598 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
2599 * write.c: Include dwarf2dbg.h.
2600 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
2601 (relax_segment): Likewise.
2602
2603 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2604
2605 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
2606 jump>: Use as_bad_where instead of as_bad. Tweak error message
2607 accordingly. Stabilize frag by updating fix part and resetting
2608 variant part.
2609 <undefined symbol, unconditional jump>: Ditto.
2610 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
2611 indexing is_end_of_line[].
2612 (md_assemble): Initialize size to 0.
2613 (md_section_align): Mark parameter seg as unused.
2614 (parse_reg): Parse names case-insensitively.
2615
2616 2000-11-28 Kazu Hirata <kazu@hxi.com>
2617
2618 * config/obj-aout.h: Fix formatting.
2619 * config/obj-bout.h: Likewise.
2620 * config/obj-coff.c: Likewise.
2621 * config/obj-coff.h: Likewise.
2622 * config/obj-elf.h: Likewise.
2623 * config/obj-som.h: Likewise.
2624 * config/obj-vms.c: Likewise.
2625 * config/obj-vms.h: Likewise.
2626 * config/tc-h8300.h: Likewise.
2627 * config/tc-ns32k.h: Likewise.
2628 * config/tc-sparc.h: Likewise.
2629 * config/tc-tic54x.h: Likewise.
2630 * config/tc-z8k.h: Likewise.
2631
2632 2000-11-28 Nick Clifton <nickc@redhat.com>
2633
2634 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
2635 License is present in the sources, but not the output, and
2636 also available from the GNU website.
2637 (GNU Free Documentation License): Comment out this section.
2638
2639 2000-11-28 Hans-Peter Nilsson <hp@axis.com>
2640
2641 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
2642 targets. Remove i860 from valid a.out targets.
2643 * Makefile.in: Regenerate.
2644
2645 * config/tc-cris.c: Include dwarf2dbg.h.
2646 (md_pseudo_table): Add .file and .loc.
2647 (md_assemble): Call dwarf2_emit_insn if generating ELF.
2648 (s_cris_file, s_cris_loc): New.
2649 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2650 * Makefile.am: Regenerate dependencies.
2651 * Makefile.in: Regenerate.
2652
2653 2000-11-28 Alan Modra <alan@linuxcare.com.au>
2654
2655 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
2656 (MRI_MUL_PRECEDENCE): Likewise.
2657 (op_rank): Fix a comment typo.
2658
2659 2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2660
2661 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
2662 the error message.
2663 (get_operand): Fix analysis for movw/movb instructions.
2664
2665 2000-11-24 Nick Clifton <nickc@redhat.com>
2666
2667 * configure.in (xscale-elf): Add target.
2668 (xscale-coff): Add target.
2669 * configure: Regenerate.
2670
2671 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
2672 extenstion.
2673 (ARM_EXT_XSCALE): New ARM architecture extension.
2674 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
2675 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
2676 (ARM_THUMB): Rename to ARM_EXT_THUMB.
2677 (ARM_ARCH_V4): Remove processor from architecture.
2678 (ARM_ARCH_3M): New architecutre definition.
2679 (ARM_ARCH_V5TE): New architecutre definition.
2680 (ARM_ARCH_XSCALE): New architecutre definition.
2681 (CPU_DEFAULT): Allow to be defaulted to XScale.
2682 (atpcs): New boolean variable.
2683 (ldr_flags): Support 'd' flag for double word loads.
2684 (str_flags): Support 'd' flag for double word stored.
2685 (do_mia): New function.
2686 (do_mar): New function.
2687 (do_mra): New function.
2688 (do_pld): New function.
2689 (do_ldrd): New function.
2690 (do_blx): New function.
2691 (do_bkpt): New function.
2692 (do_clz): New function.
2693 (do_lstc2): New function.
2694 (do_cdp2): New function.
2695 (do_t_blx): New function.
2696 (do_t_bkpt): New function.
2697 (do_smla): New function.
2698 (do_smlal): New function.
2699 (do_smul): New function.
2700 (do_qadd): New function.
2701 (do_co_reg2c): New function.
2702 (LONGEST_INSN): Redefine to 7.
2703
2704 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
2705 command line switches.
2706
2707 2000-11-22 Jim Wilson <wilson@redhat.com>
2708
2709 * config/tc-ia64.c (pseudo_func): Add missing initializers.
2710 (struct rsrc): Make line unsigned.
2711 (gr_values): Add missing initializer.
2712 (SLOT_NUM_NOT_SET): Add unsigned cast.
2713 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
2714 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
2715 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
2716 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
2717 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
2718 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
2719 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
2720 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
2721 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
2722 Add ATTRIBUTE_UNUSED to unused parameters.
2723 (convert_expr_to_ab_reg): Add parens.
2724 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
2725 (dot_prologue): Initialize grsave when declared.
2726 (md_pseudo_table): Add missing initializers.
2727 (operand_match): Add casts to bfd_vma.
2728 (emit_one_bundle): Delete unused local prev. Make required_template
2729 unsigned.
2730 (specify_resource): Cast i to unsigned.
2731 (note_register_values): Use fprintf_vma.
2732 (print_dependency): Likewise.
2733
2734 2000-11-21 Jim Wilson <wilson@redhat.com>
2735
2736 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
2737 for unwind info section.
2738 (dot_endp): Likewise for unwind section.
2739
2740 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
2741 fix_new_exp.
2742
2743 2000-11-21 Jakub Jelinek <jakub@redhat.com>
2744
2745 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
2746 (output_insn): Call dwarf2_emit_insn.
2747 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2748
2749 2000-11-17 Richard Henderson <rth@redhat.com>
2750
2751 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
2752 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
2753 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
2754
2755 2000-11-17 Nick Clifton <nickc@redhat.com>
2756
2757 * config/tc-arm.c (md_pseudo_table): Add support for .line and
2758 .file pseudo ops.
2759
2760 2000-11-17 Richard Henderson <rth@redhat.com>
2761
2762 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
2763
2764 2000-11-17 Richard Henderson <rth@redhat.com>
2765
2766 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
2767 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
2768 tri-state definition of alpha_flag_mdebug.
2769 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
2770 (s_alpha_file): Store first .file directive.
2771 (s_alpha_stab): New.
2772 (md_pseudo_table): Add stabs and stabn.
2773
2774 2000-11-17 Richard Henderson <rth@redhat.com>
2775
2776 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
2777
2778 2000-11-17 Richard Henderson <rth@redhat.com>
2779
2780 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
2781 (main): Call dwarf2_finish.
2782 * as.h (debug_type): Clarify documentation of the meaning
2783 of this variable.
2784 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
2785 (print_stats): Fix parenthesis problem.
2786 (now_subseg_size): New.
2787 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
2788 (dwarf2_directive_file): Don't set debug_type.
2789 (dwarf2_where): Honor DEBUG_DWARF2 first.
2790 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
2791 do nothing if not emitting dwarf2 debug info, or no work.
2792 * dwarf2dbg.h (dwarf2_emit_insn): Update.
2793 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
2794 (ecoff_new_file): Likewise.
2795 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
2796 commentary wrt dwarf2.
2797
2798 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
2799 ATTRIBUTE_UNUSED as needed.
2800 (emit_insn): Call dwarf2_emit_insn.
2801 (s_alpha_file): New.
2802 (s_alpha_loc): New.
2803 (s_alpha_coff_wrapper): Don't handle them.
2804 (md_pseudo_table): Update for .file and .loc.
2805 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2806
2807 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
2808 don't protect with debug_type.
2809 * config/tc-hppa.c (md_assemble): Likewise.
2810 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
2811 * config/tc-mn10300.c (md_assemble): Likewise.
2812 * config/tc-sh.c (md_assemble): Likewise.
2813 * config/tc-v850.c (md_assemble): Likewise.
2814
2815 * config/tc-arm.c (arm_end_of_source): Remove.
2816 * config/tc-hppa.c (pa_end_of_source): Remove.
2817 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
2818 * config/tc-mn10300.c (mn10300_finalize): Remove.
2819 * config/tc-sh.c (sh_finalize): Remove.
2820 * config/tc-v850.c (sh_finalize): Remove.
2821
2822 * config/tc-arm.h (md_end): Remove.
2823 * config/tc-hppa.h (md_end): Remove.
2824 (DWARF2_LINE_MIN_INSN_LENGTH): New.
2825 * config/tc-m68hc11.h (md_end): Remove.
2826 * config/tc-mn10300.h (md_end): Remove.
2827 * config/tc-sh.h (md_end): Remove.
2828 * config/tc-v850.h (md_end): Remove.
2829
2830 * config/tc-ia64.c (emit_one_bundle): Don't protect
2831 dwarf2 bits with debug_type.
2832 (md_assemble): Likewise.
2833 (ia64_end_of_source): Don't call dwarf2_finish.
2834
2835 2000-11-16 Jim Wilson <wilson@redhat.com>
2836
2837 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
2838 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
2839 > 16.
2840
2841 2000-11-16 H.J. Lu <hjl@gnu.org>
2842
2843 * config/obj-elf.c (obj_elf_symver): Don't check the missing
2844 version name.
2845
2846 2000-11-15 Kazu Hirata <kazu@hxi.com>
2847
2848 * config/tc-tic30.c: Fix formatting.
2849 * config/tc-tic80.c: Likewise.
2850 * config/tc-v850.c: Likewise.
2851 * config/tc-vax.c: Likewise.
2852 * config/tc-w65.c: Likewise.
2853 * config/tc-z8k.c: Likewise.
2854
2855 2000-11-14 DJ Delorie <dj@redhat.com>
2856
2857 * config/tc-v850.c: Support dwarf2.
2858 * config/tc-v850.h: Ditto.
2859
2860 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
2861 parse_cons_expression_v850 to initialize hold_cons_reloc.
2862
2863 2000-11-15 Bernd Schmidt <bernds@redhat.com>
2864
2865 * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
2866 (errata_nops_necessary_p): New function.
2867 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
2868 md.
2869
2870 2000-11-14 Jim Wilson <wilson@redhat.com>
2871
2872 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
2873 return little endian bfd formats.
2874
2875 2000-11-14 Kazu Hirata <kazu@hxi.com>
2876
2877 * config/aout_gnu.h: Fix formatting.
2878 * config/atof-vax.c: Likewise.
2879 * config/m68k-parse.h: Likewise.
2880 * config/m88k-opcode.h: Likewise.
2881 * config/obj-elf.c: Likewise.
2882 * config/tc-arm.c: Likewise.
2883 * config/tc-cris.c: Likewise.
2884 * config/tc-i386.c: Likewise.
2885 * config/tc-ia64.c: Likewise.
2886 * config/tc-mn10300.c: Likewise.
2887 * config/te-386bsd.h: Likewise.
2888 * config/te-hppa.h: Likewise.
2889 * config/te-nbsd.h: Likewise.
2890 * config/te-ppcnw.h: Likewise.
2891 * config/te-sparcaout.h: Likewise.
2892 * config/te-tmips.h: Likewise.
2893 * config/vax-inst.h: Likewise.
2894 * config/vms-conf.h: Likewise.
2895
2896 2000-11-14 Jakub Jelinek <jakub@redhat.com>
2897
2898 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
2899
2900 2000-11-13 H.J. Lu <hjl@gnu.org>
2901
2902 * config/obj-elf.c (elf_frob_symbol): Support
2903 ".symver name,name2@@@nodename".
2904 (elf_frob_file_before_adjust): Likewise.
2905
2906 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
2907 and ".symver name,name2@@@nodename".
2908 Fix a typo.
2909
2910 2000-11-12 H.J. Lu (hjl@gnu.org)
2911
2912 * config/obj-elf.c (obj_elf_symver): Check missing version
2913 name.
2914
2915 2000-11-12 H.J. Lu (hjl@gnu.org)
2916
2917 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
2918 instead of bfd_vma for non-bfd assemblers.
2919
2920 2000-11-09 Kazu Hirata <kazu@hxi.com>
2921
2922 * itbl-ops.c: Fix comment typos.
2923
2924 2000-11-08 Jim Wilson <wilson@redhat.com>
2925
2926 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
2927 (struct unwind): Add next_slot_frag field.
2928 (slot_index): New parameters slot_frag and first_frag. Add code
2929 to add in frag sizes when different. Add comments.
2930 (fixup_unw_records): New locals first_frag and last_frag. Pass new
2931 arguments to slot_index.
2932 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
2933 loop end. Set next_slot_frag field.
2934
2935 2000-11-07 H.J. Lu <hjl@gnu.org>
2936
2937 * doc/as.texinfo (.symver): Updated for versioned symbol
2938 reference.
2939
2940 * obj.h (format_ops): Add the frob_file_before_adjust field.
2941
2942 * config/obj-aout.c (aout_format_ops): Set the
2943 frob_file_before_adjust field to 0.
2944 * config/obj-coff.c (coff_format_ops): Likewise.
2945 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
2946
2947 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
2948 name.
2949 (elf_frob_file_before_adjust): New function to remove unneeded
2950 versioned symbols from the symbol table.
2951 (elf_format_ops): Set the frob_file_before_adjust field to
2952 elf_frob_file_before_adjust.
2953
2954 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
2955 not defined.
2956
2957 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
2958
2959 2000-11-07 Peter Targett <peter.targett@arccores.com>
2960
2961 * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
2962 BIG_ENDIAN macros.
2963 * config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
2964 Fix compile time warning messages.
2965
2966 2000-11-07 Nick Clifton <nickc@redhat.com>
2967
2968 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
2969 buffer in order to avoid buffer overflows.
2970
2971 2000-11-06 Steve Ellcey <sje@cup.hp.com>
2972
2973 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
2974 Change M to m for -milp32 or -mlp64 to match gcc.
2975 (dot_endp): Use bytes_per_address instead of 8.
2976 (emit_one_bundle): Use number_to_chars_littleendian instead of
2977 md_number_to_chars.
2978 (fix_insn): Likewise.
2979 (ia64_init): New function.
2980 (ia64_target_format): New function.
2981 (md_begin): Set endianness, arch, and machine as appropriate.
2982 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
2983 Make these macros depend on TE_HPUX macro.
2984 (TARGET_FORMAT): Define.
2985 (HOST_SPECIAL_INIT): Define.
2986 * config/te-hpux.h: New file.
2987 * configure.in: Add "ia64-*-hpux*" target to configure.
2988 * configure: Regenerate.
2989
2990 2000-11-06 Kazu Hirata <kazu@hxi.com>
2991
2992 * as.c: Fix formatting.
2993 * dwarf2dbg.c: Likewise.
2994 * input-file.c: Likewise.
2995 * input-file.h: Likewise.
2996 * input-scrub.c: Likewise.
2997 * itbl-ops.c: Likewise.
2998 * listing.c: Likewise.
2999 * macro.h: Likewise.
3000 * messages.c: Likewise.
3001 * read.c: Likewise.
3002 * subsegs.c: Likewise.
3003 * subsegs.h: Likewise.
3004 * write.c: Likewise.
3005
3006 2000-11-06 Nick Clifton <nickc@redhat.com>
3007
3008 * doc/as.texinfo: Add GNU Free Documentation License.
3009 * doc/gasp.texi: Add GNU Free Documentation License.
3010 * doc/as.1: Add GNU Free Documentation License.
3011
3012 2000-11-05 Nick Clifton <nickc@redhat.com>
3013
3014 * config/tc-arm.c: Add include of "dwarf2dbg.h"
3015
3016 2000-11-02 Per Lundberg <plundis@chaosdev.org>
3017
3018 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
3019 * configure: Regenerate.
3020
3021 2000-11-01 Nick Clifton <nickc@redhat.com>
3022
3023 * read.c (original_case_string): New global variable.
3024 (read_a_source_file): Copy opcode string into
3025 original_case_string if clobbering the case of the opcode.
3026 * read.h: Export the definition of original_case_string.
3027 * config/tc-arm.c (md_assembler): When parsing a .req
3028 directive use the original opcode string, not the case
3029 clobbered version.
3030
3031 2000-11-02 Nick Clifton <nickc@redhat.com>
3032
3033 * config/tc-mn10300.c (debug_line): Remove this static
3034 variable.
3035 (md_assemble): Call dwarf2_generate_asm_lineno instead of
3036 dwarf2_where and dwarf2_gen_line_info.
3037
3038 2000-11-02 Theo Honohan <th@futuretv.com>
3039
3040 * config/tc-arm.c (do_msr): Improve error message.
3041
3042 2000-10-31 Eric Christopher <echristo@redhat.com>
3043
3044 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
3045 or pc-relative, else use fx_offset.
3046
3047 2000-10-31 Jim Wilson <wilson@redhat.com>
3048
3049 * config/tc-ia64.c (struct md): New field tag_fixups.
3050 (ia64_flush_insns): Handle tag_fixups. Error if dangling
3051 qualifying predicate.
3052 (emit_one_bundle): Delete spurious multiplication by one. Handle
3053 tag_fixups.
3054 (ia64_start_line): Error if dangling qualifying predicate.
3055 (defining_tag): New static variable.
3056 (ia64_unrecognized_line, case '['): Parse tags.
3057 (ia64_frob_label): Create tag_fixups.
3058 (md_assemble): Reset md.qp.X_op after using it.
3059
3060 2000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3061
3062 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
3063
3064 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
3065
3066 * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
3067
3068 2000-10-30 Kazu Hirata <kazu@hxi.com>
3069
3070 * expr.c: Fix formatting.
3071 * flonum-copy.c: Likewise.
3072 * flonum.h: Likewise.
3073 * gasp.c: Likewise.
3074 * hash.c: Likewise.
3075
3076 2000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
3077
3078 * as.h (OPTION_MD_BASE): Bump to 190.
3079 * as.c (parse_args) <std_longopts>: Add comment about the need to
3080 check OPTION_MD_BASE in as.h.
3081
3082 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
3083 for weak symbols.
3084
3085 2000-10-27 Nick Clifton <nickc@redhat.com>
3086
3087 * configure.in (emulations): Add m68hc12.
3088 * configure: Regenerate.
3089 * po/gas.pot: Regenerate.
3090
3091 2000-10-27 Aldy Hernandez <aldyh@redhat.com>
3092
3093 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
3094 cpsr*.
3095 (arm_psr_parse): Handle lowercase CPSR and SPSR.
3096
3097 2000-10-25 Nick Clifton <nickc@redhat.com>
3098
3099 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
3100 a DWARF2 line number information sequence.
3101
3102 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
3103
3104 * read.c (generate_lineno_debug): Update comment describing why
3105 DWARF2 line number debug information is not generated
3106 automatically by this function.
3107
3108 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
3109 not all.
3110
3111 * config/tc-arm.h (md_end): Define.
3112 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3113
3114 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
3115 if generating DWARF2 line numbers.
3116 (arm_end_of_source): New function. Call dwarf2_finish if
3117 necessary.
3118
3119 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
3120 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
3121 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
3122
3123 2000-10-25 Diego Novillo <dnovillo@cygnus.com>
3124
3125 * config/tc-i386.c: Fix prototype declarations for functions taking no
3126 arguments.
3127
3128 2000-10-24 Diego Novillo <dnovillo@cygnus.com>
3129
3130 * config/tc-i386.c (i386_operand_modifier): Remove.
3131 (build_displacement_string): Remove.
3132 (i386_parse_seg): Remove.
3133 (i386_intel_memory_operand): Remove.
3134 (i386_intel_operand): Re-write using recursive descent parser based
3135 on MASM documentation.
3136 (struct intel_parser_s): New structure.
3137 (intel_parser): New static variable.
3138 (struct intel_token): New structure.
3139 (cur_token, prev_token): New static variables.
3140 (T_NIL): Define.
3141 (T_CONST): Define.
3142 (T_REG): Define.
3143 (T_BYTE): Define.
3144 (T_WORD): Define.
3145 (T_DWORD): Define.
3146 (T_QWORD): Define.
3147 (T_XWORD): Define.
3148 (T_SHORT): Define.
3149 (T_OFFSET): Define.
3150 (T_PTR): Define.
3151 (T_ID): Define.
3152 (intel_match_token): New function.
3153 (intel_get_token): New function.
3154 (intel_putback_token): New function.
3155 (intel_expr): New function.
3156 (intel_e05): New function.
3157 (intel_e05_1): New function.
3158 (intel_e06): New function.
3159 (intel_e06_1): New function.
3160 (intel_e09): New function.
3161 (intel_e09_1): New function.
3162 (intel_e10): New function.
3163 (intel_e10_1): New function.
3164 (intel_e11): New function.
3165
3166 2000-10-20 Jakub Jelinek <jakub@redhat.com>
3167
3168 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
3169 instructions to loose any special insn->architecture mask.
3170
3171 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
3172 (sparc_md_end, sparc_arch_types, sparc_arch,
3173 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
3174 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
3175 request v9b architecture if they are used).
3176
3177 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3178
3179 * config/tc-m68k.c: Fix the previous misapplied patch.
3180
3181 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3182
3183 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
3184 BFD_ASSEMBLER and !BFD_ASSEMBLER.
3185 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
3186 BFD_RELOC_*.
3187
3188 2000-10-17 Kazu Hirata <kazu@hxi.com>
3189
3190 * debug.c: Fix formatting.
3191 * depend.c: Likewise.
3192 * dwarf2dbg.c: Likewise.
3193 * dwarf2dbg.h: Likewise.
3194 * ecoff.c: Likewise.
3195 * expr.c: Likewise.
3196 * expr.h: Likewise.
3197 * flonum-konst.c: Likewise.
3198 * frags.h: Likewise.
3199
3200 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3201
3202 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
3203 options.
3204 * doc/as.texinfo: Added notes about this new option.
3205
3206 2000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
3207
3208 * config/tc-sh.c (JREG): Remove.
3209 (md_convert_frag): Remove #if 0:d code using JREG.
3210
3211 2000-10-15 Diego Novillo <dnovillo@cygnus.com>
3212
3213 * config/tc-i386.c (i386_operand_modifier): Only match
3214 modifiers SHORT and FLAT if they are followed by a space.
3215 (parse_register): When `allow_naked_reg' is set, do not confuse
3216 identifiers that start with a register name with a register.
3217
3218 2000-10-12 Kazu Hirata <kazu@hxi.com>
3219
3220 * app.c: Fix formatting.
3221 * as.c: Likewise.
3222 * as.h: Likewise.
3223 * bit_fix.h: Likewise.
3224 * cgen.c: Likewise.
3225 * cgen.h: Likewise.
3226 * cond.c: Likewise.
3227
3228 2000-10-11 Alan Modra <alan@linuxcare.com.au>
3229
3230 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
3231
3232 2000-10-07 Alan Modra <alan@linuxcare.com.au>
3233
3234 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
3235 Re-arrange function a little and improve error message.
3236
3237 * write.c (write_relocs): Fix a comment.
3238
3239 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
3240 link-once sections.
3241
3242 2000-10-05 Jim Wilson <wilson@cygnus.com>
3243
3244 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
3245
3246 2000-10-05 Alan Modra <alan@linuxcare.com.au>
3247
3248 * config/tc-i386.c: Delete some useless comments, reformat others.
3249
3250 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
3251 non-global syms in linkonce sections.
3252
3253 2000-10-04 Ralf Baechle <ralf@gnu.org>
3254
3255 * config/tc-ia64.c (operand_match): Don't use // style comments.
3256 * config/tc-i370.c: Likewise.
3257
3258 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
3259
3260 Changes to handle varying register prefix and user symbol prefix.
3261 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
3262 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
3263 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
3264 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
3265 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
3266 (demand_register_prefix): New variable.
3267 (md_pseudo_table): New pseudo ".syntax".
3268 (md_longopts): New options --no-underscore and --underscore.
3269 (cris_target_format): Return elf32-us-cris or elf32-cris depending
3270 on symbols_have_leading_underscore.
3271 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
3272 (get_spec_reg): Ditto.
3273 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
3274 Fix formatting.
3275 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
3276 --help.
3277 <case OPTION_NO_US, case OPTION_US>: New.
3278 (md_show_usage): Be brief and reformat to match continuation of
3279 --help.
3280 * po/gas.pot: Regenerate.
3281
3282 2000-09-28 Alan Modra <alan@linuxcare.com.au>
3283
3284 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
3285 force relocs for 12 bit branches.
3286 (md_apply_fix): Similarly, adjust logic here.
3287
3288 2000-09-28 Alan Modra <alan@linuxcare.com.au>
3289
3290 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
3291 adjust for external and weak syms as we will use a reloc. Allow
3292 for +8 offset when calculating limits of branches.
3293 (hppa_fix_adjustable): Undo 2000-09-23 change.
3294 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
3295 Correct distance calculation.
3296 (tc_gen_reloc): Print the file name and line number if we can't
3297 handle a fixup.
3298
3299 From John David Anglin <dave@hiauly1.hia.nrc.ca>
3300 * config/tc-hppa.c (nonzero_dibits): Define.
3301 (arg_reloc_stub_needed): Check each arg and return value
3302 separately for zero case.
3303 (pa_align): Declare argument `bytes'.
3304
3305 2000-09-25 Kazu Hirata <kazu@hxi.com>
3306
3307 * config/tc-cris.c: Fix formatting.
3308 * config/tc-d10v.h: Likewise.
3309 * config/tc-d30v.c: Likewise.
3310 * config/tc-d30v.h: Likewise.
3311 * config/tc-fr30.c: Likewise.
3312 * config/tc-fr30.h: Likewise.
3313 * config/tc-m68k.c: Likewise.
3314 * config/tc-m68k.h: Likewise.
3315 * config/tc-pj.h: Likewise.
3316 * config/tc-ppc.c: Likewise.
3317 * config/tc-ppc.h: Likewise.
3318 * config/tc-sh.c: Likewise.
3319 * config/tc-sh.h: Likewise.
3320 * config/tc-sparc.c: Likewise.
3321 * config/tc-v850.h: Likewise.
3322 * config/tc-vax.h: Likewise.
3323 * config/tc-w65.h: Likewise.
3324 * config/tc-z8k.h: Likewise.
3325
3326 2000-09-23 Alan Modra <alan@linuxcare.com.au>
3327
3328 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
3329 checks only for ELF.
3330 (hppa_force_relocation): Likewise.
3331
3332 2000-09-22 Jim Wilson <wilson@cygnus.com>
3333
3334 * config/tc-ia64.c (dv_sem): Add "stop".
3335 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
3336 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
3337 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
3338 match above.
3339 (mark_resources): Check IA64_RS_PRr.
3340
3341 2000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3342
3343 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
3344 md_estimate_size_before_relax): Redesign and clean up the
3345 relaxation mechanism.
3346
3347 2000-09-21 Kazu Hirata <kazu@hxi.com>
3348
3349 * config/tc-ns32k.c: Fix formatting.
3350 * config/tc-ns32k.h: Likewise.
3351
3352 2000-09-20 Kazu Hirata <kazu@hxi.com>
3353
3354 * config/tc-m32r.c: Fix formatting.
3355 * config/tc-m32r.h: Likewise.
3356 * config/tc-m68851.h: Likewise.
3357 * config/tc-m68hc11.c: Likewise.
3358 * config/tc-m68hc11.h: Likewise.
3359 * config/tc-m88k.c: Likewise.
3360 * config/tc-mcore.c: Likewise.
3361 * config/tc-mcore.h: Likewise.
3362 * config/tc-mips.c: Likewise.
3363 * config/tc-mips.h: Likewise.
3364 * config/tc-mn10200.h: Likewise.
3365 * config/tc-mn10300.h: Likewise.
3366 * config/tc-tahoe.c: Likewise.
3367 * config/tc-tahoe.h: Likewise.
3368
3369 2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3370
3371 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
3372 Likewise in relaxation description comments.
3373
3374 2000-09-18 Alan Modra <alan@linuxcare.com.au>
3375
3376 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
3377 subtraction of two syms without emitting a relocation.
3378
3379 From David Huggins-Daines <dhd@linuxcare.com>
3380 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
3381 global or weak symbols.
3382
3383 2000-09-15 Kazu Hirata <kazu@hxi.com>
3384
3385 * config/tc-h8300.h: Fix formatting.
3386 * config/tc-h8500.c: Likewise.
3387 * config/tc-h8500.h: Likewise.
3388 * config/tc-hppa.h: Likewise.
3389 * config/tc-i370.h: Likewise.
3390 * config/tc-i386.h: Likewise.
3391 * config/tc-i860.c: Likewise.
3392 * config/tc-i860.h: Likewise.
3393 * config/tc-i960.h: Likewise.
3394 * config/tc-ia64.c: Likewise.
3395 * config/tc-ia64.h: Likewise.
3396
3397 2000-09-14 Kazu Hirata <kazu@hxi.com>
3398
3399 * config/tc-a29k.c: Fix formatting.
3400 * config/tc-alpha.c: Likewise.
3401 * config/tc-arc.c: Likewise.
3402 * config/tc-arc.h: Likewise.
3403 * config/tc-arm.c: Likewise.
3404 * config/tc-arm.h: Likewise.
3405 * config/tc-avr.c: Likewise.
3406 * config/tc-avr.h: Likewise.
3407 * config/tc-tic30.c: Likewise.
3408 * config/tc-tic30.h: Likewise.
3409 * config/tc-tic54x.c: Likewise.
3410 * config/tc-tic54x.h: Likewise.
3411 * config/tc-tic80.c: Likewise.
3412 * config/tc-tic80.h: Likewise.
3413
3414 2000-09-14 Timothy Wall <twall@cygnus.com>
3415
3416 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
3417 parallel comparisons for later use.
3418 (struct rsrc): Add parallel comparison type.
3419 (resources_match): Skip special cases of PR usage (non-conflicting
3420 parallel compares).
3421
3422 2000-09-13 Kazu Hirata <kazu@hxi.com>
3423
3424 * config/obj-ecoff.c: Fix formatting.
3425 * config/obj-elf.c: Likewise.
3426 * config/obj-elf.h: Likewise.
3427 * config/obj-evax.h: Likewise.
3428 * config/obj-generic.h: Likewise.
3429 * config/obj-hp300.c: Likewise.
3430 * config/obj-hp300.h: Likewise.
3431 * config/obj-ieee.h: Likewise.
3432 * config/obj-vms.c: Likewise.
3433 * config/obj-vms.h: Likewise.
3434
3435 2000-09-13 Anders Norlander <anorland@acc.umu.se>
3436
3437 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
3438 (md_parse_option): Ditto.
3439 (md_longopts): Add -mips32 option.
3440 (md_show_usage): Document new options.
3441 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
3442 (mips_ip): Assemble mfc0 with a sub-selection code.
3443 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
3444 (mips_cpu_to_str): New function.
3445 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
3446 Use CPU_* defines instead of hardcoded numbers.
3447
3448 * doc/as.texinfo: Document new options.
3449 * doc/c-mips.texi: Ditto.
3450
3451 2000-09-12 Kazu Hirata <kazu@hxi.com>
3452
3453 * as.h: Fix formatting.
3454 * asintl.h: Likewise.
3455 * bit_fix.h: Likewise.
3456 * config/obj-aout.c: Likewise.
3457 * config/obj-aout.h: Likewise.
3458 * config/obj-bout.c: Likewise.
3459 * config/obj-bout.h: Likewise.
3460 * config/obj-coff.c: Likewise.
3461 * config/obj-coff.h: Likewise.
3462 * dwarf2dbg.h: Likewise.
3463 * expr.h: Likewise.
3464 * flonum.h: Likewise.
3465 * frags.h: Likewise.
3466 * itbl-ops.h: Likewise.
3467 * macro.h: Likewise.
3468 * read.h: Likewise.
3469 * sb.h: Likewise.
3470 * struc-symbol.h: Likewise.
3471 * subsegs.h: Likewise.
3472 * symbols.h: Likewise.
3473 * tc.h: Likewise.
3474 * write.h: Likewise.
3475
3476 2000-09-11 Kazu Hirata <kazu@hxi.com>
3477
3478 * bignum-copy.c: Fix formatting.
3479 * config/tc-i370.c: Likewise.
3480 * config/tc-i960.c: Likewise.
3481 * config/tc-m68k.c: Likewise.
3482 * ehopt.c: Likewise.
3483 * flonum-copy.c: Likewise.
3484 * flonum-konst.c: Likewise.
3485 * flonum-mult.c: Likewise.
3486 * literal.c: Likewise.
3487 * read.c: Likewise.
3488 * sb.c: Likewise.
3489 * stabs.c: Likewise.
3490 * subsegs.c: Likewise.
3491
3492 2000-09-09 Philip Blundell <philb@gnu.org>
3493
3494 * configure.in (arm*-*-uclinux*): New target.
3495 * configure: Regenerate.
3496
3497 2000-09-09 Kazu Hirata <kazu@hxi.com>
3498
3499 * input-file.c: Fix formatting.
3500 * itbl-ops.c: Likewise.
3501 * messages.c: Likewise.
3502
3503 2000-09-08 Philip Blundell <philb@gnu.org>
3504
3505 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
3506 offset is negative.
3507
3508 2000-09-07 H.J. Lu <hjl@gnu.org>
3509
3510 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3511 * configure: Rebuild.
3512
3513 2000-09-07 Kazu Hirata <kazu@hxi.com>
3514
3515 * atof-generic.c: Fix formatting.
3516 * config/tc-mips.c: Likewise.
3517 * config/tc-vax.c: Likewise.
3518 * input-scrub.c: Likewise.
3519
3520 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
3521
3522 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
3523 * configure.in (sh-*-linux*): Added.
3524 * configure: Rebuilt.
3525
3526 2000-09-06 Kazu Hirata <kazu@hxi.com>
3527
3528 * config/tc-hppa.c: Fix formatting.
3529
3530 * ecoff.c: Fix formatting.
3531
3532 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3533
3534 * configure: Rebuilt with new libtool.m4.
3535
3536 2000-09-05 Kazu Hirata <kazu@hxi.com>
3537
3538 * cgen.c: Fix formatting.
3539 * config/tc-ia64.c: Likewise.
3540
3541 2000-09-05 Nick Clifton <nickc@redhat.com>
3542
3543 * aclocal.m4: Regenerate.
3544 * config.in: Regenerate.
3545 * configure: Regenerate.
3546 * po/gas.pot: Regenerate.
3547
3548 2000-09-05 Hans-Peter Nilsson <hp@axis.com>
3549
3550 * config/tc-cris.c: Correct comment typos.
3551
3552 2000-09-05 Eric Christopher <echristo@cygnus.com>
3553
3554 * config/tc-mn10300.c: Cleanup.
3555 (md_pcrel_from): Enable.
3556
3557 2000-09-05 Alan Modra <alan@linuxcare.com.au>
3558
3559 * expr.c (operand): Fix a comment typo.
3560 * write.c (write_relocs): Fix a signed/unsigned warning.
3561
3562 * config/tc-hppa.c (fudge_reg_expressions): New
3563 (hppa_force_reg_syms_absolute): New.
3564 (pa_equ): Allow reg_section expressions.
3565 * config/tc-hppa.c (md_optimize_expr): Define.
3566 (hppa_force_reg_syms_absolute): Prototype.
3567
3568 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
3569 (pa_parse_number): Pass in arg to select fp reg parsing.
3570 Return 1 to indicate format checks pass. If strict, then only
3571 accept a register or register symbol. Return value in...
3572 (pa_number): New static for pa_parse_number.
3573 (FP_REG_BASE): Define.
3574 (FP_REG_RSEL): Define.
3575 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
3576 appropriate. White space changes.
3577 (need_pa11_opcode): Don't bother passing any params, get them from
3578 globals instead.
3579 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
3580 Remove extraneous check in case 'Q'.
3581 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
3582 reg, set section of resulting symbol to reg_section.
3583 (pa_parse_space_stmt): Modify call to pa_parse_number.
3584 (pa_space): Likewise.
3585
3586 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
3587 (hppa_force_relocation): Handle vtable relocs.
3588 (pa_vtable_entry): New.
3589 (pa_vtable_inherit): New.
3590 (md_pseudo_table): Add entries for vtable pseudos.
3591 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
3592 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
3593 against weak syms.
3594 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
3595 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
3596 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
3597 millicode import.
3598 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
3599 specify a symbol type.
3600
3601 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
3602 dependent things together.
3603 (md_elf_symbol_type): Define.
3604
3605 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
3606 symbol.
3607 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
3608
3609 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
3610 (obj_elf_vtable_entry): Declare.
3611
3612 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
3613 and export function.
3614 (obj_elf_vtable_entry): Similarly.
3615 (elf_pseudo_table): Fix the damage with a cast.
3616
3617 2000-09-03 Richard Henderson <rth@cygnus.com>
3618
3619 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
3620 for template selection when a label is needed.
3621
3622 2000-09-02 Kazu Hirata <kazu@hxi.com>
3623
3624 * config/tc-ia64.c: Fix formatting.
3625
3626 2000-09-02 Nick Clifton <nickc@redhat.com>
3627
3628 * configure.in: Increase version number to 2.10.91.
3629 * configure: Regenerate.
3630 * aclocal.m4: Regenerate.
3631 * config.in: Regenerate.
3632 * po/gas.pot: Regenerate.
3633 * Makefile.in: Regenerate.
3634
3635 2000-09-01 Alexandre Oliva <aoliva@redhat.com>
3636
3637 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
3638 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
3639 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
3640 similar relocs.
3641 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
3642 branches.
3643
3644 2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3645
3646 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
3647 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
3648 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
3649 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
3650 (GOT_symbol): New variable.
3651 (md_undefined_symbol): Set it.
3652
3653 2000-09-01 Richard Henderson <rth@cygnus.com>
3654
3655 * config/tc-ia64.c (match): Don't inline.
3656 (extra_goodness): New.
3657 (md_begin): Prefer nop.f and nop.b for best_template.
3658
3659 2000-08-31 Kazu Hirata <kazu@hxi.com>
3660
3661 * as.c: Fix formatting.
3662 * cond.c: Likewise.
3663 * frags.c: Likewise.
3664 * macro.c: Likewise.
3665
3666 2000-08-31 Eric Christopher <echristo@cygnus.com>
3667
3668 * config/tc-mn10300.c: Cleanup and fix warnings.
3669 (md_pseudo_table): Add initializers.
3670 (md_show_usage): Cleanup.
3671 (md_parse_option): Fix warnings.
3672 (md_undefined_symbol): Fix warnings.
3673 (md_conver_frag): Fix warnings.
3674 (tc_gen_reloc): Fix warnings.
3675 (md_apply_fix3): Fix warnings.
3676 (check_operand): Fix warnings.
3677
3678 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3679
3680 * acinclude.m4: Include libtool and gettext macros from the
3681 top level.
3682 * aclocal.m4, configure: Rebuilt.
3683
3684 2000-08-30 Mark Hatle <mhatle@mvista.com>
3685
3686 * config/tc-ppc.c (md_parse_option): Recognize -m405.
3687
3688 2000-08-31 Kazu Hirata <kazu@hxi.com>
3689
3690 * listing.c: Fix formatting.
3691
3692 2000-08-29 Kazu Hirata <kazu@hxi.com>
3693
3694 * app.c: Fix a comment typo. Fix formatting.
3695
3696 2000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3697
3698 * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
3699 offset of the target destination for jmp instructions.
3700 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
3701
3702 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3703
3704 * NEWS: Mention support for CRIS.
3705
3706 Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
3707
3708 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
3709 Sets `.lcomm' alignment to zero.
3710
3711 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
3712
3713 * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
3714 TC_FIX_ADJUSTABLE): Define.
3715
3716 2000-08-23 Jim Wilson <wilson@cygnus.com>
3717
3718 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
3719 unwind.personality_routine is set.
3720
3721 2000-08-23 H.J. Lu <hjl@gnu.org>
3722
3723 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
3724
3725 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
3726
3727 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
3728 environment is pe.
3729
3730 2000-08-22 H.J. Lu <hjl@gnu.org>
3731
3732 * config.in (STRICTCOFF): New for strict COFF.
3733
3734 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
3735 i386-*-go32* and i386-go32-rtems*.
3736 * configure: Rebuilt.
3737
3738 * config/obj-coff.c (obj_coff_endef): Follow the historical
3739 behavior if STRICTCOFF is not defined.
3740
3741 * doc/internals.texi: Document STRICTCOFF.
3742
3743 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
3744
3745 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
3746 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
3747 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
3748 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
3749 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
3750 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
3751 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
3752 Likewise.
3753
3754 2000-08-22 Eric Christopher <echristo@cygnus.com>
3755
3756 * config/tc-mn10300.c: (md_apply_fix): New function.
3757 (mn10300_force_relocation): New function.
3758 (mn10300_fix_adjustable): New function.
3759
3760 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
3761 (TC_HANDLES_FX_DONE): Define.
3762 (obj_fix_adjustable): Define.
3763 (MD_APPLY_FIX3): Define.
3764 (TC_LINKRELAX_FIXUP): Define.
3765
3766 * write.c: (TC_LINKRELAX_FIXUP): Define if not
3767 previously defined.
3768 (fixup_segment): Use TC_LINKRELAX_FIXUP.
3769
3770 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
3771
3772 2000-08-21 Jason Eckhardt <jle@cygnus.com>
3773
3774 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
3775 if the fixup resulted in a relocation.
3776
3777 2000-08-18 Nick Clifton <nickc@redhat.com>
3778
3779 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
3780 Make reference to first element of shift_names explicit.
3781
3782 2000-08-18 Alexandre Oliva <aoliva@redhat.com>
3783
3784 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
3785 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
3786 add a symbol's address. Removed all target-specific #ifdefs that
3787 used to accomplished the same.
3788 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3789 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3790 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3791 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3792 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
3793
3794 2000-08-17 Kazu Hirata <kazu@hxi.com>
3795
3796 * dwarf2dbg.c: Fix formatting.
3797
3798 2000-08-17 Nick Clifton <nickc@redhat.com>
3799
3800 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
3801 to be recoded as logical shift lefts by zero.
3802
3803 2000-08-16 Jim Wilson <wilson@cygnus.com>
3804
3805 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
3806 postincrement modified registers. Handle IA64_OPND_R3_2 addl
3807 source registers.
3808 (note_register_values): Handle IA64_OPND_R3_2 operands.
3809
3810 2000-08-16 Jason Eckhardt <jle@cygnus.com>
3811
3812 * config/tc-i860.c (md_operand): Silly typo fixed.
3813
3814 2000-08-16 Nick Clifton <nickc@redhat.com>
3815
3816 * config/tc-arm.c (struct asm_shift): Delete.
3817 (shift[]): Delete.
3818 (enum asm_shift_index): New.
3819 (struct asm_shift_properties): New.
3820 (struct asm_shift_name): New.
3821 (shift_properties[]); New.
3822 (shift_names[]); New.
3823
3824 (decode_shift): Use new structures.
3825 Issue a warning is "ROR #0" is used.
3826 Issue a warning if "ASR #0" or "LSR #0" is used.
3827
3828 (md_begin): Initialise arm_shift_hsh table from new
3829 asm_shift_name array.
3830
3831 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3832
3833 * config/tc-sparc.c: Kill all warnings.
3834 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
3835 in -xarch= as well.
3836 (md_show_usage): Update usage text.
3837
3838 2000-08-16 Nick Clifton <nickc@redhat.com>
3839
3840 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
3841 useful.
3842
3843 2000-08-15 Will Cohen <wcohen@redhat.com>
3844
3845 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
3846
3847 * config/tc-sh.c (md_assemble): Changed so debug_type
3848 test performed for ppi_assemble
3849 * config/tc-sh.c: Included dwarf2dbg.h.
3850 (debug_line): Defined.
3851 (md_assemble): Generates dwarf2 line info.
3852 (sh_finalize): New function. Finalize dwarf2 info.
3853 (assemble_ppi): Returns size of code generated.
3854 (build_Mytes): Returns size of code generated.
3855 (md_pseudo_table): Added "file" and "loc" psuedo ops.
3856 * config/tc-sh.h (md_end): Defined.
3857 (sh_finalize): Declared.
3858
3859 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
3860
3861 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
3862 md_number_to_chars.
3863
3864 2000-08-14 Nick Clifton <nickc@redhat.com>
3865
3866 * config/tc-arm.c (do_bx): Allow "bx pc".
3867
3868 2000-08-14 Jim Wilson <wilson@cygnus.com>
3869
3870 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
3871 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
3872 (md_begin): Change assignment to md.flag to OR in the new bit.
3873
3874 2000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
3875
3876 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
3877 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
3878 C_MOU, and C_EOS.
3879
3880 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3881
3882 * NEWS: Mention i860 support.
3883
3884 Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
3885
3886 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3887
3888 2000-08-14 Andreas Schwab <schwab@suse.de>
3889
3890 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
3891
3892 2000-08-11 Andreas Schwab <schwab@suse.de>
3893
3894 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
3895 argument.
3896
3897 2000-08-11 Kazu Hirata <kazu@hxi.com>
3898
3899 * expr.c: Fix formatting.
3900 * config/obj-bout.c: Likewise.
3901
3902 2000-08-10 Jason Eckhardt <jle@cygnus.com>
3903
3904 * doc/c-i860.texi: Flesh out the i860 section more.
3905
3906 2000-08-10 Kazu Hirata <kazu@hxi.com>
3907
3908 * symbols.c: Fix formatting.
3909 * expr.c: Likewise.
3910
3911 Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
3912
3913 * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
3914 modifier has the IgnoreSize bit set.
3915
3916 2000-08-09 Alan Modra <alan@linuxcare.com.au>
3917
3918 From Rodney Brown <RodneyBrown@mynd.com>
3919 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
3920 * configure: Regenerate.
3921
3922 2000-08-09 Kazu Hirata <kazu@hxi.com>
3923
3924 * hash.c: Fix formatting.
3925 * gasp.c: Likewise.
3926
3927 2000-08-08 Jason Eckhardt <jle@cygnus.com>
3928
3929 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
3930 (i860_fix_info): New enum.
3931 (MD_APPLY_FIX3): Define.
3932 (WORKING_DOT_WORD): Define.
3933 (TC_HANDLES_FX_DONE): Define.
3934 (DIFF_EXPR_OK): Define.
3935 (LISTING_HEADER): Define.
3936 (TARGET_FORMAT): Select target format based on endian flag.
3937 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
3938 (target_big_endian): Add external declaration.
3939
3940 * config/tc-i860.c: All existing code reworked completely. Other
3941 new code shown below.
3942 (SYNTAX_SVR4): Define.
3943 (target_warn_expand): New variable.
3944 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
3945 (md_longopts): Declare and define with new options (-EL, -EB,
3946 and -mwarn-expand).
3947 (md_show_usage): New function.
3948 (md_operand): New function.
3949 (obtain_reloc_for_imm16): New function.
3950 (md_apply_fix3): New function.
3951 (tc_gen_reloc): New function.
3952
3953 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3954
3955 * config/tc-m68hc11.c (build_jump_insn): Make sure the
3956 2 bytes of the jump address are in the same frag.
3957 (find): Accept 68hc12 register indirect modes.
3958
3959 * NEWS: Mention 68HC11 & 68HC12 support.
3960
3961 2000-08-07 Richard Henderson <rth@cygnus.com>
3962
3963 * config/tc-ia64.c (unwind): Add prologue_mask member.
3964 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
3965 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
3966 (dot_body): Clear unwind.prologue_mask.
3967 (dot_prologue): Set it. Accept a register second argument.
3968
3969 2000-08-07 Kazu Hirata <kazu@hxi.com>
3970
3971 * config/atof-ieee.c: Fix formatting.
3972 * config/atof-tahoe.c: Likewise.
3973
3974 2000-08-06 Nick Clifton <nickc@cygnus.com>
3975
3976 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
3977 work.
3978
3979 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
3980 of .popsection, .previous, .pushsection, .subsection,
3981 .version, .vtable_entry, .vtable_inherit and .weak.
3982
3983 2000-08-05 Kazu Hirata <kazu@hxi.com>
3984
3985 * config/tc-cris.c: Fix formatting.
3986 * config/tc-i386.c: Likewise.
3987 * config/tc-sparc.c (sparc_ip): Simplify the code.
3988
3989 2000-08-04 Kazu Hirata <kazu@hxi.com>
3990
3991 * config/tc-cris.c: Rearrange code for readability.
3992 * config/tc-d10v.c: Fix formatting.
3993 * config/tc-m32r.c: Likewise.
3994 * config/tc-sparc.c: Likewise.
3995
3996 2000-08-02 Jim Wilson <wilson@cygnus.com>
3997
3998 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
3999 before ia64_find_opcode.
4000 (md_assemble): Likewise.
4001
4002 2000-08-01 Nick Clifton <nickc@cygnus.com>
4003
4004 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
4005 Undo some formatting fixes.
4006
4007 2000-08-01 Kazu Hirata <kazu@hxi.com>
4008
4009 * config/obj-som.c: Fix formatting.
4010 * config/obj-ieee.c: Likewise.
4011 * config/tc-arm.c: Likewise.
4012 * config/tc-v850.c: Likewise.
4013
4014 2000-08-01 Nick Clifton <nickc@redhat.com>
4015
4016 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
4017 index by command line option.
4018
4019 2000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4020
4021 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
4022 (@node M68K-Branch): Rewrite to match the reality.
4023
4024 2000-07-31 Jason Eckhardt <jle@cygnus.com>
4025
4026 * doc/c-i860.texi: New file.
4027 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
4028 * doc/Makefile.in: Regenerate.
4029 * doc/all.texi: Add I860 as relevant architecture.
4030 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
4031
4032 2000-07-31 Kazu Hirata <kazu@hxi.com>
4033
4034 * config/tc-d30v.c: Fix formatting.
4035
4036 2000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4037
4038 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
4039 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
4040 long emit a long branch if available instead of an absolute jump, never
4041 emit absolute jumps for anything with --pcrel.
4042
4043 * doc/c-m68k.texi: Document new command line option.
4044
4045 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
4046
4047 * config/tc-avr.c: Use PARAMS macro in function declarations.
4048 Don't declare md_pcrel_from_section (already in tc-avr.h).
4049 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
4050 (avr_operand): Don't set (unsigned) op_mask to -1.
4051
4052 2000-07-28 Jason Eckhardt <jle@cygnus.com>
4053
4054 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
4055 * configure: Regenerated.
4056 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
4057 of operand to the .type directive (.e.g, "type").
4058
4059 2000-07-28 Alan Modra <alan@linuxcare.com.au>
4060
4061 * as.h (warn_comment, found_comment, found_comment_file): Declare.
4062 * app.c (do_scrub_chars): Record where first comment found.
4063 * read.c (read_a_source_file): Init found_comment on entry, and
4064 notify whether comments found on exit.
4065 * config/tc-hppa.c (md_shortopts): Add "c".
4066 (md_longopts): Add warn-comment.
4067 (md_parse_option): Handle it.
4068 (md_show_usage): Show available options.
4069 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
4070
4071 Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
4072
4073 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
4074 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
4075 sym_ptr_ptr
4076 (md_estimate_size_before_relax): Don't fall off end of function.
4077
4078 2000-07-27 Kazu Hirata <kazu@hxi.com>
4079
4080 * config/tc-avr.c: Fix formatting.
4081 * config/tc-ns32k.c: Likewise.
4082
4083 2000-07-27 Alan Modra <alan@linuxcare.com.au>
4084
4085 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
4086
4087 2000-07-27 Kazu Hirata <kazu@hxi.com>
4088
4089 * config/tc-d10v.c: Fix formatting.
4090 * config/tc-z8k.c: Likewise.
4091 * config/tc-sparc.c: Likewise.
4092
4093 2000-07-26 Dave Brolley <brolley@redhat.com>
4094
4095 * cgen.c (queue_fixup): Declare opinfo.
4096 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
4097 (gas_cgen_md_operand): Ditto.
4098 (gas_cgen_md_apply_fix3): Ditto.
4099
4100 2000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
4101
4102 * config/obj-coff.c (obj_frob_symbol): Don't merge
4103 labels. Don't merge if the symbol isn't constant. Return
4104 immediately if a symbol is merged.
4105
4106 2000-07-22 Alan Modra <alan@linuxcare.com.au>
4107
4108 * frags.c (frag_align): Correct absolute section alignment.
4109
4110 2000-07-20 DJ Delorie <dj@redhat.com>
4111
4112 * config/obj-coff.c (obj_frob_symbol): revert previous change,
4113 it breaks linking against DLLs.
4114
4115 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
4116
4117 * configure.in: Add CRIS support.
4118 * configure: Regenerate.
4119 * Makefile.am: (CPU_TYPES): Add cris.
4120 (CPU_OBJ_VALID) [aout]: Add cris.
4121 (MULTI_CPU_TYPES): Add cris.
4122 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
4123 [coff]: Only i386 and mips are valid.
4124 (TARGET_CPU_CFILES): Add config/tc-cris.c.
4125 (TARGET_CPU_HFILES): Add config/tc-cris.h.
4126 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
4127 Regenerate dependencies.
4128 * Makefile.in: Regenerate.
4129 * aclocal.m4: Regenerate.
4130 * as.c: Declare crisaout, criself.
4131 * config/tc-cris.h, config/tc-cris.c: New.
4132 * config/e-criself.c, config/e-crisaout.c: New.
4133 * po/POTFILES.in, po/gas.pot: Regenerate.
4134
4135 2000-07-20 Kazu Hirata <kazu@hxi.com>
4136
4137 * read.c: Fix formatting.
4138 * write.c: Fix formatting.
4139
4140 2000-07-19 H.J. Lu <hjl@gnu.org>
4141
4142 * sb.c: Include <stdlib.h> if exists for abort ().
4143
4144 2000-07-19 Alan Modra <alan@linuxcare.com.au>
4145
4146 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
4147 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
4148 (pa_type_args): Same here.
4149
4150 2000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
4151
4152 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
4153 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
4154 the storage class is already set.
4155
4156 2000-07-17 Kazu Hirata <kazu@hxi.com>
4157
4158 * config/tc-m68hc11.c: Fix formatting.
4159 * config/tc-mn10200.c: Likewise.
4160 * config/tc-mn10300.c: Likewise.
4161 * config/tc-pj.c: Likewise.
4162 * config/tc-tic80.c: Likewise.
4163 * config/tc-w65.c: Likewise.
4164
4165 2000-07-17 Frank Ch. Eigler <fche@redhat.com>
4166
4167 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
4168 is defined.
4169
4170 2000-07-15 Ian Lance Taylor <ian@zembu.com>
4171
4172 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
4173 @code.
4174
4175 2000-07-15 Alan Modra <alan@linuxcare.com.au>
4176
4177 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
4178 ELF as are used for SOM (except the 32-bit reloc one) to decide
4179 whether a symbol can be reduced to a section symbol. Expand on
4180 the comment for symbols involved in LR% and RR% expressions.
4181
4182 2000-07-14 Nick Clifton <nickc@cygnus.com>
4183
4184 * config/tc-mips.c (mips_disable_float_construction): New
4185 static variable. Set to true if doubles should not be
4186 constructed by loading two single width fp registers with
4187 halves of the value.
4188 (mips_ip): Test mips_disable_float_construction.
4189 (md_longopts): Add command line switches --construct-floats
4190 and --no-construct-floats.
4191 (md_parse_option): Parse new command line options.
4192 (md_show_usage): Describe new command line options.
4193
4194 * doc/c-mips.texi: Document new command line options.
4195
4196 2000-07-13 Koundinya K <kk@ddeorg.soft.net>
4197
4198 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
4199 * configure: Regenerate.
4200
4201 2000-07-13 Hans-Peter Nilsson <hp@axis.com>
4202
4203 * configure.in (DEFAULT_EMULATION setting): Revert part of
4204 2000-07-01 change that set te_multi=multi unless set to tmips.
4205 * configure: Regenerate.
4206
4207 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4208
4209 * config/obj-coff.c (coff_frob_section): Add padding to the last
4210 section when aligning it increases its size.
4211
4212 2000-07-11 Kazu Hirata <kazu@hxi.com>
4213
4214 * config/tc-tic54x.c: Fix formatting.
4215
4216 2000-07-10 Kazu Hirata <kazu@hxi.com>
4217
4218 * config/tc-h8500.c: Fix formatting.
4219 * config/tc-tic54x.c: Fix formatting.
4220
4221 2000-07-10 Alan Modra <alan@linuxcare.com.au>
4222
4223 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
4224 displacements correctly.
4225
4226 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
4227
4228 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
4229
4230 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
4231 warning.
4232 (hash_jam): Ditto.
4233
4234 2000-07-09 Alan Modra <alan@linuxcare.com.au>
4235
4236 From David Huggins-Daines <dhd@linuxcare.com>
4237 * config/te-hppalinux64.h: Add a new emulation.
4238 * configure.in (emulations): Add configure bits to support the
4239 64-bit Linux/parisc target.
4240 * configure: Regenerate.
4241
4242 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
4243 (md_shortopts): Add `V' for ELF.
4244
4245 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
4246 when SOM or ELF_ARG_RELOC are defined.
4247 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
4248 ELF_ARG_RELOC are defined.
4249 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
4250 (pa_stringer): ..Do it here instead. Fix comment typos.
4251 (hppa_force_relocation): Cast enums to int before comparing with
4252 ints.
4253
4254 From Ryan Bradetich <rbradetich@uswest.net>
4255 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
4256 redifinition warning.
4257 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
4258 (hppa_force_relocation): ditto
4259 (md_apply_fix): Added cast to buf to fix warnings.
4260
4261 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
4262 cons_fix_new_hppa, hppa_force_relocation): Prototype.
4263
4264 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
4265 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
4266 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
4267 reloc_type** to avoid warnings in switch.
4268 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
4269 little earlier instead.
4270
4271 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
4272 and elf.
4273 (pa_type_args): Use symbol_arg_reloc_info.
4274 (struct pa_it): Make arg_reloc unsigned int.
4275 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
4276 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
4277 (pa_code): Delete. pa_text duplicates this function.
4278 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
4279 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
4280 int.
4281 (cons_fix_new_hppa): Actually change selector to e_fsel when
4282 warning about assuming so.
4283 (tc_gen_reloc): More example elf arg reloc code.
4284 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
4285 (hppa_force_relocation): Likewise.
4286
4287 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
4288 files.
4289 (pa_end_of_source): Prototype.
4290 (hppa_fix_adjustable): Prototype.
4291 (LABELS_WITHOUT_COLONS): Move it..
4292 * config/te-hppa.h: To here.
4293
4294 * config/te-hppa64.h: New file.
4295
4296 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
4297 type.
4298 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
4299 format -10, -16, 16 relocs.
4300 (hppa_elf_mark_end_of_function): Test for null
4301 last_call_info->start_symbol
4302
4303 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
4304 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
4305 re_assesmble_* functions. Delete extraneous statements. Fix
4306 typos in comments.
4307 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
4308 insn to re_assemble_*.
4309
4310 2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
4311
4312 * doc/internals.texi (Expressions): Fix typo.
4313
4314 2000-07-08 Kazu Hirata <kazu@hxi.com>
4315
4316 * config/tc-sh.c: Fix formatting.
4317 * config/tc-tic54x.c: Fix formatting.
4318 * depend.c: Fix formatting.
4319 * flonum-konst.c: Likewise.
4320 * flonum-mult.c: Likewise.
4321
4322 2000-07-07 Kazu Hirata <kazu@hxi.com>
4323
4324 * config/tc-sh.c: Fix comments.
4325 * config/obj-vms.c: Fix comments.
4326 * config/tc-a29k.c: Likewise.
4327 * config/tc-alpha.c: Likewise.
4328 * config/tc-h8300.c: Likewise.
4329 * config/tc-h8500.c: Likewise.
4330 * config/tc-i370.c: Likewise.
4331 * config/tc-ia64.c: Likewise.
4332 * config/tc-m68hc11.c: Likewise.
4333 * config/tc-m68k.c: Likewise.
4334 * config/tc-mips.c: Likewise.
4335 * config/tc-ns32k.c: Likewise.
4336 * config/tc-ppc.c: Likewise.
4337 * config/tc-z8k.c: Likewise.
4338
4339 2000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
4340
4341 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
4342 Default to '(SEC_LOAD | SEC_DATA)'.
4343 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
4344
4345 * doc/internals.texi (CPU Backend): Describe
4346 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
4347
4348 Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4349
4350 * as.c (parse_args): NULL terminate the long option list.
4351
4352 Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
4353
4354 * config/tc-d30v.h: Include "write.h" for fixS.
4355 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
4356
4357 2000-07-05 Nick Clifton <nickc@cygnus.com>
4358
4359 * config/tc-d30v.c (write_2_short): Further changes to warning
4360 messages produced when combining EITHER_BUT_PREFER_MU attributed
4361 opcodes.
4362
4363 2000-07-05 DJ Delorie <dj@redhat.com>
4364
4365 * MAINTAINERS: new
4366
4367 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
4368
4369 * config/tc-arm.c (psrs): Accept combinations of flags.
4370
4371 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
4372
4373 * config/tc-avr.c: Change _ () to _() around all strings marked
4374 for translation (exception from the usual coding style).
4375 (avr_opt): New struct variable, how the new switches are set.
4376 (OPTION_MMCU): Define as 'm' and actually use.
4377 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
4378 (show_mcu_list): New function, display the list of known MCUs.
4379 (md_show_usage): Document the new switches. Call show_mcu_list.
4380 (avr_set_arch): Change 'm' to OPTION_MMCU.
4381 (md_parse_option): Call show_mcu_list if unknown MCU specified.
4382 Handle the new switches.
4383 (avr_operands): Disable warnings for undefined combinations of
4384 operands if -mall-opcodes. Disable warnings for skipping two-word
4385 instructions if enhanced core or -mno-skip-bug.
4386 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
4387 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
4388 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
4389 (avr_ldi_expression): Warn about implicit lo8().
4390 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
4391
4392 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
4393
4394 * configure.in: Add entry for mips-*-sysv4*MP*
4395 * configure: Rebuild
4396 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
4397 elf32-tradlittlemips for traditional mips targets.
4398 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
4399 test for Link Once sections as in adjust_reloc_syms.
4400 * config/te-tmips.h: New file for traditional mips targets. Define
4401 TE_TMIPS.
4402
4403 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
4404
4405 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
4406 flags argument is not present, don't change an existing section's
4407 section's attributes. If the flags argument is present, warn if the
4408 attributes don't match the section's current attributes. When
4409 long section names are supported, set SEC_LINK_ONCE and
4410 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
4411
4412 Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
4413
4414 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
4415 symbols; create them.
4416
4417 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
4418
4419 * write.c (set_segment_vma): New: Set vma and lma for a segment.
4420 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
4421
4422 2000-06-27 Aldy Hernandez <aldyh@redhat.com>
4423
4424 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
4425 expressions. Ignore the problem when handling 16 bit signed
4426 immediates, because the assembler will take care of the relocation
4427 later.
4428
4429 2000-06-27 Nick Clifton <nickc@cygnus.com>
4430
4431 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
4432 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
4433 sequential order, and emit warning messages if the input source
4434 code contains constructs like that, or parallel constructs
4435 containing such opcodes.
4436
4437 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4438
4439 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
4440 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
4441 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
4442 (md_show_usage): Update usage message.
4443 (md_parse_option): Allow redefinition of MCU type within the
4444 same avr[1-5] bfd machine type. Show both old and new MCU type
4445 in the error message.
4446 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
4447 Simplify 8K wrap code.
4448
4449 2000-06-25 Kazu Hirata <kazu@hxi.com>
4450
4451 * config/obj-aout.c: Remove all uses of DEFUN.
4452 * config/obj-ieee.c: Likewise.
4453 * config/tc-sh.c: Fix comment typos.
4454 * config/tc-tahoe.c: Likewise.
4455 * config/tc-vax.c: Likewise.
4456 * config/tc-w65.c: Likewise.
4457 * config/tc-z8k.c: Likewise.
4458 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
4459
4460 2000-06-24 DJ Delorie <dj@cygnus.com>
4461
4462 * config/tc-i386.c (md_estimate_size_before_relax): Revert
4463 more changes from Sept 1999
4464 (tc_i386_fix_adjustable): ditto
4465 (md_apply_fix3): ditto
4466
4467 2000-06-24 Frank Ch. Eigler <fche@redhat.com>
4468
4469 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
4470 (gas_cgen_parse_operand): Set it around expression() call.
4471 (gas_cgen_md_operand): Test for it before longjmp().
4472
4473 2000-06-24 Kazu Hirata <kazu@hxi.com>
4474
4475 * config/tc-h8500.c: Remove all uses of DEFUN.
4476 * config/tc-sh.c: Likewise.
4477 * config/tc-w65.c: Likewise.
4478 * config/tc-z8k.c: Likewise.
4479
4480 * config/tc-h8500.c: Fix typos in comments.
4481
4482 2000-06-23 Frank Ch. Eigler <fche@redhat.com>
4483
4484 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
4485 is defined.
4486
4487 2000-06-23 matthew green <mrg@redhat.com>
4488
4489 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
4490 defined. Fix error message for `[' grouping.
4491
4492 2000-06-22 Kazu Hirata <kazu@hxi.com>
4493
4494 * config/tc-h8300.c: Fix formatting and comment typos.
4495
4496 2000-06-22 Timothy Wall <twall@cygnus.com>
4497
4498 * config/tc-ia64.c (note_register_values): Move premature QP
4499 notation clearing into the appropriate place.
4500
4501 2000-06-22 Alan Modra <alan@linuxcare.com.au>
4502
4503 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
4504 first before anything else. Add bin-bugs.h, emul.h and progress.h
4505 Sort list of files as for $(OBJS) in Makefile.am.
4506
4507 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
4508 find one. Remake dependencies.
4509 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
4510 * Makefile.in: Regenerate.
4511 * doc/Makefile.in: Regenerate.
4512
4513 * config/tc-i386.c (i386_displacement): Don't assume a constant
4514 displacement is necessarily 16 bits when in 16 bit code mode.
4515 (md_assemble): Instead size the displacement here after we know
4516 for sure that a .code16gcc operand hasn't automatically added
4517 operand size prefixes.
4518
4519 2000-06-21 H.J. Lu <hjl@gnu.org>
4520
4521 * Makefile.am: Rebuild dependency.
4522 * Makefile.in: Rebuild.
4523
4524 2000-06-21 Kazu Hirata <kazu@hxi.com>
4525
4526 * config/tc-h8300.c (parse_reg): Make the function static.
4527 (parse_exp): Likewise.
4528
4529 2000-06-20 DJ Delorie <dj@cygnus.com>
4530
4531 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
4532 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
4533 for cygwin import libraries to work properly.
4534
4535 2000-06-20 H.J. Lu <hjl@gnu.org>
4536
4537 * Makefile.am: Rebuild dependency.
4538 * Makefile.in: Rebuild.
4539 * configure: Likewise.
4540 * doc/Makefile.in: Likewise.
4541
4542 2000-06-20 Timothy Wall <twall@cygnus.com>
4543
4544 * doc/internals.texi (CPU backend): Add @itemx for
4545 TC_START_LABEL_WITHOUT_COLON.
4546 * doc/c-tic54x.texi: New.
4547 * doc/as.texinfo: Add tic54x features and include primary tic54x
4548 documentation file.
4549 * doc/all.texi: Add C54X.
4550 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
4551 * doc/Makefile.in: Regenerate.
4552 * configure.in: Add tic54x and define LIBM for tic54x.
4553 * configure: Regenrate.
4554 * config/tc-tic54x.[ch]: New.
4555 * config/obj-coff.h: Add tic54x.
4556 * Makefile.am: (CPU_TYPES): Add tic54x.
4557 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
4558 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
4559 (as_new_LDADD): Add $(LIBM).
4560 * Makefile.in: Regenerate.
4561
4562 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4563
4564 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
4565 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
4566 * doc/as.texinfo: Likewise.
4567
4568 * configure, Makefile.in: Regenerate.
4569 * configure.in (emulations): Recognize m6811 and m6812.
4570 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
4571 Added files for 68hc11 and 68hc12 assembler.
4572 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
4573 * config/tc-m68hc11.h: Header definition for that assembler.
4574
4575 2000-06-18 Nick Clifton <nickc@redhat.com>
4576
4577 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
4578 instead of OCTETS_PER_BYTE.
4579
4580 * config/tc-v850.c: Fix compile time warnings.
4581 * config/tc-ppc.c: Fix compile time warnings.
4582
4583 2000-06-18 H.J. Lu <hjl@gnu.org>
4584
4585 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
4586 * configure: Rebuild.
4587
4588 2000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
4589
4590 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
4591 to BFD_ASSEMBLER.
4592
4593 2000-06-16 Nick Clifton <nickc@cygnus.com>
4594
4595 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
4596 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
4597
4598 * doc/c-mips.texi: Document newly accepted cpu variants.
4599
4600 2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
4601
4602 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
4603
4604 2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
4605
4606 * macro.c (getstring): Make it possible to escape the quote
4607 character.
4608
4609 Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
4610
4611 * config/tc-hppa.c (pa_export): Weak symbols can be global.
4612
4613 2000-06-13 H.J. Lu <hjl@gnu.org>
4614
4615 * configure: Regenerate.
4616
4617 2000-06-09 Alan Modra <alan@linuxcare.com.au>
4618
4619 * app.c (do_scrub_begin): Don't default lex[';'] as a line
4620 separator.
4621 * doc/internals.texi (line_separator_chars): Semicolon is no
4622 longer a default. Mention null and newline as defaults.
4623
4624 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
4625
4626 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
4627 * config/tc-i860.h (line_separator_chars): Likewise.
4628 * config/tc-h8300.c (line_separator_chars): Likewise.
4629 * config/tc-i960.c (line_separator_chars): Likewise.
4630 * config/tc-m68k.c (line_separator_chars): Likewise.
4631 * config/tc-mips.c (line_separator_chars): Likewise.
4632 * config/tc-ns32k.c (line_separator_chars): Likewise.
4633 * config/tc-sparc.c (line_separator_chars): Likewise.
4634 * config/tc-vax.c (line_separator_chars): Likewise.
4635
4636 * config/tc-h8300.c (comment_chars): Use string initialiser.
4637 * config/tc-i960.c (line_comment_chars): Likewise.
4638 * config/tc-z8k.c (comment_chars, line_comment_chars,
4639 line_separator_chars): Likewise.
4640
4641 * config/tc-arm.c (line_separator_chars): Always use `;', not just
4642 for TE_LINUX.
4643
4644 2000-06-08 Nick Clifton <nickc@cygnus.com>
4645
4646 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
4647 for size 1 fixes.
4648
4649 2000-06-08 David O'Brien <obrien@FreeBSD.org>
4650
4651 * configure.in (VERSION): Update to show this is the CVS mainline.
4652
4653 2000-06-08 Matthew Jacob <mjacob@feral.com>
4654
4655 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
4656 $at is the integer register $r28, vs. both $r28 and the floating
4657 point register $f28.
4658
4659 2000-06-08 James E. Wilson <wilson@cygnus.com>
4660
4661 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
4662 (dot_endp): Don't call ia64_flush_insns.
4663 (emit_one_bundle): Don't delete prologue/body records from
4664 unwind_record list in first loop. Rewrite second loop to account for
4665 this.
4666
4667 2000-06-07 David Mosberger <davidm@hpl.hp.com>
4668
4669 * config/tc-ia64.c: Add missing prototypes.
4670 (generate_unwind_image): Cast argument to output_unw_records call.
4671
4672 Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
4673
4674 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
4675
4676 Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
4677
4678 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
4679 (REGISTER_P): likewise.
4680 (avr_opcodes): uses include/opcode/avr.h
4681 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
4682
4683 2000-06-04 Alan Modra <alan@linuxcare.com.au>
4684
4685 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
4686 initializers too.
4687
4688 2000-06-03 H.J. Lu <hjl@gnu.org>
4689
4690 * read.c (is_end_of_line): Put back `;'.
4691
4692 2000-06-03 Alan Modra <alan@linuxcare.com.au>
4693
4694 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
4695
4696 2000-06-01 Alan Modra <alan@linuxcare.com.au>
4697
4698 * expr.c (operand): Test is_end_of_line outside switch to catch
4699 line separator chars that are also operators.
4700 (operator): Return O_illegal for line separator chars.
4701
4702 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
4703 entry (or `!' entry for TC_HPPA).
4704
4705 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
4706 before indexing is_end_of_line. Remove redundant check for '\0'.
4707 (fp_op2): Likewise.
4708 * config/tc-h8500.c (md_assemble): Likewise.
4709 * config/tc-mcore.c (md_assemble): Likewise.
4710 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
4711 (md_atof): Likewise
4712
4713 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
4714 is_end_of_line.
4715 * config/tc-mcore.c (mcore_cons): Likewise.
4716 (mcore_float_cons): Likewise.
4717 (mcore_stringer): Likewise.
4718 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
4719
4720 2000-06-01 Scott Bambrough <scottb@netwinder.org>
4721
4722 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
4723
4724 2000-05-29 Nick Clifton <nickc@cygnus.com>
4725
4726 * config/tc-sh.c: Fix compile time warning messages.
4727
4728 * config/tc-mips.c: Fix compile time warning messages.
4729
4730 2000-05-29 Philip Blundell <philb@gnu.org>
4731
4732 * doc/as.texinfo: Update copyright dates.
4733 (Local Labels): Delete misplaced mention of ARM.
4734 * NEWS: Mention ARM ELF support.
4735
4736 2000-05-27 Alexandre Oliva <aoliva@cygnus.com>
4737
4738 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
4739 it is modified, and use the real_size to compute the frag address
4740 for dwarf2 line info.
4741
4742 2000-05-27 Alan Modra <alan@linuxcare.com.au>
4743
4744 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
4745 line-matching scheme to cope with automake moving variables around.
4746 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
4747 * Makefile.in: Regenerate.
4748
4749 2000-05-26 Jakub Jelinek <jakub@redhat.com>
4750
4751 * config/tc-sparc.c (sparc_relax): New.
4752 (md_longopts): Add -relax and -no-relax options.
4753 (md_parse_options, md_show_usage): Likewise.
4754 (md_apply_fix3): Optimize tail call into branch always if possible.
4755
4756 Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
4757
4758 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
4759 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
4760 rules, with warning when a GAS statement specifies a packing that
4761 will result in an instruction being squashed.
4762 Added typdef packing_type and enumerals, changed various integer
4763 literals to use the enumerals.
4764
4765 2000-05-24 David Mosberger <davidm@hpl.hp.com>
4766
4767 * config/tc-ia64.c (dot_restorereg_p): New function.
4768 (md_pseudo_table): Add restorereg.p.
4769 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
4770 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
4771
4772 * config/tc-ia64.h (unw_record_type): Add unwabi.
4773 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
4774 called MASK with members for imask, and the masks produced by
4775 fr_mem, gr_mem, br_mem, and frgr_mem.
4776 (unw_p_record): Add members ABI and CONTEXT.
4777 (unw_x_record): Add member AB.
4778 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
4779 as pseudo-register for use during unwind info generation.
4780 (AR_PFS, AR_LC): New macros.
4781 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
4782 whose names start with an at sign (as in "@priunat").
4783 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
4784 register.
4785 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
4786 proc_end, unwind_info, personality_routine): Consolidate into
4787 "unwind" structure to reduce offset-table use. Add member
4788 NEXT_SLOT_NUMBER to track the slot number for the next instruction
4789 to be emitted.
4790 (output_R1_format, output_R3_format, output_P3_format,
4791 output_P6_format): Initialize R with zero to reduce compiler warnings.
4792 (output_P7_format): Ditto. Add `default' branch to switch
4793 statement to reduce compiler warnings.
4794 (output_P8_format, output_B1_format, output_B4_format): Ditto.
4795 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
4796 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
4797 into single argument.
4798 (output_X1_format, output_X3_format): Initialize R with zero to reduce
4799 compiler warnings. Merge A and B args into single argument.
4800 (output_X2_format, output_X4_format): Remove unused variable R. Merge
4801 A and B args into single argument.
4802 (free_record): Removed (wasn't used).
4803 (free_list_records): Also free imasks in prologue records.
4804 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
4805 (output_spill_mask): Remove.
4806 (output_unwabi): New function.
4807 (output_epilogue, output_label_state, output_copy_state): Call
4808 alloc_record.
4809 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
4810 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
4811 argument.
4812 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
4813 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
4814 as part of handling the prologue records. Emit region's imask if
4815 we have one. Handle unwabi, epilogue, label_state, copy_state,
4816 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
4817 spill_sprel_p, and spill_reg_p records.
4818 (set_imask, count_bits, slot_index): New function.
4819 (fixup_unw_records): Fix region size computation. Handle
4820 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
4821 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
4822 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
4823 set_imask accordingly. Update imask for gr_gr, and br_gr records.
4824 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
4825 (dot_save): Use manifest constants for applicaton registers.
4826 Handle REG_PR and REG_PRIUNAT.
4827 (dot_restore): Don't just ignore it.
4828 (dot_restorereg): New function..
4829 (generate_unwind_image): Ensure unwind info is a multiple of eight
4830 bytes, not just four bytes.
4831 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
4832 (dot_altrp): Don't just ignore it.
4833 (dot_savemem): New function. Replaces dot_savesp() and
4834 dot_savepsp(). Use manifest constants for applicaton registers.
4835 Handle REG_PR and REG_PRIUNAT.
4836 (dot_savef): Simplify.
4837 (dot_saveb): Support generation of br_gr.
4838 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
4839 dot_label_state, dot_copy_state): New function.
4840 (dot_unwabi): Don't just ignore it.
4841 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
4842 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
4843 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
4844 (emit_one_bundle): Set slot number for prologue/body records
4845 *before* emitting the first insn.
4846 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
4847 (md_begin): Declare "psp" pseudo-register.
4848 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
4849 so we don't get segfault.
4850 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
4851 counts as required per SW Conventions manual
4852 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
4853 output_preds_psprel, output_preds_sprel, output_spill_base,
4854 output_unat_psprel, output_unat_sprel, output_lc_psprel,
4855 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
4856 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
4857 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
4858 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
4859 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
4860 (dot_vframe): Implement.
4861 (dot_vframesp, dot_vframepsp): New function.
4862
4863 Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
4864
4865 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4866 * configure: Regenerate.
4867
4868 2000-05-23 Alan Modra <alan@linuxcare.com.au>
4869
4870 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
4871 (md_estimate_size_before_relax): so we can use it here instead of
4872 old kludges. Localise vars to blocks. Comment.
4873
4874 * frags.c (frag_new): Update fr_var comments.
4875 * frags.h (struct frag): Ditto.
4876
4877 2000-05-22 Richard Henderson <rth@cygnus.com>
4878
4879 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
4880 (pseudo_func): Add pcrel.
4881 (operand_match): Handle IA64_OPND_TGT64.
4882 (build_insn): Likewise.
4883 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
4884 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
4885 (fix_insn): Handle all three 64-bit relocation types.
4886
4887 Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
4888
4889 * obj.h (struct format_ops): New members begin, app_file,
4890 s_set_other, s_set_desc, s_get_type, s_set_type,
4891 separate_stab_sections, init_stab_section.
4892
4893 * config/obj-multi.h: Update GPL notice to v2.
4894 (obj_begin): New.
4895 (obj_app_file): New.
4896 (S_SET_SIZE): Test s_set_size for NULL before calling.
4897 (S_SET_ALIGN): Similar for s_set_align.
4898 (S_SET_OTHER): New.
4899 (S_SET_DESC): New.
4900 (S_GET_TYPE): New.
4901 (S_SET_TYPE): New.
4902 (SEPARATE_STAB_SECTIONS): New.
4903 (INIT_STAB_SECTION): New.
4904 (EMIT_SECTION_SYMBOLS): New.
4905 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
4906
4907 * config/obj-elf.h: Update GPL notice to v2.
4908 Mention that this file is included from obj-multi.h.
4909 (obj_begin): Wrap definition in ifndef.
4910 (elf_file_symbol): Constify declaration.
4911 (obj_app_file): Ditto.
4912 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
4913 Wrap in ifndef SEPARATE_STAB_SECTIONS.
4914
4915 * config/obj-elf.c (elf_s_set_other): New.
4916 (elf_file_symbol): Constify argument.
4917 (elf_separate_stab_sections): New.
4918 (elf_init_stab_section): New.
4919 (elf_format_ops): Add new members. Remove comma at end.
4920
4921 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
4922 (ecoff_format_ops): Add new fields. Remove comma at end.
4923 Mention inconsistency for emit_section_symbols.
4924
4925 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
4926
4927 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
4928 (coff_separate_stab_sections): New.
4929 (coff_format_ops): Add new members.
4930
4931 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
4932 (obj_aout_s_set_other): New.
4933 (obj_aout_s_set_desc): New.
4934 (obj_aout_s_get_type): New.
4935 (obj_aout_s_set_type): New.
4936 (obj_aout_separate_stab_sections): New.
4937 (aout_format_ops): New members added. Use obj_aout_process_stab,
4938 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
4939 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
4940 appropriate.
4941 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
4942
4943 2000-05-22 Alan Modra <alan@linuxcare.com.au>
4944
4945 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
4946 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
4947 (md_estimate_size_before_relax): Ensure jumps to weak and
4948 externally visible symbols are relocatable.
4949
4950 Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
4951
4952 * stabs.c (aout_process_stab): Make global.
4953 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
4954 * read.h (aout_process_stab): Declare.
4955
4956 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
4957 Generalize to *aout, *coff *elf.
4958 * configure: Regenerated.
4959
4960 * doc/internals.texi (Object format backend): Say
4961 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
4962
4963 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
4964 * Makefile.in: Regenerated.
4965
4966 2000-05-19 Catherine Moore <clm@cygnus.com>
4967
4968 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
4969
4970 2000-05-18 Alan Modra <alan@linuxcare.com.au>
4971
4972 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
4973 instruction to reflect change in re_assemble_*.
4974
4975 Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
4976
4977 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
4978 build PA64 ELF tools.
4979 * configure: Rebuilt.
4980
4981 2000-05-17 Alan Modra <alan@linuxcare.com.au>
4982
4983 * Makefile.am: Regenerate dependencies.
4984 * Makefile.in: Regenerate.
4985
4986 2000-05-15 Nick Clifton <nickc@cygnus.com>
4987
4988 * config/tc-arm.c (struct asm_psr): Add boolean field
4989 distinguishing between CSPR and SPSR. Rename 'number' field
4990 to 'field'.
4991 (psrs): Rearrange contents to match new asm_psr structure.
4992 (arm_psr_parse): Move next to psr_required_here. Make it
4993 return an asm_psr structure.
4994 (psr_required_here): Use asm_psr structure returned by
4995 arm_psr_parse.
4996 (do_msr): Reorganise to allow psr_required_here to be called
4997 only once.
4998 (md_undefined_name): Mark 'name' parameter as unused, since
4999 the COFF target does not use it.
5000
5001 2000-05-14 David O'Brien <obrien@FreeBSD.org>
5002
5003 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
5004 standards.
5005 * config/te-aux.h: Likewise.
5006 * config/te-dpx2.h: Likewise.
5007 * config/te-go32.h: Likewise.
5008 * config/te-hp300.h: Likewise.
5009 * config/te-hppa.h: Likewise.
5010 * config/te-i386aix.h: Likewise.
5011 * config/te-ic960.h: Likewise.
5012 * config/te-interix.h: Likewise.
5013 * config/te-nbsd532.h: Likewise.
5014 * config/te-pc532mach.h: Likewise.
5015 * config/te-ppcnw.h: Likewise.
5016 * config/te-psos.h: Likewise.
5017 * config/te-sparcaout.h: Likewise.
5018 * config/te-sun3.h: Likewise.
5019 * config/te-sysv32.h: Likewise.
5020
5021 2000-05-14 Alan Modra <alan@linuxcare.com.au>
5022
5023 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
5024 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
5025 and sign extend without an if statement.
5026 (build_bytes): Likewise.
5027
5028 2000-05-14 Kazu Hirata <kazu@hxi.com>
5029
5030 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
5031 X_add_symbol L_32 case.
5032
5033 2000-05-14 David O'Brien <obrien@FreeBSD.org>
5034
5035 * config/te-freebsd.h: New file.
5036
5037 2000-05-13 Alan Modra <alan@linuxcare.com.au>
5038
5039 * asintl.h (gettext, dgettext, dcgettext, textdomain,
5040 bindtextdomain): Replace defines with those from intl/libgettext.h
5041 to quieten gcc warnings.
5042
5043 * NEWS: Mention x86 .arch and -q.
5044
5045 * config/tc-i386.c (quiet_warnings): New.
5046 (md_assemble): Use quiet_warnings.
5047 (md_parse_option): Set quiet_warnings from -q.
5048 (md_show_usage): Mention -q, delete -m.
5049 (flag_do_long_jump): Delete.
5050 (md_parse_option): Remove -m.
5051 (md_show_usage): Remove -m.
5052 (md_create_long_jump): Remove useless flag_do_long_jump code.
5053
5054 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
5055 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
5056
5057 2000-05-13 Alan Modra <alan@linuxcare.com.au>
5058 Alexander Sokolov <robocop@netlink.ru>
5059
5060 * doc/c-i386.texi (i386-Arch): New section.
5061 (i386-Syntax): Mention .intel_syntax and .att_syntax.
5062
5063 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
5064 (smallest_imm_type): Use smallest opcode for shift by one if cpu
5065 architecture has been given and is not 486.
5066 (set_cpu_arch): New.
5067 (md_pseudo_table): Add .arch.
5068 (md_assemble): Warn if cpu architecture has been given and an
5069 unsupported instruction.
5070
5071 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
5072 Move operand_types bit defines after relevant template field.
5073 (template): Add cpu_flags.
5074 (Cpu*): Define.
5075 (arch_entry): New.
5076
5077 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
5078
5079 * config/tc-mn10300.h (md_end): Define.
5080 (mn10300_finalize): Declare.
5081 * config/tc-mn10300.c: Include dwarf2dbg.h.
5082 (debug_line): Define.
5083 (md_assemble): Generate dwarf2 line info.
5084 (mn10300_finalize): New function. Finalize dwarf2 info.
5085
5086 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
5087
5088 * config/tc-mips.c (md_estimate_size_before_relax): Use the
5089 external version of the relocation for weak symbols.
5090
5091 2000-05-08 David Mosberger <davidm@hpl.hp.com>
5092
5093 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
5094 frame size in units of 16 bytes, as required per SW Conventions manual.
5095 (output_unw_records): Output info-block header as a dword to get
5096 byte-order right.
5097
5098 2000-05-08 Alan Modra <alan@linuxcare.com.au>
5099
5100 * as.h: #include "file", not <file> on files from ../include.
5101 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
5102 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
5103 (md_convert_frag): Add ATTRIBUTE_UNUSED.
5104 (tc_coff_symbol_emit_hook): Ditto.
5105 (OPTCOUNT): Cast to int to avoid compiler warning.
5106 (md_begin): Fix signed/unsigned warnings.
5107
5108 2000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5109
5110 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
5111 ABRANCH LONG case for a conditional branch on a 68000.
5112 (md_estimate_size_before_relax): Likewise. Also handle
5113 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
5114 (m68k-ip: case ABSL): Relax absolute references to 16-bit
5115 PC-relative on all CPUs.
5116 (md_estimate_size_before_relax): Likewise.
5117
5118 2000-05-04 Alan Modra <alan@linuxcare.com.au>
5119
5120 * as.c (parse_args): Just mention current year in printed
5121 copyright message.
5122
5123 2000-05-03 J.T. Conklin <jtc@redback.com>
5124
5125 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
5126 unit registers.
5127 (md_parse_option): Recognize -m7400.
5128
5129 2000-05-03 Ian Lance Taylor <ian@zembu.com>
5130
5131 * config/atof-ieee.c (gen_to_words): When adding carry back in,
5132 don't permit lp to become less than the words array.
5133
5134 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
5135
5136 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
5137 Fix little-endian case.
5138
5139 2000-05-03 David O'Brien <obrien@NUXI.com>
5140
5141 * as.c (parse_args): Update copyright.
5142
5143 2000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
5144
5145 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
5146 for the .bss section too.
5147
5148 2000-05-02 Alan Modra <alan@linuxcare.com.au>
5149
5150 * configure.in: Set em=linux for hppa-*-linux.
5151 * configure: Regenerate.
5152 * doc/Makefile.in: Regenerate with correct automake.
5153
5154 * frags.c (frag_grow): Sanity check chunk_size.
5155
5156 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
5157 * config/obj-som.h: Likewise.
5158 * config/obj-ieee.h: Likewise.
5159
5160 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
5161
5162 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
5163 (md_pseudo_table): Fully initialise OBJ_ELF cases.
5164 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
5165 (pa_ip): low_sign_unext now returns via function value. Use
5166 re_assemble_* instead of dis_assemble_* and
5167 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
5168 unnecessarily.
5169 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
5170 (md_section_align, md_parse_option, md_show_usage,
5171 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
5172 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
5173 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
5174 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
5175 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
5176 pa_text): Likewise.
5177 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
5178 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
5179 outside of switch. Correct mask and shifting errors in case 10
5180 and case -11. In case 21, compare against signed range to suit
5181 hppa_field_adjust changes. In case 12, use re_assemble_12. In
5182 case 17 and case 22, use offsetT variable to properly check range.
5183 Use re_assemble_* here too.
5184 (evaluate_absolute): Change type of value to offsetT. Call
5185 hppa_field_adjust to do the work for us.
5186 (pa_parse_cmpb_64_cmpltr): Delete save_s.
5187 (pa_parse_cmpib_64_cmpltr): Ditto.
5188 (pa_build_unwind_subspace): Delete unused var subseg. Change type
5189 of i to unsigned int.
5190 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
5191 (pa_end_of_source): Return type is void.
5192
5193 Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
5194
5195 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
5196
5197 Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
5198
5199 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
5200 More comments added.
5201 (md_begin): Removed "construct symbols for each register name".
5202 Because register names conflicts with GCC generated function
5203 names.
5204 (avr_operand): Now constant numbers can be used as a register
5205 identifiers (0 as r0, 31 as r31).
5206 (md_assemble): use skip_space () before parsing instruction
5207 operands.
5208
5209 2000-05-01 Alan Modra <alan@linuxcare.com.au>
5210
5211 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
5212 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
5213 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
5214 * configure: Regenerate.
5215
5216 2000-04-29 Andreas Jaeger <aj@suse.de>
5217
5218 * as.h: Correctly check GCC version.
5219
5220 2000-04-26 David O'Brien <obrien@FreeBSD.org>
5221
5222 * doc/as.1: Fix unbalanced brackets.
5223
5224 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
5225 TE_FreeBSD.
5226 (line_comment_chars): Set to '/' if TE_FreeBSD.
5227
5228 Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
5229
5230 * configure.in: Configury support for PA64 (currently disabled).
5231 * configure: Rebuilt.
5232
5233 2000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
5234
5235 * config/tc-mips.c (s_change_sec): Use record_alignment, not
5236 bfd_set_section_alignment.
5237
5238 2000-04-25 Alan Modra <alan@linuxcare.com.au>
5239
5240 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
5241 than 32.
5242
5243 2000-04-24 Nick Clifton <nickc@cygnus.com>
5244
5245 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
5246 * doc/as.texinfo (Align): Include arm and strongarm in list of
5247 targets that have the second form of the behaviour of the .align
5248 directive.
5249
5250 2000-04-24 Mark Klein <mklein@dis.com>
5251
5252 * config/obj-som.c: Terminate obj_pseudo_table.
5253
5254 Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
5255
5256 * as.c (parse_args): Allow md_parse_option to override -a listing
5257 option.
5258 * config/obj-coff.c (add_lineno): Change type of offset parameter
5259 from "int" to "bfd_vma."
5260 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
5261 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
5262 (ppc_change_csect): Align correctly for XCOFF64.
5263 (ppc_machine): New function, which discards "ppc_machine" line.
5264 (ppc_tc): Cons for 8 when code is 64 bit.
5265 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
5266 relocations.
5267 (md_parse_option): Handle -a64 and -a32.
5268 (ppc_xcoff64): New.
5269 * config/tc-ppc.h (TARGET_MACH): Define.
5270 (TARGET_FORMAT): Move to function.
5271 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
5272
5273 Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
5274
5275 * config/tc-avr.c: New AVR_ISA_ defined.
5276 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
5277 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
5278 for `fmul', `movw' and `lpm R,Z' instructions.
5279 (avr_operands): Warn if current opcode is a two-word instruction
5280 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
5281 (avr_opcodes): New commands added.
5282 (REGISTER_P): Check 'a' and 'v' constraint letters.
5283 (mcu_types): New MCU added.
5284
5285 2000-04-22 Timothy Wall <twall@cygnus.com>
5286
5287 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
5288 to "natval".
5289 (operand_match): Conditionally insert default bit values for IMMU9.
5290
5291 2000-04-14 Matthew Green <mrg@cygnus.com>
5292
5293 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
5294 * configure: Rebuilt.
5295
5296 Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
5297 Jason Eckhardt <jle@cygnus.com>
5298
5299 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
5300
5301 * config/tc-hppa.c (CHECK_ALIGN): New macro.
5302 Added handling of new operand types l,y,&,fe,fE,fx.
5303
5304 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
5305 David Mosberger <davidm@hpl.hp.com>
5306 Timothy Wall <twall@cygnus.com>
5307 Andrew MacLeod <amacleod@cygnus.com>
5308 Jim Wilson <wilson@cygnus.com>
5309
5310 * Makefile.am (CPU_TYPES): Add ia64.
5311 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
5312 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
5313 * Makefile.in: Rebuild.
5314 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
5315 * configure: Rebuild.
5316 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
5317 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
5318 * expr.c (expr): Handle md_optimize_expr.
5319 * read.c (LEX_HASH): Add comment.
5320 * config/tc-ia64.c, config/tc-ia64.h: New files.
5321
5322 2000-04-21 Richard Henderson <rth@cygnus.com>
5323
5324 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
5325 bundling a non-delayed branch type instruction.
5326
5327 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
5328
5329 * config/tc-mn10300.c (HAVE_AM30): Define.
5330 (md_assemble): Use it.
5331
5332 2000-04-19 Alan Modra <alan@linuxcare.com.au>
5333
5334 * config/obj-elf.c (obj_elf_change_section): Check for changed
5335 section attributes.
5336
5337 * Makefile.am: (CPU_MULTI_VALID): Remove.
5338 (MULTI_CPU_TYPES): Define.
5339 (MULTI_CPU_OBJ_VALID): Define.
5340 (DEPTC): Use the above.
5341 (DEPOBJ): Same here.
5342 (DEP2): And here.
5343 Regenerate dependencies.
5344 * Makefile.in: Regenerate.
5345
5346 2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5347
5348 * Makefile.am (YACC, LEX): Get them from configure.
5349
5350 2000-04-18 H.J. Lu (hjl@gnu.org)
5351
5352 * config/tc-i386.c (offset_in_range): Use addressT instead of
5353 bfd_vma for non-bfd assemblers.
5354
5355 2000-04-17 Alan Modra <alan@linuxcare.com.au>
5356
5357 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
5358 doesn't give spurious errors.
5359
5360 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5361
5362 * as.h (SEEK_SET): Define if undefined.
5363
5364 2000-04-13 Alan Modra <alan@linuxcare.com.au>
5365
5366 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
5367 constants, and don't assume offsetT is 32 bits.
5368
5369 2000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
5370
5371 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
5372 (md_pcrel_from_section): Add prototype.
5373 (d10v_fix_adjustable): Add prototype.
5374 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
5375
5376 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
5377
5378 2000-04-12 Nick Clifton <nickc@cygnus.com>
5379
5380 * config/tc-d10v.c (find_opcode): Correctly calculate position of
5381 symbol in frag chain.
5382
5383 2000-04-10 Alan Modra <alan@linuxcare.com.au>
5384
5385 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
5386 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
5387 (fits_in_signed_word, smallest_imm_type): Ditto.
5388 (md_assemble): Use an offsetT var to hold offsetT values, not a
5389 long.
5390 (offset_in_range): New.
5391 (md_assemble): Use it.
5392 (md_convert_frag): Change type of target_address, opcode_address,
5393 and displacement_from_opcode_start to offsetT.
5394 (md_create_short_jump): Change type of offset to offsetT.
5395 (md_create_long_jump): Ditto.
5396 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
5397 (md_chars_to_number): Remove.
5398 (output_invalid): Remove duplicate prototype.
5399
5400 2000-04-09 Nick Clifton <nickc@cygnus.com>
5401
5402 * Makefile.am (CPU_TYPES): Add 'avr'.
5403 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
5404 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
5405
5406 * Makefile.in: Regenerate.
5407
5408 * doc/as.texinfo: Add M32R documentation.
5409
5410 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
5411
5412 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
5413 --enable-build-warnings option.
5414 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
5415 * Makefile.in, configure: Re-generate.
5416
5417 2000-04-07 Nick Clifton <nickc@cygnus.com>
5418
5419 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
5420 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
5421 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
5422 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
5423 (arm_force_relocation): Force relocations for
5424 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
5425
5426 Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5427
5428 * config/tc-sh.c (get_operands): There's no third operand if the
5429 first operand is an immediate.
5430
5431 Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5432
5433 * config/tc-sh.c (immediate): Delete.
5434 (sh_operand_info): Add immediate member.
5435 (parse_reg): Use A_PC for pc.
5436 (parse_exp): Add second argument 'op'. All callers changed.
5437 (parse_at): Expect pc to be coded as A_PC.
5438 Use immediate field in *op.
5439 (insert): Add fourth argument 'op'. All callers changed.
5440 (build_relax): Add second argument 'op'. All callers changed.
5441 (insert_loop_bounds): New function.
5442 (build_Mytes): Remove DISP_4.
5443 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
5444 (assemble_ppi): Use immediate field in *operand.
5445 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
5446 (md_apply_fix): Likewise.
5447 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
5448
5449 Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5450
5451 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
5452
5453 Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
5454
5455 * internals.texi (CPU backend): Document
5456 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
5457
5458 2000-04-04 Alan Modra <alan@linuxcare.com.au>
5459
5460 * po/gas.pot: Regenerate.
5461
5462 * as.c (show_usage): Restore translated part of bug string.
5463 * gasp.c (show_usage): Likewise.
5464
5465 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
5466 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
5467 than move-if-change.
5468 (DEP1): Modify for "gcc -MM".
5469 (DEPTC): Likewise.
5470 (DEPOBJ): Likewise.
5471 (DEP2): Likewise.
5472 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
5473 Update dependencies.
5474 * Makefile.in: Regenerate.
5475
5476 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
5477
5478 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
5479 (md_begin): Likewise.
5480 (HAVE_AM33): New macro.
5481 (md_assemble): Use it. Match r_regs and xr_regs only if
5482 HAVE_AM33.
5483
5484 2000-04-03 Alan Modra <alan@linuxcare.com.au>
5485
5486 * as.h: #include "bin-bugs.h"
5487 * as.c (show_usage): Use REPORT_BUGS_TO.
5488 * gasp.c: #include "bin-bugs.h"
5489 (show_usage): Use REPORT_BUGS_TO.
5490
5491 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
5492
5493 Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
5494
5495 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
5496 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
5497 adjustments.
5498
5499 2000-04-03 Alan Modra <alan@linuxcare.com.au>
5500
5501 * config/tc-i386.c (i386_immediate): Don't assume a constant
5502 immediate is necessarily 16 bits when in 16 bit code mode.
5503 (md_assemble): Instead set guess_suffix here after we have checked
5504 registers.
5505
5506 2000-04-02 Richard Henderson <rth@cygnus.com>
5507
5508 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
5509 quantities. Correct right shift sign extension.
5510 (build_insn): Make `number' unsigned long. Mask top 6 bits of
5511 32-bit value when shifting into place.
5512
5513 2000-04-01 Ian Lance Taylor <ian@zembu.com>
5514
5515 * app.c: Add ATTRIBUTE_UNUSED as needed.
5516 * config/tc-ppc.c: Likewise.
5517 (ppc_size): Make unsigned long.
5518 (ppc_insert_operand): Add casts to avoid warnings.
5519
5520 2000-03-31 Nick Clifton <nickc@cygnus.com>
5521
5522 * config/tc-d10v.h (md_flush_pending_output): Define.
5523
5524 2000-03-29 Nick Clifton <nickc@cygnus.com>
5525
5526 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
5527 segment. Works for both BFD_ASSEMBLER and others.
5528 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
5529
5530 2000-03-29 Nick Clifton <nickc@cygnus.com
5531
5532 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
5533
5534 2000-03-28 Alan Modra <alan@linuxcare.com.au>
5535
5536 * listing.c (LISTING_LHS_WIDTH): Default depends on
5537 LISTING_WORD_SIZE.
5538 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
5539
5540 2000-03-27 Ian Lance Taylor <ian@zembu.com>
5541
5542 * config/tc-sh.c (md_show_usage): Use backslash before newline in
5543 string literal.
5544
5545 2000-03-27 Alan Modra <alan@linuxcare.com.au>
5546
5547 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
5548
5549 * config/tc-avr.c (mcu_types): Add missing initialiser.
5550 (md_pcrel_from_section): Add prototype.
5551 (avr_operand): Remove redundant test of unsigned < 0.
5552 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
5553
5554 2000-03-27 Denis Chertykov <denisc@overta.ru>
5555
5556 * config/tc-avr.c: New file for AVR support.
5557 * config/tc-avr.h: Likewise.
5558 * configure.in: Add AVR support.
5559 * configure: Regenerate.
5560
5561 2000-03-26 Timothy Wall <twall@cygnus.com>
5562
5563 * gasp.c (macro_op): Add new argument to check_macro call.
5564 Macro structure definitions moved to macro.h
5565 * sb.h: Add argument to prototype for input_scrub_include_sb.
5566 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
5567 nesting checks with an additional flag.
5568 (struct input_save): Add flag to indicate whether current sb
5569 should be checked for proper macro/conditional nesting.
5570 (input_scrub_push/pop): Save/restore nest check flag.
5571 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
5572 defined.
5573 * macro.c (check_macro): Allow caller to retrieve parsed macro
5574 information if a pointer is provided. This information may be
5575 used by the new macro hooks.
5576 * macro.h: Update prototype for check_macro. Macro struct
5577 definitions moved here from macro.c/gasp.c.
5578 * read.c (read_a_source_file): Add parameter to check_macro call,
5579 and pass macro info to the macro hook, if defined.
5580 (input_scrub_insert_line): New. Allow insertion of a line of
5581 characters into the input stream.
5582 (input_scrub_insert_file): New. Allow insertion of an arbitrary
5583 file into the input stream.
5584 (s_include): Use input_scrub_insert_file.
5585 * internals.texi: Document new macro hooks.
5586 * as.h: New prototypes added.
5587
5588 2000-03-26 Alan Modra <alan@linuxcare.com.au>
5589
5590 * config/tc-i386.c: Don't start any as_bad or as_warn message with
5591 an initial capital letter.
5592 (i386_index_check): Reindent.
5593
5594 2000-03-19 Nick Clifton <nickc@cygnus.com>
5595
5596 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
5597 relative branches.
5598
5599 2000-03-17 Thomas de Lellis <tdel@windriver.com>
5600
5601 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
5602 instruction operand bad if Rd > 7 when generating
5603 thumb instructions. Prevents for example,
5604 "adr r12,label" from silently failing and generating
5605 the wrong instruction.
5606
5607 2000-03-17 Nick Clifton <nickc@cygnus.com>
5608
5609 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
5610 that have a destingation >= 0x400000.
5611 Fix compile time warning messages.
5612
5613 Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5614
5615 * config/tc-sh.c (md_begin): When encountering insn that are
5616 not supported by the current arch, only change the name if
5617 its contents are the same as prev_name.
5618 (get_specific): If the the architecture doesn't match, fail.
5619
5620 Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5621
5622 * config/tc-sh.c (IDENT_CHAR): Define.
5623 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
5624 matching back where it came from.
5625
5626 Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5627
5628 * config/tc-sh.c (md_show_usage): Add description of -dsp.
5629
5630 2000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
5631
5632 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
5633 normal operands.
5634
5635 2000-03-15 Kazu Hirata <kazu@hxi.com>
5636
5637 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
5638
5639 Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
5640
5641 * expr.c (operand) [case 'f']: When testing if '0f' can start a
5642 floating-point-number, make sure 'f' is in FLT_CHARS.
5643
5644 Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
5645
5646 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
5647 (s_lcomm_internal): Use it.
5648 * doc/internals.texi (CPU backend): Document it.
5649 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
5650 bytes.
5651
5652 2000-03-10 Geoffrey Keating <geoffk@cygnus.com>
5653
5654 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
5655 when embedded-pic.
5656
5657 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
5658 implementation doesn't have special handling for switch
5659 statements.
5660 (macro_build): Allow for code in sections other than .text.
5661 (macro): Likewise.
5662 (mips_ip): Likewise.
5663 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
5664 Don't perform relocs if we will be outputting them.
5665 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
5666 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
5667 embedded-pic.
5668
5669 2000-03-09 Catherine Moore <clm@cygnus.com>
5670
5671 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
5672 relocation type based on the entry in the fixup structure.
5673 Put S_IS_EXTERN processing back in.
5674
5675 2000-03-08 H.J. Lu (hjl@gnu.org)
5676
5677 * Makefile.am (install-exec-tooldir): Depend on
5678 install-exec-bindir for parallel make.
5679 * Makefile.in: Regenerated.
5680
5681 2000-03-06 Nick Clifton <nickc@cygnus.com>
5682
5683 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
5684 switch.
5685 (md_parse_option): Parse -m32r command line switch - disable m32rx
5686 compatability.
5687 (md_show_usage): Document new option.
5688
5689 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
5690 * doc/Makefile.in: Regenerate.
5691 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
5692
5693 2000-03-02 Michael Meissner <meissner@redhat.com>
5694
5695 * config/tc-d30v.c (check_range): Remove code that incorrectly
5696 sign extended values where bits < 32.
5697
5698 2000-03-02 H.J. Lu (hjl@gnu.org)
5699
5700 * configure.in: Support --enable-targets=all on ia32.
5701 * configure: Regenerated.
5702
5703 2000-03-01 Nick Clifton <nickc@cygnus.com>
5704
5705 * gasp.c (do_align): Remove bogus check of alignment value.
5706
5707 2000-02-27 Thomas de Lellis <tdel@windriver.com>
5708
5709 * config/obj-elf.c (elf_frob_symbol): Remove code which when
5710 TC_PPC was defined forced the type of a symbol with no other type
5711 to be BSF_OBJECT.
5712
5713 2000-02-27 Hans-Peter Nilsson <hp@axis.com>
5714
5715 * doc/internals.texi (CPU backend): Mention that
5716 line_separator_chars do not break up comments. Fix typos for
5717 LEX_AT and LEX_NAME descriptions. Document operands for
5718 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
5719 description of md_create_short_jump usage. Document argument for
5720 md_undefined_symbol.
5721
5722 2000-02-27 Jakub Jelinek <jakub@redhat.com>
5723
5724 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
5725 (md_parse_option): Handle it.
5726 (md_show_usage): Document it.
5727
5728 2000-02-27 Ian Lance Taylor <ian@zembu.com>
5729
5730 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
5731 opcode, for the instruction `pal19'. From Andrea Arcangeli
5732 <andrea@suse.de>.
5733
5734 2000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
5735
5736 * config/tc-i386.c (i386_immediate): Move constant operand sizing
5737 from here..
5738 (md_assemble): To here, before template operands are matched.
5739 Also ensure a constant immediate is sign extended when we know the
5740 size is at most 16 bits. This is to catch cases like "add
5741 $0xffc0,%ax" where we don't know the size, and thus that the
5742 immediate can be represented as Imm8S until after parsing the
5743 register operand.
5744 (i386_displacement): Similarly sign extend 16 bit constant
5745 displacements.
5746 (md_assemble): Relax 16-bit jump constant range check to suit sign
5747 extended displacements.
5748
5749 2000-02-26 Andreas Jaeger <aj@suse.de>
5750
5751 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
5752
5753 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5754
5755 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
5756 call operands when intel_syntax.
5757 (intel_float_operand): Return 2 for "fi...".
5758 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
5759 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
5760 earlier "SHORT" change.
5761 (md_assemble): When determining suffix from Regs, exclude
5762 InOutPortReg.
5763
5764 2000-02-24 Nick Clifton <nickc@cygnus.com>
5765
5766 * configure: Add arm-wince, mips-pe and sh-pe targets.
5767 * configure: Regenerate.
5768
5769 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
5770 sh-pe targets.
5771 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
5772 "pe-mips" for the mips-pe target.
5773
5774 * config/tc-arm.c (insns): Change displacement encoded in BL
5775 and B instructions if the target port is arm-wince.
5776 (do_ldst): Do not bias the relocation offset if the target
5777 port is arm-wince.
5778 (md_pcrel_from): Add in missing relocation offset bias if the
5779 target os arm-wince.
5780
5781 * config/tc-mips.c (mips_target_format): Support COFF flavour.
5782 (md_begin): Disable -G support for mips-pe target.
5783 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
5784 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
5785 COFF flavour.
5786
5787 * config/tc-sh.c (md_begin): sh-pe target is little endian.
5788 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
5789 assembler, just set the alignment to 4.
5790
5791 * config/te-wince-pe.h: New file for WinCE targets. Define
5792 TE_WINCE.
5793
5794 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5795
5796 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
5797 string instructions.
5798 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
5799 (i386_intel_memory_operand): After finding a segment override,
5800 check again for no `[' before looking for a displacement. Bomb if
5801 more than one displacement rather than silently discarding the
5802 second and subsequent ones. Free strings malloc'd by
5803 build_displacement_string.
5804
5805 2000-02-24 Catherine Moore <clm@cygnus.com>
5806
5807 * config/obj-som.c (obj_pseudo_table): Add "weak".
5808 (obj_som_weak): New routine.
5809
5810 2000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
5811
5812 * config/tc-i386.c (union i386_op): New.
5813 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
5814 Throughout file replace occurences of disps[n], imms[n], regs[n]
5815 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
5816 intel mode operand swapping. Add assert in regKludge and
5817 fake_zero_displacement code. Test i.types[n] when outputting
5818 displacements and immediates. Combine output of Disp16 with
5819 Disp32.
5820 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
5821 when in intel mode by (not) reversing fsub and fdiv operands
5822 before the template search. This fails for single operand
5823 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
5824 undefined. Instead fix the base_opcode after we've found the
5825 template. Move base_opcode xor with found_reverse_match from
5826 opcode output code to before this fix so we test for the correct
5827 opcodes.
5828 (md_assemble): Don't use strcmp when deciding to ignore the suffix
5829 check in intel mode. Instead compare opcodes.
5830
5831 * config/tc-i386.h (TC_RELOC): Delete.
5832 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
5833 with equivalent call to reloc.
5834
5835 * as.h (flag_m68k_mri): Move declaration after target include, and
5836 only declare when TC_M68K defined. Define as zero otherwise.
5837 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
5838 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
5839 Define as zero otherwise.
5840 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
5841 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
5842 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
5843 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
5844 testing whether defined.
5845 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
5846 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
5847 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
5848 rather than testing whether defined.
5849 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
5850 (parse_mri_cons): Declare and use only when TC_M68K.
5851 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
5852 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
5853 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
5854
5855 * NEWS: Mention IBM 370 support.
5856
5857 2000-02-23 Richard Henderson <rth@cygnus.com>
5858
5859 * config/tc-i386.c (md_assemble): When swapping operands for
5860 intel_syntax, assume everything that's not Imm or Disp is a
5861 register.
5862
5863 2000-02-23 Linas Vepstas <linas@linas.org>
5864
5865 * config/tc-i370.c, config/tc-i370.h: New files.
5866 * Makefile.am: Add support for Linux/IBM 370.
5867 * configure.in: Likewise.
5868 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
5869 * config/obj-elf.c: Include elf/i370.h
5870 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
5871
5872 * Makefile.in: Regenerate.
5873 * configure: Regenerate.
5874
5875 * doc/c-i370.texi: New file.
5876 * doc/all.texi: Include it.
5877 * doc/as.texinfo: And here.
5878 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5879 * doc/Makefile.in: Regenerate.
5880
5881 2000-02-19 Michael Meissner <meissner@redhat.com>
5882
5883 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
5884 determine if an instruction can be used in parallel with an ADDppp
5885 or SUBppp instruction.
5886
5887 2000-02-22 Andrew Haley <aph@cygnus.com>
5888
5889 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
5890
5891 2000-02-22 Andrew Haley <aph@cygnus.com>
5892
5893 * config/tc-mips.c (mips_gp32): New variable.
5894 (macro_build) Use mips_gp32.
5895 (mips_ip): Ditto.
5896 (md_longopts): Add "-mgp32" and "-mgp64".
5897 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
5898
5899 (OPTION_M7900): Change offset
5900 (OPTION_NO_M7900): Ditto.
5901
5902 2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5903
5904 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
5905 warning, and bump it to 1.
5906
5907 2000-02-22 Ian Lance Taylor <ian@zembu.com>
5908
5909 From Brad Lucier <lucier@math.purdue.edu>:
5910 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
5911 match format.
5912
5913 2000-02-21 Catherine Moore <clm@cygnus.com>
5914
5915 * config/tc-mips.c (MF_HILO_INSN): Define.
5916 (mips_7000_hilo_fix): Declare.
5917 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
5918 (md_parse_option): Check for 7000_HILO_FIX options.
5919 (OPTION_M7000_HILO_FIX): Define.
5920 (OPTION_NO_M7000_HILO_FIX): Define.
5921 * doc/c-mips.texi (-mfix7000): Describe.
5922
5923 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
5924
5925 * listing.c (print_lines): Remove unused variable `end'.
5926
5927 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
5928 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
5929 reloc_type when BFD_ASSEMBLER.
5930 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
5931 reloc_type when BFD_ASSEMBLER. Move common code out of switch
5932 statement and quell signed vs. unsigned comparison warning.
5933
5934 2000-02-18 Nick Clifton <nickc@cygnus.com>
5935
5936 * config/tc-d10v.c (find_opcode): Add a symbol's value to
5937 the computed frag offset, rather than overwriting it.
5938
5939 Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5940
5941 * config/tc-sh.c ("elf/sh.h"): Include.
5942 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
5943 (md.begin): Initialize target_arch.
5944 Only include opcodes in has table that match selected architecture.
5945 (parse_reg): Recognize register names for sh-dsp.
5946 (parse_at): Recognize post-modify addressing.
5947 (get_operands): The leading space is now optional.
5948 (get_specific): Remove FDREG_N support. Add support for sh-dsp
5949 arguments. Update valid_arch.
5950 (build_Mytes): Add support for SDT_REG_N.
5951 (find_cooked_opcode): New function, broken out of md_assemble.
5952 (assemble_ppi, sh_elf_final_processing): New functions.
5953 (md_assemble): Use find_cooked_opcode and assemble_ppi.
5954 (md_longopts, md_parse_option): New option: -dsp.
5955 * config/tc-sh.h (elf_tc_final_processing): Define.
5956 (sh_elf_final_processing): Declare.
5957
5958 Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
5959
5960 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
5961 the unwinder subspace. Save the current seg/subseg before creating
5962 the new seg/subseg.
5963
5964 2000-02-10 Nick Clifton <nickc@cygnus.com>
5965
5966 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
5967 little endian targets.
5968 (INST_BYTE1): Redefine to handle big and little endian
5969 targets.
5970 (cpu_type): New type: Select between M340 and M210.
5971 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
5972 instructions of the M340.
5973 (md_assemble): Add support for the MULSH and OPSR classes of
5974 instructions.
5975 (md_atof): Add support for little endian targets.
5976 (md_parse_option): Add support for -EL, -EB and -mcpu command
5977 line switches.
5978 (md_convert_frag): Add support for little endian targets.
5979 (md_apply_fix3): Add support for little endian targets.
5980 (md_number_to_chars): Add support for little endian targets.
5981
5982 2000-02-10 Timothy Wall <twall@redhat.com>
5983
5984 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
5985 defined, use it to verify the symbol just read should be a label.
5986
5987 2000-02-10 Timothy Wall <twall@redhat.com>
5988
5989 * app.c (do_scrub_chars): Handle "||" for parallel instructions
5990 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
5991 around colons when KEEP_WHITE_AROUND_COLON is defined.
5992 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
5993 and KEEP_WHITE_AROUND_COLON.
5994
5995 2000-02-08 Timothy Wall <twall@redhat.com>
5996
5997 * read.c (s_rept): Call do_repeat, which abstracts the repeat
5998 logic.
5999 (do_repeat): New. Abstract repeat logic so that a "break" can be
6000 implemented.
6001 (end_repeat): New. Provide support for a "break" out of the
6002 repeat loop.
6003 * read.h: Add prototypes for new functions.
6004
6005 2000-02-08 Timothy Wall <twall@redhat.com>
6006
6007 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
6008 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
6009 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
6010 non-zero.
6011
6012 2000-02-08 Timothy Wall <twall@redhat.com>
6013
6014 * read.c: Added elseif to directives table.
6015 * read.h: Added prototype for s_elseif.
6016 * doc/as.texinfo: Added description for elseif.
6017 * cond.c (s_elseif): New function
6018
6019 2000-02-04 Timothy Wall <twall@redhat.com>
6020
6021 * listing.c (print_lines): Remove conditionals causing bug in
6022 listings.
6023
6024 2000-02-03 Timothy Wall <twall@cygnus.com>
6025
6026 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
6027 default values.
6028 * frags.c (frag_new): Calculate fr_fix in octets
6029 (frag_now_fix) Return offset as target address offset (bytes).
6030 (frag_now_fix_octets) New - Return offset in octets (8-bit
6031 quantities).
6032 * frags.h: Added prototype for frag_now_fix_octets().
6033 Distinguish between octets and bytes in field descriptions.
6034 * listing.c (calc_hex): Account for octets vs bytes when
6035 printing addresses/offsets.
6036 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
6037 target is little-endian, print the octets in a word in big-endian
6038 order so that the display looks like a proper hexadecimal number,
6039 instead of having the octets reversed.
6040 * read.c (do_align): When recording alignment, alignment power
6041 should be in terms of target bytes (minimum addressible unit)
6042 instead of octets.
6043 (do_org) Convert ORG target address (byte) argument into an
6044 octet offset when generating a variable fragment.
6045 * symbols.c (resolve_symbol_value): Symbol final value
6046 converted to a target address offset (bytes) from its octet offset.
6047 * config/obj-coff.c (coff_frob_symbol): Symbol target address
6048 offset (bytes) is adjusted by the frag offset (octets) converted
6049 to bytes.
6050 (coff_frob_section) Section alignment power is in terms of bytes;
6051 convert it to an octet alignment power when calculating size (and
6052 size mask) in octets. Don't modify the section size in order to
6053 "align" it for TI COFF, since that format has a different method
6054 for storing alignment information.
6055
6056 2000-02-01 Timothy Wall <twall@cygnus.com>
6057
6058 * stabs.c (generate_asm_file): Escape backslashes in stabs file
6059 entries, matching the way GCC generates them. If not escaped, the
6060 filename is encoded incorrectly.
6061
6062 2000-01-31 Nick Clifton <nickc@cygnus.com>
6063
6064 * config/tc-arm.c (reg_table): Add support for ATPCS register
6065 naming conventions.
6066
6067 2000-01-31 Geoff Keating <geoffk@cygnus.com>
6068
6069 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
6070 already defined.
6071 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
6072 New macro.
6073 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
6074 of a symbol when we really care about its value.
6075
6076 2000-01-19 Chandra Chavva <cchavva@cygnus.com>
6077
6078 * config/tc-mcore.c (md_assemble): Give warning message if
6079 operands passes to instruction are more than the spec.
6080
6081 2000-01-27 Thomas de Lellis <tdel@windriver.com>
6082
6083 * config/tc-arm.c (armadjust_symtab): If the assembler is in
6084 Thumb mode but the label seen was not declared as '.thumb_func'
6085 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
6086 correct disassembly of Thumb code bounded by non function labels.
6087
6088 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
6089
6090 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
6091 Add dependencies for e-i386aout.o. Fix 2 comment lines.
6092
6093 * Makefile.in: Same here.
6094 Update copyright.
6095
6096 * configure.in: Set bfd_gas for i386-aout when primary target
6097 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
6098 we may need the primary te_file. Remove incorrect comment.
6099
6100 * configure: Regenerate.
6101
6102 * config/e-i386aout.c: New file.
6103
6104 * as.c (USE_EMULATIONS): Move to before print_version_id.
6105 (struct emulation): Add i386aout.
6106 (show_usage): Split text strings. Reformat -a text. Add --em
6107 help.
6108 Update copyright.
6109
6110 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
6111 (aout_format_ops): New.
6112 Update copyright.
6113
6114 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
6115 preprocessor conditional and add aout USE_EMULATIONS tests.
6116 (read_a_source_file): Don't pass error strings to printf as
6117 format arg.
6118 Update copyright.
6119
6120 * gasp.c (exp_get_abs): Don't pass error strings to printf as
6121 format arg.
6122 (do_data): Same here.
6123 (process_file): And here.
6124 Update copyright.
6125
6126 * symbols.c (colon): Rewrite "already defined" fatal message
6127 code for aout with USE_EMULATIONS.
6128 Update copyright.
6129
6130 * config/obj-aout.c (OBJ_HEADER): Define.
6131 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
6132 fields of sentinel.
6133 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
6134 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
6135 forms here.
6136 (obj_aout_type): Expand S_SET_OTHER here too.
6137 (obj_read_begin_hook): Remove.
6138 (aout_pop_insert): New.
6139 (obj_aout_s_get_other): New.
6140 (obj_aout_s_get_desc): New.
6141 (aout_format_ops): New.
6142 Update copyright.
6143
6144 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
6145 gets aout_pseudo_table.
6146 (aout_pseudo_table): Declare.
6147 (obj_read_begin_hook): Define.
6148 Update copyright.
6149
6150 * config/obj-coff.c (obj_pseudo_table): Rename to
6151 coff_pseudo_table.
6152 (coff_pop_insert): Use coff_pseudo_table.
6153 (coff_sec_sym_ok_for_reloc): Remove.
6154 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
6155 and comment all zero entries and remove #if 0 code.
6156 Update copyright.
6157
6158 * config/obj-coff.h (obj_pop_insert): Define.
6159 (coff_pseudo_table): Declare.
6160 Update copyright.
6161
6162 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
6163 s_get_size, s_set_size. Comment all zero entries.
6164 Update copyright.
6165
6166 * config/obj-elf.c (elf_s_get_other): New function.
6167 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
6168 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
6169 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
6170 comment.
6171 (obj_elf_parse_section_letters): Don't pass error strings to
6172 printf as format arg.
6173 Update copyright.
6174
6175 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
6176 OBJ_MAYBE_ECOFF.
6177 (elf_s_get_other): Declare.
6178 (S_GET_OTHER) Define as elf_s_get_other if not already
6179 defined.
6180 (S_SET_OTHER): Only define when not already defined.
6181 (elf_obj_read_begin_hook): Declare.
6182 (obj_read_begin_hook): Define.
6183 (elf_obj_symbol_new_hook): Declare.
6184 (obj_symbol_new_hook): Define.
6185 Update copyright.
6186
6187 * config/obj-multi.h: Add copyright header and protect against
6188 multiple inclusion. Add * to all function pointers.
6189 (OBJ_HEADER): If defined, include it rather than other defines
6190 in this file.
6191 (obj_frob_file_after_relocs): Test for NULL.
6192 (obj_symbol_new_hook): Here too.
6193 (obj_sec_sym_ok_for_reloc): And here.
6194 (S_GET_OTHER): Define.
6195 (S_GET_DESC): Define.
6196 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
6197 (OBJ_MAYBE_ELF): Update comment.
6198
6199 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
6200 OBJ_AOUT preprocessor conditional and handle emulation by
6201 testing OUTPUT_FLAVOR.
6202 (i386_displacement): Here too.
6203 (md_section_align): Similarly here.
6204 (i386_target_format): Conditionally compile when more than one
6205 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
6206 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
6207 (i386_displacement): Here too.
6208 Update copyright.
6209
6210 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
6211 Define TARGET_FORMAT for aout only when not multi.
6212 Update copyright.
6213
6214 * config/te-multi.h: Delete file as it's identical to te-generic.h
6215
6216 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
6217
6218 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
6219 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
6220 LONG_MNEM_SUFFIX.
6221
6222 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
6223 DWORD_MNEM_SUFFIX.
6224 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
6225 comments.
6226
6227 2000-01-13 Clinton Popetz <cpopetz@cygnus.com>
6228
6229 * config/tc-mips.c (mips_do_align): New function.
6230 * config/tc-mips.h (md_do_align): Define.
6231
6232 2000-01-10 Philip Blundell <philb@gnu.org>
6233
6234 * doc/c-arm.texi (ARM Options): Fix typo.
6235 (ARM-Chars): Correct description of `#'. Mention that `;' is a
6236 line separator for Linux.
6237 * doc/as.texinfo (Comments): Mention the ARM.
6238
6239 2000-01-10 Philip Blundell <pb@futuretv.com>
6240
6241 * configure.in (arm*-*-conix*): New target.
6242 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
6243 armv*-*-linux-gnu.
6244 * configure: Regenerate.
6245
6246 2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
6247
6248 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
6249 (obj_elf_visibility): New function.
6250
6251 * doc/as.texinfo (Visibility): New node: document visibility
6252 pseudo ops.
6253
6254 For older changes see ChangeLog-9899