Commit Graph

1101 Commits

Author SHA1 Message Date
Tom Rix 6877bb43e5 Fix for gas seg fault and neg line numbers 2001-05-24 21:39:09 +00:00
H.J. Lu 8569c2f5b4 2001-05-24 H.J. Lu <hjl@gnu.org>
* gas/m68k/pcrel.d: Support 64bit BFD.
2001-05-24 20:08:04 +00:00
H.J. Lu 58e2fc9047 2001-05-24 H.J. Lu <hjl@gnu.org>
* gas/arm/adrl.d: Support 64bit BFD.
	* gas/arm/arm7t.d: Likewise.
	* gas/arm/inst.d: Likewise.
	* gas/arm/pic.d: Likewise.
	* gas/arm/xscale.d: Likewise.
2001-05-24 20:02:15 +00:00
Alan Modra e027f3e8a4 * write.c (write_object_file): Set finalize_syms = 1 before
size_seg is called.
2001-05-24 08:19:32 +00:00
Nick Clifton d1cf510e5e Add MIPS r12k support 2001-05-23 17:26:40 +00:00
Alan Modra 60edd2d3f1 * gas/elf/ehopt0.d: Tweak for bigendian targets. 2001-05-23 05:33:31 +00:00
Alan Modra 2d0441d962 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
testing for NULs.
2001-05-22 11:03:35 +00:00
Alan Modra 6386f3a767 * symbols.c (resolve_symbol_value): Remove "finalize" param,
instead use finalize_syms directly.  Don't treat expressions
	specially with regard to finalize_syms.  Update calls to self.
	(resolve_local_symbol): Update call to resolve_symbol_value.
	(S_GET_VALUE): Likewise.  Return resolve_symbol_value if
	!finalize_syms.
	* symbols.h (resolve_symbol_value): Update prototype.
	* config/obj-aout.c (obj_crawl_symbol_chain): Update call
	to resolve_symbol_value.
	* config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
	* config/obj-coff.c (do_relocs_for): Likewise.
	(yank_symbols): Likewise.
	(fixup_segment): Likewise.
	* config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
	* config/tc-mips.c (md_convert_frag): Likewise.
	* config/tc-ppc.c (ppc_frob_symbol): Likewise.
	(ppc_fix_adjustable): Likewise.
	* dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
	(dwarf2dbg_convert_frag): Likewise.
	* ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
	(eh_frame_convert_frag): Likewise.
	* expr.c (make_expr_symbol): Likewise.
	* write.c (adjust_reloc_syms): Likewise.
	(write_object_file): Likewise.
	(relax_segment): Likewise.
	(fixup_segment): Likewise.
	(finalize_syms): Init to zero, and update comment.
	(write_object_file): Set finalize_syms to 1 rather than 2.
	* doc/internals.texi (sy_value): Mention finalize_syms.
	(S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
2001-05-22 10:23:50 +00:00
Alan Modra c801568a3a * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
as relaxable if embedded system, make weak syms non-relaxable.
	Move definition..
	(tc_m68k_fix_adjustable): ..so it can be used here.
	(md_apply_fix_2): Sign extend without conditional.
2001-05-22 09:01:55 +00:00
Alan Modra 507c8a1a57 Update copyright date. 2001-05-22 08:41:10 +00:00
Alexandre Oliva 6be7c12c05 * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.
2001-05-20 19:02:56 +00:00
Jeff Johnston aaa4f6d96f 2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
* cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
        howto entry is not found.

Fix for 105023-CR-1.
2001-05-16 23:06:02 +00:00
Alexandre Oliva 7e8f410030 * config/tc-mn10300.c (mn10300_force_relocation): Don't
optimize differences between symbols in code sections to
constants.
(mn10300_fix_adjustable): Don't adjust to section+offset
relocations pointing at symbols in code sections.
2001-05-16 01:48:51 +00:00
Alan Modra 9fcc94b611 Fix dwarf2_emit_insn calls when frag_var breaks things.
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.
2001-05-16 01:08:21 +00:00
Nick Clifton aa5f19f2b9 Fix MIPS disassembler so that it produces reassemblable code. 2001-05-15 12:11:13 +00:00
Richard Henderson de1cb007d9 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
last change.
2001-05-15 06:10:43 +00:00
Richard Henderson 67a659f60e * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
also collect whether to expect an FDE augmentation.
        (check_eh_frame): Rewrite as a state machine.  Track where in
        an FDE we are located, skip any augmentation.
        (eh_frame_estimate_size_before_relax): Get code alignment from
        the fragment subtype.
        (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
        * read.c (emit_leb128_expr): Call check_eh_frame.
2001-05-14 22:37:47 +00:00
Richard Henderson 1ff55c930c * gas/elf/ehopt0.s: New.
* gas/elf/ehopt0.d: New.
        * gas/elf/elf.exp: Run it.
2001-05-14 22:37:31 +00:00
Alexandre Oliva 076dc439b8 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
before a relaxable insns.
2001-05-14 20:01:12 +00:00
Alexandre Oliva 4e75439ae5 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
between symbols if the base symbol is in the current section;
emit a PC-relative relocation instead.
2001-05-13 23:16:30 +00:00
Alan Modra bcee8eb8ca Peter Targett's backwards compatibility and other arc fixes. 2001-05-12 15:14:53 +00:00
Alan Modra 4bba68155d * i386-dis.c (twobyte_has_modrm): Update table.
(need_modrm): Give it file scope.
	(MODRM_CHECK): Define.
	(dofloat): Use MODRM_CHECK.
	(OP_E): Likewise.
	(OP_EM): Likewise.
	(OP_EX): Likewise.
and fix testsuite yet again now that we are getting correct disassembly.
2001-05-12 12:07:10 +00:00
Alan Modra 25bc089505 Oops, wrong address for pmuludq insn. 2001-05-12 10:28:20 +00:00
Alan Modra 67d6227df7 Correct cvtps2dq, movdq2q, movq2dq, and movq problems. 2001-05-12 09:52:40 +00:00
Jakub Jelinek 579f31ac74 * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
sections as well.
	(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
	to .gnu.linkonce.t.FOO text section.

	* readelf.c (process_unwind): Print all unwind sections, not just
	one.

	* config/tc-ia64.c (special_linkonce_name): New.
	(make_unw_section): Map .gnu.linkonce.t.FOO text section into
	.gnu.linkonce.ia64unw{,i}.FOO.
	(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
	(dot_endp): Add comment about it.

	* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
	(ELF_STRING_ia64_unwind_info_once): Define.

	* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
	.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
	output sections.
	* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 12:36:47 +00:00
Nick Clifton 15f65ae412 When truncating an aligned block, ensure that the low order bits of the
alignment are preserved.
2001-05-11 10:01:41 +00:00
Alan Modra 606ab118ba Fix more fallout from multi-pass relaxation patch. 2001-05-10 11:32:52 +00:00
Hans-Peter Nilsson cbc5fe5056 * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
handling.
2001-05-10 02:31:01 +00:00
Richard Henderson 1f23ade4f4 * config/tc-ia64.c (generate_unwind_image): Align the fragment
beginning a function's unwind info block.
2001-05-10 00:18:19 +00:00
Alexandre Oliva 96f37af640 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. 2001-05-09 13:32:01 +00:00
Andreas Schwab 8390138c6b * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
fx_pcrel_adjust explicitly sign extend when reading it.
2001-05-08 18:03:27 +00:00
Alan Modra 5c65dbc1ca More fallout from 2001-03-30 changes.
* config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
	from md_relax_table, and combine some switch cases.
2001-05-08 13:13:56 +00:00
Alexandre Oliva a7c92daeed * config/tc-mn10300.c (md_assemble): Subtract operand->shift
from offset in non-pcrel operands too.
2001-05-06 20:05:28 +00:00
Nick Clifton d8708f403e Do not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes. 2001-05-06 10:11:33 +00:00
Alan Modra 992aaec9a9 Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq. 2001-05-04 11:10:55 +00:00
Alan Modra 3438adb37d Warning fixes and configure/makefile tweaks by Thiemo Seufer. 2001-05-03 02:07:02 +00:00
Alan Modra 636c26b044 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
expressions rather than triggering an assert.
2001-05-03 01:08:44 +00:00
Nick Clifton 6e1e737c86 Fix indentation and parenthesis 2001-05-02 18:40:10 +00:00
Nick Clifton c7e4034828 Add gas and ld support for openrisc 2001-05-02 18:14:31 +00:00
Nick Clifton 5cb1517bba imprrove error message 2001-05-02 11:33:12 +00:00
H.J. Lu f4ddc5e633 2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
* config/tc-mips.c (md_parse_option): Also accept
	elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
2001-04-29 17:58:39 +00:00
H.J. Lu fa7fda74e9 2001-04-27 David Mosberger <davidm@hpl.hp.com>
* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
	argument passing order: predicate goes last, not first.
2001-04-27 20:42:55 +00:00
Nick Clifton 87748b3227 Add support for arm-vxworks target 2001-04-27 17:12:18 +00:00
Nick Clifton 16a0c2d4ec Add ability to pad code alignment frags with no-ops. 2001-04-26 15:19:21 +00:00
Nick Clifton 5a0a214415 Fix autoconf breakage + commit target.c, omitted in previous delta 2001-04-25 19:09:30 +00:00
Nick Clifton ea3b9044a6 Check to see if the filename symbol has been initialised before extracting
its symbol index.
2001-04-25 09:11:31 +00:00
H.J. Lu d6d788bdf3 2001-04-24 H.J. Lu <hjl@gnu.org>
* configure: Regenerated with the right version of autoconf.
2001-04-25 00:18:35 +00:00
Nick Clifton 6840198f93 z8k fixes 2001-04-24 15:22:25 +00:00
Jason Eckhardt 1c97d17b13 2000-04-20 Jason Eckhardt <jle@redhat.com>
* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
	since frag_now can change after d10v_cleanup is called.
2001-04-20 23:38:37 +00:00
David O'Brien 1c33f1da00 2001-04-16 David O'Brien <obrien@FreeBSD.org>
* configure.in: Add the em type for FreeBSD targets.
	* configure: Regenerate.

Approved by:  Alan Modra <amodra@one.net.au>
              <20010414192409.C16364@squeak.one.net.au>
			  Philip Blundell <philb@gnu.org>
			  <E14o06W-0002IT-00@kings-cross.london.uk.eu.org>
2001-04-17 01:36:23 +00:00