From 8f5e83fb735af978b99ea6e22574560bf667d1d6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 8 Aug 2017 07:15:29 +0930 Subject: 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. --- ld/testsuite/ld-aarch64/ifunc-1-local.d | 2 +- ld/testsuite/ld-aarch64/ifunc-2-local.d | 2 +- ld/testsuite/ld-aarch64/ifunc-3a.d | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ld/testsuite/ld-aarch64') diff --git a/ld/testsuite/ld-aarch64/ifunc-1-local.d b/ld/testsuite/ld-aarch64/ifunc-1-local.d index 0e307e0..779d973 100644 --- a/ld/testsuite/ld-aarch64/ifunc-1-local.d +++ b/ld/testsuite/ld-aarch64/ifunc-1-local.d @@ -1,4 +1,4 @@ -#ld: -shared +#ld: -shared --hash-style=sysv #objdump: -dw #target: aarch64*-*-* diff --git a/ld/testsuite/ld-aarch64/ifunc-2-local.d b/ld/testsuite/ld-aarch64/ifunc-2-local.d index 103f3e4..27710bc 100644 --- a/ld/testsuite/ld-aarch64/ifunc-2-local.d +++ b/ld/testsuite/ld-aarch64/ifunc-2-local.d @@ -1,4 +1,4 @@ -#ld: -shared +#ld: -shared --hash-style=sysv #objdump: -dw #target: aarch64*-*-* diff --git a/ld/testsuite/ld-aarch64/ifunc-3a.d b/ld/testsuite/ld-aarch64/ifunc-3a.d index 4f61a8b..3e19b33 100644 --- a/ld/testsuite/ld-aarch64/ifunc-3a.d +++ b/ld/testsuite/ld-aarch64/ifunc-3a.d @@ -1,5 +1,5 @@ #source: ifunc-3.s -#ld: -shared +#ld: -shared --hash-style=sysv #objdump: -dw #target: aarch64*-*-* -- cgit v1.1