diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-12-07 14:43:54 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-12-07 14:43:54 +0000 |
commit | fe21a8fc74862995effcdc1d994a1dec827ca3ac (patch) | |
tree | 7929d7495d5823ad3ef0807115a40efb5b41ffd8 /bfd/bfd.c | |
parent | cf54500c3c2c47c9e1fe915d154df4da2d28cec8 (diff) | |
download | gdb-fe21a8fc74862995effcdc1d994a1dec827ca3ac.zip gdb-fe21a8fc74862995effcdc1d994a1dec827ca3ac.tar.gz gdb-fe21a8fc74862995effcdc1d994a1dec827ca3ac.tar.bz2 |
bfd/
2005-12-07 Thiemo Seufer <ths@networkno.de>
H.J. Lu <hongjiu.lu@intel.com>
PR ld/1932
* bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd
and hidden arguments.
* bfd.c (bfd_hide_symbol): Removed.
* bfd-in2.h: Regenerated.
* elflink.c (bfd_elf_record_link_assignment): Handle hidden
symbols which were provided by a linker script.
ld/
2005-12-07 Thiemo Seufer <ths@networkno.de>
H.J. Lu <hongjiu.lu@intel.com>
PR ld/1932
* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Adjust bfd_elf_record_link_assignment call.
* ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r-- | bfd/bfd.c | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -1511,29 +1511,3 @@ bfd_preserve_finish (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_preserve *preserve) objalloc. */ bfd_hash_table_free (&preserve->section_htab); } - -/* -FUNCTION - bfd_hide_symbol - -SYNOPSIS - void bfd_hide_symbol (bfd *, - struct bfd_link_info *, - struct bfd_link_hash_entry *, - bfd_boolean); - -DESCRIPTION - This function hides a symbol so that it won't be exported. - -*/ - -void -bfd_hide_symbol (bfd *abfd, - struct bfd_link_info *link_info, - struct bfd_link_hash_entry *h, - bfd_boolean force_local) -{ - if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) - (get_elf_backend_data (abfd)->elf_backend_hide_symbol) - (link_info, (struct elf_link_hash_entry *) h, force_local); -} |