[lld] r333516 - [ELF][MIPS] Update comments in test cases. NFC
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Wed May 30 01:48:53 PDT 2018
Author: atanasyan
Date: Wed May 30 01:48:53 2018
New Revision: 333516
URL: http://llvm.org/viewvc/llvm-project?rev=333516&view=rev
Log:
[ELF][MIPS] Update comments in test cases. NFC
This is a follow-up to the r332374.
Modified:
lld/trunk/test/ELF/mips-gp-ext.s
lld/trunk/test/ELF/mips-gp-lowest.s
Modified: lld/trunk/test/ELF/mips-gp-ext.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gp-ext.s?rev=333516&r1=333515&r2=333516&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-gp-ext.s (original)
+++ lld/trunk/test/ELF/mips-gp-ext.s Wed May 30 01:48:53 2018
@@ -30,7 +30,7 @@
# REL-NEXT: 0030 3c080000 2108010c 8f82ffcc
# ^-- %hi(_gp_disp)
# ^-- %lo(_gp_disp)
-# ^-- 8 - (0x10c - 0x100)
+# ^-- 8 - (0x13c - 0x100)
# G - (GP - .got)
# REL: Contents of section .reginfo:
@@ -40,7 +40,8 @@
# REL: Contents of section .data:
# REL-NEXT: 00f0 fffffef4
-# ^-- 0-0x10c
+# ^-- 0x30-0x13c
+# foo - GP
# REL: 00000030 .text 00000000 foo
# REL: 00000000 *ABS* 00000000 .hidden _gp_disp
@@ -60,7 +61,8 @@
# ABS: Contents of section .data:
# ABS-NEXT: 00f0 fffffe30
-# ^-- 0-0x200
+# ^-- 0x30-0x200
+# foo - GP
# ABS: 00000030 .text 00000000 foo
# ABS: 00000000 *ABS* 00000000 .hidden _gp_disp
Modified: lld/trunk/test/ELF/mips-gp-lowest.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gp-lowest.s?rev=333516&r1=333515&r2=333516&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-gp-lowest.s (original)
+++ lld/trunk/test/ELF/mips-gp-lowest.s Wed May 30 01:48:53 2018
@@ -41,4 +41,4 @@ foo:
# CHECK: Name: _gp (5)
# CHECK-NEXT: Value: 0x80E0
-# ^-- 0xE0 + 0x7ff0
+# ^-- 0xF0 + 0x7ff0
More information about the llvm-commits
mailing list