aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile
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 /gdb/compile
parent4d7efb8ce25f6d2c74c8073fbca880211cedda34 (diff)
downloadgdb-da02107a39f3eff5e0b6d6321da4e88f9564350a.zip
gdb-da02107a39f3eff5e0b6d6321da4e88f9564350a.tar.gz
gdb-da02107a39f3eff5e0b6d6321da4e88f9564350a.tar.bz2
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 'gdb/compile')
0 files changed, 0 insertions, 0 deletions