This change breaks the linker on hppa-unknown-linux-gnu:
2004-11-02 Hans-Peter Nilsson <[EMAIL PROTECTED]>
* elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_TABLE_.
It introduces the following fails in the ld testsuite:
Running /home/dave/gnu/binutils-2.15.90/src/ld/testsuite/ld-elfvsb/elfvsb.exp ..
.
FAIL: visibility (hidden_normal)
FAIL: visibility (hidden_normal) (PIC main)
FAIL: visibility (hidden_weak)
FAIL: visibility (hidden_weak) (PIC main)
FAIL: visibility (protected)
FAIL: visibility (protected) (PIC main)
FAIL: visibility (protected_undef_def)
FAIL: visibility (protected_undef_def) (PIC main)
FAIL: visibility (protected_weak)
FAIL: visibility (protected_weak) (PIC main)
FAIL: visibility (normal)
FAIL: visibility (normal) (PIC main)
Running /home/dave/gnu/binutils-2.15.90/src/ld/testsuite/ld-shared/shared.exp ..
.
FAIL: shared
FAIL: shared (PIC main)
See gcc/config/pa/fptr.c to see why we need access to this symbol
on this target. This
<http://lists.parisc-linux.org/pipermail/parisc-linux/2005-
March/025994.html> message contains more details and a simplified test
case.
--
Summary: Hiding _GLOBAL_OFFSET_TABLE_ breaks function pointer
canonicalization
Product: binutils
Version: unspecified
Status: NEW
Severity: critical
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: danglin at gcc dot gnu dot org
CC: bug-binutils at gnu dot org
GCC build triplet: hppa-unknown-linux-gnu
GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=778
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils