[lld] r319776 - [ELF][MIPS] Make some tests tolerant of exact sections addresses. NFC.
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 07:33:14 PST 2017
Author: atanasyan
Date: Tue Dec 5 07:33:14 2017
New Revision: 319776
URL: http://llvm.org/viewvc/llvm-project?rev=319776&view=rev
Log:
[ELF][MIPS] Make some tests tolerant of exact sections addresses. NFC.
Modified:
lld/trunk/test/ELF/mips-64-rels.s
lld/trunk/test/ELF/mips-gprel32-relocs-gp0.s
lld/trunk/test/ELF/mips-gprel32-relocs.s
lld/trunk/test/ELF/mips-n32-rels.s
Modified: lld/trunk/test/ELF/mips-64-rels.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-64-rels.s?rev=319776&r1=319775&r2=319776&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-64-rels.s (original)
+++ lld/trunk/test/ELF/mips-64-rels.s Tue Dec 5 07:33:14 2017
@@ -20,8 +20,8 @@
# ^-- %lo(0x17ff0)
# CHECK: Contents of section .rodata:
-# CHECK-NEXT: 10158 ffffffff fffe8014
-# ^-- 0x20004 - 0x37ff0 = 0xfffffffffffe8014
+# CHECK-NEXT: {{[0-9a-f]+}} ffffffff fffe8014
+# ^-- 0x20004 - 0x37ff0 = 0xfffffffffffe8014
# CHECK: 0000000000020004 .text 00000000 loc
# CHECK: 0000000000037ff0 .got 00000000 .hidden _gp
Modified: lld/trunk/test/ELF/mips-gprel32-relocs-gp0.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gprel32-relocs-gp0.s?rev=319776&r1=319775&r2=319776&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-gprel32-relocs-gp0.s (original)
+++ lld/trunk/test/ELF/mips-gprel32-relocs-gp0.s Tue Dec 5 07:33:14 2017
@@ -22,9 +22,9 @@
# DSO: GP: 0x27FF0
# DUMP: Contents of section .rodata:
-# DUMP: 00f4 ffff0004 ffff0008
-# ^ 0x10004 + 0x7ff0 - 0x27ff0
-# ^ 0x10008 + 0x7ff0 - 0x27ff0
+# DUMP: {{[0-9a-f]+}} ffff0004 ffff0008
+# ^ 0x10004 + 0x7ff0 - 0x27ff0
+# ^ 0x10008 + 0x7ff0 - 0x27ff0
# DUMP: SYMBOL TABLE:
# DUMP: 00010008 .text 00000000 bar
Modified: lld/trunk/test/ELF/mips-gprel32-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gprel32-relocs.s?rev=319776&r1=319775&r2=319776&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-gprel32-relocs.s (original)
+++ lld/trunk/test/ELF/mips-gprel32-relocs.s Tue Dec 5 07:33:14 2017
@@ -21,9 +21,9 @@ v1:
.gpword bar
# CHECK: Contents of section .rodata:
-# CHECK: 00f4 fffe8014 fffe8018
-# ^ 0x10004 - 0x27ff0
-# ^ 0x10008 - 0x27ff0
+# CHECK: {{[0-9a-f]+}} fffe8014 fffe8018
+# ^ 0x10004 - 0x27ff0
+# ^ 0x10008 - 0x27ff0
# CHECK: SYMBOL TABLE:
# CHECK: 00010008 .text 00000000 bar
Modified: lld/trunk/test/ELF/mips-n32-rels.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-n32-rels.s?rev=319776&r1=319775&r2=319776&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-n32-rels.s (original)
+++ lld/trunk/test/ELF/mips-n32-rels.s Tue Dec 5 07:33:14 2017
@@ -38,8 +38,8 @@
# ^-- %lo(0x17ff0)
# CHECK: Contents of section .rodata:
-# CHECK-NEXT: 100d4 00020004
-# ^-- loc
+# CHECK-NEXT: {{[0-9a-f]+}} 00020004
+# ^-- loc
# CHECK: 00020004 .text 00000000 loc
# CHECK: 00037ff0 .got 00000000 .hidden _gp
More information about the llvm-commits
mailing list