diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-05 22:45:20 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-05 22:45:20 +0000 |
commit | a22a8039037163a1d61120e6e6b9feaa27186994 (patch) | |
tree | 36c36c206932e3a3d2eb72300cb80df4bdf103a6 /ld/testsuite/ld-vax-elf/plt-local-hidden-pic.s | |
parent | 1e5901e69dc9d80d7c864ec0cf9d56b7e5773ee3 (diff) | |
download | gdb-a22a8039037163a1d61120e6e6b9feaa27186994.zip gdb-a22a8039037163a1d61120e6e6b9feaa27186994.tar.gz gdb-a22a8039037163a1d61120e6e6b9feaa27186994.tar.bz2 |
bfd/
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate
PLT slots for local symbols.
ld/testsuite/
* ld-vax-elf: New directory.
* ld-vax-elf/plt-local-lib.dd: New test.
* ld-vax-elf/plt-local-lib.ld: New test linker script.
* ld-vax-elf/plt-local-lib.s: New test source.
* ld-vax-elf/plt-local.dd: New test.
* ld-vax-elf/plt-local.ld: New test linker script.
* ld-vax-elf/plt-local.s: New test source.
* ld-vax-elf/plt-local-hidden-pic.s: New test source.
* ld-vax-elf/plt-local-rehidden-pic.s: New test source.
* ld-vax-elf/vax-elf.exp: New test script.
Diffstat (limited to 'ld/testsuite/ld-vax-elf/plt-local-hidden-pic.s')
-rw-r--r-- | ld/testsuite/ld-vax-elf/plt-local-hidden-pic.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-vax-elf/plt-local-hidden-pic.s b/ld/testsuite/ld-vax-elf/plt-local-hidden-pic.s new file mode 100644 index 0000000..62f2453 --- /dev/null +++ b/ld/testsuite/ld-vax-elf/plt-local-hidden-pic.s @@ -0,0 +1,14 @@ + .text + + .hidden foo_hidden + .globl foo_hidden + .type foo_hidden, @function +foo_hidden: + .word 0 + calls $0, foo_extern + calls $0, foo_global + calls $0, foo_local + calls $0, foo_hidden + calls $0, foo_rehidden + ret + .size foo_hidden, . - foo_hidden |