aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/mips-got16.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/mips-got16.s')
-rw-r--r--test/ELF/mips-got16.s40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/ELF/mips-got16.s b/test/ELF/mips-got16.s
index c4c14e46607c..b7e04ad93b3f 100644
--- a/test/ELF/mips-got16.s
+++ b/test/ELF/mips-got16.s
@@ -22,23 +22,23 @@
# CHECK-NEXT: 10028: 8f 88 80 34 lw $8, -32716($gp)
#
# CHECK: SYMBOL TABLE:
-# CHECK: 00051008 .data 00000000 .hidden bar
+# CHECK: 00041008 .data 00000000 .hidden bar
# CHECK: 00000000 *UND* 00000000 foo
# GOT: Relocations [
# GOT-NEXT: ]
# GOT: Primary GOT {
-# GOT-NEXT: Canonical gp value: 0x27FF0
+# GOT-NEXT: Canonical gp value: 0x57FF0
# GOT-NEXT: Reserved entries [
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20000
+# GOT-NEXT: Address: 0x50000
# GOT-NEXT: Access: -32752
# GOT-NEXT: Initial: 0x0
# GOT-NEXT: Purpose: Lazy resolver
# GOT-NEXT: }
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20004
+# GOT-NEXT: Address: 0x50004
# GOT-NEXT: Access: -32748
# GOT-NEXT: Initial: 0x80000000
# GOT-NEXT: Purpose: Module pointer (GNU extension)
@@ -46,52 +46,52 @@
# GOT-NEXT: ]
# GOT-NEXT: Local entries [
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20008
+# GOT-NEXT: Address: 0x50008
# GOT-NEXT: Access: -32744
# GOT-NEXT: Initial: 0x10000
# ^-- (0x1002c + 0x8000) & ~0xffff
# GOT-NEXT: }
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x2000C
+# GOT-NEXT: Address: 0x5000C
# GOT-NEXT: Access: -32740
# GOT-NEXT: Initial: 0x20000
# ^-- redundant unused entry
# GOT-NEXT: }
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20010
+# GOT-NEXT: Address: 0x50010
# GOT-NEXT: Access: -32736
-# GOT-NEXT: Initial: 0x30000
+# GOT-NEXT: Initial: 0x20000
# ^-- redundant unused entry
# GOT-NEXT: }
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20014
+# GOT-NEXT: Address: 0x50014
# GOT-NEXT: Access: -32732
-# GOT-NEXT: Initial: 0x40000
-# ^-- (0x39000 + 0x8000) & ~0xffff
+# GOT-NEXT: Initial: 0x30000
+# ^-- (0x29000 + 0x8000) & ~0xffff
# GOT-NEXT: }
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20018
+# GOT-NEXT: Address: 0x50018
# GOT-NEXT: Access: -32728
-# GOT-NEXT: Initial: 0x50000
-# ^-- (0x39000 + 0x10004 + 0x8000) & ~0xffff
-# ^-- (0x39000 + 0x18004 + 0x8000) & ~0xffff
+# GOT-NEXT: Initial: 0x40000
+# ^-- (0x29000 + 0x10004 + 0x8000) & ~0xffff
+# ^-- (0x29000 + 0x18004 + 0x8000) & ~0xffff
# GOT-NEXT: }
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x2001C
+# GOT-NEXT: Address: 0x5001C
# GOT-NEXT: Access: -32724
-# GOT-NEXT: Initial: 0x60000
+# GOT-NEXT: Initial: 0x50000
# ^-- redundant unused entry
# GOT-NEXT: }
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20020
+# GOT-NEXT: Address: 0x50020
# GOT-NEXT: Access: -32720
-# GOT-NEXT: Initial: 0x51008
+# GOT-NEXT: Initial: 0x41008
# ^-- 'bar' address
# GOT-NEXT: }
# GOT-NEXT: ]
# GOT-NEXT: Global entries [
# GOT-NEXT: Entry {
-# GOT-NEXT: Address: 0x20024
+# GOT-NEXT: Address: 0x50024
# GOT-NEXT: Access: -32716
# GOT-NEXT: Initial: 0x0
# GOT-NEXT: Value: 0x0