merge from gcc
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
d68d4570
DD
12001-03-15 DJ Delorie <dj@redhat.com>
2
3 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
4 blindly freeing string if it isn't at the top of the obstack.
5
f3c180ae
AM
62001-03-13 Alan Modra <alan@linuxcare.com.au>
7
8 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
9 (NUM_FLAG_CODE): Define.
10 (lex_got): New function.
11 (got_reloc): New global var.
12 (x86_cons_fix_new): New function.
13 (x86_cons): New function.
14 (i386_immediate): Use lex_got here, replacing inline code. Change
15 "ignoring junk.." error message to "junk.."
16 (i386_displacement): Likewise.
17 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
18 (x86_cons): Declare.
19 (TC_CONS_FIX_NEW): Define.
20 (x86_cons_fix_new): Declare.
21
83e7603d
NC
222001-03-12 Nick Clifton <nickc@redhat.com>
23
24 * config/tc-arm.c (md_begin): Always set machine type based on
25 cpu_variant.
26
1ae12ab7
AM
272001-03-07 Alan Modra <alan@linuxcare.com.au>
28
29 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
f3c180ae 30 (md_assemble) <smallest displacement>: Use correct field of i.op[]
1ae12ab7 31 union.
f3c180ae
AM
32 <JumpInterSegment output>: Use correct i.disp_reloc[].
33 <immediate output>: Likewise.
1ae12ab7 34
4f3c3dbb
NC
352001-03-06 Nick Clifton <nickc@redhat.com>
36
37 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
38 BLX(1) instruction.
39
dc84e067
NC
402001-03-06 Igor Shevlyakov <igor@windriver.com>
41
42 * config/tc-m68k.c : Add 5407 to archs[] table.
43 (HAVE_LONG_BRANCH): Add mcf5407.
44 (select_control_regs): Recognize 5407.
45
a8150a88
DB
462001-03-02 Dave Brolley <brolley@redhat.com>
47
1ae12ab7
AM
48 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
49 than m32r_do_align.
a8150a88 50
e103941e
NC
512001-03-02 Richard Sandiford <rsandifo@redhat.com>
52
53 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
54 (gen_to_words): Print warnings if NaNs are found and the target CPU
55 does not support them. Allow largest exponent to be used in normal
56 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
57
7c44d1d3
AJ
582001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
59
60 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
61 anymore since we use bfd_elf_generic_reloc now.
62 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
63
27b7e12d
AM
642001-02-27 Alan Modra <alan@linuxcare.com.au>
65
66 * configure.in (BFD_VERSION): New.
67 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
68 * configure: Regenerate.
69 * Makefile.am: Run "make dep-am"
70 * Makefile.in: Regenerate.
71 * doc/Makefile.in: Regenerate.
72
1af96959
NC
732001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
74
75 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
76 SEC_NEVER_LOAD when the 'n' flag is used.
77 Add SEC_NEVER_LOAD to matchflags.
78
d95767bf
SC
792001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
80
81 * symbols.c (decode_local_label_name): Initialize message_format
82 only when an error is reported (perf pb due to I18N).
83
3737d051
L
842001-02-23 H.J. Lu <hjl@gnu.org>
85
86 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
87 BFD_ASSEMBLER is not defined.
88
b653e7f9
NC
892001-02-23 Richard Sandiford <rsandifo@redhat.com>
90
91 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
92 done if it's against a symbol.
93
7463c317
TW
942001-02-22 Timothy Wall <twall@cygnus.com>
95
96 * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
97 target formats if applicable.
98 * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
99 * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
100 * Makefile.in: Regenerated.
101 * configure.in: Added configuration for ia64-*-aix*.
102 * configure: Regenerated.
7c44d1d3 103
87f8eb97
JW
1042001-02-21 David Mosberger <davidm@hpl.hp.com>
105
106 * config/tc-ia64.c (enum operand_match_result): New type.
107 (operand_match): Change return type to operand_match_result.
108 Fix all returns appropriately, adding support for returning the
109 out-of-range result.
110 (parse_operands): New locals result, error_pos, out_of_range_pos,
111 curr_out_of_range_pos. Rewrite operand matching loop to give better
112 error messages.
7c44d1d3 113
33d01f33
JW
1142001-02-21 David Mosberger <davidm@hpl.hp.com>
115
116 * config/tc-ia64.c (struct unwind): Add member "prologue_count".
117 (dot_proc): Clear unwind.prologue_count to zero.
118 (dot_prologue): Increment unwind.prologue_count.
119 (dot_restore): If second operand is omitted, use
120 unwind.prologue_count -1 for "ecount" (# of additional regions to
121 pop). Decrement unwind.prologue_count by number of regions
122 popped.
123
7e84d676
NC
1242001-02-21 Nick Clifton <nickc@redhat.com>
125
126 * doc/as.texinfo (Section): Note that some flags to the COFF
127 version of .section remove attributes rather than setting them.
128
5cd4edbe
KH
1292001-02-20 Kazu Hirata <kazu@hxi.com>
130
29184774
NC
131 * config/tc-pdp11.c: Fix formatting.
132 * config/tc-pdp11.h: Likewise.
5cd4edbe 133
80b3ee89
AJ
1342001-02-20 Bo Thorsen <bo@suse.de>
135
136 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
137 entry.
138
0fde8cc6 1392001-02-18 David O'Brien <obrien@FreeBSD.org>
cac5b87b
DB
140
141 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
142 all FreeBSD platforms should look the same at this level.
143 * configure: Rebuilt.
144 * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
145
e135f41b
NC
1462001-02-18 lars brinkhoff <lars@nocrew.org>
147
148 * Makefile.am: Add PDP-11 target.
149 * configure.in: Likewise.
150 * config/tc-pdp11.c: New file.
151 * config/tc-pdp11.h: New file.
152 * doc/Makefile.am: Add PDP-11 documentation.
153 * doc/all.texi: Likewise.
154 * doc/as.texinfo: Likewise.
155 * doc/c-pdp11.texi: New file.
156
363c574f
MG
1572001-02-16 matthew green <mrg@redhat.com>
158
80b3ee89 159 * gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
363c574f 160
fa1cb89c
JW
1612001-02-13 Jim Wilson <wilson@redhat.com>
162
163 * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
164 reloc instead of a 0 reloc.
165 (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
166 as done.
167 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
168
c842b53a
ILT
1692001-02-13 Ian Lance Taylor <ian@zembu.com>
170
171 * write.c (is_dnrange): Stop as soon as the address becomes
172 larger.
173 (relax_frag): Add segment parameter. Only call symbol_get_frag
174 once. Only call is_dnrange if the symbol is in the same segment,
175 and the symbol address is larger.
176 (relax_segment): Pass segment to md_relax_frag and relax_frag.
177 * write.h (relax_frag): Update declaration.
178 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
179 it to relax_frag.
180 * config/tc-m32r.c (m32r_relax_frag): Likewise.
181 * config/tc-m32r.h (md_relax_frag): Add segment parameter.
182 (m32r_relax_frag): Update declaration.
183 * config/tc-mips.h (md_relax_frag): Add segment parameter.
184 * config/tc-tic54x.h (md_relax_frag): Likewise.
185 * doc/internals.texi (CPU backend): Update documentation for
186 md_relax_frag.
187
6fad6acb
AM
1882001-02-13 Alan Modra <alan@linuxcare.com.au>
189
fddf5b5b
AM
190 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
191 Mention effect of < 386 architectures on jump promotion.
192 (i386-Jumps): xref above. Don't assume long disp is 32 bits.
193
194 * config/tc-i386.c (no_cond_jump_promotion): New.
195 (set_cpu_arch): Parse "jumps" arch modifier.
196 (insn_size): Modify usage comment.
197 (ENCODE_RELAX_STATE): Reformat and protect macro arg.
198 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
199 (TYPE_FROM_RELAX_STATE): New define.
200 (UNCOND_JUMP, COND_JUMP): Renumber.
201 (md_relax_table): Reorder to suit.
202 (COND_JUMP86): New define.
203 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
204 (md_assemble): Create frag var for jumps of max size, encode relax
205 state for COND_JUMP86.
206 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
207 leave conditional jumps small if no_cond_jump_promotion.
208 (md_convert_frag): Likewise.
209
6fad6acb
AM
210 * expr.c (operator): Don't bump input_line_pointer for two char
211 operators. Instead return operator size via new param num_chars.
212 (expr): Use above to parse multi-char operators correctly.
213
23df1078
JH
214Mon Feb 12 17:45:50 CET 2001 Jan Hubicka <jh@suse.cz>
215
29184774 216 * config/tc-i386.c (i386_displacement): Fix handling of
23df1078
JH
217 BFD_RELOC_X86_64_GOTPCREL.
218 (i386_validate_fix): Likewise.
219
b1e2e654
PB
2202001-02-12 Philip Blundell <pb@futuretv.com>
221
222 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
223 ldrt/strt instructions.
224
9117d219
NC
2252001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
226
227 * config/tc-mips.c (macro): For M_LA_AB emit a
228 BFD_RELOC_MIPS_CALL16 relocation or a
229 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
230 BFD_RELOC_MIPS_GOT16 and
231 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
232 loading the jump register when generating SVR4_PIC code.
233
97238fbd
CD
2342001-02-10 Chris Demetriou <cgd@broadcom.com>
235
236 * configure.in: Make 'mipself' and 'mipsecoff' emulations
237 map to MIPS-specific files, as they used to do before the
238 change on 2000-05-21.
239 * configure: Regerate.
240
0f074f60
CD
2412001-02-10 Chris Demetriou <cgd@broadcom.com>
242
243 * config/tc-mips.c (md_parse_option): Don't try to compile
244 ELF-only option code if not ELF.
245
91a2ae2a
RH
2462001-02-08 David Mosberger <davidm@hpl.hp.com>
247
248 * config/tc-ia64.h (md_elf_section_type): New macro.
249 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
250 (they're now handled via ia64_elf_section_type.
251
252 * config/tc-ia64.c (unwind): New members saved_text_seg,
253 saved_text_subseg, and force_unwind_entry.
254 (optimize_unw_records): New function to optimize away unnecessary
255 unwind directives.
256 (ia64_elf_section_type): New function.
257 (output_unw_records): Generate unwind info only if the size is
258 non-zero or if it's forced for some other reason (e.g.,
259 handlerdata or a personality routine).
260 (generate_unwind_image): Don't switch back to previous
261 section---stay inside the unwind info section instead so that
262 handlerdata that may follow goes into the right place.
263 (dot_handlerdata): Force generation of unwind entry and save the
264 current active text segment before generating unwind image.
265 (dot_unwentry): Force generation of unwind entry.
266 (dot_personality): Ditto.
267 (dot_endp): Generate unwind table entry only if there is
268 some unwind info or the unwind entry was forced.
269
270 * config/tc-ia64.c (make_unw_section_name): New macro to form
271 unwind section name.
272 (generate_unwind_image): Add "text_name" argument. Use it to
273 form unwind section name.
274 (dot_handlerdata): Determine current segment (section) name and
275 pass it to generate_unwind_image().
276 (dot_endp): Determine current segment (section) name and use
277 it to determine the appropriate unwind section name.
278 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
279 n, fill, and max arguments.
280
a85d7ed0
NC
2812001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
282
283 * Makefile.am: Add linux target for S/390.
284 * configure.in: Likewise.
285 * config/tc-s390.c: New file.
286 * config/tc-s390.h: New file.
287
de68de20
AO
2882001-02-09 Alexandre Oliva <aoliva@redhat.com>
289
290 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
291 2byte, 4byte and 8byte.
292
8ea46bbd
AM
2932001-02-08 Alan Modra <alan@linuxcare.com.au>
294
295 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
296 md_number_to_chars with size > sizeof (valueT).
297
a99746f4
L
2982001-02-06 H.J. Lu <hjl@gnu.org>
299
300 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
301 there is no relocation.
302
f4e17b3d
L
3032001-02-06 H.J. Lu <hjl@gnu.org>
304
305 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
306
307 * config/tc-ia64.c (md_parse_option): Only accept the valid
308 ia64 options on "-axxx".
309
3557da92
JW
3102001-02-05 Jim Wilson <wilson@redhat.com>
311
312 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
313 aborting for invalid operands.
314
da6c73e0
AM
3152001-02-06 Alan Modra <alan@linuxcare.com.au>
316
317 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
318 than via pointer. Update all callers.
319 (UNWIND_LOW32): Define.
320 (UNWIND_HIGH32): Define.
321 (pa_build_unwind_subspace): Use the above macros instead of dumping
322 bitfields directly. Call frag_more once rather than multiple times.
323 (md_assemble): Use UNWIND_LOW32.
324 (pa_entry): Likewise
325 (pa_procend): Likewise.
326 (process_exit): Use UNWIND_HIGH32.
327
986c6f4b
SC
3282001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
329
330 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
331 function to select the header according to the cpu.
332 (md_after_pass_hook, md_do_align): Remove.
333 (md_cleanup, m68hc11_cleanup): Remove.
334 (md_pcrel_from_section): Declare.
335 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
336 (build_jump_insn, build_insn): Likewise.
337 (m68hc11_listing_header): New function.
338 (m68hc11_cleanup): Remove.
339
dbb8ad49
SC
3402001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
341
328dc123 342 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
80b3ee89 343 symbols because there is no support for shared libraries and these
328dc123 344 symbols can't be overridden (unless they are weak).
dbb8ad49 345
a987bfc9
RH
3462001-02-01 Momchil Velikov <velco@fadata.bg>
347
348 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
349 for the compilation unit with a zero byte.
350
22862cde
AM
3512001-01-30 Alan Modra <alan@linuxcare.com.au>
352
353 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
354 destinations. Correct range check for 17 and 22 bit branches.
355
8ec6253e
NC
3562001-01-25 Nick Clifton <nickc@redhat.com>
357
358 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
359 still set. Issue an error message instead.
360 (md_estimate_size_before_relax): Delete unused variable
361 'buffer_address'. Fixup parentheses around if statement.
80b3ee89 362
43ad3147
KH
3632001-01-23 Kazu Hirata <kazu@hxi.com>
364
365 * as.c: Fix formatting.
366 * ehopt.c: Likewise.
367 * messages.c: Likewise.
368 * stabs.c: Likewise.
369 * symbols.c: Likewise.
370
015c05c1
AM
3712001-01-23 Ben Elliston <bje@redhat.com>
372
373 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
374
66498417
KH
3752001-01-22 Kazu Hirata <kazu@hxi.com>
376
377 * config/tc-alpha.c: Fix formatting.
378
1aad8cf8
KH
3792001-01-19 Kazu Hirata <kazu@hxi.com>
380
381 * config/tc-alpha.c: Fix formatting.
382
32ff5c2e
KH
3832001-01-18 Kazu Hirata <kazu@hxi.com>
384
385 * config/tc-alpha.c: Fix formatting.
386
cd17328a
NC
3872001-01-18 Nick Clifton <nickc@redhat.com>
388
389 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
390 "da" flags.
391 (stm_flags): Remove redundant bit from "ed" and "da" flags.
392
81c425d1
AO
3932001-01-18 Alexandre Oliva <aoliva@redhat.com>
394
395 * configure.in (cpu_type, arch): Match i386 too.
396 * configure: Rebuilt.
397
e5cb08ac
KH
3982001-01-16 Kazu Hirata <kazu@hxi.com>
399
400 * config/tc-i386.c: Fix formatting.
401
1d3d5051
AM
4022001-01-16 Alan Modra <alan@linuxcare.com.au>
403
64afeba3
AM
404 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
405 relocs for .PARISC.unwind section.
406
1d3d5051
AM
407 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
408 depending on section flags, not just for .text.
409
b44b1b85
JW
4102001-01-15 Jim Wilson <wilson@redhat.com>
411
412 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
413 not immediately followed by an instruction.
414
098f2ec3
KH
4152001-01-15 Kazu Hirata <kazu@hxi.com>
416
417 * config/tc-m68hc11.c: Fix formatting.
418
d4887adc
NC
4192001-01-15 Nick Clifton <nickc@redhat.com>
420
421 * symbols.c (colon): Change 'already defined symbol' from a
422 fatal error to an ordinary error. There is no reason why this
423 error should be fatal.
424
425 * message.c (as_fatal): Delete output file, if one has been
015c05c1 426 created.
d4887adc 427
fcfd4916
AM
4282001-01-14 Alan Modra <alan@linuxcare.com.au>
429
430 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
431
bfb32b52
KH
4322001-01-14 Kazu Hirata <kazu@hxi.com>
433
434 * config/tc-alpha.c: Fix formatting.
435 * config/tc-arc.c: Likewise.
436 * config/tc-arc.h: Likewise.
437 * config/tc-d10v.c: Likewise.
438 * config/tc-i370.c: Likewise.
439 * config/tc-i386.c: Likewise.
440 * config/tc-i960.c: Likewise.
441 * config/tc-m68k.c: Likewise.
442 * config/tc-ppc.c: Likewise.
443 * config/tc-sparc.c: Likewise.
444 * config/tc-tahoe.c: Likewise.
445 * config/tc-vax.c: Likewise.
446
1e07b820
KH
447 * config/tc-arc.c: Fix formatting.
448
19203624
KH
449 * config/tc-arc.c: Fix formatting.
450
1328dc98
AM
4512001-01-14 Alan Modra <alan@linuxcare.com.au>
452
c46b7515
AM
453 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
454 both 32 and 64 bit ELF.
455
1328dc98
AM
456 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
457 and don't bother storing `m' for "ce" completer. Tidy handling of
458 'J' and 'K' operands to suit. Handle '<' and '>' operands.
459
b9d79e03
JH
460Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz>
461
29184774 462 * config/tc-i386.h (TARGET_MACH): New macro.
b9d79e03 463 (i386_mach): Declare.
29184774 464 * config/tc-i386.c (i386_mach): New function.
b9d79e03 465
a349d9dd
PB
4662001-01-13 Philip Blundell <philb@gnu.org>
467
468 * doc/as.texinfo: Fix spelling and cross-references.
469
470 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
471 character for all systems, not just GNU/Linux. Make it explicit
472 that `-k' doesn't affect code generation, just ELF flags.
473
e2914f48
JH
474Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz>
475
476 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
477 instructions.
478
272d76e0
FCE
4792001-01-12 Frank Ch. Eigler <fche@redhat.com>
480
481 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
482
d0398d6a
NC
4832001-01-12 Nick Clifton <nickc@redhat.com>
484
485 * as.c (print_args): Update copyright date to 2001.
486
2d73a4ca
NC
4872001-01-12 Peter Targett <peter.targett@arccores.com>
488
489 * doc/c-arc.texi: New file.
490 Some sections to be expanded.
491
6e0b89ee
AM
4922001-01-12 Alan Modra <alan@linuxcare.com.au>
493
494 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
495 (md_parse_option): Always accept "--32".
496
0d2bcfaf
NC
4972001-01-11 Peter Targett <peter.targett@arccores.com>
498
499 * as.h (TC_ARC): Ensure struc-symbol.h included.
500 * as.c (dwarf2dbg.h): Include to remove implicit declaration
501 warnings.
502 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
503 (TARGET_SYMBOL_FIELDS) added.
504
505 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
506 * doc/c-arc.texi: New file.
507 Some sections to be expanded.
508 * doc/as.texinfo: Update command-line options.
509 Removed outdated text for ARC dependant features, instead include
510 text from above file.
511
512 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
513 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
514 (targ-cpu.h) header.
515 * config/tc-arc.h:
516 * config/tc-arc.c: New updated configuration for
517 ARC, including selection of core variants, and extensibility of
518 instructions, registers etc. through directives.
519
520 * config/tc-arc.c (arc_extinst): Minor corrections for
521 error messages.
522 (arc_common) Likewise. Make alignment argument optional for local
523 symbols also, with default of zero.
524
88051039
SC
5252001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
526
527 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
528 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
529 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
530 and fix_new_exp() instead.
531 (md_convert_frag): For indexed post byte use the symbol value
532 rather than the displacement.
533 (md_relax_table): Fix indexed offset relax.
534
d8273f3b
SC
5352001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
536
537 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
538 relax weak symbols.
015c05c1 539 (relaxable_symbol): New function.
d8273f3b 540
eea2ad45
AJ
5412001-01-11 Andreas Jaeger <aj@suse.de>
542
543 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
544 not used anywhere.
545
7a91e76a
NC
5462001-01-10 Nick Clifton <nickc@redhat.com>
547
548 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
549 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
550
aa257fcd
NC
5512001-01-10 Nick Clifton <nickc@redhat.com>
552
553 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
554 character used to dollar local symbols.
555 (LOCAL_LABEL_CHAR): New constant - the magic character used to
556 local label symbols.
557 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
558 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
559 if defined.
560 Use LOCAL_LABEL_CHAR.
561 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
562 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
563 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
564
b77a7acd
AJ
5652001-01-08 Bo Thorsen <bo@suse.de>
566
015c05c1
AM
567 * config/tc-i386.c (i386_immediate, i386_displacement):
568 GOTPCREL check fix.
b77a7acd 569
5c2bd011
ILT
5702001-01-07 Ian Lance Taylor <ian@zembu.com>
571
572 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
573 in last change.
574
46a04e3a
PB
5752001-01-07 Philip Blundell <philb@gnu.org>
576
577 * doc/as.texinfo (Bug Reporting): Update email address for
578 reports.
579 * README: Likewise.
580
b96d3a20
JH
581Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
582
583 * configure.in: Define DEFAULT_ARCH for i386.
29184774 584 * config/tc-i386.c (md_assemble): Return after the error message;
b96d3a20
JH
585 move testing for 64bit operands to proper place.
586
55b62671
AJ
5872001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
588
589 * doc/as.texinfo: Document '#' as comment character for i386 and
590 x86_64. Add AMD x86-64 into menu of machine dependent information.
591
592 * doc/c-i386.texi: Document x86_64 extensions.
593
7bc70a8e
JH
594Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
595
29184774 596 * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
7bc70a8e 597
a167610d
JH
598Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
599
29184774 600 * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
a167610d
JH
601 * NEWS: Add note about Pentium4 support.
602
09f131f2
JH
603Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
604
29184774 605 * config/tc-i387.c (pi, pte, pt): Update.
09f131f2
JH
606 (type_names): Add new types.
607
6f8c0c4c
JH
608Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
609
29184774 610 * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
6f8c0c4c
JH
611 CpuUnknown): Renumber
612 (CpuP4, CpuSSE2): New.
613 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
614
b96ed59a
PB
6152001-01-03 Philip Blundell <pb@futuretv.com>
616
617 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
618 relocs.
619 (alpha_fix_adjustable): Likewise.
620 (md_apply_fix): Likewise.
621
a735d1cd
L
6222000-12-31 H.J. Lu <hjl@gnu.org>
623
624 * listing.c (listing_message): Allocate string only if it is
625 used.
626
627 * configure: Rebuild.
628
67db5ab4
HPN
6292000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
630
631 * doc/internals.texi (Relaxing with a table) <after relaxation>:
632 Point out caveats with generating fixups for the opcode in a frag.
633
c0d8940f
JH
634Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
635
636 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
637 * NEWS: Add x86_64.
638
087f563c
L
6392000-12-29 H.J. Lu <hjl@gnu.org>
640
641 * listing.c (calc_hex): Print the variable part only if the
642 fragment type is rs_fill.
643
8108ad8e
HPN
6442000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
645
646 * doc/internals.texi (tc_conditional_pseudoop,
647 TC_LINKRELAX_FIXUP): Fix typos.
648
799051fc
RH
6492000-12-28 Richard Henderson <rth@redhat.com>
650
651 * write.c (subsegs_finish): Fix thinko last change -- don't
652 "optimize" the alignment == 0 case.
653
0a9ef439
RH
6542000-12-28 Richard Henderson <rth@redhat.com>
655
656 * as.h (rs_align_test): New.
657 * frags.c (NOP_OPCODE): Move default from read.c.
658 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
659 (frag_align_code): New.
660 * frags.h (frag_align_code): Declare.
661 * read.c (NOP_OPCODE): Remove.
662 (do_align): Use frag_align_code.
663 * write.c (NOP_OPCODE): Remove.
664 (get_recorded_alignment): New.
665 (cvt_frag_to_fill): Handle rs_align_test.
666 (relax_segment): Likewise.
667 (subsegs_finish): Align last subseg in section to the
668 section alignment. Use frag_align_code.
669 * write.h (get_recorded_alignment): Declare.
670 * config/obj-coff.c (size_section): Handle rs_align_test.
671 (fill_section, fixup_mdeps): Likewise.
672 (write_object_file): Use frag_align_code.
673
674 * config/tc-alpha.c (alpha_align): Use frag_align_code.
675 (alpha_handle_align): New.
676 * config/tc-alpha.h (HANDLE_ALIGN): New.
677 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
678
679 * config/tc-i386.h (md_do_align): Use frag_align_code.
680 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
681
682 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
683 (ia64_handle_align): New.
684 * config/tc-ia64.h (HANDLE_ALIGN): New.
685 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
686
687 * config/tc-m32r.c (m32r_do_align): Remove.
688 (m32r_handle_align): New.
689 (fill_insn): Use frag_align_code.
690 * config/tc-m32r.h (md_do_align): Remove.
691 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
692 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
693 * config/tc-mips.c, config/tc-mips.h: Similarly.
694
695 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
696 (sh_handle_align): Likewise. Handle rs_align_code.
697 (sh_do_align): Remove.
698 * config/tc-sh.h (md_do_align): Remove.
699 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
700
701 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
702 (sparc_handle_align): Likewise. Handle rs_align_code.
703 * config/tc-sparc.h (md_do_align): Remove.
704 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
705
3cd4dda7
DD
7062000-12-22 DJ Delorie <dj@redhat.com>
707
708 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
709 when we assemble the first half of a pair.
710
ec56dfb4
L
7112000-12-22 H.J. Lu <hjl@gnu.org>
712
713 * config/tc-i386.c (reloc): Update the macro for non-bfd
714 assembler.
715 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
716
ad1172d4
L
7172000-12-22 H.J. Lu <hjl@gnu.org>
718
719 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
720
3e73aa7c
JH
721Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
722
29184774 723 * config/tc-i386.h (i386_target_format): Define even for ELFs.
3e73aa7c
JH
724 (QWORD_MNEM_SUFFIX): New macro.
725 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
726 New macros
727 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
728 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
729 ImmExt): Renumber.
730 (Size64, No_qSuf, NoRex64, Rex64): New macros.
731 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
732 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
733 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
734 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
735 Renumber.
736 (Reg, WordReg): Add Reg64.
737 (Imm): Add Imm32S and Imm64.
738 (EncImm): New.
739 (Disp): Add Disp64 and Disp32S.
740 (AnyMem): Add Disp32S.
741 (RegRex, RegRex64): New macros.
742 (rex_byte): New type.
29184774 743 * config/tc-i386.c (set_16bit_code_flag): Kill.
3e73aa7c
JH
744 (fits_in_unsigned_long, fits_in_signed_long): New functions.
745 (reloc): New parameter "signed"; support x86_64.
746 (set_code_flag): New.
747 (DEFAULT_ARCH): New macro; default to "i386".
748 (default_arch): New static variable.
749 (struct _i386_insn): New fields Operand_PCrel; rex.
750 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
751 (flag_code): New enum and static variable.
752 (use_rela_relocations): New static variable.
753 (flag_code_names): New static variable.
754 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
755 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
756 K6 and Athlon.
757 (i386_align_code): Return plain "nop" for x86_64.
758 (mode_from_disp_size): Support Disp32S.
759 (smallest_imm_type): Support Imm32S and Imm64.
760 (offset_in_range): Support size of 8.
761 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
762 (md_pseudo_table): Add "code64"; use set_code_flat.
763 (md_begin): Emit sane error message on hash failure.
764 (tc_i386_fix_adjustable): Support x86_64 relocations.
765 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
766 instructions supported on particular arch just partially,
767 output of 64bit immediates, handling of Imm32S and Disp32S type.
768 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
769 (i386_displacement): Likewise.
770 (i386_index_check): Cleanup; support 64bit addresses.
771 (md_apply_fix3): Support x86_64 relocation and rela.
772 (md_longopts): Add "32" and "64".
773 (md_parse_option): Add OPTION_32 and OPTION_64.
774 (i386_target_format): Call even for ELFs; choose between
775 elf64-x86-64 and elf32-i386.
776 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
777 (tc_gen_reloc): Support rela relocations and x86_64.
778 (intel_e09_1): Support QWORD.
779
21d6c4af
DN
7802000-12-15 Diego Novillo <dnovillo@redhat.com>
781
782 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
55b62671 783 it's not an offset expression.
21d6c4af
DN
784 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
785 keep the braces '[' and ']' in the output string.
786 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
787 != FLAT. There is no such op_modifier.
788
6717891c
NC
7892000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
790
791 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
792 if we have it.
793
ee515fb7
KH
7942000-12-13 Kazu Hirata <kazu@hxi.com>
795
796 * as.h: Fix formatting.
797 * cgen.h: Likewise.
798 * dwarf2dbg.c: Likewise.
799 * input-scrub.c: Likewise.
800 * read.h: Likewise.
801
349a994c
DD
8022000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
803
804 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
805 configure: Regenerate.
806
42dbf88c
NC
8072000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
808
809 * dwarf2dbg.c: #include <limits.h> only if it exists.
810
0485cba3
AM
8112000-12-13 Rodney Brown <RodneyBrown@mynd.com>
812
813 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
814 (md_apply_fix): Here too.
815
514829c3
JW
8162000-12-12 Jim Wilson <wilson@redhat.com>
817
818 * config/tc-ia64.h (ia64_init): Add prototype.
819
92eb7b32
L
8202000-12-12 H.J. Lu <hjl@gnu.org>
821
822 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
823
824 * read.h (outputting_stabs_line_debug): Change it to int.
825 * stabs.c (outputting_stabs_line_debug): Likewise.
826
8141c27d
GK
8272000-12-12 Geoffrey Keating <geoffk@redhat.com>
828
829 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
830 the address of a function result.
831
5d6f4f16
GK
8322000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
833
834 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
835 (md_assemble): Call dwarf2_emit_insn.
836 (shlib): Fix typo SHILB -> SHLIB.
837 (md_parse_option): Likewise.
838 (ppc_elf_validate_fix): Likewise:
839 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
840
d4c0c039
NC
8412000-12-12 Nick Clifton <nickc@redhat.com>
842
843 * cgen.h: Fix formatting.
844 * input-scrub.c: Fix formatting.
845 * macro.c: Fix formatting.
e972090a 846 * config/tc-mips.c: Fix formatting.
584da044 847 * doc/c-mips.texi: Fix formatting.
55b62671 848
f16b83df
JH
849Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
850
29184774 851 * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
f16b83df
JH
852 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
853 references.
854 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
855 otherwise.
29184774 856 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
f16b83df
JH
857 (No_dSuf): Kill.
858
859 * i386.h (*_Suf): Remove No_dSuf.
860 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
861 Remove.
862 (i386_optab): Remove 'd' in the suffixes.
863
50705ef4
AM
8642000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
865
866 * config/tc-i386.c (T_SHORT): Undefine before defining.
867
beae10d5
KH
8682000-12-05 Kazu Hirata <kazu@hxi.com>
869
870 * config/tc-mips.c: Fix formatting.
871
bccba5f0 8722000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
873
874 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
875 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
876 (md_show_usage): Ditto.
877 (md_parse_option): Ditto.
878 (d10v_cleanup): Writes pending instruction only if
879 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 880 Fix compile time warning messages.
50705ef4
AM
881
882 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
883
8842000-12-04 Matthew Hiller <hiller@redhat.com>
885
50705ef4 886 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
887 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
888 function entry and unset at function exit.
889
50705ef4 890 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
891
892 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
893
894 * dwarf2dbg.c: Fix compile time warning messages.
895
bc805888
KH
8962000-12-03 Kazu Hirata <kazu@hxi.com>
897
898 * config/tc-a29k.c: Fix formatting.
899 * config/tc-alpha.c: Likewise.
900 * config/tc-arm.c: Likewise.
901 * config/tc-cris.c: Likewise.
902 * config/tc-hppa.c: Likewise.
903 * config/tc-i370.c: Likewise.
904 * config/tc-i386.c: Likewise.
905 * config/tc-i860.c: Likewise.
906 * config/tc-i960.c: Likewise.
907 * config/tc-ia64.c: Likewise.
908 * config/tc-m68hc11.c: Likewise.
909 * config/tc-m68k.c: Likewise.
910 * config/tc-m88k.c: Likewise.
911 * config/tc-pj.c: Likewise.
912 * config/tc-ppc.c: Likewise.
913 * config/tc-sh.c: Likewise.
914 * config/tc-sparc.c: Likewise.
915 * config/tc-tahoe.c: Likewise.
916 * config/tc-vax.c: Likewise.
917
3dacdf2e
NC
9182000-12-01 Chris Demetriou <cgd@sibyte.com>
919
50705ef4
AM
920 * config/tc-mips.c (mips_ip): When calculating offsets,
921 don't accept as constant the difference between the
922 addresses of symbols in two different sections.
923
924 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
925 specifiers.
926 (validate_mips_insn): Likewise. Also, update 'B' operand
927 specifier to use OP_*_CODE20 constants and delete 'm' operand
928 specifier.
929 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
930 operand specifiers. Change warning generated by 'B' operand
931 specifier to reflect its new multi-purpose usage.
932
933 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
934 -1, and update comment.
935 (file_mips_isa): Likewise.
936 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
937 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
938 ISA_* constants rather than hard-coded numbers.
939 (mips_cpu_info): New structure.
940 (mips_cpu_info_table): New table describing CPU and ISA names
941 and numbers.
942 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
943 mips_cpu_info_from_cpu): New functions.
944 (mips_isa_to_str): New function to get string for ISA name.
945 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
946 return const char *.
947 (md_begin): Redo CPU and ISA selection logic, using
948 mips_cpu_info_from_*. Convert to use ISA_* constants rather
949 than hard-coded numbers.
950 (append_insn, mips_emit_delays, macro, macro2): Convert to use
951 ISA_* constants rather than hard-coded numbers.
952 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
953 (md_longopts): Delete OPTION_NO_MIPS32.
954 (md_parse_option): Convert to use ISA_* constants rather than
955 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
956 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
957 to use strcasecmp to recognize "default" and to use
958 mips_cpu_info_from_name to get CPU numbers from argument.
959 (md_show_usage): Move -mips32 so it's with the rest of the ISA
960 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
961 mips32-4k.
962 (s_mipsset): Accept ISA value 32.
963 * doc/as.texinfo: Clean up MIPS options summary slightly,
964 remove -no-mips32. Add note about -mips4 and -mips32
965 specifying those ISA levels. Delete -mips32 and -no-mips32
966 cpu flag descriptions.
967 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
968 up the supported CPU switch list, and replace 4Kc, 4Km, and
969 4Kp entries with a single mips32-4k entry. Note that you can
970 use ".set mips32".
971
29184774 972 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
50705ef4
AM
973 ISA_MIPS64.
974 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
975 -mips5 and -mips64.
976 (md_parse_option): Add cases for OPTION_MIPS5 and
977 OPTION_MIPS64.
978 (md_show_usage): Mention -mips5 and -mips64 arguments.
979 (s_mipsset): Add cases for MIPS5 and MIPS64.
980 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
981 and pseudo-CPUs.
982 * doc/as.texinfo: Mention -mips5 and -mips64 options
983 and their meanings.
984 * doc/c-mips.texi: Likewise. Also update introduction
985 and ".set" usage information.
986
987 * config/tc-mips.c (md_show_usage): Add "sb1" to the
988 CPU list.
989 (mips_cpu_info_table): Add SB-1 entries.
990 * doc/c-mips.texi: Add "sb1" to the list of CPUs
991 known to the -mcpu option.
992
993 * doc/as.texinfo: Correct description of MIPS -mcpu
994 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 995
5f68c319
NC
9962000-12-01 Joel Sherrill <joel@OARcorp.com>
997
3dacdf2e
NC
998 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
999 New targets.
1000 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1001 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
1002 * configure: Regenerate.
1003 * config.in: Regenerate.
1004 * Makefile.in: Regenerate.
1005 * aclocal.m4: Regenerate.
1006 * po/gas.pot: Regenerate.
50705ef4 1007
4ce3447c
PB
10082000-11-30 Philip Blundell <pb@futuretv.com>
1009
1010 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
1011 even in non BFD_ASSEMBLER case.
1012
76a0ddac
DN
10132000-11-30 Diego Novillo <dnovillo@redhat.com>
1014
29184774 1015 * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
76a0ddac
DN
1016 syntax.
1017
220e750f
RH
10182000-11-29 Richard Henderson <rth@redhat.com>
1019
1020 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
1021 until dwarf2_finish; use relaxation to get cross-fragment offsets;
1022 thread multiple subsegments properly; handle multiple code
1023 sections properly; emit proper compilation unit info for assembler
1024 generated debugging.
1025
1026 * as.h (enum _relax_state): Add rs_dwarf2dbg.
1027 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
1028 (dwarf2dbg_estimate_size_before_relax): Declare.
1029 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
1030 * write.c: Include dwarf2dbg.h.
1031 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
1032 (relax_segment): Likewise.
1033
99b222b4
HPN
10342000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1035
1036 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
1037 jump>: Use as_bad_where instead of as_bad. Tweak error message
1038 accordingly. Stabilize frag by updating fix part and resetting
1039 variant part.
1040 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
1041 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
1042 indexing is_end_of_line[].
1043 (md_assemble): Initialize size to 0.
1044 (md_section_align): Mark parameter seg as unused.
e46fee70 1045 (parse_reg): Parse names case-insensitively.
99b222b4 1046
814f6641
KH
10472000-11-28 Kazu Hirata <kazu@hxi.com>
1048
1049 * config/obj-aout.h: Fix formatting.
1050 * config/obj-bout.h: Likewise.
1051 * config/obj-coff.c: Likewise.
1052 * config/obj-coff.h: Likewise.
1053 * config/obj-elf.h: Likewise.
1054 * config/obj-som.h: Likewise.
1055 * config/obj-vms.c: Likewise.
1056 * config/obj-vms.h: Likewise.
1057 * config/tc-h8300.h: Likewise.
1058 * config/tc-ns32k.h: Likewise.
1059 * config/tc-sparc.h: Likewise.
1060 * config/tc-tic54x.h: Likewise.
1061 * config/tc-z8k.h: Likewise.
1062
e47b9e39
NC
10632000-11-28 Nick Clifton <nickc@redhat.com>
1064
1065 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
1066 License is present in the sources, but not the output, and
1067 also available from the GNU website.
1068 (GNU Free Documentation License): Comment out this section.
1069
fcdc20a4
HPN
10702000-11-28 Hans-Peter Nilsson <hp@axis.com>
1071
43c34dee
HPN
1072 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
1073 targets. Remove i860 from valid a.out targets.
1074 * Makefile.in: Regenerate.
1075
fcdc20a4 1076 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 1077 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
1078 (md_assemble): Call dwarf2_emit_insn if generating ELF.
1079 (s_cris_file, s_cris_loc): New.
1080 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1081 * Makefile.am: Regenerate dependencies.
1082 * Makefile.in: Regenerate.
1083
16887944
AM
10842000-11-28 Alan Modra <alan@linuxcare.com.au>
1085
1086 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
1087 (MRI_MUL_PRECEDENCE): Likewise.
1088 (op_rank): Fix a comment typo.
1089
ae3e85dd
SC
10902000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1091
1092 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
1093 the error message.
1094 (get_operand): Fix analysis for movw/movb instructions.
1095
077b8428
NC
10962000-11-24 Nick Clifton <nickc@redhat.com>
1097
1098 * configure.in (xscale-elf): Add target.
1099 (xscale-coff): Add target.
1100 * configure: Regenerate.
1101
1102 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
1103 extenstion.
1104 (ARM_EXT_XSCALE): New ARM architecture extension.
1105 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
1106 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
1107 (ARM_THUMB): Rename to ARM_EXT_THUMB.
1108 (ARM_ARCH_V4): Remove processor from architecture.
1109 (ARM_ARCH_3M): New architecutre definition.
1110 (ARM_ARCH_V5TE): New architecutre definition.
1111 (ARM_ARCH_XSCALE): New architecutre definition.
1112 (CPU_DEFAULT): Allow to be defaulted to XScale.
1113 (atpcs): New boolean variable.
1114 (ldr_flags): Support 'd' flag for double word loads.
1115 (str_flags): Support 'd' flag for double word stored.
1116 (do_mia): New function.
1117 (do_mar): New function.
1118 (do_mra): New function.
1119 (do_pld): New function.
1120 (do_ldrd): New function.
1121 (do_blx): New function.
1122 (do_bkpt): New function.
1123 (do_clz): New function.
1124 (do_lstc2): New function.
1125 (do_cdp2): New function.
1126 (do_t_blx): New function.
1127 (do_t_bkpt): New function.
1128 (do_smla): New function.
1129 (do_smlal): New function.
1130 (do_smul): New function.
1131 (do_qadd): New function.
1132 (do_co_reg2c): New function.
1133 (LONGEST_INSN): Redefine to 7.
1134
1135 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
1136 command line switches.
1137
2434f565
JW
11382000-11-22 Jim Wilson <wilson@redhat.com>
1139
1140 * config/tc-ia64.c (pseudo_func): Add missing initializers.
1141 (struct rsrc): Make line unsigned.
1142 (gr_values): Add missing initializer.
1143 (SLOT_NUM_NOT_SET): Add unsigned cast.
1144 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
1145 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
1146 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
1147 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
1148 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
1149 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
1150 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
1151 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
1152 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
1153 Add ATTRIBUTE_UNUSED to unused parameters.
1154 (convert_expr_to_ab_reg): Add parens.
1155 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
1156 (dot_prologue): Initialize grsave when declared.
1157 (md_pseudo_table): Add missing initializers.
1158 (operand_match): Add casts to bfd_vma.
1159 (emit_one_bundle): Delete unused local prev. Make required_template
1160 unsigned.
1161 (specify_resource): Cast i to unsigned.
1162 (note_register_values): Use fprintf_vma.
1163 (print_dependency): Likewise.
1164
5a080f89
JW
11652000-11-21 Jim Wilson <wilson@redhat.com>
1166
5e7474a7
JW
1167 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
1168 for unwind info section.
1169 (dot_endp): Likewise for unwind section.
1170
5a080f89
JW
1171 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
1172 fix_new_exp.
1173
732d96b6
JJ
11742000-11-21 Jakub Jelinek <jakub@redhat.com>
1175
1176 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
1177 (output_insn): Call dwarf2_emit_insn.
b8e904dc 1178 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 1179
6d2cf69f
RH
11802000-11-17 Richard Henderson <rth@redhat.com>
1181
1182 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
1183 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
1184 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
1185
8179bd9b
NC
11862000-11-17 Nick Clifton <nickc@redhat.com>
1187
1188 * config/tc-arm.c (md_pseudo_table): Add support for .line and
1189 .file pseudo ops.
1190
316e2c05
RH
11912000-11-17 Richard Henderson <rth@redhat.com>
1192
1193 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
1194
a8316fe2
RH
11952000-11-17 Richard Henderson <rth@redhat.com>
1196
1197 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 1198 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
1199 tri-state definition of alpha_flag_mdebug.
1200 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
1201 (s_alpha_file): Store first .file directive.
1202 (s_alpha_stab): New.
1203 (md_pseudo_table): Add stabs and stabn.
1204
e346e481
RH
12052000-11-17 Richard Henderson <rth@redhat.com>
1206
1207 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
1208
4dc7ead9
RH
12092000-11-17 Richard Henderson <rth@redhat.com>
1210
1211 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 1212 (main): Call dwarf2_finish.
4dc7ead9
RH
1213 * as.h (debug_type): Clarify documentation of the meaning
1214 of this variable.
1215 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
1216 (print_stats): Fix parenthesis problem.
1217 (now_subseg_size): New.
1218 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
1219 (dwarf2_directive_file): Don't set debug_type.
1220 (dwarf2_where): Honor DEBUG_DWARF2 first.
1221 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
1222 do nothing if not emitting dwarf2 debug info, or no work.
1223 * dwarf2dbg.h (dwarf2_emit_insn): Update.
1224 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
1225 (ecoff_new_file): Likewise.
1226 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
1227 commentary wrt dwarf2.
1228
1229 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
1230 ATTRIBUTE_UNUSED as needed.
1231 (emit_insn): Call dwarf2_emit_insn.
1232 (s_alpha_file): New.
1233 (s_alpha_loc): New.
1234 (s_alpha_coff_wrapper): Don't handle them.
1235 (md_pseudo_table): Update for .file and .loc.
1236 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
1237
1238 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
1239 don't protect with debug_type.
1240 * config/tc-hppa.c (md_assemble): Likewise.
1241 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
1242 * config/tc-mn10300.c (md_assemble): Likewise.
1243 * config/tc-sh.c (md_assemble): Likewise.
1244 * config/tc-v850.c (md_assemble): Likewise.
1245
1246 * config/tc-arm.c (arm_end_of_source): Remove.
1247 * config/tc-hppa.c (pa_end_of_source): Remove.
1248 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
1249 * config/tc-mn10300.c (mn10300_finalize): Remove.
1250 * config/tc-sh.c (sh_finalize): Remove.
1251 * config/tc-v850.c (sh_finalize): Remove.
1252
1253 * config/tc-arm.h (md_end): Remove.
1254 * config/tc-hppa.h (md_end): Remove.
1255 (DWARF2_LINE_MIN_INSN_LENGTH): New.
1256 * config/tc-m68hc11.h (md_end): Remove.
1257 * config/tc-mn10300.h (md_end): Remove.
1258 * config/tc-sh.h (md_end): Remove.
1259 * config/tc-v850.h (md_end): Remove.
1260
1261 * config/tc-ia64.c (emit_one_bundle): Don't protect
1262 dwarf2 bits with debug_type.
1263 (md_assemble): Likewise.
1264 (ia64_end_of_source): Don't call dwarf2_finish.
1265
ca683b78
JW
12662000-11-16 Jim Wilson <wilson@redhat.com>
1267
1268 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
1269 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
1270 > 16.
1271
6f620856
L
12722000-11-16 H.J. Lu <hjl@gnu.org>
1273
1274 * config/obj-elf.c (obj_elf_symver): Don't check the missing
1275 version name.
1276
19d63e5d
KH
12772000-11-15 Kazu Hirata <kazu@hxi.com>
1278
1279 * config/tc-tic30.c: Fix formatting.
1280 * config/tc-tic80.c: Likewise.
1281 * config/tc-v850.c: Likewise.
1282 * config/tc-vax.c: Likewise.
1283 * config/tc-w65.c: Likewise.
1284 * config/tc-z8k.c: Likewise.
1285
a8761a19
DD
12862000-11-14 DJ Delorie <dj@redhat.com>
1287
1288 * config/tc-v850.c: Support dwarf2.
1289 * config/tc-v850.h: Ditto.
1290
1291 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
1292 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 1293
88be23ec
BS
12942000-11-15 Bernd Schmidt <bernds@redhat.com>
1295
29184774 1296 * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
88be23ec
BS
1297 (errata_nops_necessary_p): New function.
1298 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
1299 md.
1300
72a76794
JW
13012000-11-14 Jim Wilson <wilson@redhat.com>
1302
1303 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
1304 return little endian bfd formats.
1305
4a1805b1
KH
13062000-11-14 Kazu Hirata <kazu@hxi.com>
1307
1308 * config/aout_gnu.h: Fix formatting.
1309 * config/atof-vax.c: Likewise.
1310 * config/m68k-parse.h: Likewise.
1311 * config/m88k-opcode.h: Likewise.
1312 * config/obj-elf.c: Likewise.
1313 * config/tc-arm.c: Likewise.
1314 * config/tc-cris.c: Likewise.
1315 * config/tc-i386.c: Likewise.
1316 * config/tc-ia64.c: Likewise.
1317 * config/tc-mn10300.c: Likewise.
1318 * config/te-386bsd.h: Likewise.
1319 * config/te-hppa.h: Likewise.
1320 * config/te-nbsd.h: Likewise.
1321 * config/te-ppcnw.h: Likewise.
1322 * config/te-sparcaout.h: Likewise.
1323 * config/te-tmips.h: Likewise.
1324 * config/vax-inst.h: Likewise.
1325 * config/vms-conf.h: Likewise.
1326
c810873d
JJ
13272000-11-14 Jakub Jelinek <jakub@redhat.com>
1328
1329 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
1330
79082ff0
L
13312000-11-13 H.J. Lu <hjl@gnu.org>
1332
1333 * config/obj-elf.c (elf_frob_symbol): Support
1334 ".symver name,name2@@@nodename".
1335 (elf_frob_file_before_adjust): Likewise.
1336
1337 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
1338 and ".symver name,name2@@@nodename".
1339 Fix a typo.
1340
1da00eb4
L
13412000-11-12 H.J. Lu (hjl@gnu.org)
1342
1343 * config/obj-elf.c (obj_elf_symver): Check missing version
1344 name.
1345
f585997b
L
13462000-11-12 H.J. Lu (hjl@gnu.org)
1347
1348 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
1349 instead of bfd_vma for non-bfd assemblers.
1350
ef5c4bfc
KH
13512000-11-09 Kazu Hirata <kazu@hxi.com>
1352
1353 * itbl-ops.c: Fix comment typos.
1354
f5a30c2e
JW
13552000-11-08 Jim Wilson <wilson@redhat.com>
1356
1357 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
1358 (struct unwind): Add next_slot_frag field.
1359 (slot_index): New parameters slot_frag and first_frag. Add code
1360 to add in frag sizes when different. Add comments.
1361 (fixup_unw_records): New locals first_frag and last_frag. Pass new
1362 arguments to slot_index.
1363 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
1364 loop end. Set next_slot_frag field.
1365
339681c0
L
13662000-11-07 H.J. Lu <hjl@gnu.org>
1367
1368 * doc/as.texinfo (.symver): Updated for versioned symbol
1369 reference.
1370
1371 * obj.h (format_ops): Add the frob_file_before_adjust field.
1372
1373 * config/obj-aout.c (aout_format_ops): Set the
1374 frob_file_before_adjust field to 0.
1375 * config/obj-coff.c (coff_format_ops): Likewise.
1376 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
1377
1378 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
1379 name.
1380 (elf_frob_file_before_adjust): New function to remove unneeded
1381 versioned symbols from the symbol table.
1382 (elf_format_ops): Set the frob_file_before_adjust field to
1383 elf_frob_file_before_adjust.
1384
1385 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
1386 not defined.
1387
1388 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
1389
4a314ec8
NC
13902000-11-07 Peter Targett <peter.targett@arccores.com>
1391
1392 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
1393 BIG_ENDIAN macros.
1394 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
1395 Fix compile time warning messages.
50705ef4 1396
604d524f
NC
13972000-11-07 Nick Clifton <nickc@redhat.com>
1398
1399 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
1400 buffer in order to avoid buffer overflows.
1401
44f5c83a
JW
14022000-11-06 Steve Ellcey <sje@cup.hp.com>
1403
1404 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
1405 Change M to m for -milp32 or -mlp64 to match gcc.
1406 (dot_endp): Use bytes_per_address instead of 8.
1407 (emit_one_bundle): Use number_to_chars_littleendian instead of
1408 md_number_to_chars.
1409 (fix_insn): Likewise.
1410 (ia64_init): New function.
1411 (ia64_target_format): New function.
1412 (md_begin): Set endianness, arch, and machine as appropriate.
1413 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
1414 Make these macros depend on TE_HPUX macro.
1415 (TARGET_FORMAT): Define.
1416 (HOST_SPECIAL_INIT): Define.
1417 * config/te-hpux.h: New file.
1418 * configure.in: Add "ia64-*-hpux*" target to configure.
1419 * configure: Regenerate.
50705ef4 1420
7152f1dc
KH
14212000-11-06 Kazu Hirata <kazu@hxi.com>
1422
ef99799a
KH
1423 * as.c: Fix formatting.
1424 * dwarf2dbg.c: Likewise.
1425 * input-file.c: Likewise.
7152f1dc
KH
1426 * input-file.h: Likewise.
1427 * input-scrub.c: Likewise.
ef99799a
KH
1428 * itbl-ops.c: Likewise.
1429 * listing.c: Likewise.
1430 * macro.h: Likewise.
1431 * messages.c: Likewise.
1432 * read.c: Likewise.
1433 * subsegs.c: Likewise.
1434 * subsegs.h: Likewise.
1435 * write.c: Likewise.
7152f1dc 1436
cf055d54
NC
14372000-11-06 Nick Clifton <nickc@redhat.com>
1438
1439 * doc/as.texinfo: Add GNU Free Documentation License.
1440 * doc/gasp.texi: Add GNU Free Documentation License.
1441 * doc/as.1: Add GNU Free Documentation License.
1442
8d6b5c8e
NC
14432000-11-05 Nick Clifton <nickc@redhat.com>
1444
1445 * config/tc-arm.c: Add include of "dwarf2dbg.h"
1446
59ff2774
NC
14472000-11-02 Per Lundberg <plundis@chaosdev.org>
1448
1449 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
1450 * configure: Regenerate.
1451
37d8bb27
NC
14522000-11-01 Nick Clifton <nickc@redhat.com>
1453
1454 * read.c (original_case_string): New global variable.
1455 (read_a_source_file): Copy opcode string into
1456 original_case_string if clobbering the case of the opcode.
1457 * read.h: Export the definition of original_case_string.
1458 * config/tc-arm.c (md_assembler): When parsing a .req
1459 directive use the original opcode string, not the case
1460 clobbered version.
1461
d75bb8cf
NC
14622000-11-02 Nick Clifton <nickc@redhat.com>
1463
1464 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 1465 variable.
d75bb8cf
NC
1466 (md_assemble): Call dwarf2_generate_asm_lineno instead of
1467 dwarf2_where and dwarf2_gen_line_info.
1468
6c17cfe4
PB
14692000-11-02 Theo Honohan <th@futuretv.com>
1470
50705ef4 1471 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 1472
c51ce5f0
EC
14732000-10-31 Eric Christopher <echristo@redhat.com>
1474
1475 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
1476 or pc-relative, else use fx_offset.
1477
f1bcba5b
JW
14782000-10-31 Jim Wilson <wilson@redhat.com>
1479
1480 * config/tc-ia64.c (struct md): New field tag_fixups.
1481 (ia64_flush_insns): Handle tag_fixups. Error if dangling
1482 qualifying predicate.
1483 (emit_one_bundle): Delete spurious multiplication by one. Handle
1484 tag_fixups.
1485 (ia64_start_line): Error if dangling qualifying predicate.
1486 (defining_tag): New static variable.
1487 (ia64_unrecognized_line, case '['): Parse tags.
1488 (ia64_frob_label): Create tag_fixups.
1489 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 1490
8637c045
AM
14912000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1492
1493 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
1494
ebeeafe6
BS
14952000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
1496
29184774 1497 * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
ebeeafe6 1498
b041f888
KH
14992000-10-30 Kazu Hirata <kazu@hxi.com>
1500
1501 * expr.c: Fix formatting.
1502 * flonum-copy.c: Likewise.
1503 * flonum.h: Likewise.
1504 * gasp.c: Likewise.
1505 * hash.c: Likewise.
1506
d8374dcd
HPN
15072000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1508
1509 * as.h (OPTION_MD_BASE): Bump to 190.
1510 * as.c (parse_args) <std_longopts>: Add comment about the need to
1511 check OPTION_MD_BASE in as.h.
1512
1308f14c
HPN
1513 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
1514 for weak symbols.
1515
6f6ef0fa
NC
15162000-10-27 Nick Clifton <nickc@redhat.com>
1517
1518 * configure.in (emulations): Add m68hc12.
1519 * configure: Regenerate.
1520 * po/gas.pot: Regenerate.
c51ce5f0 1521
bf1b5881
AH
15222000-10-27 Aldy Hernandez <aldyh@redhat.com>
1523
50705ef4
AM
1524 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
1525 cpsr*.
1526 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 1527
85a39694
NC
15282000-10-25 Nick Clifton <nickc@redhat.com>
1529
1530 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
1531 a DWARF2 line number information sequence.
1532
1533 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
1534
1535 * read.c (generate_lineno_debug): Update comment describing why
1536 DWARF2 line number debug information is not generated
1537 automatically by this function.
1538
1539 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
1540 not all.
c51ce5f0 1541
85a39694
NC
1542 * config/tc-arm.h (md_end): Define.
1543 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 1544
85a39694
NC
1545 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
1546 if generating DWARF2 line numbers.
1547 (arm_end_of_source): New function. Call dwarf2_finish if
1548 necessary.
1549
1550 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
1551 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
1552 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 1553
cce0cbdc
DN
15542000-10-25 Diego Novillo <dnovillo@cygnus.com>
1555
29184774 1556 * config/tc-i386.c: Fix prototype declarations for functions taking no
cce0cbdc
DN
1557 arguments.
1558
64a0c779
DN
15592000-10-24 Diego Novillo <dnovillo@cygnus.com>
1560
29184774 1561 * config/tc-i386.c (i386_operand_modifier): Remove.
64a0c779
DN
1562 (build_displacement_string): Remove.
1563 (i386_parse_seg): Remove.
1564 (i386_intel_memory_operand): Remove.
1565 (i386_intel_operand): Re-write using recursive descent parser based
1566 on MASM documentation.
1567 (struct intel_parser_s): New structure.
1568 (intel_parser): New static variable.
1569 (struct intel_token): New structure.
1570 (cur_token, prev_token): New static variables.
1571 (T_NIL): Define.
1572 (T_CONST): Define.
1573 (T_REG): Define.
1574 (T_BYTE): Define.
1575 (T_WORD): Define.
1576 (T_DWORD): Define.
1577 (T_QWORD): Define.
1578 (T_XWORD): Define.
1579 (T_SHORT): Define.
1580 (T_OFFSET): Define.
1581 (T_PTR): Define.
1582 (T_ID): Define.
1583 (intel_match_token): New function.
1584 (intel_get_token): New function.
1585 (intel_putback_token): New function.
1586 (intel_expr): New function.
1587 (intel_e05): New function.
1588 (intel_e05_1): New function.
1589 (intel_e06): New function.
1590 (intel_e06_1): New function.
1591 (intel_e09): New function.
1592 (intel_e09_1): New function.
1593 (intel_e10): New function.
1594 (intel_e10_1): New function.
1595 (intel_e11): New function.
1596
19f7b010
JJ
15972000-10-20 Jakub Jelinek <jakub@redhat.com>
1598
1599 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
1600 instructions to loose any special insn->architecture mask.
1601
1602 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
1603 (sparc_md_end, sparc_arch_types, sparc_arch,
1604 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
1605 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
1606 request v9b architecture if they are used).
1607
3ae647a0
NC
16082000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1609
1610 * config/tc-m68k.c: Fix the previous misapplied patch.
1611
5cbdaa77
NC
16122000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1613
50705ef4
AM
1614 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
1615 BFD_ASSEMBLER and !BFD_ASSEMBLER.
1616 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
1617 BFD_RELOC_*.
5cbdaa77 1618
e6c774b4
KH
16192000-10-17 Kazu Hirata <kazu@hxi.com>
1620
1621 * debug.c: Fix formatting.
1622 * depend.c: Likewise.
1623 * dwarf2dbg.c: Likewise.
1624 * dwarf2dbg.h: Likewise.
1625 * ecoff.c: Likewise.
1626 * expr.c: Likewise.
1627 * expr.h: Likewise.
1628 * flonum-konst.c: Likewise.
1629 * frags.h: Likewise.
1630
ea20a7da
CC
16312000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1632
1633 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
1634 options.
1635 * doc/as.texinfo: Added notes about this new option.
1636
266cb5f1
HPN
16372000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
1638
1639 * config/tc-sh.c (JREG): Remove.
1640 (md_convert_frag): Remove #if 0:d code using JREG.
1641
6588847e
DN
16422000-10-15 Diego Novillo <dnovillo@cygnus.com>
1643
1644 * config/tc-i386.c (i386_operand_modifier): Only match
1645 modifiers SHORT and FLAT if they are followed by a space.
1646 (parse_register): When `allow_naked_reg' is set, do not confuse
1647 identifiers that start with a register name with a register.
1648
30a2b4ef
KH
16492000-10-12 Kazu Hirata <kazu@hxi.com>
1650
1651 * app.c: Fix formatting.
1652 * as.c: Likewise.
1653 * as.h: Likewise.
1654 * bit_fix.h: Likewise.
1655 * cgen.c: Likewise.
1656 * cgen.h: Likewise.
1657 * cond.c: Likewise.
1658
d01e2a23
AM
16592000-10-11 Alan Modra <alan@linuxcare.com.au>
1660
1661 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
1662
44852b19
AM
16632000-10-07 Alan Modra <alan@linuxcare.com.au>
1664
dc1fc56b
AM
1665 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
1666 Re-arrange function a little and improve error message.
1667
44852b19
AM
1668 * write.c (write_relocs): Fix a comment.
1669
1670 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
1671 link-once sections.
1672
afa680f8
JW
16732000-10-05 Jim Wilson <wilson@cygnus.com>
1674
1675 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
1676
ce8a8b2f
AM
16772000-10-05 Alan Modra <alan@linuxcare.com.au>
1678
1679 * config/tc-i386.c: Delete some useless comments, reformat others.
1680
1681 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
1682 non-global syms in linkonce sections.
1683
56d27c17
AM
16842000-10-04 Ralf Baechle <ralf@gnu.org>
1685
1686 * config/tc-ia64.c (operand_match): Don't use // style comments.
1687 * config/tc-i370.c: Likewise.
1688
7b15d668
HPN
16892000-09-29 Hans-Peter Nilsson <hp@axis.com>
1690
1691 Changes to handle varying register prefix and user symbol prefix.
1692 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
1693 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
1694 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
1695 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
1696 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
1697 (demand_register_prefix): New variable.
1698 (md_pseudo_table): New pseudo ".syntax".
1699 (md_longopts): New options --no-underscore and --underscore.
1700 (cris_target_format): Return elf32-us-cris or elf32-cris depending
1701 on symbols_have_leading_underscore.
1702 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
1703 (get_spec_reg): Ditto.
1704 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
1705 Fix formatting.
1706 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
1707 --help.
1708 <case OPTION_NO_US, case OPTION_US>: New.
1709 (md_show_usage): Be brief and reformat to match continuation of
1710 --help.
1711 * po/gas.pot: Regenerate.
1712
27df9f40
AM
17132000-09-28 Alan Modra <alan@linuxcare.com.au>
1714
1715 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
1716 force relocs for 12 bit branches.
1717 (md_apply_fix): Similarly, adjust logic here.
1718
5506e1a5
AM
17192000-09-28 Alan Modra <alan@linuxcare.com.au>
1720
1721 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
1722 adjust for external and weak syms as we will use a reloc. Allow
1723 for +8 offset when calculating limits of branches.
1724 (hppa_fix_adjustable): Undo 2000-09-23 change.
1725 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
1726 Correct distance calculation.
47d89dba
AM
1727 (tc_gen_reloc): Print the file name and line number if we can't
1728 handle a fixup.
5506e1a5
AM
1729
1730 From John David Anglin <dave@hiauly1.hia.nrc.ca>
1731 * config/tc-hppa.c (nonzero_dibits): Define.
1732 (arg_reloc_stub_needed): Check each arg and return value
1733 separately for zero case.
1734 (pa_align): Declare argument `bytes'.
1735
81d4177b
KH
17362000-09-25 Kazu Hirata <kazu@hxi.com>
1737
1738 * config/tc-cris.c: Fix formatting.
1739 * config/tc-d10v.h: Likewise.
1740 * config/tc-d30v.c: Likewise.
1741 * config/tc-d30v.h: Likewise.
1742 * config/tc-fr30.c: Likewise.
1743 * config/tc-fr30.h: Likewise.
1744 * config/tc-m68k.c: Likewise.
1745 * config/tc-m68k.h: Likewise.
1746 * config/tc-pj.h: Likewise.
1747 * config/tc-ppc.c: Likewise.
1748 * config/tc-ppc.h: Likewise.
1749 * config/tc-sh.c: Likewise.
1750 * config/tc-sh.h: Likewise.
1751 * config/tc-sparc.c: Likewise.
1752 * config/tc-v850.h: Likewise.
1753 * config/tc-vax.h: Likewise.
1754 * config/tc-w65.h: Likewise.
1755 * config/tc-z8k.h: Likewise.
1756
959ee541
AM
17572000-09-23 Alan Modra <alan@linuxcare.com.au>
1758
1759 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
1760 checks only for ELF.
1761 (hppa_force_relocation): Likewise.
1762
139368c9
JW
17632000-09-22 Jim Wilson <wilson@cygnus.com>
1764
1765 * config/tc-ia64.c (dv_sem): Add "stop".
1766 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
1767 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
1768 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
1769 match above.
1770 (mark_resources): Check IA64_RS_PRr.
1771
151337e8
NC
17722000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1773
56d27c17 1774 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
1775 md_estimate_size_before_relax): Redesign and clean up the
1776 relaxation mechanism.
1777
0b7410c4
KH
17782000-09-21 Kazu Hirata <kazu@hxi.com>
1779
1780 * config/tc-ns32k.c: Fix formatting.
1781 * config/tc-ns32k.h: Likewise.
1782
a4d24084
KH
17832000-09-20 Kazu Hirata <kazu@hxi.com>
1784
82efde3a
KH
1785 * config/tc-m32r.c: Fix formatting.
1786 * config/tc-m32r.h: Likewise.
1787 * config/tc-m68851.h: Likewise.
1788 * config/tc-m68hc11.c: Likewise.
1789 * config/tc-m68hc11.h: Likewise.
1790 * config/tc-m88k.c: Likewise.
1791 * config/tc-mcore.c: Likewise.
a75214e5 1792 * config/tc-mcore.h: Likewise.
82efde3a
KH
1793 * config/tc-mips.c: Likewise.
1794 * config/tc-mips.h: Likewise.
1795 * config/tc-mn10200.h: Likewise.
1796 * config/tc-mn10300.h: Likewise.
a75214e5 1797 * config/tc-tahoe.c: Likewise.
a4d24084
KH
1798 * config/tc-tahoe.h: Likewise.
1799
4844386e 18002000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
1801
1802 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
1803 Likewise in relaxation description comments.
1804
9e754211
AM
18052000-09-18 Alan Modra <alan@linuxcare.com.au>
1806
1807 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
1808 subtraction of two syms without emitting a relocation.
1809
1810 From David Huggins-Daines <dhd@linuxcare.com>
1811 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
1812 global or weak symbols.
1813
4a4f25cf
KH
18142000-09-15 Kazu Hirata <kazu@hxi.com>
1815
1816 * config/tc-h8300.h: Fix formatting.
1817 * config/tc-h8500.c: Likewise.
1818 * config/tc-h8500.h: Likewise.
1819 * config/tc-hppa.h: Likewise.
1820 * config/tc-i370.h: Likewise.
1821 * config/tc-i386.h: Likewise.
1822 * config/tc-i860.c: Likewise.
1823 * config/tc-i860.h: Likewise.
1824 * config/tc-i960.h: Likewise.
1825 * config/tc-ia64.c: Likewise.
1826 * config/tc-ia64.h: Likewise.
1827
1dab94dd
KH
18282000-09-14 Kazu Hirata <kazu@hxi.com>
1829
1830 * config/tc-a29k.c: Fix formatting.
1831 * config/tc-alpha.c: Likewise.
1832 * config/tc-arc.c: Likewise.
1833 * config/tc-arc.h: Likewise.
1834 * config/tc-arm.c: Likewise.
1835 * config/tc-arm.h: Likewise.
1836 * config/tc-avr.c: Likewise.
1837 * config/tc-avr.h: Likewise.
1838 * config/tc-tic30.c: Likewise.
1839 * config/tc-tic30.h: Likewise.
1840 * config/tc-tic54x.c: Likewise.
1841 * config/tc-tic54x.h: Likewise.
1842 * config/tc-tic80.c: Likewise.
1843 * config/tc-tic80.h: Likewise.
1844
7484b8e6
TW
18452000-09-14 Timothy Wall <twall@cygnus.com>
1846
1847 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
1848 parallel comparisons for later use.
1849 (struct rsrc): Add parallel comparison type.
1850 (resources_match): Skip special cases of PR usage (non-conflicting
1851 parallel compares).
56d27c17 1852
bf514e21
KH
18532000-09-13 Kazu Hirata <kazu@hxi.com>
1854
1855 * config/obj-ecoff.c: Fix formatting.
1856 * config/obj-elf.c: Likewise.
1857 * config/obj-elf.h: Likewise.
1858 * config/obj-evax.h: Likewise.
1859 * config/obj-generic.h: Likewise.
1860 * config/obj-hp300.c: Likewise.
1861 * config/obj-hp300.h: Likewise.
1862 * config/obj-ieee.h: Likewise.
1863 * config/obj-vms.c: Likewise.
1864 * config/obj-vms.h: Likewise.
1865
156c2f8b 18662000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 1867
50705ef4
AM
1868 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
1869 (md_parse_option): Ditto.
1870 (md_longopts): Add -mips32 option.
1871 (md_show_usage): Document new options.
1872 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
1873 (mips_ip): Assemble mfc0 with a sub-selection code.
1874 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
1875 (mips_cpu_to_str): New function.
1876 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
1877 Use CPU_* defines instead of hardcoded numbers.
1878
50705ef4
AM
1879 * doc/as.texinfo: Document new options.
1880 * doc/c-mips.texi: Ditto.
156c2f8b 1881
a01b9fa4
KH
18822000-09-12 Kazu Hirata <kazu@hxi.com>
1883
1884 * as.h: Fix formatting.
1885 * asintl.h: Likewise.
1886 * bit_fix.h: Likewise.
dcd619be
KH
1887 * config/obj-aout.c: Likewise.
1888 * config/obj-aout.h: Likewise.
1889 * config/obj-bout.c: Likewise.
1890 * config/obj-bout.h: Likewise.
1891 * config/obj-coff.c: Likewise.
1892 * config/obj-coff.h: Likewise.
a01b9fa4
KH
1893 * dwarf2dbg.h: Likewise.
1894 * expr.h: Likewise.
1895 * flonum.h: Likewise.
1896 * frags.h: Likewise.
1897 * itbl-ops.h: Likewise.
1898 * macro.h: Likewise.
1899 * read.h: Likewise.
1900 * sb.h: Likewise.
1901 * struc-symbol.h: Likewise.
1902 * subsegs.h: Likewise.
1903 * symbols.h: Likewise.
1904 * tc.h: Likewise.
1905 * write.h: Likewise.
1906
92774660
KH
19072000-09-11 Kazu Hirata <kazu@hxi.com>
1908
f0e652b4
KH
1909 * bignum-copy.c: Fix formatting.
1910 * config/tc-i370.c: Likewise.
92774660
KH
1911 * config/tc-i960.c: Likewise.
1912 * config/tc-m68k.c: Likewise.
f0e652b4
KH
1913 * ehopt.c: Likewise.
1914 * flonum-copy.c: Likewise.
1915 * flonum-konst.c: Likewise.
1916 * flonum-mult.c: Likewise.
1917 * literal.c: Likewise.
1918 * read.c: Likewise.
1919 * sb.c: Likewise.
1920 * stabs.c: Likewise.
1921 * subsegs.c: Likewise.
92774660 1922
222f8079
PB
19232000-09-09 Philip Blundell <philb@gnu.org>
1924
1925 * configure.in (arm*-*-uclinux*): New target.
1926 * configure: Regenerate.
1927
c488923f
KH
19282000-09-09 Kazu Hirata <kazu@hxi.com>
1929
1930 * input-file.c: Fix formatting.
1931 * itbl-ops.c: Likewise.
1932 * messages.c: Likewise.
1933
e0e3ecca
PB
19342000-09-08 Philip Blundell <philb@gnu.org>
1935
1936 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
1937 offset is negative.
1938
5d64ca4e
L
19392000-09-07 H.J. Lu <hjl@gnu.org>
1940
1941 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1942 * configure: Rebuild.
1943
bdaaa2e1
KH
19442000-09-07 Kazu Hirata <kazu@hxi.com>
1945
e49bc11e
KH
1946 * atof-generic.c: Fix formatting.
1947 * config/tc-mips.c: Likewise.
e13b337a
KH
1948 * config/tc-vax.c: Likewise.
1949 * input-scrub.c: Likewise.
bdaaa2e1 1950
d07ed2cd
AO
19512000-09-07 Alexandre Oliva <aoliva@redhat.com>
1952
1953 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
1954 * configure.in (sh-*-linux*): Added.
1955 * configure: Rebuilt.
1956
86905619
KH
19572000-09-06 Kazu Hirata <kazu@hxi.com>
1958
a28a3ccf
JL
1959 * config/tc-hppa.c: Fix formatting.
1960
86905619
KH
1961 * ecoff.c: Fix formatting.
1962
58cccadb
AO
19632000-09-06 Alexandre Oliva <aoliva@redhat.com>
1964
1965 * configure: Rebuilt with new libtool.m4.
1966
542d6675
KH
19672000-09-05 Kazu Hirata <kazu@hxi.com>
1968
1969 * cgen.c: Fix formatting.
1970 * config/tc-ia64.c: Likewise.
1971
5b343f5a
NC
19722000-09-05 Nick Clifton <nickc@redhat.com>
1973
1974 * aclocal.m4: Regenerate.
1975 * config.in: Regenerate.
1976 * configure: Regenerate.
1977 * po/gas.pot: Regenerate.
50bbae35 1978
07e90ad5
HPN
19792000-09-05 Hans-Peter Nilsson <hp@axis.com>
1980
1981 * config/tc-cris.c: Correct comment typos.
1982
1485d400
EC
19832000-09-05 Eric Christopher <echristo@cygnus.com>
1984
1985 * config/tc-mn10300.c: Cleanup.
1986 (md_pcrel_from): Enable.
1987
904a31bf
AM
19882000-09-05 Alan Modra <alan@linuxcare.com.au>
1989
927781e2
AM
1990 * expr.c (operand): Fix a comment typo.
1991 * write.c (write_relocs): Fix a signed/unsigned warning.
1992
ecacdc7a
AM
1993 * config/tc-hppa.c (fudge_reg_expressions): New
1994 (hppa_force_reg_syms_absolute): New.
1995 (pa_equ): Allow reg_section expressions.
1996 * config/tc-hppa.c (md_optimize_expr): Define.
1997 (hppa_force_reg_syms_absolute): Prototype.
1998
1999 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
2000 (pa_parse_number): Pass in arg to select fp reg parsing.
2001 Return 1 to indicate format checks pass. If strict, then only
2002 accept a register or register symbol. Return value in...
2003 (pa_number): New static for pa_parse_number.
2004 (FP_REG_BASE): Define.
2005 (FP_REG_RSEL): Define.
2006 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
2007 appropriate. White space changes.
2008 (need_pa11_opcode): Don't bother passing any params, get them from
2009 globals instead.
2010 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
2011 Remove extraneous check in case 'Q'.
2012 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
2013 reg, set section of resulting symbol to reg_section.
2014 (pa_parse_space_stmt): Modify call to pa_parse_number.
2015 (pa_space): Likewise.
2016
904a31bf
AM
2017 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
2018 (hppa_force_relocation): Handle vtable relocs.
2019 (pa_vtable_entry): New.
2020 (pa_vtable_inherit): New.
2021 (md_pseudo_table): Add entries for vtable pseudos.
2022 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
2023 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
2024 against weak syms.
2025 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
2026 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
2027 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
2028 millicode import.
2029 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
2030 specify a symbol type.
2031
2032 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
2033 dependent things together.
2034 (md_elf_symbol_type): Define.
2035
2036 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
2037 symbol.
2038 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
2039
2040 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
2041 (obj_elf_vtable_entry): Declare.
2042
2043 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
2044 and export function.
2045 (obj_elf_vtable_entry): Similarly.
2046 (elf_pseudo_table): Fix the damage with a cast.
2047
a47cf567 20482000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
2049
2050 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
2051 for template selection when a label is needed.
2052
197865e8
KH
20532000-09-02 Kazu Hirata <kazu@hxi.com>
2054
2055 * config/tc-ia64.c: Fix formatting.
2056
18e03609
NC
20572000-09-02 Nick Clifton <nickc@redhat.com>
2058
2059 * configure.in: Increase version number to 2.10.91.
2060 * configure: Regenerate.
2061 * aclocal.m4: Regenerate.
2062 * config.in: Regenerate.
2063 * po/gas.pot: Regenerate.
2064 * Makefile.in: Regenerate.
1485d400 2065
a1cc9221
AO
20662000-09-01 Alexandre Oliva <aoliva@redhat.com>
2067
2068 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
2069 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
2070 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
2071 similar relocs.
2072 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
2073 branches.
2074
20752000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2076
2077 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
2078 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
2079 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
2080 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
2081 (GOT_symbol): New variable.
2082 (md_undefined_symbol): Set it.
2083
44576e1f
RH
20842000-09-01 Richard Henderson <rth@cygnus.com>
2085
2086 * config/tc-ia64.c (match): Don't inline.
2087 (extra_goodness): New.
2088 (md_begin): Prefer nop.f and nop.b for best_template.
2089
29f8404c
KH
20902000-08-31 Kazu Hirata <kazu@hxi.com>
2091
76b0a8c0
KH
2092 * as.c: Fix formatting.
2093 * cond.c: Likewise.
2094 * frags.c: Likewise.
29f8404c
KH
2095 * macro.c: Likewise.
2096
b4c1ea07
EC
20972000-08-31 Eric Christopher <echristo@cygnus.com>
2098
2099 * config/tc-mn10300.c: Cleanup and fix warnings.
2100 (md_pseudo_table): Add initializers.
2101 (md_show_usage): Cleanup.
2102 (md_parse_option): Fix warnings.
2103 (md_undefined_symbol): Fix warnings.
2104 (md_conver_frag): Fix warnings.
2105 (tc_gen_reloc): Fix warnings.
2106 (md_apply_fix3): Fix warnings.
2107 (check_operand): Fix warnings.
2108
ac48eca1
AO
21092000-08-31 Alexandre Oliva <aoliva@redhat.com>
2110
2111 * acinclude.m4: Include libtool and gettext macros from the
2112 top level.
2113 * aclocal.m4, configure: Rebuilt.
2114
e0c21649
GK
21152000-08-30 Mark Hatle <mhatle@mvista.com>
2116
2117 * config/tc-ppc.c (md_parse_option): Recognize -m405.
2118
cf39a089
KH
21192000-08-31 Kazu Hirata <kazu@hxi.com>
2120
2121 * listing.c: Fix formatting.
2122
3ee4defc
KH
21232000-08-29 Kazu Hirata <kazu@hxi.com>
2124
2125 * app.c: Fix a comment typo. Fix formatting.
2126
1e8d20f4
NC
21272000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2128
29184774 2129 * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
50bbae35
AM
2130 offset of the target destination for jmp instructions.
2131 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 2132
5bcac8a4
HPN
21332000-08-24 Hans-Peter Nilsson <hp@axis.com>
2134
2135 * NEWS: Mention support for CRIS.
2136
46547ecc
DC
2137Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
2138
2139 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
2140 Sets `.lcomm' alignment to zero.
2141
4b853faa
AO
21422000-08-23 Alexandre Oliva <aoliva@redhat.com>
2143
29184774
NC
2144 * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
2145 TC_FIX_ADJUSTABLE): Define.
4b853faa 2146
efcc5914
JW
21472000-08-23 Jim Wilson <wilson@cygnus.com>
2148
2149 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
2150 unwind.personality_routine is set.
2151
aca719bf
AO
21522000-08-23 H.J. Lu <hjl@gnu.org>
2153
2154 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
2155
a3da4de1
AO
21562000-08-23 Alexandre Oliva <aoliva@redhat.com>
2157
2158 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
2159 environment is pe.
2160
56385375
L
21612000-08-22 H.J. Lu <hjl@gnu.org>
2162
2163 * config.in (STRICTCOFF): New for strict COFF.
2164
2165 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
2166 i386-*-go32* and i386-go32-rtems*.
2167 * configure: Rebuilt.
2168
2169 * config/obj-coff.c (obj_coff_endef): Follow the historical
2170 behavior if STRICTCOFF is not defined.
2171
2172 * doc/internals.texi: Document STRICTCOFF.
2173
8f36cd18
AO
21742000-08-22 Alexandre Oliva <aoliva@redhat.com>
2175
2176 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
2177 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
2178 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
2179 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
2180 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
2181 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
2182 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
2183 Likewise.
2184
58a77e41
EC
21852000-08-22 Eric Christopher <echristo@cygnus.com>
2186
2187 * config/tc-mn10300.c: (md_apply_fix): New function.
2188 (mn10300_force_relocation): New function.
2189 (mn10300_fix_adjustable): New function.
2190
2191 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
2192 (TC_HANDLES_FX_DONE): Define.
2193 (obj_fix_adjustable): Define.
2194 (MD_APPLY_FIX3): Define.
2195 (TC_LINKRELAX_FIXUP): Define.
2196
2197 * write.c: (TC_LINKRELAX_FIXUP): Define if not
2198 previously defined.
2199 (fixup_segment): Use TC_LINKRELAX_FIXUP.
2200
2201 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
2202
ded0649c
JE
22032000-08-21 Jason Eckhardt <jle@cygnus.com>
2204
2205 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
2206 if the fixup resulted in a relocation.
2207
66102fe2
NC
22082000-08-18 Nick Clifton <nickc@redhat.com>
2209
2210 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
2211 Make reference to first element of shift_names explicit.
2212
02198638
AO
22132000-08-18 Alexandre Oliva <aoliva@redhat.com>
2214
2215 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
2216 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
2217 add a symbol's address. Removed all target-specific #ifdefs that
2218 used to accomplished the same.
2219 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2220 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2221 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2222 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2223 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2224
353e2c69
KH
22252000-08-17 Kazu Hirata <kazu@hxi.com>
2226
2227 * dwarf2dbg.c: Fix formatting.
2228
4fb7971f
NC
22292000-08-17 Nick Clifton <nickc@redhat.com>
2230
2231 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
2232 to be recoded as logical shift lefts by zero.
2233
50b81f19
JW
22342000-08-16 Jim Wilson <wilson@cygnus.com>
2235
2236 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
2237 postincrement modified registers. Handle IA64_OPND_R3_2 addl
2238 source registers.
2239 (note_register_values): Handle IA64_OPND_R3_2 operands.
2240
f869cfc6
JE
22412000-08-16 Jason Eckhardt <jle@cygnus.com>
2242
50bbae35 2243 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 2244
8cb8bcba
NC
22452000-08-16 Nick Clifton <nickc@redhat.com>
2246
2247 * config/tc-arm.c (struct asm_shift): Delete.
2248 (shift[]): Delete.
2249 (enum asm_shift_index): New.
2250 (struct asm_shift_properties): New.
2251 (struct asm_shift_name): New.
2252 (shift_properties[]); New.
2253 (shift_names[]); New.
2254
2255 (decode_shift): Use new structures.
2256 Issue a warning is "ROR #0" is used.
2257 Issue a warning if "ASR #0" or "LSR #0" is used.
2258
2259 (md_begin): Initialise arm_shift_hsh table from new
2260 asm_shift_name array.
2261
c2158c24
JJ
22622000-08-16 Jakub Jelinek <jakub@redhat.com>
2263
2264 * config/tc-sparc.c: Kill all warnings.
2265 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
2266 in -xarch= as well.
2267 (md_show_usage): Update usage text.
2268
70485b5c
NC
22692000-08-16 Nick Clifton <nickc@redhat.com>
2270
c2158c24 2271 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
2272 useful.
2273
a47cf567 22742000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
2275
2276 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
2277
2278 * config/tc-sh.c (md_assemble): Changed so debug_type
2279 test performed for ppi_assemble
2280 * config/tc-sh.c: Included dwarf2dbg.h.
2281 (debug_line): Defined.
2282 (md_assemble): Generates dwarf2 line info.
2283 (sh_finalize): New function. Finalize dwarf2 info.
2284 (assemble_ppi): Returns size of code generated.
2285 (build_Mytes): Returns size of code generated.
2286 (md_pseudo_table): Added "file" and "loc" psuedo ops.
2287 * config/tc-sh.h (md_end): Defined.
2288 (sh_finalize): Declared.
2289
1db77c8e
AO
22902000-08-15 Alexandre Oliva <aoliva@redhat.com>
2291
2292 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
2293 md_number_to_chars.
2294
046b3b54
NC
22952000-08-14 Nick Clifton <nickc@redhat.com>
2296
2297 * config/tc-arm.c (do_bx): Allow "bx pc".
2298
c43c2cc5
JW
22992000-08-14 Jim Wilson <wilson@cygnus.com>
2300
2301 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
2302 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
2303 (md_begin): Change assignment to md.flag to OR in the new bit.
2304
d1d8ba22
NC
23052000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
2306
2307 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
2308 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
2309 C_MOU, and C_EOS.
d1d8ba22 2310
22b36938
JE
23112000-08-14 Jason Eckhardt <jle@cygnus.com>
2312
2313 * NEWS: Mention i860 support.
2314
c0bd0db2
JL
2315Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
2316
2317 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2318
0ac658b8
AS
23192000-08-14 Andreas Schwab <schwab@suse.de>
2320
2321 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
2322
9fc2dda2
JE
23232000-08-11 Andreas Schwab <schwab@suse.de>
2324
2325 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
2326 argument.
2327
bc4466dc
KH
23282000-08-11 Kazu Hirata <kazu@hxi.com>
2329
2330 * expr.c: Fix formatting.
351aa9f6 2331 * config/obj-bout.c: Likewise.
bc4466dc 2332
a9c99419
JE
23332000-08-10 Jason Eckhardt <jle@cygnus.com>
2334
2335 * doc/c-i860.texi: Flesh out the i860 section more.
2336
7c743825
KH
23372000-08-10 Kazu Hirata <kazu@hxi.com>
2338
2339 * symbols.c: Fix formatting.
929b12bc 2340 * expr.c: Likewise.
7c743825 2341
fa2255cb
DN
2342Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
2343
29184774
NC
2344 * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
2345 modifier has the IgnoreSize bit set.
fa2255cb 2346
fc997f4b
AM
23472000-08-09 Alan Modra <alan@linuxcare.com.au>
2348
2349 From Rodney Brown <RodneyBrown@mynd.com>
2350 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
2351 * configure: Regenerate.
2352
a47cf567
NC
23532000-08-09 Kazu Hirata <kazu@hxi.com>
2354
2355 * hash.c: Fix formatting.
2356 * gasp.c: Likewise.
2357
305d537e
JE
23582000-08-08 Jason Eckhardt <jle@cygnus.com>
2359
2360 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
2361 (i860_fix_info): New enum.
2362 (MD_APPLY_FIX3): Define.
2363 (WORKING_DOT_WORD): Define.
2364 (TC_HANDLES_FX_DONE): Define.
2365 (DIFF_EXPR_OK): Define.
2366 (LISTING_HEADER): Define.
2367 (TARGET_FORMAT): Select target format based on endian flag.
2368 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
2369 (target_big_endian): Add external declaration.
2370
2371 * config/tc-i860.c: All existing code reworked completely. Other
2372 new code shown below.
2373 (SYNTAX_SVR4): Define.
2374 (target_warn_expand): New variable.
2375 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
2376 (md_longopts): Declare and define with new options (-EL, -EB,
2377 and -mwarn-expand).
2378 (md_show_usage): New function.
2379 (md_operand): New function.
2380 (obtain_reloc_for_imm16): New function.
2381 (md_apply_fix3): New function.
2382 (tc_gen_reloc): New function.
2383
df86943d
NC
23842000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2385
2386 * config/tc-m68hc11.c (build_jump_insn): Make sure the
2387 2 bytes of the jump address are in the same frag.
2388 (find): Accept 68hc12 register indirect modes.
2389
2390 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 2391
30d25259
RH
23922000-08-07 Richard Henderson <rth@cygnus.com>
2393
2394 * config/tc-ia64.c (unwind): Add prologue_mask member.
2395 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
2396 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
2397 (dot_body): Clear unwind.prologue_mask.
2398 (dot_prologue): Set it. Accept a register second argument.
2399
2d484c7f
KH
24002000-08-07 Kazu Hirata <kazu@hxi.com>
2401
2402 * config/atof-ieee.c: Fix formatting.
2403 * config/atof-tahoe.c: Likewise.
2404
a47cf567 24052000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 2406
3d4ae3c0
NC
2407 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
2408 work.
2409
c91d2e08
NC
2410 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
2411 of .popsection, .previous, .pushsection, .subsection,
2412 .version, .vtable_entry, .vtable_inherit and .weak.
2413
47926f60
KH
24142000-08-05 Kazu Hirata <kazu@hxi.com>
2415
2416 * config/tc-cris.c: Fix formatting.
2417 * config/tc-i386.c: Likewise.
2418 * config/tc-sparc.c (sparc_ip): Simplify the code.
2419
ab3e48dc
KH
24202000-08-04 Kazu Hirata <kazu@hxi.com>
2421
2422 * config/tc-cris.c: Rearrange code for readability.
2423 * config/tc-d10v.c: Fix formatting.
2424 * config/tc-m32r.c: Likewise.
2425 * config/tc-sparc.c: Likewise.
2426
3d56ab85
JW
24272000-08-02 Jim Wilson <wilson@cygnus.com>
2428
2429 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
2430 before ia64_find_opcode.
2431 (md_assemble): Likewise.
2432
3f9dfb2c
NC
24332000-08-01 Nick Clifton <nickc@cygnus.com>
2434
a47cf567 2435 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 2436 Undo some formatting fixes.
3f9dfb2c 2437
28e4f854
KH
24382000-08-01 Kazu Hirata <kazu@hxi.com>
2439
2440 * config/obj-som.c: Fix formatting.
2441 * config/obj-ieee.c: Likewise.
2442 * config/tc-arm.c: Likewise.
2443 * config/tc-v850.c: Likewise.
2444
a570e639
NC
24452000-08-01 Nick Clifton <nickc@redhat.com>
2446
2447 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
2448 index by command line option.
58a77e41 2449
a570e639
NC
24502000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2451
2452 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
2453 (@node M68K-Branch): Rewrite to match the reality.
2454
e3308d0d
JE
24552000-07-31 Jason Eckhardt <jle@cygnus.com>
2456
2457 * doc/c-i860.texi: New file.
2458 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
2459 * doc/Makefile.in: Regenerate.
2460 * doc/all.texi: Add I860 as relevant architecture.
2461 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
2462
2fd5405a
NC
24632000-07-31 Kazu Hirata <kazu@hxi.com>
2464
2465 * config/tc-d30v.c: Fix formatting.
2466
28e7409f
NC
24672000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2468
50bbae35
AM
2469 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
2470 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
2471 long emit a long branch if available instead of an absolute jump, never
2472 emit absolute jumps for anything with --pcrel.
28e7409f
NC
2473
2474 * doc/c-m68k.texi: Document new command line option.
58a77e41 2475
a47cf567
NC
24762000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
2477
2478 * config/tc-avr.c: Use PARAMS macro in function declarations.
2479 Don't declare md_pcrel_from_section (already in tc-avr.h).
2480 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
2481 (avr_operand): Don't set (unsigned) op_mask to -1.
2482
534022ea
JE
24832000-07-28 Jason Eckhardt <jle@cygnus.com>
2484
50bbae35
AM
2485 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
2486 * configure: Regenerated.
2487 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
2488 of operand to the .type directive (.e.g, "type").
534022ea 2489
4c400d5e
AM
24902000-07-28 Alan Modra <alan@linuxcare.com.au>
2491
2492 * as.h (warn_comment, found_comment, found_comment_file): Declare.
2493 * app.c (do_scrub_chars): Record where first comment found.
2494 * read.c (read_a_source_file): Init found_comment on entry, and
2495 notify whether comments found on exit.
2496 * config/tc-hppa.c (md_shortopts): Add "c".
2497 (md_longopts): Add warn-comment.
2498 (md_parse_option): Handle it.
2499 (md_show_usage): Show available options.
2500 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
2501
0aa529cb
AC
2502Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
2503
2504 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
2505 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 2506 sym_ptr_ptr
0aa529cb
AC
2507 (md_estimate_size_before_relax): Don't fall off end of function.
2508
c6a7ab1f
NC
25092000-07-27 Kazu Hirata <kazu@hxi.com>
2510
2511 * config/tc-avr.c: Fix formatting.
2512 * config/tc-ns32k.c: Likewise.
2513
e0c6ed95
AM
25142000-07-27 Alan Modra <alan@linuxcare.com.au>
2515
2516 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
2517
25182000-07-27 Kazu Hirata <kazu@hxi.com>
2519
2520 * config/tc-d10v.c: Fix formatting.
2521 * config/tc-z8k.c: Likewise.
2522 * config/tc-sparc.c: Likewise.
2523
6883dc5e 25242000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
2525
2526 * cgen.c (queue_fixup): Declare opinfo.
2527 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
2528 (gas_cgen_md_operand): Ditto.
2529 (gas_cgen_md_apply_fix3): Ditto.
2530
39da8128
DD
25312000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
2532
2533 * config/obj-coff.c (obj_frob_symbol): Don't merge
2534 labels. Don't merge if the symbol isn't constant. Return
2535 immediately if a symbol is merged.
2536
65e68b04
AM
25372000-07-22 Alan Modra <alan@linuxcare.com.au>
2538
2539 * frags.c (frag_align): Correct absolute section alignment.
2540
5e0d736c
DD
25412000-07-20 DJ Delorie <dj@redhat.com>
2542
2543 * config/obj-coff.c (obj_frob_symbol): revert previous change,
2544 it breaks linking against DLLs.
2545
3bcbcc3d
HPN
25462000-07-20 Hans-Peter Nilsson <hp@axis.com>
2547
2548 * configure.in: Add CRIS support.
2549 * configure: Regenerate.
2550 * Makefile.am: (CPU_TYPES): Add cris.
2551 (CPU_OBJ_VALID) [aout]: Add cris.
2552 (MULTI_CPU_TYPES): Add cris.
2553 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 2554 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
2555 (TARGET_CPU_CFILES): Add config/tc-cris.c.
2556 (TARGET_CPU_HFILES): Add config/tc-cris.h.
2557 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
2558 Regenerate dependencies.
2559 * Makefile.in: Regenerate.
2560 * aclocal.m4: Regenerate.
2561 * as.c: Declare crisaout, criself.
2562 * config/tc-cris.h, config/tc-cris.c: New.
2563 * config/e-criself.c, config/e-crisaout.c: New.
2564 * po/POTFILES.in, po/gas.pot: Regenerate.
2565
041ff4dd 25662000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 2567
041ff4dd 2568 * read.c: Fix formatting.
efaf0ba4 2569 * write.c: Fix formatting.
041ff4dd 2570
f980ada0
L
25712000-07-19 H.J. Lu <hjl@gnu.org>
2572
2573 * sb.c: Include <stdlib.h> if exists for abort ().
2574
25a8b250
AM
25752000-07-19 Alan Modra <alan@linuxcare.com.au>
2576
2577 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
2578 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
2579 (pa_type_args): Same here.
2580
7a9aaf92
NC
25812000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
2582
2583 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
2584 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
2585 the storage class is already set.
2586
8098403c
NC
25872000-07-17 Kazu Hirata <kazu@hxi.com>
2588
fafb6d17 2589 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
2590 * config/tc-mn10200.c: Likewise.
2591 * config/tc-mn10300.c: Likewise.
2592 * config/tc-pj.c: Likewise.
2593 * config/tc-tic80.c: Likewise.
2594 * config/tc-w65.c: Likewise.
8098403c 2595
977e771a
FCE
25962000-07-17 Frank Ch. Eigler <fche@redhat.com>
2597
2598 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
2599 is defined.
2600
63bf5651
ILT
26012000-07-15 Ian Lance Taylor <ian@zembu.com>
2602
2603 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
2604 @code.
2605
1cd1c99b
AM
26062000-07-15 Alan Modra <alan@linuxcare.com.au>
2607
2608 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
2609 ELF as are used for SOM (except the 32-bit reloc one) to decide
2610 whether a symbol can be reduced to a section symbol. Expand on
2611 the comment for symbols involved in LR% and RR% expressions.
2612
119d663a
NC
26132000-07-14 Nick Clifton <nickc@cygnus.com>
2614
2615 * config/tc-mips.c (mips_disable_float_construction): New
2616 static variable. Set to true if doubles should not be
2617 constructed by loading two single width fp registers with
2618 halves of the value.
2619 (mips_ip): Test mips_disable_float_construction.
2620 (md_longopts): Add command line switches --construct-floats
2621 and --no-construct-floats.
2622 (md_parse_option): Parse new command line options.
2623 (md_show_usage): Describe new command line options.
2624
2625 * doc/c-mips.texi: Document new command line options.
2626
906fac54
AM
26272000-07-13 Koundinya K <kk@ddeorg.soft.net>
2628
2629 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
2630 * configure: Regenerate.
2631
26322000-07-13 Hans-Peter Nilsson <hp@axis.com>
2633
2634 * configure.in (DEFAULT_EMULATION setting): Revert part of
2635 2000-07-01 change that set te_multi=multi unless set to tmips.
2636 * configure: Regenerate.
2637
7f788821
NC
26382000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2639
2640 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 2641 section when aligning it increases its size.
7f788821 2642
9a736b6b
NC
26432000-07-11 Kazu Hirata <kazu@hxi.com>
2644
2645 * config/tc-tic54x.c: Fix formatting.
2646
3dd5103b
NC
26472000-07-10 Kazu Hirata <kazu@hxi.com>
2648
2649 * config/tc-h8500.c: Fix formatting.
1aea3bb8 2650 * config/tc-tic54x.c: Fix formatting.
3dd5103b 2651
46b85d42
AM
26522000-07-10 Alan Modra <alan@linuxcare.com.au>
2653
2654 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
2655 displacements correctly.
2656
2657 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
2658
26592000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2660
2661 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
2662 warning.
2663 (hash_jam): Ditto.
2664
ad1079af
AM
26652000-07-09 Alan Modra <alan@linuxcare.com.au>
2666
2667 From David Huggins-Daines <dhd@linuxcare.com>
2668 * config/te-hppalinux64.h: Add a new emulation.
2669 * configure.in (emulations): Add configure bits to support the
2670 64-bit Linux/parisc target.
2671 * configure: Regenerate.
2672
2673 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
2674 (md_shortopts): Add `V' for ELF.
2675
2676 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
2677 when SOM or ELF_ARG_RELOC are defined.
2678 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
2679 ELF_ARG_RELOC are defined.
2680 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
2681 (pa_stringer): ..Do it here instead. Fix comment typos.
2682 (hppa_force_relocation): Cast enums to int before comparing with
2683 ints.
2684
2685 From Ryan Bradetich <rbradetich@uswest.net>
2686 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
2687 redifinition warning.
2688 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
2689 (hppa_force_relocation): ditto
ad1079af
AM
2690 (md_apply_fix): Added cast to buf to fix warnings.
2691
2692 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
2693 cons_fix_new_hppa, hppa_force_relocation): Prototype.
2694
2695 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
2696 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
2697 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
2698 reloc_type** to avoid warnings in switch.
2699 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
2700 little earlier instead.
2701
2702 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
2703 and elf.
2704 (pa_type_args): Use symbol_arg_reloc_info.
2705 (struct pa_it): Make arg_reloc unsigned int.
2706 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
2707 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
2708 (pa_code): Delete. pa_text duplicates this function.
2709 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
2710 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
2711 int.
2712 (cons_fix_new_hppa): Actually change selector to e_fsel when
2713 warning about assuming so.
2714 (tc_gen_reloc): More example elf arg reloc code.
2715 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
2716 (hppa_force_relocation): Likewise.
2717
2718 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
2719 files.
2720 (pa_end_of_source): Prototype.
2721 (hppa_fix_adjustable): Prototype.
2722 (LABELS_WITHOUT_COLONS): Move it..
2723 * config/te-hppa.h: To here.
2724
2725 * config/te-hppa64.h: New file.
2726
2727 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
2728 type.
2729 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
2730 format -10, -16, 16 relocs.
2731 (hppa_elf_mark_end_of_function): Test for null
2732 last_call_info->start_symbol
2733
2734 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
2735 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
2736 re_assesmble_* functions. Delete extraneous statements. Fix
2737 typos in comments.
2738 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
2739 insn to re_assemble_*.
2740
623aa224
UC
27412000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
2742
2743 * doc/internals.texi (Expressions): Fix typo.
58a77e41 2744
c4aa876b
NC
27452000-07-08 Kazu Hirata <kazu@hxi.com>
2746
2747 * config/tc-sh.c: Fix formatting.
d0313fb7 2748 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
2749 * depend.c: Fix formatting.
2750 * flonum-konst.c: Likewise.
2751 * flonum-mult.c: Likewise.
c4aa876b 2752
6b31947e
NC
27532000-07-07 Kazu Hirata <kazu@hxi.com>
2754
a5bfe8c9 2755 * config/tc-sh.c: Fix comments.
bc0d738a
NC
2756 * config/obj-vms.c: Fix comments.
2757 * config/tc-a29k.c: Likewise.
2758 * config/tc-alpha.c: Likewise.
2759 * config/tc-h8300.c: Likewise.
2760 * config/tc-h8500.c: Likewise.
2761 * config/tc-i370.c: Likewise.
2762 * config/tc-ia64.c: Likewise.
2763 * config/tc-m68hc11.c: Likewise.
2764 * config/tc-m68k.c: Likewise.
2765 * config/tc-mips.c: Likewise.
2766 * config/tc-ns32k.c: Likewise.
2767 * config/tc-ppc.c: Likewise.
2768 * config/tc-z8k.c: Likewise.
6b31947e 2769
b8a9dcab
NC
27702000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
2771
2772 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
2773 Default to '(SEC_LOAD | SEC_DATA)'.
2774 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
2775
2776 * doc/internals.texi (CPU Backend): Describe
2777 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
2778
beb2de9b
AC
2779Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2780
2781 * as.c (parse_args): NULL terminate the long option list.
2782
24ddb296
AC
2783Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
2784
2785 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 2786 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 2787
1fe72011
NC
27882000-07-05 Nick Clifton <nickc@cygnus.com>
2789
2790 * config/tc-d30v.c (write_2_short): Further changes to warning
2791 messages produced when combining EITHER_BUT_PREFER_MU attributed
2792 opcodes.
2793
a5bfe8c9 27942000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2795
2796 * MAINTAINERS: new
2797
8de8f17e
AO
27982000-07-04 Alexandre Oliva <aoliva@redhat.com>
2799
2800 * config/tc-arm.c (psrs): Accept combinations of flags.
2801
00d2865b
NC
28022000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
2803
2804 * config/tc-avr.c: Change _ () to _() around all strings marked
2805 for translation (exception from the usual coding style).
2806 (avr_opt): New struct variable, how the new switches are set.
2807 (OPTION_MMCU): Define as 'm' and actually use.
2808 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
2809 (show_mcu_list): New function, display the list of known MCUs.
2810 (md_show_usage): Document the new switches. Call show_mcu_list.
2811 (avr_set_arch): Change 'm' to OPTION_MMCU.
2812 (md_parse_option): Call show_mcu_list if unknown MCU specified.
2813 Handle the new switches.
2814 (avr_operands): Disable warnings for undefined combinations of
2815 operands if -mall-opcodes. Disable warnings for skipping two-word
2816 instructions if enhanced core or -mno-skip-bug.
2817 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
2818 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
2819 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
2820 (avr_ldi_expression): Warn about implicit lo8().
2821 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
2822
54588503
UC
28232000-07-01 Koundinya K <kk@ddeorg.soft.net>
2824
50bbae35
AM
2825 * configure.in: Add entry for mips-*-sysv4*MP*
2826 * configure: Rebuild
2827 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
2828 elf32-tradlittlemips for traditional mips targets.
2829 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
2830 test for Link Once sections as in adjust_reloc_syms.
2831 * config/te-tmips.h: New file for traditional mips targets. Define
2832 TE_TMIPS.
58a77e41 2833
c9900432
NC
28342000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2835
2836 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
2837 flags argument is not present, don't change an existing section's
2838 section's attributes. If the flags argument is present, warn if the
2839 attributes don't match the section's current attributes. When
2840 long section names are supported, set SEC_LINK_ONCE and
2841 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
2842
9d87310a
HPN
2843Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
2844
2845 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
2846 symbols; create them.
2847
dbddefbf
NC
28482000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2849
2850 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 2851 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 2852
2ae7e77b
AH
28532000-06-27 Aldy Hernandez <aldyh@redhat.com>
2854
2855 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
2856 expressions. Ignore the problem when handling 16 bit signed
2857 immediates, because the assembler will take care of the relocation
2858 later.
2ae7e77b 2859
6b2539e3
NC
28602000-06-27 Nick Clifton <nickc@cygnus.com>
2861
2862 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 2863 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
2864 sequential order, and emit warning messages if the input source
2865 code contains constructs like that, or parallel constructs
2866 containing such opcodes.
2867
65aa24b6
NC
28682000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2869
2870 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
2871 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
2872 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
2873 (md_show_usage): Update usage message.
2874 (md_parse_option): Allow redefinition of MCU type within the
2875 same avr[1-5] bfd machine type. Show both old and new MCU type
2876 in the error message.
2877 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
2878 Simplify 8K wrap code.
2879
f0c56b90
NC
28802000-06-25 Kazu Hirata <kazu@hxi.com>
2881
50bbae35
AM
2882 * config/obj-aout.c: Remove all uses of DEFUN.
2883 * config/obj-ieee.c: Likewise.
2884 * config/tc-sh.c: Fix comment typos.
2885 * config/tc-tahoe.c: Likewise.
2886 * config/tc-vax.c: Likewise.
2887 * config/tc-w65.c: Likewise.
2888 * config/tc-z8k.c: Likewise.
f0c56b90
NC
2889 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
2890
6d249963
DD
28912000-06-24 DJ Delorie <dj@cygnus.com>
2892
2893 * config/tc-i386.c (md_estimate_size_before_relax): Revert
2894 more changes from Sept 1999
2895 (tc_i386_fix_adjustable): ditto
2896 (md_apply_fix3): ditto
2897
680d2857 28982000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 2899
680d2857
FCE
2900 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
2901 (gas_cgen_parse_operand): Set it around expression() call.
2902 (gas_cgen_md_operand): Test for it before longjmp().
2903
e7b305a2
AM
29042000-06-24 Kazu Hirata <kazu@hxi.com>
2905
c0fecd35
AM
2906 * config/tc-h8500.c: Remove all uses of DEFUN.
2907 * config/tc-sh.c: Likewise.
2908 * config/tc-w65.c: Likewise.
2909 * config/tc-z8k.c: Likewise.
2910
e7b305a2
AM
2911 * config/tc-h8500.c: Fix typos in comments.
2912
ed6d6fd3
FCE
29132000-06-23 Frank Ch. Eigler <fche@redhat.com>
2914
2915 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
2916 is defined.
2917
f7c88872
AM
29182000-06-23 matthew green <mrg@redhat.com>
2919
2920 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 2921 defined. Fix error message for `[' grouping.
f7c88872 2922
70d6ecf3
AM
29232000-06-22 Kazu Hirata <kazu@hxi.com>
2924
2925 * config/tc-h8300.c: Fix formatting and comment typos.
2926
e9718fe1
TW
29272000-06-22 Timothy Wall <twall@cygnus.com>
2928
2929 * config/tc-ia64.c (note_register_values): Move premature QP
2930 notation clearing into the appropriate place.
2931
45288df1
AM
29322000-06-22 Alan Modra <alan@linuxcare.com.au>
2933
1581f8c9
AM
2934 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
2935 first before anything else. Add bin-bugs.h, emul.h and progress.h
2936 Sort list of files as for $(OBJS) in Makefile.am.
2937
2938 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
2939 find one. Remake dependencies.
2940 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
2941 * Makefile.in: Regenerate.
2942 * doc/Makefile.in: Regenerate.
2943
45288df1
AM
2944 * config/tc-i386.c (i386_displacement): Don't assume a constant
2945 displacement is necessarily 16 bits when in 16 bit code mode.
2946 (md_assemble): Instead size the displacement here after we know
2947 for sure that a .code16gcc operand hasn't automatically added
2948 operand size prefixes.
2949
01580992
L
29502000-06-21 H.J. Lu <hjl@gnu.org>
2951
2952 * Makefile.am: Rebuild dependency.
2953 * Makefile.in: Rebuild.
2954
40f09f82
JL
29552000-06-21 Kazu Hirata <kazu@hxi.com>
2956
2957 * config/tc-h8300.c (parse_reg): Make the function static.
2958 (parse_exp): Likewise.
2959
78295804
DD
29602000-06-20 DJ Delorie <dj@cygnus.com>
2961
2962 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
2963 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
2964 for cygwin import libraries to work properly.
2965
45f85b08
L
29662000-06-20 H.J. Lu <hjl@gnu.org>
2967
2968 * Makefile.am: Rebuild dependency.
2969 * Makefile.in: Rebuild.
2970 * configure: Likewise.
2971 * doc/Makefile.in: Likewise.
2972
39bec121
TW
29732000-06-20 Timothy Wall <twall@cygnus.com>
2974
2975 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 2976 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
2977 * doc/c-tic54x.texi: New.
2978 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 2979 documentation file.
39bec121 2980 * doc/all.texi: Add C54X.
3e87a760 2981 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
2982 * doc/Makefile.in: Regenerate.
2983 * configure.in: Add tic54x and define LIBM for tic54x.
2984 * configure: Regenrate.
2985 * config/tc-tic54x.[ch]: New.
2986 * config/obj-coff.h: Add tic54x.
2987 * Makefile.am: (CPU_TYPES): Add tic54x.
2988 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
2989 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
2990 (as_new_LDADD): Add $(LIBM).
2991 * Makefile.in: Regenerate.
3e87a760 2992
60bcf0fa
NC
29932000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2994
2995 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
2996 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
2997 * doc/as.texinfo: Likewise.
2998
2999 * configure, Makefile.in: Regenerate.
3000 * configure.in (emulations): Recognize m6811 and m6812.
3001 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
3002 Added files for 68hc11 and 68hc12 assembler.
3003 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
3004 * config/tc-m68hc11.h: Header definition for that assembler.
3005
ec05f674
NC
30062000-06-18 Nick Clifton <nickc@redhat.com>
3007
24ef8152
NC
3008 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
3009 instead of OCTETS_PER_BYTE.
3010
ec05f674 3011 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 3012 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 3013
119caedd
L
30142000-06-18 H.J. Lu <hjl@gnu.org>
3015
3016 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
3017 * configure: Rebuild.
3018
607723e4
NC
30192000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
3020
3e87a760
AM
3021 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
3022 to BFD_ASSEMBLER.
607723e4 3023
b946ec34
NC
30242000-06-16 Nick Clifton <nickc@cygnus.com>
3025
3026 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
3027 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
3028
3029 * doc/c-mips.texi: Document newly accepted cpu variants.
3030
37ce37b1
UC
30312000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
3032
3033 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
3034
c06ae4f2
UC
30352000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
3036
3037 * macro.c (getstring): Make it possible to escape the quote
3038 character.
3039
20348649
JL
3040Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
3041
3042 * config/tc-hppa.c (pa_export): Weak symbols can be global.
3043
bcef29e6
L
30442000-06-13 H.J. Lu <hjl@gnu.org>
3045
3046 * configure: Regenerate.
3047
63a0b638
AM
30482000-06-09 Alan Modra <alan@linuxcare.com.au>
3049
3050 * app.c (do_scrub_begin): Don't default lex[';'] as a line
3051 separator.
3052 * doc/internals.texi (line_separator_chars): Semicolon is no
3053 longer a default. Mention null and newline as defaults.
3054
3055 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
3056
3057 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
3058 * config/tc-i860.h (line_separator_chars): Likewise.
3059 * config/tc-h8300.c (line_separator_chars): Likewise.
3060 * config/tc-i960.c (line_separator_chars): Likewise.
3061 * config/tc-m68k.c (line_separator_chars): Likewise.
3062 * config/tc-mips.c (line_separator_chars): Likewise.
3063 * config/tc-ns32k.c (line_separator_chars): Likewise.
3064 * config/tc-sparc.c (line_separator_chars): Likewise.
3065 * config/tc-vax.c (line_separator_chars): Likewise.
3066
3067 * config/tc-h8300.c (comment_chars): Use string initialiser.
3068 * config/tc-i960.c (line_comment_chars): Likewise.
3069 * config/tc-z8k.c (comment_chars, line_comment_chars,
3070 line_separator_chars): Likewise.
3071
3072 * config/tc-arm.c (line_separator_chars): Always use `;', not just
3073 for TE_LINUX.
3074
9bab9349
NC
30752000-06-08 Nick Clifton <nickc@cygnus.com>
3076
3077 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
3078 for size 1 fixes.
3079
946efd95
DB
30802000-06-08 David O'Brien <obrien@FreeBSD.org>
3081
3082 * configure.in (VERSION): Update to show this is the CVS mainline.
3083
6480b79a
DB
30842000-06-08 Matthew Jacob <mjacob@feral.com>
3085
3086 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
3087 $at is the integer register $r28, vs. both $r28 and the floating
3088 point register $f28.
3089
10850f29
JW
30902000-06-08 James E. Wilson <wilson@cygnus.com>
3091
3092 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
3093 (dot_endp): Don't call ia64_flush_insns.
3094 (emit_one_bundle): Don't delete prologue/body records from
3095 unwind_record list in first loop. Rewrite second loop to account for
3096 this.
3097
150f24a2
JW
30982000-06-07 David Mosberger <davidm@hpl.hp.com>
3099
3100 * config/tc-ia64.c: Add missing prototypes.
3101 (generate_unwind_image): Cast argument to output_unw_records call.
3102
e38c9cc2
DC
3103Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
3104
46b85d42 3105 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 3106
1188e082
DC
3107Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
3108
3109 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
3110 (REGISTER_P): likewise.
3111 (avr_opcodes): uses include/opcode/avr.h
3112 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 3113
ac743b2c
AM
31142000-06-04 Alan Modra <alan@linuxcare.com.au>
3115
0b545448
AM
3116 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
3117 initializers too.
ac743b2c 3118
969e1a7b
L
31192000-06-03 H.J. Lu <hjl@gnu.org>
3120
3121 * read.c (is_end_of_line): Put back `;'.
3122
65172ab8
AM
31232000-06-03 Alan Modra <alan@linuxcare.com.au>
3124
3125 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
3126
b75c0c92
AM
31272000-06-01 Alan Modra <alan@linuxcare.com.au>
3128
3129 * expr.c (operand): Test is_end_of_line outside switch to catch
3130 line separator chars that are also operators.
3131 (operator): Return O_illegal for line separator chars.
3132
3133 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
3134 entry (or `!' entry for TC_HPPA).
3135
3136 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
3137 before indexing is_end_of_line. Remove redundant check for '\0'.
3138 (fp_op2): Likewise.
3139 * config/tc-h8500.c (md_assemble): Likewise.
3140 * config/tc-mcore.c (md_assemble): Likewise.
3141 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3142 (md_atof): Likewise
3143
3144 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
3145 is_end_of_line.
3146 * config/tc-mcore.c (mcore_cons): Likewise.
3147 (mcore_float_cons): Likewise.
3148 (mcore_stringer): Likewise.
3149 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
3150
a6836251
SB
31512000-06-01 Scott Bambrough <scottb@netwinder.org>
3152
3153 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
3154
43841e91
NC
31552000-05-29 Nick Clifton <nickc@cygnus.com>
3156
3157 * config/tc-sh.c: Fix compile time warning messages.
3158
3159 * config/tc-mips.c: Fix compile time warning messages.
3160
a057431b
PB
31612000-05-29 Philip Blundell <philb@gnu.org>
3162
3163 * doc/as.texinfo: Update copyright dates.
a81d9f0c 3164 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
3165 * NEWS: Mention ARM ELF support.
3166
3c07fb76
AO
31672000-05-27 Alexandre Oliva <aoliva@cygnus.com>
3168
3169 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
3170 it is modified, and use the real_size to compute the frag address
3171 for dwarf2 line info.
3172
ad4d6ccf
AM
31732000-05-27 Alan Modra <alan@linuxcare.com.au>
3174
3175 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
3176 line-matching scheme to cope with automake moving variables around.
3177 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
3178 * Makefile.in: Regenerate.
3179
6faf3d66
JJ
31802000-05-26 Jakub Jelinek <jakub@redhat.com>
3181
3182 * config/tc-sparc.c (sparc_relax): New.
3183 (md_longopts): Add -relax and -no-relax options.
3184 (md_parse_options, md_show_usage): Likewise.
3185 (md_apply_fix3): Optimize tail call into branch always if possible.
3186
0a44c2b1
DL
3187Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
3188
3189 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
3190 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
3191 rules, with warning when a GAS statement specifies a packing that
3192 will result in an instruction being squashed.
3e87a760
AM
3193 Added typdef packing_type and enumerals, changed various integer
3194 literals to use the enumerals.
0a44c2b1 3195
e0c9811a
JW
31962000-05-24 David Mosberger <davidm@hpl.hp.com>
3197
3198 * config/tc-ia64.c (dot_restorereg_p): New function.
3199 (md_pseudo_table): Add restorereg.p.
3200 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
3201 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
3202
3203 * config/tc-ia64.h (unw_record_type): Add unwabi.
3204 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
3205 called MASK with members for imask, and the masks produced by
3206 fr_mem, gr_mem, br_mem, and frgr_mem.
3207 (unw_p_record): Add members ABI and CONTEXT.
3208 (unw_x_record): Add member AB.
3209 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
3210 as pseudo-register for use during unwind info generation.
3211 (AR_PFS, AR_LC): New macros.
3212 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
3213 whose names start with an at sign (as in "@priunat").
3214 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
3215 register.
3216 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
3217 proc_end, unwind_info, personality_routine): Consolidate into
3218 "unwind" structure to reduce offset-table use. Add member
3219 NEXT_SLOT_NUMBER to track the slot number for the next instruction
3220 to be emitted.
3221 (output_R1_format, output_R3_format, output_P3_format,
3222 output_P6_format): Initialize R with zero to reduce compiler warnings.
3223 (output_P7_format): Ditto. Add `default' branch to switch
3224 statement to reduce compiler warnings.
3225 (output_P8_format, output_B1_format, output_B4_format): Ditto.
3226 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
3227 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
3228 into single argument.
3229 (output_X1_format, output_X3_format): Initialize R with zero to reduce
3230 compiler warnings. Merge A and B args into single argument.
3231 (output_X2_format, output_X4_format): Remove unused variable R. Merge
3232 A and B args into single argument.
3233 (free_record): Removed (wasn't used).
3234 (free_list_records): Also free imasks in prologue records.
3235 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
3236 (output_spill_mask): Remove.
3237 (output_unwabi): New function.
3238 (output_epilogue, output_label_state, output_copy_state): Call
3239 alloc_record.
3240 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
3241 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
3242 argument.
3243 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
3244 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
3245 as part of handling the prologue records. Emit region's imask if
3246 we have one. Handle unwabi, epilogue, label_state, copy_state,
3247 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
3248 spill_sprel_p, and spill_reg_p records.
3249 (set_imask, count_bits, slot_index): New function.
3250 (fixup_unw_records): Fix region size computation. Handle
3251 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
3252 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
3253 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
3254 set_imask accordingly. Update imask for gr_gr, and br_gr records.
3255 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
3256 (dot_save): Use manifest constants for applicaton registers.
3257 Handle REG_PR and REG_PRIUNAT.
3258 (dot_restore): Don't just ignore it.
3259 (dot_restorereg): New function..
3260 (generate_unwind_image): Ensure unwind info is a multiple of eight
3261 bytes, not just four bytes.
3262 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
3263 (dot_altrp): Don't just ignore it.
3264 (dot_savemem): New function. Replaces dot_savesp() and
3265 dot_savepsp(). Use manifest constants for applicaton registers.
3266 Handle REG_PR and REG_PRIUNAT.
3267 (dot_savef): Simplify.
3268 (dot_saveb): Support generation of br_gr.
3269 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
3270 dot_label_state, dot_copy_state): New function.
3271 (dot_unwabi): Don't just ignore it.
3272 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 3273 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
3274 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
3275 (emit_one_bundle): Set slot number for prologue/body records
3276 *before* emitting the first insn.
3277 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
3278 (md_begin): Declare "psp" pseudo-register.
3279 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
3280 so we don't get segfault.
3281 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
3282 counts as required per SW Conventions manual
3283 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
3284 output_preds_psprel, output_preds_sprel, output_spill_base,
3285 output_unat_psprel, output_unat_sprel, output_lc_psprel,
3286 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
3287 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
3288 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
3289 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
3290 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
3291 (dot_vframe): Implement.
3292 (dot_vframesp, dot_vframepsp): New function.
3293
f98fd99f
HPN
3294Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
3295
3296 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 3297 * configure: Regenerate.
f98fd99f 3298
ee7fcc42
AM
32992000-05-23 Alan Modra <alan@linuxcare.com.au>
3300
3301 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
3302 (md_estimate_size_before_relax): so we can use it here instead of
3303 old kludges. Localise vars to blocks. Comment.
3304
3305 * frags.c (frag_new): Update fr_var comments.
3306 * frags.h (struct frag): Ditto.
3307
c67e42c9
RH
33082000-05-22 Richard Henderson <rth@cygnus.com>
3309
3310 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
3311 (pseudo_func): Add pcrel.
3312 (operand_match): Handle IA64_OPND_TGT64.
3313 (build_insn): Likewise.
3314 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
3315 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
3316 (fix_insn): Handle all three 64-bit relocation types.
3317
5110c57e
HPN
3318Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
3319
3320 * obj.h (struct format_ops): New members begin, app_file,
3321 s_set_other, s_set_desc, s_get_type, s_set_type,
3322 separate_stab_sections, init_stab_section.
3323
3324 * config/obj-multi.h: Update GPL notice to v2.
3325 (obj_begin): New.
3326 (obj_app_file): New.
3327 (S_SET_SIZE): Test s_set_size for NULL before calling.
3328 (S_SET_ALIGN): Similar for s_set_align.
3329 (S_SET_OTHER): New.
3330 (S_SET_DESC): New.
3331 (S_GET_TYPE): New.
3332 (S_SET_TYPE): New.
3333 (SEPARATE_STAB_SECTIONS): New.
3334 (INIT_STAB_SECTION): New.
3335 (EMIT_SECTION_SYMBOLS): New.
3336 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
3337
3338 * config/obj-elf.h: Update GPL notice to v2.
3339 Mention that this file is included from obj-multi.h.
3340 (obj_begin): Wrap definition in ifndef.
3341 (elf_file_symbol): Constify declaration.
3342 (obj_app_file): Ditto.
3343 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
3344 Wrap in ifndef SEPARATE_STAB_SECTIONS.
3345
3346 * config/obj-elf.c (elf_s_set_other): New.
3347 (elf_file_symbol): Constify argument.
3348 (elf_separate_stab_sections): New.
3349 (elf_init_stab_section): New.
3350 (elf_format_ops): Add new members. Remove comma at end.
3351
3352 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
3353 (ecoff_format_ops): Add new fields. Remove comma at end.
3354 Mention inconsistency for emit_section_symbols.
3355
3356 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
3357
3358 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
3359 (coff_separate_stab_sections): New.
3360 (coff_format_ops): Add new members.
3361
3362 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
3363 (obj_aout_s_set_other): New.
3364 (obj_aout_s_set_desc): New.
3365 (obj_aout_s_get_type): New.
3366 (obj_aout_s_set_type): New.
3367 (obj_aout_separate_stab_sections): New.
3368 (aout_format_ops): New members added. Use obj_aout_process_stab,
3369 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
3370 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
3371 appropriate.
3372 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
3373
b98ef147
AM
33742000-05-22 Alan Modra <alan@linuxcare.com.au>
3375
3376 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
3377 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
3378 (md_estimate_size_before_relax): Ensure jumps to weak and
3379 externally visible symbols are relocatable.
3380
0aa5d426
HPN
3381Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
3382
3383 * stabs.c (aout_process_stab): Make global.
3384 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
3385 * read.h (aout_process_stab): Declare.
3386
3387 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
3388 Generalize to *aout, *coff *elf.
3389 * configure: Regenerated.
3390
3391 * doc/internals.texi (Object format backend): Say
3392 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
3393
3394 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
3395 * Makefile.in: Regenerated.
3396
7c3dc350
CM
33972000-05-19 Catherine Moore <clm@cygnus.com>
3398
3399 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
3400
b3b6a3fe
JL
34012000-05-18 Alan Modra <alan@linuxcare.com.au>
3402
3403 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
3404 instruction to reflect change in re_assemble_*.
3405
c9e10a08
JL
3406Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
3407
3408 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
3409 build PA64 ELF tools.
3410 * configure: Rebuilt.
3411
3043679f
AM
34122000-05-17 Alan Modra <alan@linuxcare.com.au>
3413
3414 * Makefile.am: Regenerate dependencies.
3415 * Makefile.in: Regenerate.
3416
322f2c45
NC
34172000-05-15 Nick Clifton <nickc@cygnus.com>
3418
3419 * config/tc-arm.c (struct asm_psr): Add boolean field
3420 distinguishing between CSPR and SPSR. Rename 'number' field
3421 to 'field'.
3422 (psrs): Rearrange contents to match new asm_psr structure.
3423 (arm_psr_parse): Move next to psr_required_here. Make it
3424 return an asm_psr structure.
3425 (psr_required_here): Use asm_psr structure returned by
3426 arm_psr_parse.
3427 (do_msr): Reorganise to allow psr_required_here to be called
3428 only once.
3429 (md_undefined_name): Mark 'name' parameter as unused, since
3430 the COFF target does not use it.
322f2c45 3431
5e6cbf41
PB
34322000-05-14 David O'Brien <obrien@FreeBSD.org>
3433
3434 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
3435 standards.
3436 * config/te-aux.h: Likewise.
3437 * config/te-dpx2.h: Likewise.
3438 * config/te-go32.h: Likewise.
3439 * config/te-hp300.h: Likewise.
3440 * config/te-hppa.h: Likewise.
3441 * config/te-i386aix.h: Likewise.
3442 * config/te-ic960.h: Likewise.
3443 * config/te-interix.h: Likewise.
3444 * config/te-nbsd532.h: Likewise.
3445 * config/te-pc532mach.h: Likewise.
3446 * config/te-ppcnw.h: Likewise.
3447 * config/te-psos.h: Likewise.
3448 * config/te-sparcaout.h: Likewise.
3449 * config/te-sun3.h: Likewise.
3450 * config/te-sysv32.h: Likewise.
3451
4132022d
AM
34522000-05-14 Alan Modra <alan@linuxcare.com.au>
3453
3454 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
3455 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
3456 and sign extend without an if statement.
3457 (build_bytes): Likewise.
3458
34592000-05-14 Kazu Hirata <kazu@hxi.com>
3460
3461 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
3462 X_add_symbol L_32 case.
3463
b4fd930a
AM
34642000-05-14 David O'Brien <obrien@FreeBSD.org>
3465
3466 * config/te-freebsd.h: New file.
3467
a38cf1db
AM
34682000-05-13 Alan Modra <alan@linuxcare.com.au>
3469
897083bd
AM
3470 * asintl.h (gettext, dgettext, dcgettext, textdomain,
3471 bindtextdomain): Replace defines with those from intl/libgettext.h
3472 to quieten gcc warnings.
3473
a38cf1db
AM
3474 * NEWS: Mention x86 .arch and -q.
3475
3476 * config/tc-i386.c (quiet_warnings): New.
3477 (md_assemble): Use quiet_warnings.
3478 (md_parse_option): Set quiet_warnings from -q.
3479 (md_show_usage): Mention -q, delete -m.
3480 (flag_do_long_jump): Delete.
3481 (md_parse_option): Remove -m.
3482 (md_show_usage): Remove -m.
3483 (md_create_long_jump): Remove useless flag_do_long_jump code.
3484
3485 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
3486 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
3487
e413e4e9
AM
34882000-05-13 Alan Modra <alan@linuxcare.com.au>
3489 Alexander Sokolov <robocop@netlink.ru>
3490
3491 * doc/c-i386.texi (i386-Arch): New section.
3492 (i386-Syntax): Mention .intel_syntax and .att_syntax.
3493
3494 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
3495 (smallest_imm_type): Use smallest opcode for shift by one if cpu
3496 architecture has been given and is not 486.
3497 (set_cpu_arch): New.
3498 (md_pseudo_table): Add .arch.
3499 (md_assemble): Warn if cpu architecture has been given and an
3500 unsupported instruction.
3501
3502 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
3503 Move operand_types bit defines after relevant template field.
3504 (template): Add cpu_flags.
3505 (Cpu*): Define.
3506 (arch_entry): New.
3507
e8b1cae5
AO
35082000-05-12 Alexandre Oliva <aoliva@cygnus.com>
3509
3510 * config/tc-mn10300.h (md_end): Define.
3511 (mn10300_finalize): Declare.
3512 * config/tc-mn10300.c: Include dwarf2dbg.h.
3513 (debug_line): Define.
3514 (md_assemble): Generate dwarf2 line info.
3515 (mn10300_finalize): New function. Finalize dwarf2 info.
3516
426b0403
AM
35172000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
3518
3519 * config/tc-mips.c (md_estimate_size_before_relax): Use the
3520 external version of the relocation for weak symbols.
3521
e4c58b25
JW
35222000-05-08 David Mosberger <davidm@hpl.hp.com>
3523
3524 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
3525 frame size in units of 16 bytes, as required per SW Conventions manual.
3526 (output_unw_records): Output info-block header as a dword to get
3527 byte-order right.
3528
8fce3f5e
AM
35292000-05-08 Alan Modra <alan@linuxcare.com.au>
3530
3531 * as.h: #include "file", not <file> on files from ../include.
3532 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
3533 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
3534 (md_convert_frag): Add ATTRIBUTE_UNUSED.
3535 (tc_coff_symbol_emit_hook): Ditto.
3536 (OPTCOUNT): Cast to int to avoid compiler warning.
3537 (md_begin): Fix signed/unsigned warnings.
3538
35392000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3540
3541 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
3542 ABRANCH LONG case for a conditional branch on a 68000.
3543 (md_estimate_size_before_relax): Likewise. Also handle
3544 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
3545 (m68k-ip: case ABSL): Relax absolute references to 16-bit
3546 PC-relative on all CPUs.
3547 (md_estimate_size_before_relax): Likewise.
3548
fb166ee3
AM
35492000-05-04 Alan Modra <alan@linuxcare.com.au>
3550
3551 * as.c (parse_args): Just mention current year in printed
3552 copyright message.
3553
7a899fff
C
35542000-05-03 J.T. Conklin <jtc@redback.com>
3555
3556 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 3557 unit registers.
7a899fff
C
3558 (md_parse_option): Recognize -m7400.
3559
44877466
ILT
35602000-05-03 Ian Lance Taylor <ian@zembu.com>
3561
3562 * config/atof-ieee.c (gen_to_words): When adding carry back in,
3563 don't permit lp to become less than the words array.
3564
eaa15ab8
NC
35652000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
3566
3567 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
3568 Fix little-endian case.
3569
7c4f6a03
AM
35702000-05-03 David O'Brien <obrien@NUXI.com>
3571
3572 * as.c (parse_args): Update copyright.
3573
da5d444c
AM
35742000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
3575
3576 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
3577 for the .bss section too.
3578
3f9b03b5
AM
35792000-05-02 Alan Modra <alan@linuxcare.com.au>
3580
3581 * configure.in: Set em=linux for hppa-*-linux.
3582 * configure: Regenerate.
3583 * doc/Makefile.in: Regenerate with correct automake.
3584
3585 * frags.c (frag_grow): Sanity check chunk_size.
3586
3587 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
3588 * config/obj-som.h: Likewise.
3589 * config/obj-ieee.h: Likewise.
3590
3591 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
3592
3593 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
3594 (md_pseudo_table): Fully initialise OBJ_ELF cases.
3595 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
3596 (pa_ip): low_sign_unext now returns via function value. Use
3597 re_assemble_* instead of dis_assemble_* and
3598 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
3599 unnecessarily.
3600 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
3601 (md_section_align, md_parse_option, md_show_usage,
3602 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
3603 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
3604 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
3605 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
3606 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
3607 pa_text): Likewise.
3608 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
3609 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
3610 outside of switch. Correct mask and shifting errors in case 10
3611 and case -11. In case 21, compare against signed range to suit
3612 hppa_field_adjust changes. In case 12, use re_assemble_12. In
3613 case 17 and case 22, use offsetT variable to properly check range.
3614 Use re_assemble_* here too.
3615 (evaluate_absolute): Change type of value to offsetT. Call
3616 hppa_field_adjust to do the work for us.
3617 (pa_parse_cmpb_64_cmpltr): Delete save_s.
3618 (pa_parse_cmpib_64_cmpltr): Ditto.
3619 (pa_build_unwind_subspace): Delete unused var subseg. Change type
3620 of i to unsigned int.
3621 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
3622 (pa_end_of_source): Return type is void.
3623
a2984248
CM
3624Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
3625
3626 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
3627
df136245
DC
3628Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
3629
3630 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
3631 More comments added.
3632 (md_begin): Removed "construct symbols for each register name".
3633 Because register names conflicts with GCC generated function
3634 names.
3635 (avr_operand): Now constant numbers can be used as a register
3636 identifiers (0 as r0, 31 as r31).
3637 (md_assemble): use skip_space () before parsing instruction
3638 operands.
3639
c1e73230
AM
36402000-05-01 Alan Modra <alan@linuxcare.com.au>
3641
3642 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
3643 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
3644 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
3645 * configure: Regenerate.
3646
a1934524
AM
36472000-04-29 Andreas Jaeger <aj@suse.de>
3648
3649 * as.h: Correctly check GCC version.
3650
d9b7d820
AM
36512000-04-26 David O'Brien <obrien@FreeBSD.org>
3652
3653 * doc/as.1: Fix unbalanced brackets.
3654
3655 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
3656 TE_FreeBSD.
3657 (line_comment_chars): Set to '/' if TE_FreeBSD.
3658
cea1ab94
JL
3659Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
3660
3661 * configure.in: Configury support for PA64 (currently disabled).
3662 * configure: Rebuilt.
3663
e799a695
AM
36642000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
3665
3e87a760 3666 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
3667 bfd_set_section_alignment.
3668
3b0ec529
AM
36692000-04-25 Alan Modra <alan@linuxcare.com.au>
3670
3671 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
3672 than 32.
3673
adcf07e6
NC
36742000-04-24 Nick Clifton <nickc@cygnus.com>
3675
3676 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
3677 * doc/as.texinfo (Align): Include arm and strongarm in list of
3678 targets that have the second form of the behaviour of the .align
3e87a760 3679 directive.
adcf07e6 3680
5047a41f
JL
36812000-04-24 Mark Klein <mklein@dis.com>
3682
29184774 3683 * config/obj-som.c: Terminate obj_pseudo_table.
5047a41f 3684
a47cf567
NC
3685Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
3686
3687 * as.c (parse_args): Allow md_parse_option to override -a listing
3688 option.
3689 * config/obj-coff.c (add_lineno): Change type of offset parameter
3690 from "int" to "bfd_vma."
3691 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
3692 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
3693 (ppc_change_csect): Align correctly for XCOFF64.
3694 (ppc_machine): New function, which discards "ppc_machine" line.
3695 (ppc_tc): Cons for 8 when code is 64 bit.
3696 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
3697 relocations.
3698 (md_parse_option): Handle -a64 and -a32.
3699 (ppc_xcoff64): New.
3700 * config/tc-ppc.h (TARGET_MACH): Define.
3701 (TARGET_FORMAT): Move to function.
3702 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
3703
3704Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
3705
3706 * config/tc-avr.c: New AVR_ISA_ defined.
3707 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
3708 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
3709 for `fmul', `movw' and `lpm R,Z' instructions.
3710 (avr_operands): Warn if current opcode is a two-word instruction
3711 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
3712 (avr_opcodes): New commands added.
3713 (REGISTER_P): Check 'a' and 'v' constraint letters.
3714 (mcu_types): New MCU added.
3715
bf3ca999
TW
37162000-04-22 Timothy Wall <twall@cygnus.com>
3717
3718 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
3719 to "natval".
3720 (operand_match): Conditionally insert default bit values for IMMU9.
3721
98e5953c
JL
37222000-04-14 Matthew Green <mrg@cygnus.com>
3723
3724 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
3725 * configure: Rebuilt.
3726
a02fab7e
JL
3727Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
3728 Jason Eckhardt <jle@cygnus.com>
3729
c67e42c9 3730 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
3731
3732 * config/tc-hppa.c (CHECK_ALIGN): New macro.
3733 Added handling of new operand types l,y,&,fe,fE,fx.
3734
800eeca4
JW
3735Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
3736 David Mosberger <davidm@hpl.hp.com>
3737 Timothy Wall <twall@cygnus.com>
3738 Andrew MacLeod <amacleod@cygnus.com>
3739 Jim Wilson <wilson@cygnus.com>
3740
3741 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 3742 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
3743 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
3744 * Makefile.in: Rebuild.
3745 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
3746 * configure: Rebuild.
3747 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
3748 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
3749 * expr.c (expr): Handle md_optimize_expr.
3750 * read.c (LEX_HASH): Add comment.
3751 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 3752
66778679
RH
37532000-04-21 Richard Henderson <rth@cygnus.com>
3754
3755 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
3756 bundling a non-delayed branch type instruction.
3757
aa15f6f7
AO
37582000-04-20 Alexandre Oliva <aoliva@cygnus.com>
3759
3760 * config/tc-mn10300.c (HAVE_AM30): Define.
3761 (md_assemble): Use it.
3762
16adf844
AM
37632000-04-19 Alan Modra <alan@linuxcare.com.au>
3764
742f45cf
AM
3765 * config/obj-elf.c (obj_elf_change_section): Check for changed
3766 section attributes.
3767
16adf844
AM
3768 * Makefile.am: (CPU_MULTI_VALID): Remove.
3769 (MULTI_CPU_TYPES): Define.
3770 (MULTI_CPU_OBJ_VALID): Define.
3771 (DEPTC): Use the above.
3772 (DEPOBJ): Same here.
3773 (DEP2): And here.
3774 Regenerate dependencies.
3775 * Makefile.in: Regenerate.
3776
9c46fb1b
AM
37772000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3778
742f45cf 3779 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 3780
508866be
L
37812000-04-18 H.J. Lu (hjl@gnu.org)
3782
3783 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 3784 bfd_vma for non-bfd assemblers.
508866be 3785
ba2adb93
AM
37862000-04-17 Alan Modra <alan@linuxcare.com.au>
3787
3788 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
3789 doesn't give spurious errors.
3790
12ff5d56
AM
37912000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3792
66778679 3793 * as.h (SEEK_SET): Define if undefined.
12ff5d56 3794
fc633e5b
AM
37952000-04-13 Alan Modra <alan@linuxcare.com.au>
3796
3797 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
3798 constants, and don't assume offsetT is 32 bits.
3799
1ed18ec1
NC
38002000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
3801
3802 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
3803 (md_pcrel_from_section): Add prototype.
3804 (d10v_fix_adjustable): Add prototype.
3805 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
3806
3807 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
3808
3db10f32
NC
38092000-04-12 Nick Clifton <nickc@cygnus.com>
3810
3811 * config/tc-d10v.c (find_opcode): Correctly calculate position of
3812 symbol in frag chain.
3813
847f7ad4
AM
38142000-04-10 Alan Modra <alan@linuxcare.com.au>
3815
3816 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
3817 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
3818 (fits_in_signed_word, smallest_imm_type): Ditto.
3819 (md_assemble): Use an offsetT var to hold offsetT values, not a
3820 long.
3821 (offset_in_range): New.
3822 (md_assemble): Use it.
3823 (md_convert_frag): Change type of target_address, opcode_address,
3824 and displacement_from_opcode_start to offsetT.
3825 (md_create_short_jump): Change type of offset to offsetT.
3826 (md_create_long_jump): Ditto.
3827 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
3828 (md_chars_to_number): Remove.
3829 (output_invalid): Remove duplicate prototype.
3830
ec694b89
NC
38312000-04-09 Nick Clifton <nickc@cygnus.com>
3832
3833 * Makefile.am (CPU_TYPES): Add 'avr'.
3834 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
3835 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
3836
16adf844 3837 * Makefile.in: Regenerate.
ec694b89
NC
3838
3839 * doc/as.texinfo: Add M32R documentation.
3840
a2d91340 3841Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 3842
a2d91340 3843 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 3844 --enable-build-warnings option.
a2d91340
AC
3845 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3846 * Makefile.in, configure: Re-generate.
3847
d92b1a8a
NC
38482000-04-07 Nick Clifton <nickc@cygnus.com>
3849
3850 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
3851 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
3852 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
3853 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
3854 (arm_force_relocation): Force relocations for
3855 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
3856
52ccafd0
JR
3857Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3858
3859 * config/tc-sh.c (get_operands): There's no third operand if the
3860 first operand is an immediate.
3861
015551fc
JR
3862Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3863
3864 * config/tc-sh.c (immediate): Delete.
3865 (sh_operand_info): Add immediate member.
3866 (parse_reg): Use A_PC for pc.
3867 (parse_exp): Add second argument 'op'. All callers changed.
3868 (parse_at): Expect pc to be coded as A_PC.
3869 Use immediate field in *op.
3870 (insert): Add fourth argument 'op'. All callers changed.
3871 (build_relax): Add second argument 'op'. All callers changed.
3872 (insert_loop_bounds): New function.
3873 (build_Mytes): Remove DISP_4.
3874 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3875 (assemble_ppi): Use immediate field in *operand.
3876 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
3877 (md_apply_fix): Likewise.
3878 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
3879
79bd78be
AO
3880Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3881
3882 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
3883
e30e5a6a
HPN
3884Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
3885
3886 * internals.texi (CPU backend): Document
3887 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
3888
41b49281
AM
38892000-04-04 Alan Modra <alan@linuxcare.com.au>
3890
8ad3436c
AM
3891 * po/gas.pot: Regenerate.
3892
3893 * as.c (show_usage): Restore translated part of bug string.
3894 * gasp.c (show_usage): Likewise.
3895
41b49281
AM
3896 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
3897 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
3898 than move-if-change.
3899 (DEP1): Modify for "gcc -MM".
3900 (DEPTC): Likewise.
3901 (DEPOBJ): Likewise.
3902 (DEP2): Likewise.
3903 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
3904 Update dependencies.
3905 * Makefile.in: Regenerate.
3906
0a727238
AO
39072000-04-03 Alexandre Oliva <aoliva@cygnus.com>
3908
3909 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
3910 (md_begin): Likewise.
3911 (HAVE_AM33): New macro.
3912 (md_assemble): Use it. Match r_regs and xr_regs only if
3913 HAVE_AM33.
3914
c20f4f8c
AM
39152000-04-03 Alan Modra <alan@linuxcare.com.au>
3916
3917 * as.h: #include "bin-bugs.h"
3918 * as.c (show_usage): Use REPORT_BUGS_TO.
3919 * gasp.c: #include "bin-bugs.h"
3920 (show_usage): Use REPORT_BUGS_TO.
3921
3922 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
3923
753f6b12
HPN
3924Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
3925
3926 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
3927 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
3928 adjustments.
3929
726c5dcd
AM
39302000-04-03 Alan Modra <alan@linuxcare.com.au>
3931
3932 * config/tc-i386.c (i386_immediate): Don't assume a constant
3933 immediate is necessarily 16 bits when in 16 bit code mode.
3934 (md_assemble): Instead set guess_suffix here after we have checked
3935 registers.
3936
bf80011a
RH
39372000-04-02 Richard Henderson <rth@cygnus.com>
3938
3939 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
3940 quantities. Correct right shift sign extension.
3941 (build_insn): Make `number' unsigned long. Mask top 6 bits of
3942 32-bit value when shifting into place.
3943
92161534
ILT
39442000-04-01 Ian Lance Taylor <ian@zembu.com>
3945
3946 * app.c: Add ATTRIBUTE_UNUSED as needed.
3947 * config/tc-ppc.c: Likewise.
3948 (ppc_size): Make unsigned long.
3949 (ppc_insert_operand): Add casts to avoid warnings.
3950
447f3982
NC
39512000-03-31 Nick Clifton <nickc@cygnus.com>
3952
3953 * config/tc-d10v.h (md_flush_pending_output): Define.
3954
21d75ec2
NC
39552000-03-29 Nick Clifton <nickc@cygnus.com>
3956
3957 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
3958 segment. Works for both BFD_ASSEMBLER and others.
3959 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
3960
d1a1bf19
NC
39612000-03-29 Nick Clifton <nickc@cygnus.com
3962
3963 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
3964
224de7a5
AM
39652000-03-28 Alan Modra <alan@linuxcare.com.au>
3966
3967 * listing.c (LISTING_LHS_WIDTH): Default depends on
3968 LISTING_WORD_SIZE.
3969 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
3970
5b8274e3
ILT
39712000-03-27 Ian Lance Taylor <ian@zembu.com>
3972
3973 * config/tc-sh.c (md_show_usage): Use backslash before newline in
3974 string literal.
3975
224de7a5 39762000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
3977
3978 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
3979
3980 * config/tc-avr.c (mcu_types): Add missing initialiser.
3981 (md_pcrel_from_section): Add prototype.
3982 (avr_operand): Remove redundant test of unsigned < 0.
3983 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
3984
39852000-03-27 Denis Chertykov <denisc@overta.ru>
3986
3987 * config/tc-avr.c: New file for AVR support.
3988 * config/tc-avr.h: Likewise.
3989 * configure.in: Add AVR support.
3990 * configure: Regenerate.
3991
9f10757c
TW
39922000-03-26 Timothy Wall <twall@cygnus.com>
3993
3994 * gasp.c (macro_op): Add new argument to check_macro call.
3995 Macro structure definitions moved to macro.h
3996 * sb.h: Add argument to prototype for input_scrub_include_sb.
3997 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
3998 nesting checks with an additional flag.
3999 (struct input_save): Add flag to indicate whether current sb
4000 should be checked for proper macro/conditional nesting.
4001 (input_scrub_push/pop): Save/restore nest check flag.
4002 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 4003 defined.
9f10757c
TW
4004 * macro.c (check_macro): Allow caller to retrieve parsed macro
4005 information if a pointer is provided. This information may be
4006 used by the new macro hooks.
4007 * macro.h: Update prototype for check_macro. Macro struct
4008 definitions moved here from macro.c/gasp.c.
4009 * read.c (read_a_source_file): Add parameter to check_macro call,
4010 and pass macro info to the macro hook, if defined.
4011 (input_scrub_insert_line): New. Allow insertion of a line of
4012 characters into the input stream.
4013 (input_scrub_insert_file): New. Allow insertion of an arbitrary
4014 file into the input stream.
4015 (s_include): Use input_scrub_insert_file.
4016 * internals.texi: Document new macro hooks.
4017 * as.h: New prototypes added.
3e87a760 4018
224de7a5 40192000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
4020
4021 * config/tc-i386.c: Don't start any as_bad or as_warn message with
4022 an initial capital letter.
4023 (i386_index_check): Reindent.
4024
11424155
NC
40252000-03-19 Nick Clifton <nickc@cygnus.com>
4026
eaa15ab8 4027 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
4028 relative branches.
4029
43f05576
NC
40302000-03-17 Thomas de Lellis <tdel@windriver.com>
4031
66778679
RH
4032 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
4033 instruction operand bad if Rd > 7 when generating
4034 thumb instructions. Prevents for example,
4035 "adr r12,label" from silently failing and generating
4036 the wrong instruction.
3e87a760 4037
67231402
NC
40382000-03-17 Nick Clifton <nickc@cygnus.com>
4039
4040 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
4041 that have a destingation >= 0x400000.
3e87a760 4042 Fix compile time warning messages.
67231402 4043
a37c8f88
JR
4044Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4045
4046 * config/tc-sh.c (md_begin): When encountering insn that are
4047 not supported by the current arch, only change the name if
4048 its contents are the same as prev_name.
4049 (get_specific): If the the architecture doesn't match, fail.
4050
dead1419
JR
4051Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4052
4053 * config/tc-sh.c (IDENT_CHAR): Define.
4054 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
4055 matching back where it came from.
4056
182e89d3
JR
4057Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4058
4059 * config/tc-sh.c (md_show_usage): Add description of -dsp.
4060
84f73d89
NC
40612000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
4062
4063 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
4064 normal operands.
4065
dbbc7809
JL
40662000-03-15 Kazu Hirata <kazu@hxi.com>
4067
4068 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
4069
271bb601
HPN
4070Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
4071
4072 * expr.c (operand) [case 'f']: When testing if '0f' can start a
4073 floating-point-number, make sure 'f' is in FLT_CHARS.
4074
8684e216
HPN
4075Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
4076
4077 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
4078 (s_lcomm_internal): Use it.
4079 * doc/internals.texi (CPU backend): Document it.
4080 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
4081 bytes.
4082
bb2d6cd7
GK
40832000-03-10 Geoffrey Keating <geoffk@cygnus.com>
4084
4085 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
4086 when embedded-pic.
4087
4088 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
4089 implementation doesn't have special handling for switch
4090 statements.
bb2d6cd7
GK
4091 (macro_build): Allow for code in sections other than .text.
4092 (macro): Likewise.
4093 (mips_ip): Likewise.
4094 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 4095 Don't perform relocs if we will be outputting them.
bb2d6cd7 4096 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
4097 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
4098 embedded-pic.
bb2d6cd7 4099
5c86cbc7 41002000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 4101
66778679
RH
4102 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
4103 relocation type based on the entry in the fixup structure.
a47cf567 4104 Put S_IS_EXTERN processing back in.
5c86cbc7 4105
f8c827e9
L
41062000-03-08 H.J. Lu (hjl@gnu.org)
4107
4108 * Makefile.am (install-exec-tooldir): Depend on
4109 install-exec-bindir for parallel make.
4110 * Makefile.in: Regenerated.
4111
8ad9e709
NC
41122000-03-06 Nick Clifton <nickc@cygnus.com>
4113
4114 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
4115 switch.
4116 (md_parse_option): Parse -m32r command line switch - disable m32rx
4117 compatability.
ded0aeb7
NC
4118 (md_show_usage): Document new option.
4119
4120 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
4121 * doc/Makefile.in: Regenerate.
4122 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 4123
b7b8f327
MM
41242000-03-02 Michael Meissner <meissner@redhat.com>
4125
4126 * config/tc-d30v.c (check_range): Remove code that incorrectly
4127 sign extended values where bits < 32.
4128
15886821
L
41292000-03-02 H.J. Lu (hjl@gnu.org)
4130
4131 * configure.in: Support --enable-targets=all on ia32.
4132 * configure: Regenerated.
4133
8bf950bf
NC
41342000-03-01 Nick Clifton <nickc@cygnus.com>
4135
4136 * gasp.c (do_align): Remove bogus check of alignment value.
4137
c5e54cc2
ILT
41382000-02-27 Thomas de Lellis <tdel@windriver.com>
4139
4140 * config/obj-elf.c (elf_frob_symbol): Remove code which when
4141 TC_PPC was defined forced the type of a symbol with no other type
4142 to be BSF_OBJECT.
4143
65fd87bc
ILT
41442000-02-27 Hans-Peter Nilsson <hp@axis.com>
4145
4146 * doc/internals.texi (CPU backend): Mention that
4147 line_separator_chars do not break up comments. Fix typos for
4148 LEX_AT and LEX_NAME descriptions. Document operands for
4149 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
4150 description of md_create_short_jump usage. Document argument for
4151 md_undefined_symbol.
4152
a25fe906
ILT
41532000-02-27 Jakub Jelinek <jakub@redhat.com>
4154
4155 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
4156 (md_parse_option): Handle it.
4157 (md_show_usage): Document it.
4158
21b10511
ILT
41592000-02-27 Ian Lance Taylor <ian@zembu.com>
4160
4161 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
4162 opcode, for the instruction `pal19'. From Andrea Arcangeli
4163 <andrea@suse.de>.
4164
773f551c
AM
41652000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
4166
4167 * config/tc-i386.c (i386_immediate): Move constant operand sizing
4168 from here..
4169 (md_assemble): To here, before template operands are matched.
4170 Also ensure a constant immediate is sign extended when we know the
4171 size is at most 16 bits. This is to catch cases like "add
4172 $0xffc0,%ax" where we don't know the size, and thus that the
4173 immediate can be represented as Imm8S until after parsing the
4174 register operand.
4175 (i386_displacement): Similarly sign extend 16 bit constant
4176 displacements.
4177 (md_assemble): Relax 16-bit jump constant range check to suit sign
4178 extended displacements.
4179
28d33191
JL
41802000-02-26 Andreas Jaeger <aj@suse.de>
4181
4182 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
4183
cc5ca5ce
AM
41842000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
4185
4186 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
4187 call operands when intel_syntax.
4188 (intel_float_operand): Return 2 for "fi...".
4189 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
4190 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
4191 earlier "SHORT" change.
4192 (md_assemble): When determining suffix from Regs, exclude
4193 InOutPortReg.
4194
056350c6
NC
41952000-02-24 Nick Clifton <nickc@cygnus.com>
4196
4197 * configure: Add arm-wince, mips-pe and sh-pe targets.
4198 * configure: Regenerate.
4199
4200 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
4201 sh-pe targets.
4202 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
4203 "pe-mips" for the mips-pe target.
4204
4205 * config/tc-arm.c (insns): Change displacement encoded in BL
4206 and B instructions if the target port is arm-wince.
4207 (do_ldst): Do not bias the relocation offset if the target
4208 port is arm-wince.
4209 (md_pcrel_from): Add in missing relocation offset bias if the
4210 target os arm-wince.
4211
4212 * config/tc-mips.c (mips_target_format): Support COFF flavour.
4213 (md_begin): Disable -G support for mips-pe target.
4214 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
4215 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
4216 COFF flavour.
4217
4218 * config/tc-sh.c (md_begin): sh-pe target is little endian.
4219 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
4220 assembler, just set the alignment to 4.
4221
4222 * config/te-wince-pe.h: New file for WinCE targets. Define
4223 TE_WINCE.
4224
36bf8ab9
AM
42252000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
4226
4227 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
4228 string instructions.
4229 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
4230 (i386_intel_memory_operand): After finding a segment override,
4231 check again for no `[' before looking for a displacement. Bomb if
4232 more than one displacement rather than silently discarding the
4233 second and subsequent ones. Free strings malloc'd by
4234 build_displacement_string.
4235
f5795b08
CM
42362000-02-24 Catherine Moore <clm@cygnus.com>
4237
4238 * config/obj-som.c (obj_pseudo_table): Add "weak".
4239 (obj_som_weak): New routine.
4240
abd63a32
AM
42412000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
4242
520dc8e8
AM
4243 * config/tc-i386.c (union i386_op): New.
4244 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
4245 Throughout file replace occurences of disps[n], imms[n], regs[n]
4246 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
4247 intel mode operand swapping. Add assert in regKludge and
4248 fake_zero_displacement code. Test i.types[n] when outputting
4249 displacements and immediates. Combine output of Disp16 with
4250 Disp32.
7f3f1ea2
AM
4251 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
4252 when in intel mode by (not) reversing fsub and fdiv operands
4253 before the template search. This fails for single operand
4254 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
4255 undefined. Instead fix the base_opcode after we've found the
4256 template. Move base_opcode xor with found_reverse_match from
4257 opcode output code to before this fix so we test for the correct
4258 opcodes.
4259 (md_assemble): Don't use strcmp when deciding to ignore the suffix
4260 check in intel mode. Instead compare opcodes.
520dc8e8
AM
4261
4262 * config/tc-i386.h (TC_RELOC): Delete.
4263 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
4264 with equivalent call to reloc.
4265
abd63a32
AM
4266 * as.h (flag_m68k_mri): Move declaration after target include, and
4267 only declare when TC_M68K defined. Define as zero otherwise.
4268 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
4269 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
4270 Define as zero otherwise.
4271 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
4272 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
4273 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
4274 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
4275 testing whether defined.
4276 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
4277 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
4278 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
4279 rather than testing whether defined.
4280 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
4281 (parse_mri_cons): Declare and use only when TC_M68K.
4282 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
4283 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
4284 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
4285
4286 * NEWS: Mention IBM 370 support.
4287
7e052742
RH
42882000-02-23 Richard Henderson <rth@cygnus.com>
4289
4290 * config/tc-i386.c (md_assemble): When swapping operands for
4291 intel_syntax, assume everything that's not Imm or Disp is a
4292 register.
4293
5b93d8bb
AM
42942000-02-23 Linas Vepstas <linas@linas.org>
4295
4296 * config/tc-i370.c, config/tc-i370.h: New files.
4297 * Makefile.am: Add support for Linux/IBM 370.
4298 * configure.in: Likewise.
4299 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
4300 * config/obj-elf.c: Include elf/i370.h
4301 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
4302
4303 * Makefile.in: Regenerate.
4304 * configure: Regenerate.
4305
4306 * doc/c-i370.texi: New file.
4307 * doc/all.texi: Include it.
4308 * doc/as.texinfo: And here.
3e87a760 4309 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
4310 * doc/Makefile.in: Regenerate.
4311
25f2196d
CC
43122000-02-19 Michael Meissner <meissner@redhat.com>
4313
4314 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
4315 determine if an instruction can be used in parallel with an ADDppp
4316 or SUBppp instruction.
4317
6349b5f4
AH
43182000-02-22 Andrew Haley <aph@cygnus.com>
4319
4320 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
4321
2f6d2f85 43222000-02-22 Andrew Haley <aph@cygnus.com>
c97ef257
AH
4323
4324 * config/tc-mips.c (mips_gp32): New variable.
4325 (macro_build) Use mips_gp32.
4326 (mips_ip): Ditto.
4327 (md_longopts): Add "-mgp32" and "-mgp64".
4328 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 4329
a47cf567
NC
4330 (OPTION_M7900): Change offset
4331 (OPTION_NO_M7900): Ditto.
4332
b985eaa8
ILT
43332000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4334
4335 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
4336 warning, and bump it to 1.
4337
52454417
ILT
43382000-02-22 Ian Lance Taylor <ian@zembu.com>
4339
4340 From Brad Lucier <lucier@math.purdue.edu>:
4341 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
4342 match format.
4343
6b76fefe
CM
43442000-02-21 Catherine Moore <clm@cygnus.com>
4345
4346 * config/tc-mips.c (MF_HILO_INSN): Define.
4347 (mips_7000_hilo_fix): Declare.
4348 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
4349 (md_parse_option): Check for 7000_HILO_FIX options.
4350 (OPTION_M7000_HILO_FIX): Define.
4351 (OPTION_NO_M7000_HILO_FIX): Define.
4352 * doc/c-mips.texi (-mfix7000): Describe.
4353
f6af82bd
AM
43542000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4355
4356 * listing.c (print_lines): Remove unused variable `end'.
4357
4358 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
4359 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 4360 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
4361 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
4362 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 4363 statement and quell signed vs. unsigned comparison warning.
f6af82bd 4364
8c8281f4
NC
43652000-02-18 Nick Clifton <nickc@cygnus.com>
4366
4367 * config/tc-d10v.c (find_opcode): Add a symbol's value to
4368 the computed frag offset, rather than overwriting it.
4369
d4845d57
JR
4370Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4371
4372 * config/tc-sh.c ("elf/sh.h"): Include.
4373 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
4374 (md.begin): Initialize target_arch.
4375 Only include opcodes in has table that match selected architecture.
4376 (parse_reg): Recognize register names for sh-dsp.
4377 (parse_at): Recognize post-modify addressing.
4378 (get_operands): The leading space is now optional.
4379 (get_specific): Remove FDREG_N support. Add support for sh-dsp
4380 arguments. Update valid_arch.
4381 (build_Mytes): Add support for SDT_REG_N.
4382 (find_cooked_opcode): New function, broken out of md_assemble.
4383 (assemble_ppi, sh_elf_final_processing): New functions.
4384 (md_assemble): Use find_cooked_opcode and assemble_ppi.
4385 (md_longopts, md_parse_option): New option: -dsp.
4386 * config/tc-sh.h (elf_tc_final_processing): Define.
4387 (sh_elf_final_processing): Declare.
4388
c97305a1
JL
4389Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
4390
4391 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
4392 the unwinder subspace. Save the current seg/subseg before creating
4393 the new seg/subseg.
4394
bec50466
NC
43952000-02-10 Nick Clifton <nickc@cygnus.com>
4396
4397 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 4398 little endian targets.
bec50466 4399 (INST_BYTE1): Redefine to handle big and little endian
66778679 4400 targets.
bec50466
NC
4401 (cpu_type): New type: Select between M340 and M210.
4402 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 4403 instructions of the M340.
bec50466 4404 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 4405 instructions.
bec50466
NC
4406 (md_atof): Add support for little endian targets.
4407 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 4408 line switches.
bec50466
NC
4409 (md_convert_frag): Add support for little endian targets.
4410 (md_apply_fix3): Add support for little endian targets.
4411 (md_number_to_chars): Add support for little endian targets.
4412
a25c045a
TW
44132000-02-10 Timothy Wall <twall@redhat.com>
4414
4415 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
4416 defined, use it to verify the symbol just read should be a label.
4417
f28e8eb3
TW
44182000-02-10 Timothy Wall <twall@redhat.com>
4419
4420 * app.c (do_scrub_chars): Handle "||" for parallel instructions
4421 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
4422 around colons when KEEP_WHITE_AROUND_COLON is defined.
4423 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
4424 and KEEP_WHITE_AROUND_COLON.
4425
6dc19fc4
TW
44262000-02-08 Timothy Wall <twall@redhat.com>
4427
4428 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 4429 logic.
6dc19fc4 4430 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 4431 implemented.
6dc19fc4
TW
4432 (end_repeat): New. Provide support for a "break" out of the
4433 repeat loop.
4434 * read.h: Add prototypes for new functions.
3e87a760 4435
f805106c
TW
44362000-02-08 Timothy Wall <twall@redhat.com>
4437
4438 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
4439 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
4440 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
4441 non-zero.
4442
4469be0f
TW
44432000-02-08 Timothy Wall <twall@redhat.com>
4444
4445 * read.c: Added elseif to directives table.
4446 * read.h: Added prototype for s_elseif.
4447 * doc/as.texinfo: Added description for elseif.
4448 * cond.c (s_elseif): New function
3e87a760 4449
24a17b6c
TW
44502000-02-04 Timothy Wall <twall@redhat.com>
4451
4452 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 4453 listings.
24a17b6c 4454
bea9907b 44552000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 4456
bea9907b
TW
4457 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
4458 default values.
4459 * frags.c (frag_new): Calculate fr_fix in octets
4460 (frag_now_fix) Return offset as target address offset (bytes).
4461 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 4462 quantities).
bea9907b
TW
4463 * frags.h: Added prototype for frag_now_fix_octets().
4464 Distinguish between octets and bytes in field descriptions.
4465 * listing.c (calc_hex): Account for octets vs bytes when
4466 printing addresses/offsets.
4467 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
4468 target is little-endian, print the octets in a word in big-endian
4469 order so that the display looks like a proper hexadecimal number,
4470 instead of having the octets reversed.
4471 * read.c (do_align): When recording alignment, alignment power
4472 should be in terms of target bytes (minimum addressible unit)
4473 instead of octets.
4474 (do_org) Convert ORG target address (byte) argument into an
4475 octet offset when generating a variable fragment.
4476 * symbols.c (resolve_symbol_value): Symbol final value
4477 converted to a target address offset (bytes) from its octet offset.
4478 * config/obj-coff.c (coff_frob_symbol): Symbol target address
4479 offset (bytes) is adjusted by the frag offset (octets) converted
4480 to bytes.
4481 (coff_frob_section) Section alignment power is in terms of bytes;
4482 convert it to an octet alignment power when calculating size (and
4483 size mask) in octets. Don't modify the section size in order to
4484 "align" it for TI COFF, since that format has a different method
4485 for storing alignment information.
3e87a760 4486
210dcc61
TW
44872000-02-01 Timothy Wall <twall@cygnus.com>
4488
4489 * stabs.c (generate_asm_file): Escape backslashes in stabs file
4490 entries, matching the way GCC generates them. If not escaped, the
4491 filename is encoded incorrectly.
4492
557537a5 44932000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 4494
557537a5
NC
4495 * config/tc-arm.c (reg_table): Add support for ATPCS register
4496 naming conventions.
2c1c4c62 4497
557537a5 44982000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 4499
2c1c4c62
GK
4500 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
4501 already defined.
3e87a760 4502 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
4503 New macro.
4504 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
4505 of a symbol when we really care about its value.
4506
45072000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
4508
4509 * config/tc-mcore.c (md_assemble): Give warning message if
4510 operands passes to instruction are more than the spec.
4511
2f0ca46a
NC
45122000-01-27 Thomas de Lellis <tdel@windriver.com>
4513
66778679 4514 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a
NC
4515 Thumb mode but the label seen was not declared as '.thumb_func'
4516 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 4517 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 4518
4c63da97
AM
45192000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4520
4521 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
4522 Add dependencies for e-i386aout.o. Fix 2 comment lines.
4523
4524 * Makefile.in: Same here.
4525 Update copyright.
4526
4527 * configure.in: Set bfd_gas for i386-aout when primary target
4528 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
4529 we may need the primary te_file. Remove incorrect comment.
4530
4531 * configure: Regenerate.
4532
4533 * config/e-i386aout.c: New file.
4534
4535 * as.c (USE_EMULATIONS): Move to before print_version_id.
4536 (struct emulation): Add i386aout.
4537 (show_usage): Split text strings. Reformat -a text. Add --em
4538 help.
4539 Update copyright.
4540
4541 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
4542 (aout_format_ops): New.
4543 Update copyright.
4544
4545 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
4546 preprocessor conditional and add aout USE_EMULATIONS tests.
4547 (read_a_source_file): Don't pass error strings to printf as
4548 format arg.
4549 Update copyright.
4550
4551 * gasp.c (exp_get_abs): Don't pass error strings to printf as
4552 format arg.
4553 (do_data): Same here.
4554 (process_file): And here.
4555 Update copyright.
4556
4557 * symbols.c (colon): Rewrite "already defined" fatal message
4558 code for aout with USE_EMULATIONS.
4559 Update copyright.
4560
4561 * config/obj-aout.c (OBJ_HEADER): Define.
4562 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 4563 fields of sentinel.
4c63da97
AM
4564 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
4565 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
4566 forms here.
4567 (obj_aout_type): Expand S_SET_OTHER here too.
4568 (obj_read_begin_hook): Remove.
4569 (aout_pop_insert): New.
4570 (obj_aout_s_get_other): New.
4571 (obj_aout_s_get_desc): New.
4572 (aout_format_ops): New.
4573 Update copyright.
4574
4575 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
4576 gets aout_pseudo_table.
4577 (aout_pseudo_table): Declare.
4578 (obj_read_begin_hook): Define.
4579 Update copyright.
4580
4581 * config/obj-coff.c (obj_pseudo_table): Rename to
4582 coff_pseudo_table.
4583 (coff_pop_insert): Use coff_pseudo_table.
4584 (coff_sec_sym_ok_for_reloc): Remove.
4585 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
4586 and comment all zero entries and remove #if 0 code.
4587 Update copyright.
4588
4589 * config/obj-coff.h (obj_pop_insert): Define.
4590 (coff_pseudo_table): Declare.
4591 Update copyright.
4592
4593 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
4594 s_get_size, s_set_size. Comment all zero entries.
4595 Update copyright.
4596
4597 * config/obj-elf.c (elf_s_get_other): New function.
4598 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
4599 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
4600 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
4601 comment.
4602 (obj_elf_parse_section_letters): Don't pass error strings to
4603 printf as format arg.
4604 Update copyright.
4605
4606 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
4607 OBJ_MAYBE_ECOFF.
4608 (elf_s_get_other): Declare.
4609 (S_GET_OTHER) Define as elf_s_get_other if not already
4610 defined.
4611 (S_SET_OTHER): Only define when not already defined.
4612 (elf_obj_read_begin_hook): Declare.
4613 (obj_read_begin_hook): Define.
4614 (elf_obj_symbol_new_hook): Declare.
4615 (obj_symbol_new_hook): Define.
4616 Update copyright.
4617
4618 * config/obj-multi.h: Add copyright header and protect against
4619 multiple inclusion. Add * to all function pointers.
4620 (OBJ_HEADER): If defined, include it rather than other defines
4621 in this file.
4622 (obj_frob_file_after_relocs): Test for NULL.
4623 (obj_symbol_new_hook): Here too.
4624 (obj_sec_sym_ok_for_reloc): And here.
4625 (S_GET_OTHER): Define.
4626 (S_GET_DESC): Define.
4627 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
4628 (OBJ_MAYBE_ELF): Update comment.
4629
4630 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
4631 OBJ_AOUT preprocessor conditional and handle emulation by
4632 testing OUTPUT_FLAVOR.
4633 (i386_displacement): Here too.
4634 (md_section_align): Similarly here.
4635 (i386_target_format): Conditionally compile when more than one
4636 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
4637 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
4638 (i386_displacement): Here too.
4639 Update copyright.
4640
4641 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
4642 Define TARGET_FORMAT for aout only when not multi.
4643 Update copyright.
4644
4645 * config/te-multi.h: Delete file as it's identical to te-generic.h
4646
add0c677
AM
46472000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
4648
4649 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
4650 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
4651 LONG_MNEM_SUFFIX.
4652
4653 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
4654 DWORD_MNEM_SUFFIX.
4655 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
4656 comments.
4657
a19d8eb0
CP
46582000-01-13 Clinton Popetz <cpopetz@cygnus.com>
4659
66778679
RH
4660 * config/tc-mips.c (mips_do_align): New function.
4661 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 4662
550262c4
NC
46632000-01-10 Philip Blundell <philb@gnu.org>
4664
4665 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 4666 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
4667 line separator for Linux.
4668 * doc/as.texinfo (Comments): Mention the ARM.
4669
0decc840
NC
46702000-01-10 Philip Blundell <pb@futuretv.com>
4671
4672 * configure.in (arm*-*-conix*): New target.
4673 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
4674 armv*-*-linux-gnu.
4675 * configure: Regenerate.
4676
2e13b764
NC
46772000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
4678
4679 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
4680 (obj_elf_visibility): New function.
3e87a760 4681
2e13b764
NC
4682 * doc/as.texinfo (Visibility): New node: document visibility
4683 pseudo ops.
4684
2f6d2f85 4685For older changes see ChangeLog-9899
This page took 0.321607 seconds and 4 git commands to generate.