When building a file with -fPIE -pie and -Wl,--no-export-dynamic it still export
dynamic symbols not exported for a "normal" executable.
According to info ld this should normally not happen, but does not specify what
is considered not normal.
As this behavior actually breaks the testsuite for ld if
--- Additional Comments From hjl dot tools at gmail dot com 2010-03-21
19:26 ---
This patch works for me:
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 8f6b5f4..98ea753 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -1715,7 +1715,7 @@ _bfd_elf_add_default_symbol (bfd *abfd,
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-03-21
23:27 ---
Subject: Bug 11413
CVSROOT:/cvs/src
Module name:src
Changes by: h...@sourceware.org 2010-03-21 23:26:33
Modified files:
bfd: ChangeLog elflink.c
Log message: