Alan Modra
b7be1db6b5
Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite tests
...
previously disabled for lack of such support. For *-*-linux*libc1 targets,
XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to
glibc-2.1.
1999-09-18 00:44:47 +00:00
Jeff Law
9f5b33d795
Fix typo in last change.
1999-09-17 21:58:45 +00:00
Jeff Law
7acbfc6b56
* config/tc-hppa.c (pa_build_unwind_subspace): Do not build
...
unwinds unless the function is in the text space.
(pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
1999-09-17 18:00:50 +00:00
Jeff Law
f68ca33612
* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
...
(DATA_START_SYMBOLS): Kill __hp_load_map definition
1999-09-17 17:02:03 +00:00
Nick Clifton
57db232e4b
Undeo previous delta. Set gc_mark instead.
1999-09-17 11:04:47 +00:00
Jeff Law
b2df14602e
* elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
1999-09-16 21:01:08 +00:00
Jeff Law
d3cc5bd625
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
...
Use the same filename extension for the bfd_elf_dt_needed_name call
as we did for finding the library.
1999-09-16 20:53:09 +00:00
Jeff Law
1209c61294
* elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
...
symbol table, then just compute a suitable value (but do not
create a __gp symbol).
1999-09-16 20:39:10 +00:00
Catherine Moore
38f7d33d09
(elf_cpu32_plt0_entry): Use a1 instead of a0.
...
(elf_cpu32_plt_entry): Likewise.
----------------------------------------------------------------------
1999-09-16 18:25:09 +00:00
Jeff Law
88e99a394d
* emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
...
(OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
1999-09-16 17:57:15 +00:00
Jeff Law
42d106a81f
* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
1999-09-16 17:02:14 +00:00
Jeff Law
dfec422f08
* elf-hppa.h (elf_hppa_relocate_section): Allow undefined
...
symbols when building shared libraries.
(elf_hppa_final_link_relocate): Correct handling of PCREL
relocations against undefined symbols.
1999-09-16 16:51:34 +00:00
Nick Clifton
d0f2103d07
Mark interworking sections as linker created to prevent garbage collection.
1999-09-16 15:32:40 +00:00
Jeff Law
97444aea59
* emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
...
(SHLIB_DATA_ADDR): Likewise.
* emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
1999-09-16 06:23:28 +00:00
Jeff Law
b52c78b8a6
* config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
...
(md_assemble): To here. Tweak address generation.
1999-09-15 13:19:32 +00:00
Jeff Law
2d93dcc450
* config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
...
debug_line.
(md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
(md_assemble): Call dwarf2_where for OBJ_ELF.
(pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
(pa_end_of_source): New function.
* tc-hppa.h (md_end): Define for OBJ_ELF.
1999-09-15 11:17:54 +00:00
Jeff Law
3b97fa5ed0
Fix typo in last change.
1999-09-15 10:12:21 +00:00
Jeff Law
19ef546580
* elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.
...
(elf_hppa_final_link_relocate): Consistently create an absolute
address, then subtract out the value of __gp.
1999-09-15 08:51:45 +00:00
Jeff Law
833be1c7bc
* emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine
...
the .plt, .dlt, .opd into a single output section. Provide values
for __gp and __hp_load_map.
1999-09-15 08:51:03 +00:00
Michael Meissner
6d83c84bcf
Fix problem with going to automake 2.14
1999-09-14 23:29:35 +00:00
Michael Meissner
a8100d5bb4
Fix problem with going to automake 2.14
1999-09-14 23:16:48 +00:00
DJ Delorie
e4e24acbc8
1999-09-14 Donn Terry <donn@interix.com>
...
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
terminating null.
1999-09-14 22:19:55 +00:00
Ian Lance Taylor
41fd319a45
1999-09-14 Donn Terry <donn@interix.com>
...
* config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
1999-09-14 15:38:32 +00:00
Nick Clifton
cf8654428c
Add earm_epoc_pe.c build target.
1999-09-14 13:18:43 +00:00
Jeff Law
2491f1100f
* emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
1999-09-14 11:30:01 +00:00
Nick Clifton
06a5ee5553
Change ELF_MAXPAGESIZE to 0x1
1999-09-14 10:34:02 +00:00
Jeff Law
c392c1bbc1
* binutils-all/hppa/objdump.exp: Do not run for PA64.
1999-09-14 06:30:50 +00:00
Jeff Law
2ec0dd123c
* elf-hppa.h (elf_hppa_record_segment_addrs): New function.
...
(elf_hppa_final_link): Initialize text_segment_base and
data_segment_base.
(elf_hppa_final_link_relocate): Handle SEGREL relocations.
1999-09-14 03:44:43 +00:00
Jeff Law
070f1aed4e
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
...
Search for file with .sl extension if no file with a .so extension
is found.
1999-09-14 02:42:51 +00:00
Jeff Law
b2e311df32
* elf-hppa.h (elf_hppa_final_link): Remove unused variables.
...
(elf_hppa_final_link_relocate): Likewise.
(elf_hppa_relocate_insn): Likewise.
(elf_hppa_relocate_section): Initialize HOWTO.
1999-09-14 02:03:58 +00:00
Ian Lance Taylor
e5db213db2
1999-09-13 Donn Terry <donn@interix.com>
...
* coffcode.h (styp_to_sec_flags): Further refinement of COMDAT
handling to support both GNU and MS objects.
1999-09-13 23:55:22 +00:00
Ian Lance Taylor
361d94e768
1999-09-13 Donn Terry <donn@interix.com>
...
* emultempl/pe.em: Remove the output file at the start, in case it
is not writable.
1999-09-13 23:45:47 +00:00
Ian Lance Taylor
7920749071
1999-09-13 Donn Terry <donn@interix.com>
...
* coffcode.h (coff_write_object_contents): Don't check reloc_count
when determining whether to set F_RELFLG.
1999-09-13 23:42:43 +00:00
Jason Molenda
cff3e48be7
import gdb-1999-09-13 snapshot
1999-09-13 21:40:00 +00:00
Nick Clifton
59f2c4e703
Apply Philip Blundell's patch to prevent range checks on weak symbols.
1999-09-13 09:59:02 +00:00
Alan Modra
2f66722d55
Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given
...
absolute address.
1999-09-13 06:45:15 +00:00
Jeff Law
9169713a19
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
...
at the start of the .dlt output section.
1999-09-13 06:20:55 +00:00
Jeff Law
228d307f1b
* elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32.
...
Stub SEGREL32. Return an error for any relocation not handled.
1999-09-13 05:51:32 +00:00
Alan Modra
795a77040c
Changelog entry for tc-i386.c changes.
1999-09-13 03:53:59 +00:00
Alan Modra
a217f122fa
Tidy jump handling code and comments.
1999-09-13 03:44:49 +00:00
Ian Lance Taylor
a20a10a650
* ar.c (main): Clear output_file if we don't change the archive.
...
(delete_members, replace_members): Likewise.
1999-09-12 19:00:11 +00:00
Ian Lance Taylor
8bea4d5c6c
1999-09-12 Donn Terry <donn@interix.com>
...
* objdump.c (dump_headers): If wide_output, print Flags header.
1999-09-12 18:49:47 +00:00
Ian Lance Taylor
deecf979f6
1999-09-12 Donn Terry <donn@interix.com>
...
* objdump.c (dump_section_header): Print any comdat information.
1999-09-12 18:39:32 +00:00
Ian Lance Taylor
3994e2c66d
1999-09-12 Donn Terry <donn@interix.com>
...
* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
* binutils.texi, objcopy.1: Document new flags.
1999-09-12 18:33:05 +00:00
Ian Lance Taylor
3de3906459
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (counted_name_mode): New static variable.
(counted_name_counter): New static variable.
(map_over_members): Handle counted mode.
(usage): Mention N modifier.
(main): Handle N modifier.
(delete_members): Handle counted mode.
* binutils.texi, ar.1: Document N modifier.
1999-09-12 18:14:07 +00:00
Ian Lance Taylor
946d15cab8
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (print_contents): Change printing of member name for
POSIX.2 conformance.
1999-09-12 17:47:19 +00:00
Ian Lance Taylor
c8446de592
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (output_filename): Make const.
(open_inarch): If creating a new empty archive, set
output_filename.
1999-09-12 17:43:21 +00:00
Ian Lance Taylor
fe84ea5db2
* ar.c (full_pathname): New static variable.
...
(map_over_members): Call normalize on command line parameter.
(usage): Mention P modifier.
(normalize): If full_pathname is true, don't do anything.
(main): Accept P modifier.
* binutils.texi, ar.1: Document P modifier.
1999-09-12 17:34:19 +00:00
Ian Lance Taylor
71add73133
* pe.em: Don't include "../bfd/libbfd.h".
...
(gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
bfd_alloc.
1999-09-12 16:59:56 +00:00
Ian Lance Taylor
45455cddda
1999-09-12 Donn Terry <donn@interix.com>
...
* ld.h (ld_abort): Declare.
(abort): Define.
* ldmisc.c (ld_abort): Define.
1999-09-12 16:59:49 +00:00