diff options
author | Alan Modra <amodra@gmail.com> | 2017-08-08 07:15:29 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-08-08 07:22:36 +0930 |
commit | 8f5e83fb735af978b99ea6e22574560bf667d1d6 (patch) | |
tree | d51e607bc581a8310a9ee16887972aae8fdac4ad /ld/testsuite/ld-elf | |
parent | 7b005726f910af908f0b5ba48b3466d119453b06 (diff) | |
download | gdb-8f5e83fb735af978b99ea6e22574560bf667d1d6.zip gdb-8f5e83fb735af978b99ea6e22574560bf667d1d6.tar.gz gdb-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-elf')
-rw-r--r-- | ld/testsuite/ld-elf/note-3.l | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/note-3.t | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/note-3.l b/ld/testsuite/ld-elf/note-3.l index 551ebaa..7e99bed 100644 --- a/ld/testsuite/ld-elf/note-3.l +++ b/ld/testsuite/ld-elf/note-3.l @@ -1,2 +1,2 @@ -.*warning: section '.hash' is being made into a note +.*warning: section '(.gnu|).hash' is being made into a note .* diff --git a/ld/testsuite/ld-elf/note-3.t b/ld/testsuite/ld-elf/note-3.t index 13324ae..47f3fe1 100644 --- a/ld/testsuite/ld-elf/note-3.t +++ b/ld/testsuite/ld-elf/note-3.t @@ -14,6 +14,7 @@ SECTIONS treated as notes... */ .hash : { *(.hash) } + .gnu.hash : { *(.gnu.hash) } .dynstr : { *(.dynstr) } .dynsym : { *(.dynsym) } |