diff options
author | Alan Modra <amodra@gmail.com> | 2005-01-25 01:40:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-01-25 01:40:04 +0000 |
commit | 7e9f086769d3ad7ed3ee0562888fbb72747a02b1 (patch) | |
tree | 950000f8f077c7092c4ef3c2329f2a5f3591df9d /opcodes | |
parent | 80524dabacf47f34dd5a6e6c5f4efe88c8c04614 (diff) | |
download | gdb-7e9f086769d3ad7ed3ee0562888fbb72747a02b1.zip gdb-7e9f086769d3ad7ed3ee0562888fbb72747a02b1.tar.gz gdb-7e9f086769d3ad7ed3ee0562888fbb72747a02b1.tar.bz2 |
bfd/
* elflink.c (elf_link_add_object_symbols): Don't create link dynamic
sections immediately when linking shared libs. Instead, wait until
we know a lib is needed.
(_bfd_elf_link_create_dynstrtab): Extract from..
(_bfd_elf_link_create_dynamic_sections_): ..here.
(elf_add_dt_needed_tag): Call _bfd_elf_link_create_dynstrtab and
_bfd_elf_link_create_dynamic_sections. Add abfd param. Allow
for non-existent .dynamic.
(elf_link_output_extsym): Don't complain about undefined symbols
in as-needed dynamic libs that aren't actually linked.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
(gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
only needed by an as-needed lib that didn't get linked.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions