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