Commit Graph

819 Commits

Author SHA1 Message Date
Alan Modra
61b96bb428 Fix conditional assembly listings when more than one .else/.elsif 2001-03-31 06:47:54 +00:00
Alan Modra
cdbc6895e5 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
Don't abort on NULL current_cframe.
2001-03-31 02:06:24 +00:00
Alan Modra
1a5447b835 Pass finalize_syms on calls to resolve_symbol_value. 2001-03-30 07:07:11 +00:00
Alan Modra
0529cb8781 Missing ChangeLog for dwarf2dbg.c warning fixes. 2001-03-30 02:39:18 +00:00
Alan Modra
e46d99eb07 Multi-pass relaxation machinery. 2001-03-30 02:19:36 +00:00
Alan Modra
93c2a809af Prepare for multi-pass relaxation. 2001-03-30 00:06:10 +00:00
Hans-Peter Nilsson
23ec5d0312 Clarify ChangeLog entry 2001-03-29 02:32:52 +00:00
Hans-Peter Nilsson
d551a338e2 * config/tc-cris.h (tc_fix_adjustable): Allow only
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
	* config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in
	example to valid.
2001-03-29 02:29:38 +00:00
H.J. Lu
440ecb3800 2001-03-28 H.J. Lu <hjl@gnu.org>
* read.c (equals): Set to local for COFF only if it hasn't been
	defined before.
