From fba7f7533c97d03d86f648a42375212c38980706 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 19 Mar 2021 17:39:39 +1030 Subject: [PATCH] pr27590 testcase fixes PR 27590 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and R_MIPS_NONE. * testsuite/ld-elf/pr27590b.d: Likewise. --- ld/ChangeLog | 7 +++++++ ld/testsuite/ld-elf/pr27590a.d | 6 ++++-- ld/testsuite/ld-elf/pr27590b.d | 6 ++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 30ac9b4d470..8489a9db5e5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2021-03-19 Alan Modra + + PR 27590 + * testsuite/ld-elf/pr27590a.d: Match relocs using label, and + R_MIPS_NONE. + * testsuite/ld-elf/pr27590b.d: Likewise. + 2021-03-18 H.J. Lu PR ld/27590 diff --git a/ld/testsuite/ld-elf/pr27590a.d b/ld/testsuite/ld-elf/pr27590a.d index c24cd8907ae..7c97975fd52 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 68b198b2992..49a7c3a1e85 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 -- 2.30.2