summaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2017-12-04 17:37:55 -0800
committerJim Wilson <jimw@sifive.com>2017-12-04 17:37:55 -0800
commitda02107a39f3eff5e0b6d6321da4e88f9564350a (patch)
tree26f3f9bfb155a75204d13577818d9fcc3bd43ebe /ld/ChangeLog
parent4d7efb8ce25f6d2c74c8073fbca880211cedda34 (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/ChangeLog17
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.