Nick Clifton
8ea2e4bd70
Apply H.J.'s patch to revert change to elfxx-target.h
...
Apply my patch to allow SREC as output format.
2001-08-24 16:36:04 +00:00
Thiemo Seufer
f6be24f9a4
* linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()
...
by bfd_malloc().
2001-08-24 03:56:28 +00:00
Alan Modra
0ac450b689
* linker.c (default_fill_link_order): Handle four byte fill value.
2001-08-17 09:50:05 +00:00
Charles Wilson
8ceb7a1b8e
2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
...
* cofflink.c (coff_link_check_ar_symbols): also search for
__imp__symbol as well as _symbol.
* linker.c (_bfd_generic_link_add_archive_symbols): also
search for __imp__symbol as well as _symbol.
2001-08-02 23:05:54 +00:00
Jim Wilson
0a2afbc13a
Fix ia64-linux fortran common linking problem.
...
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
the section of the bigger symbol.
2001-07-05 22:40:16 +00:00
H.J. Lu
689effed70
2001-05-10 H.J. Lu <hjl@gnu.org>
...
* linker.c (_bfd_generic_link_add_one_symbol): Check loop on
indirect symbols.
2001-05-10 22:59:29 +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
7898dedac0
Update copyright notices
2001-03-08 21:04:02 +00:00
Kazu Hirata
509945ae4b
2001-01-03 Kazu Hirata <kazu@hxi.com>
...
* libbfd.c: Fix formatting.
* linker.c: Likewise.
* lynx-core.c: Likewise.
2001-01-03 19:26:07 +00:00
Nick Clifton
28240dcd30
fix mis-applied patch
2000-01-14 18:13:40 +00:00
Nick Clifton
9a968f4332
Apply Tim walls octest vs bytes patch
2000-01-13 22:10:36 +00:00
Ian Lance Taylor
7442e600c8
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
...
as appropriate. Fill in structure initializations. Add variable
initializations. Add casts.
* dwarf1.c (parse_line_table): Change eachLine to unsigned long.
(dwarf1_unit_find_nearest_line): Change i to unsigned long.
1999-07-11 19:49:48 +00:00
Richard Henderson
dc1bc0c9a5
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
...
* elf32-ppc.c (ppc_elf_relocate_section): Don't barf on out of
range undefweak symbols.
* hash.c: Add missing comma after @xref{}
* linker.c: Likewise.
1999-06-04 13:25:23 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00