diff options
author | Jim Wilson <jimw@sifive.com> | 2017-12-04 17:37:55 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2017-12-04 17:37:55 -0800 |
commit | da02107a39f3eff5e0b6d6321da4e88f9564350a (patch) | |
tree | 26f3f9bfb155a75204d13577818d9fcc3bd43ebe /ld/ChangeLog | |
parent | 4d7efb8ce25f6d2c74c8073fbca880211cedda34 (diff) |
Riscv shared libraries should not export __global_pointer$.
ld/
* emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Mark
__global_pointer$ as HIDDEN.
* testsuite/ld-riscv-elf/gp-hidden-64.rd: New.
* testsuite/ld-riscv-elf/gp-hidden-lib.rd: New.
* testsuite/ld-riscv-elf/gp-hidden-lib.s: New.
* testsuite/ld-riscv-elf/gp-hidden-ver-64.rd: New.
* testsuite/ld-riscv-elf/gp-hidden-ver.rd: New.
* testsuite/ld-riscv-elf/gp-hidden-ver.s: New.
* testsuite/ld-riscv-elf/gp-hidder-ver.ver: New.
* testsuite/ld-riscv-elf/gp-hidden.rd: New.
* testsuite/ld-riscv-elf/gp-hidden.s: New.
* testsuite/ld-riscv-elf/gp-hidden.sd: New.
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Change riscv to riscv*.
Run the new tests with run_ld_link_tests.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6b0e026b58..69384d839b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,20 @@ +2017-12-04 Jim Wilson <jimw@sifive.com> + + * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Mark + __global_pointer$ as HIDDEN. + * testsuite/ld-riscv-elf/gp-hidden-64.rd: New. + * testsuite/ld-riscv-elf/gp-hidden-lib.rd: New. + * testsuite/ld-riscv-elf/gp-hidden-lib.s: New. + * testsuite/ld-riscv-elf/gp-hidden-ver-64.rd: New. + * testsuite/ld-riscv-elf/gp-hidden-ver.rd: New. + * testsuite/ld-riscv-elf/gp-hidden-ver.s: New. + * testsuite/ld-riscv-elf/gp-hidder-ver.ver: New. + * testsuite/ld-riscv-elf/gp-hidden.rd: New. + * testsuite/ld-riscv-elf/gp-hidden.s: New. + * testsuite/ld-riscv-elf/gp-hidden.sd: New. + * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Change riscv to riscv*. + Run the new tests with run_ld_link_tests. + 2017-12-04 Alan Modra <amodra@gmail.com> * testsuite/ld-i386/pr17935-1.d: Adjust expected error. |