aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-05-04 06:38:33 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-05-04 06:38:33 +0000
commit0444bdd49c08f8fbabd7487823a213921e18c1da (patch)
tree471eb6fa7ea794c7014bfec4477705d20f912d63 /bfd/elflink.c
parentfb166ee3a7fb51b48b9f18ccd38b55668a6cc3ee (diff)
downloadgdb-0444bdd49c08f8fbabd7487823a213921e18c1da.zip
gdb-0444bdd49c08f8fbabd7487823a213921e18c1da.tar.gz
gdb-0444bdd49c08f8fbabd7487823a213921e18c1da.tar.bz2
2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* elflink.h (elf_link_add_object_symbols): Reset dynindx for hidden and internal symbols. (elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with visibility. * elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not assign a PLT or GOT entry to symbols with hidden and internal visibility.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 6534d84..1b1548a 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -238,8 +238,8 @@ _bfd_elf_link_record_dynamic_symbol (info, h)
}
h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
- break;
-
+ return true;
+
default:
break;
}