aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-frv
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-frv
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-frv')
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-1.d2
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-2.d2
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-7.d2
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-8.d2
4 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-frv/fdpic-pie-1.d b/ld/testsuite/ld-frv/fdpic-pie-1.d
index 5369d07..6b40e74 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-1.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-1.d
@@ -1,7 +1,7 @@
#name: FRV uClinux PIC relocs to local symbols, pie linking
#source: fdpic1.s
#objdump: -DR -j .text -j .data -j .got -j .plt
-#ld: -pie
+#ld: -pie --hash-style=sysv
.*: file format elf.*frv.*
diff --git a/ld/testsuite/ld-frv/fdpic-pie-2.d b/ld/testsuite/ld-frv/fdpic-pie-2.d
index 40c1532..9e06d8f 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-2.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-2.d
@@ -1,7 +1,7 @@
#name: FRV uClinux PIC relocs to global symbols, pie linking
#source: fdpic2.s
#objdump: -DR -j .text -j .data -j .got -j .plt
-#ld: -pie
+#ld: -pie --hash-style=sysv
.*: file format elf.*frv.*
diff --git a/ld/testsuite/ld-frv/fdpic-pie-7.d b/ld/testsuite/ld-frv/fdpic-pie-7.d
index 7eceec2..3968c0b 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-7.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-7.d
@@ -1,7 +1,7 @@
#name: FRV uClinux PIC relocs to local symbols with addends, pie linking
#source: fdpic7.s
#objdump: -DR -j .text -j .data -j .got -j .plt
-#ld: -pie
+#ld: -pie --hash-style=sysv
.*: file format elf.*frv.*
diff --git a/ld/testsuite/ld-frv/fdpic-pie-8.d b/ld/testsuite/ld-frv/fdpic-pie-8.d
index 8f7c344..62f456b 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-8.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-8.d
@@ -1,7 +1,7 @@
#name: FRV uClinux PIC relocs to global symbols with addends, pie linking
#source: fdpic8.s
#objdump: -DR -j .text -j .data -j .got -j .plt
-#ld: -pie
+#ld: -pie --hash-style=sysv
.*: file format elf.*frv.*