Charles Wilson
|
3ede731b30
|
* bfdlink.h (struct bfd_link_info): add new boolean
field pei386_auto_import.
|
2001-08-02 23:07:10 +00:00 |
|
Hans-Peter Nilsson
|
7be4069c7e
|
* bfdlink.h (struct bfd_link_info): New member export_dynamic.
|
2001-06-15 12:57:02 +00:00 |
|
Jakub Jelinek
|
f5fa8ca231
|
bfd/
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.
|
2001-04-13 00:34:36 +00:00 |
|
Nick Clifton
|
4f1d9bd8e2
|
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates
|
2001-03-14 02:27:44 +00:00 |
|
Nick Clifton
|
b79e8c7865
|
Add link option to allow undefiedn symbols in shared libraries
|
2000-12-12 20:53:02 +00:00 |
|
H.J. Lu
|
eec8c321e3
|
2000-07-20 H.J. Lu <hjl@gnu.org>
* bfdlink.h (bfd_link_info): Add new_dtags.
|
2000-07-20 21:19:33 +00:00 |
|
H.J. Lu
|
9bfcb6d689
|
2000-07-19 H.J. Lu (hjl@gnu.org)
* bfdlink.h (bfd_link_info): Add flags and flags_1.
|
2000-07-20 03:23:03 +00:00 |
|
Nick Clifton
|
a712da2085
|
Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
--emit-relocs switch to the linker to preserve relocs in an output executable
|
2000-05-17 19:38:53 +00:00 |
|
H.J. Lu
|
c086cbc69a
|
2000-03-01 H.J. Lu <hjl@gnu.org>
* bfdlink.h (bfd_link_callbacks): Add a boolean arg to
the undefined_symbol callback.
|
2000-03-01 19:38:01 +00:00 |
|
Mark Mitchell
|
94883c63a8
|
* bfdlink.h (struct bfd_link_hash_entry): Add init_function and
fini_function.
|
1999-06-23 11:03:45 +00:00 |
|
Richard Henderson
|
252b5132c7
|
19990502 sourceware import
|
1999-05-03 07:29:11 +00:00 |
|