diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-07-09 23:43:27 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-07-09 23:43:27 +0100 |
commit | 8d4c0995eb0996fdbc0ee490317e3765a94723d7 (patch) | |
tree | 2dc08fb34b7dd3aee901bb3daec2540c7dd41355 /ld | |
parent | 4b8377e7dbd9e53149268685ba4810a7b09fb0cb (diff) | |
download | fsf-binutils-gdb-8d4c0995eb0996fdbc0ee490317e3765a94723d7.zip fsf-binutils-gdb-8d4c0995eb0996fdbc0ee490317e3765a94723d7.tar.gz fsf-binutils-gdb-8d4c0995eb0996fdbc0ee490317e3765a94723d7.tar.bz2 |
MIPS/LD/testsuite: Fix IRIX dumps for n64 GOT relocation tests
Factor in the presence of a `.gnu.attributes' section at the end of the
respective dumps:
Disassembly of section .gnu.attributes:
0000000000000000 <.gnu.attributes>:
0: 41000000 bc0f 4 <__dso_displacement+0x4>
4: 0f676e75 jal d9db9d4 <__dso_displacement+0xd9db9d4>
8: 00010000 sll zero,at,0x0
c: 00070401 0x70401
and also ignore any trailing output with the IRIX variant of n64 GOT
relocation tests, like already done with the Linux and the embedded
ones, removing:
FAIL: MIPS ELF got reloc n64
FAIL: MIPS ELF xgot reloc n64
LD testsuite regressions with the `mips-sgi-irix6' target.
ld/
* testsuite/ld-mips-elf/elf-rel-got-n64.d: Add `#pass' at the
end.
* testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/elf-rel-got-n64.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 7d382b9..c249129 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,11 @@ 2018-07-09 Maciej W. Rozycki <macro@mips.com> + * testsuite/ld-mips-elf/elf-rel-got-n64.d: Add `#pass' at the + end. + * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise. + +2018-07-09 Maciej W. Rozycki <macro@mips.com> + * testsuite/ld-mips-elf/stub-dynsym-2.dd: New test. * testsuite/ld-mips-elf/stub-dynsym-2.gd: New test. * testsuite/ld-mips-elf/stub-dynsym-2.sd: New test. diff --git a/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d b/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d index 492f76e..23f6a29 100644 --- a/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d +++ b/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d @@ -323,3 +323,4 @@ Disassembly of section \.got: 10010684: 10000514 .* 10010688: 00000000 .* \.\.\. +#pass diff --git a/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d b/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d index 348b718..aedbb07 100644 --- a/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d +++ b/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d @@ -437,3 +437,4 @@ Disassembly of section \.got: 1001085c: 10000110 .* 10010860: 00000000 .* 10010864: 1001075c .* +#pass |