2001-03-28 17:24:01 +00:00
Alan Modra
8a238888b4 Default hppa64 to ".level 2.0w" 2001-03-28 14:13:46 +00:00
Nick Clifton
775cf89163 (for COFF) default symbols to being local. 2001-03-27 19:13:55 +00:00
Hans-Peter Nilsson
f9c191122c * configure.in (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
	* configure: Regenerate.
2001-03-27 02:48:19 +00:00
Nick Clifton
07855becf9 Do not optimize BFD_RELOC_390_GOTENT relocs.
Always generate relocs for VT_ relocs.
2001-03-26 19:38:33 +00:00
Nick Clifton
0285c67df1 Automate generate on man pages 2001-03-25 20:32:31 +00:00
Alan Modra
551c1ca176 Accept an absolute expression for index scale factor. 2001-03-25 05:57:09 +00:00
Nick Clifton
c3a27914b8 Document --listing-XXX command line switches.
Explain why listings behave differently when -pipe is used.
2001-03-23 19:35:02 +00:00
Nick Clifton
37006e4391 fix_new_exp: Print an error if passed a register. 2001-03-23 18:15:49 +00:00
Hans-Peter Nilsson
08caf3f870 * config/tc-cris.[ch]: Tweak attribution. Fix typos. PIC support. 2001-03-23 05:27:42 +00:00
Alan Modra
38686296b3 Use `relax_marker' instead of fragile address test code to determine
whether a frag's fr_address has been updated.
2001-03-20 03:12:01 +00:00
Alan Modra
2e98d2de04 Fix register name printed in warning message. 2001-03-19 11:28:20 +00:00
Stephane Carrez
e629c13fd6 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
with 'Motorola specification for assembly language input standard'.
2001-03-18 10:14:13 +00:00
Richard Henderson
249e3833ac * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
(dwarf2_directive_loc): Don't use them.
        (dwarf2_directive_file): Reject duplicate file definitions.
        (get_filenum): Zero allocated memory.
        (out_file_list): Complain about missing file definitions.
2001-03-17 18:23:41 +00:00
Alan Modra
2289f85d24 Teach .org to handle complex expressions 2001-03-17 03:02:06 +00:00
Jim Wilson
4d5a53ff76 Add local tag support. Don't flush instructions for .xdata directives.
* config/tc-ia64.c (md): New member keep_pending_output.
	(ia64_flush_pending_output): Flush only if md.keep_pending_output
	is not set.
	(dot_xdata): Turn on md.keep_pending_output for the duration of
	this function.
	(dot_xfloat_cons): Ditto.
	(dot_xstringer): Ditto.
	(dot_xdata_ua): Ditto.
	(dot_xfloat_cons_ua): Ditto.
	* config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
	label support.
2001-03-16 04:56:31 +00:00
Alexandre Oliva
19c0258a7f * config/tc-sh.c (parse_reg): Match capital MACH and MACL. 2001-03-16 02:11:05 +00:00
DJ Delorie
d68d457018 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
blindly freeing string if it isn't at the top of the obstack.
2001-03-15 19:30:32 +00:00
Alan Modra
f3c180aedc Support for @GOTOFF in .long expressions. 2001-03-13 04:37:13 +00:00
Nick Clifton
83e7603d4f Always set machine type based on cpu_variant. 2001-03-12 23:37:39 +00:00
Nick Clifton
291847749a Fix typos 2001-03-08 23:06:04 +00:00
Alan Modra
1ae12ab72a * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
(md_assemble [smallest displacement]): Use correct field of i.op[] union.
(md_assemble [JumpInterSegment output]): Use correct i.disp_reloc[].
(md_assemble [immediate output]): Likewise.
2001-03-07 02:52:26 +00:00
Nick Clifton
4f3c3dbb37 Fix BLX(1) for Thumb 2001-03-06 22:33:47 +00:00
Nick Clifton
dc84e067cd Rest of the changes for Coldfire V4 2001-03-06 20:12:21 +00:00
Dave Brolley
a8150a8817 2001-03-02 Dave Brolley <brolley@redhat.com>
* config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather than
	m32r_do_align.
2001-03-02 22:50:36 +00:00
Nick Clifton
e103941e86 Print warnings if NaNs are found and the target CPU does not support them 2001-03-02 18:43:13 +00:00
Andreas Jaeger
7c44d1d360 2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
* config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
	anymore since we use bfd_elf_generic_reloc now.
	(md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
2001-02-28 12:49:40 +00:00
Alan Modra
27b7e12d2d Bump version to 2.11.90, fix missing dependencies in bfd/,
and run "make dep-am".
2001-02-27 06:43:56 +00:00
Nick Clifton
1af96959a1 Set SEC_NEVER_LOAD when the 'n' flag is used. 2001-02-27 01:56:26 +00:00
Stephane Carrez
d95767bf85 * symbols.c (decode_local_label_name): Initialize message_format
only when an error is reported (perf pb due to I18N).
2001-02-24 09:57:24 +00:00
H.J. Lu
3737d05150 2001-02-23 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
	BFD_ASSEMBLER is not defined.
2001-02-24 04:59:03 +00:00
Nick Clifton
b653e7f90a Don't mark a fixup as done if it's against a symbol. 2001-02-23 18:32:51 +00:00
Timothy Wall
7463c317ad Added ia64-*-aix* configuration. 2001-02-22 17:16:38 +00:00
Jim Wilson
87f8eb977e Improve gas error messages for invalid instructions.
* cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for
	C8 said "1" instead of "8".  Clarify error string for IMM22:
	"signed integer" instead of just "integer".
	* config/tc-ia64.c (enum operand_match_result): New type.
	(operand_match): Change return type to operand_match_result.
	Fix all returns appropriately, adding support for returning the
	out-of-range result.
	(parse_operands): New locals result, error_pos, out_of_range_pos,
	curr_out_of_range_pos.  Rewrite operand matching loop to give better
	error messages.
	* ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
	separate variants: one for IMM22 and the other for IMM14.
	* ia64-asmtab.c: Regenerate.
2001-02-22 03:16:21 +00:00
Jim Wilson
33d01f331b Fix bugs in handling of the .restore directive.
* config/tc-ia64.c (struct unwind): Add member "prologue_count".
	(dot_proc): Clear unwind.prologue_count to zero.
	(dot_prologue): Increment unwind.prologue_count.
	(dot_restore): If second operand is omitted, use
	unwind.prologue_count -1 for "ecount" (# of additional regions to
	pop).  Decrement unwind.prologue_count by number of regions
	popped.
2001-02-21 22:39:59 +00:00
Nick Clifton
7e84d676af Note that some flags to the COFF version of .section remove attributes rather
than setting them.
2001-02-21 19:43:36 +00:00
Kazu Hirata
0fde8cc636 Fix a typo. 2001-02-21 00:09:56 +00:00
Kazu Hirata
5cd4edbed2 2001-02-20 Kazu Hirata <kazu@hxi.com>
* tc-pdp11.c: Fix formatting.
	* tc-pdp11.h: Likewise.
2001-02-21 00:04:47 +00:00
Andreas Jaeger
80b3ee89ae 2001-02-20 Bo Thorsen <bo@suse.de>
* config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
	  entry.
2001-02-20 09:48:45 +00:00
David O'Brien
cac5b87b93 001-02-18 David O'Brien <obrien@FreeBSD.org>
* configure.in (cpu_type, arch): Add a generic FreeBSD specification as
	all FreeBSD platforms should look the same at this level.
	* configure: Rebuilt.
	* config/tc-i386.c: Add support for old FreeBSD a.out hosts.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
2001-02-19 06:40:29 +00:00
Nick Clifton
e135f41bc2 Add PDP-11 support 2001-02-18 23:33:11 +00:00
Matthew Green
363c574f51 2001-02-16 matthew green <mrg@redhat.com>
* gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
2001-02-16 12:29:39 +00:00