summaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-12-07 14:43:54 +0000
committerH.J. Lu <hjl@lucon.org>2005-12-07 14:43:54 +0000
commit23a1827fea26d60b63129113cc35d563f0a53683 (patch)
tree1153e1b815451723218a0b0152a974a4151ec370 /bfd/bfd.c
parent706a64426321509066802a3ca242d7a86bd3bede (diff)
downloadbinutils-redhat-23a1827fea26d60b63129113cc35d563f0a53683.tar.gz
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.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 3783ccfc39..af1b730d4f 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -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);
-}