diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-07-12 22:29:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-07-12 22:29:09 +0000 |
commit | 07aa62f2670a590b8f35a7308129bff58bf4a9d6 (patch) | |
tree | 15e9038da0603a28ee7e192ed1ddac4b5db6954d /gold/ChangeLog | |
parent | a7035dbbd10c5208e63cc3bc1b45f2dd8d16d7bb (diff) | |
download | gdb-07aa62f2670a590b8f35a7308129bff58bf4a9d6.zip gdb-07aa62f2670a590b8f35a7308129bff58bf4a9d6.tar.gz gdb-07aa62f2670a590b8f35a7308129bff58bf4a9d6.tar.bz2 |
PR gold/12980
* i386.cc (Target_i386::Scan::global): For a GOT reloc, use a
GLOB_DAT relocation rather than a RELATIVE relocation for a
protected symbol when creating a shared library.
* x86_64.cc (Target_x86_64::Scan::global): Likewise.
* testsuite/protected_1.cc (f2, get_f2_addr): New functions.
* testsuite/protected_main_1.cc (main): Test that protected
function has same address.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 3dc9723..d4b8bc3 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,14 @@ +2011-07-12 Ian Lance Taylor <iant@google.com> + + PR gold/12980 + * i386.cc (Target_i386::Scan::global): For a GOT reloc, use a + GLOB_DAT relocation rather than a RELATIVE relocation for a + protected symbol when creating a shared library. + * x86_64.cc (Target_x86_64::Scan::global): Likewise. + * testsuite/protected_1.cc (f2, get_f2_addr): New functions. + * testsuite/protected_main_1.cc (main): Test that protected + function has same address. + 2011-07-11 Ian Lance Taylor <iant@google.com> PR gold/12979 |