aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/arm-elf.exp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-08-08 07:15:29 +0930
committerAlan Modra <amodra@gmail.com>2017-08-08 07:22:36 +0930
commit8f5e83fb735af978b99ea6e22574560bf667d1d6 (patch)
treed51e607bc581a8310a9ee16887972aae8fdac4ad /ld/testsuite/ld-arm/arm-elf.exp
parent7b005726f910af908f0b5ba48b3466d119453b06 (diff)
downloadbinutils-8f5e83fb735af978b99ea6e22574560bf667d1d6.zip
binutils-8f5e83fb735af978b99ea6e22574560bf667d1d6.tar.gz
binutils-8f5e83fb735af978b99ea6e22574560bf667d1d6.tar.bz2
More support for ld --hash-style in the ld testsuite
These were discovered when running --hash-style=gnu as default, the previous batch being --hash-style=both. * testsuite/ld-aarch64/ifunc-1-local.d: Run ld with --hash-style=sysv. * testsuite/ld-aarch64/ifunc-2-local.d: Likewise. * testsuite/ld-aarch64/ifunc-3a.d: Likewise. * testsuite/ld-frv/fdpic-pie-1.d: Likewise. * testsuite/ld-frv/fdpic-pie-2.d: Likewise. * testsuite/ld-frv/fdpic-pie-7.d: Likewise. * testsuite/ld-frv/fdpic-pie-8.d: Likewise. * testsuite/ld-arm/arm-elf.exp: Add --hash-style=sysv to "Using Thumb lib by another lib" test's ld options. * testsuite/ld-elf/note-3.l: Match .gnu.hash. * testsuite/ld-elf/note-3.t: Add .gnu.hash output section.
Diffstat (limited to 'ld/testsuite/ld-arm/arm-elf.exp')
-rw-r--r--ld/testsuite/ld-arm/arm-elf.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp
index 8bab9d8..3b33522 100644
--- a/ld/testsuite/ld-arm/arm-elf.exp
+++ b/ld/testsuite/ld-arm/arm-elf.exp
@@ -333,7 +333,9 @@ set armelftests_nonacl {
{{objdump -fdw mixed-app-v5.d} {objdump -Rw mixed-app.r}
{readelf -Ds mixed-app.sym}}
"mixed-app-v5"}
- {"Using Thumb lib by another lib" "-shared tmpdir/mixed-lib.so" "" "" {use-thumb-lib.s}
+ {"Using Thumb lib by another lib"
+ "-shared --hash-style=sysv tmpdir/mixed-lib.so" ""
+ "" {use-thumb-lib.s}
{{readelf -Ds use-thumb-lib.sym}}
"use-thumb-lib.so"}
{"TLS gnu shared library inlined trampoline"