diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-19 17:39:39 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-19 20:03:56 +1030 |
commit | fba7f7533c97d03d86f648a42375212c38980706 (patch) | |
tree | 9f50205051f0a55c42fa6adbe357c0d0b7fd7ed4 /ld/testsuite/ld-elf | |
parent | a088215ae37be0f44bce508ca0050fe9149beb39 (diff) | |
download | gdb-fba7f7533c97d03d86f648a42375212c38980706.zip gdb-fba7f7533c97d03d86f648a42375212c38980706.tar.gz gdb-fba7f7533c97d03d86f648a42375212c38980706.tar.bz2 |
pr27590 testcase fixes
PR 27590
* testsuite/ld-elf/pr27590a.d: Match relocs using label, and
R_MIPS_NONE.
* testsuite/ld-elf/pr27590b.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/pr27590a.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr27590b.d | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/ld/testsuite/ld-elf/pr27590a.d b/ld/testsuite/ld-elf/pr27590a.d index c24cd89..7c97975 100644 --- a/ld/testsuite/ld-elf/pr27590a.d +++ b/ld/testsuite/ld-elf/pr27590a.d @@ -5,6 +5,8 @@ Relocation section '\.rel.*\.gnu\.debuglto_\.debug_macro' at offset 0x[0-9a-z]+ contains 2 entries: [ \t]+Offset[ \t]+Info[ \t]+Type[ \t]+Sym.* -[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+\.gnu\.debuglto_\.debug_macro.* -[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+\.gnu\.debuglto_\.debug_macro.* +[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+(\.gnu\.debuglto_\.debug_macro|\.Ldebug_macro2).* +#?.*R_MIPS_NONE.* +#?.*R_MIPS_NONE.* +[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+(\.gnu\.debuglto_\.debug_macro|\.Ldebug_macro2).* #pass diff --git a/ld/testsuite/ld-elf/pr27590b.d b/ld/testsuite/ld-elf/pr27590b.d index 68b198b..49a7c3a 100644 --- a/ld/testsuite/ld-elf/pr27590b.d +++ b/ld/testsuite/ld-elf/pr27590b.d @@ -5,6 +5,8 @@ Relocation section '\.rel.*\.gnu\.debuglto_\.debug_macro' at offset 0x[0-9a-z]+ contains 2 entries: [ \t]+Offset[ \t]+Info[ \t]+Type[ \t]+Sym.* -[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+\.gnu\.debuglto_\.debug_macro.* -[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+\.gnu\.debuglto_\.debug_macro.* +[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+(\.gnu\.debuglto_\.debug_macro|\.Ldebug_macro2).* +#?.*R_MIPS_NONE.* +#?.*R_MIPS_NONE.* +[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0]+[ \t]+(\.gnu\.debuglto_\.debug_macro|\.Ldebug_macro2).* #pass |