diff options
author | Jim Wilson <jimw@sifive.com> | 2017-12-05 14:42:12 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2017-12-05 14:42:12 -0800 |
commit | 0527614a9b805d1f640f477f51f9780403487ef8 (patch) | |
tree | 29b58cc3bf00cae87e174790c32bc5fd2db6fbe8 /ld/ChangeLog | |
parent | 858c9d13240e695bc3b750368f5d4e524b12112e (diff) | |
download | gdb-0527614a9b805d1f640f477f51f9780403487ef8.zip gdb-0527614a9b805d1f640f477f51f9780403487ef8.tar.gz gdb-0527614a9b805d1f640f477f51f9780403487ef8.tar.bz2 |
Really fix riscv shared library __global_pointer$ problem.
ld/
* emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Remove HIDDEN.
Don't define __global_pointer$ when CREATE_SHLIB.
* testsuite/ld-riscv-elf/gp-hidden-64.rd,
* testsuite/ld-riscv-elf/gp-hidden-lib.rd,
* testsuite/ld-riscv-elf/gp-hidden-lib.s,
* testsuite/ld-riscv-elf/gp-hidden-ver-64.rd,
* testsuite/ld-riscv-elf/gp-hidden-ver.rd,
* testsuite/ld-riscv-elf/gp-hidden-ver.s,
* testsuite/ld-riscv-elf/gp-hidden-ver.ver,
* testsuite/ld-riscv-elf/gp-hidden.rd,
* testsuite/ld-riscv-elf/gp-hidden.s,
* testsuite/ld-riscv-elf/gp-hidden.sd: Delete.
* testsuite/ld-riscv-elf/gp-test-lib.sd,
* testsuite/ld-riscv-elf/gp-test.s,
* testsuite/ld-riscv-elf/gp-test.sd: New.
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Rewrite gp tests.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 69384d8..179d229 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,23 @@ +2017-12-05 Jim Wilson <jimw@sifive.com> + Andrew Waterman <andrew@sifive.com> + + * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Remove HIDDEN. + Don't define __global_pointer$ when CREATE_SHLIB. + * testsuite/ld-riscv-elf/gp-hidden-64.rd, + * testsuite/ld-riscv-elf/gp-hidden-lib.rd, + * testsuite/ld-riscv-elf/gp-hidden-lib.s, + * testsuite/ld-riscv-elf/gp-hidden-ver-64.rd, + * testsuite/ld-riscv-elf/gp-hidden-ver.rd, + * testsuite/ld-riscv-elf/gp-hidden-ver.s, + * testsuite/ld-riscv-elf/gp-hidden-ver.ver, + * testsuite/ld-riscv-elf/gp-hidden.rd, + * testsuite/ld-riscv-elf/gp-hidden.s, + * testsuite/ld-riscv-elf/gp-hidden.sd: Delete. + * testsuite/ld-riscv-elf/gp-test-lib.sd, + * testsuite/ld-riscv-elf/gp-test.s, + * testsuite/ld-riscv-elf/gp-test.sd: New. + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Rewrite gp tests. + 2017-12-04 Jim Wilson <jimw@sifive.com> * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Mark |