summaryrefslogtreecommitdiff
path: root/test/ELF/mips-hilo-gp-disp.s
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-02-05 19:38:00 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-02-05 19:38:00 +0000
commita863509cdddf90a3ec3b23a5b2da6d65b68c4800 (patch)
tree3b7aece88aa1d94d3de2b633050e43f3fa030f05 /test/ELF/mips-hilo-gp-disp.s
parent63b9abd1dbe002d940a818f51dd9d6e585e41c84 (diff)
Notes
Diffstat (limited to 'test/ELF/mips-hilo-gp-disp.s')
-rw-r--r--test/ELF/mips-hilo-gp-disp.s30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/ELF/mips-hilo-gp-disp.s b/test/ELF/mips-hilo-gp-disp.s
index 0edc292109147..62e03c7b67605 100644
--- a/test/ELF/mips-hilo-gp-disp.s
+++ b/test/ELF/mips-hilo-gp-disp.s
@@ -24,32 +24,32 @@ bar:
# EXE-NEXT: __start:
# EXE-NEXT: 20000: 3c 08 00 02 lui $8, 2
# ^-- %hi(0x47ff0-0x20000)
-# EXE-NEXT: 20004: 21 08 7f f0 addi $8, $8, 32752
-# ^-- %lo(0x47ff0-0x20004+4)
+# EXE-NEXT: 20004: 21 08 80 00 addi $8, $8, -32768
+# ^-- %lo(0x38000-0x20004+4)
# EXE: bar:
-# EXE-NEXT: 2000c: 3c 08 00 02 lui $8, 2
-# ^-- %hi(0x47ff0-0x2000c)
-# EXE-NEXT: 20010: 21 08 7f e4 addi $8, $8, 32740
-# ^-- %lo(0x47ff0-0x20010+4)
+# EXE-NEXT: 2000c: 3c 08 00 01 lui $8, 1
+# ^-- %hi(0x38000-0x2000c)
+# EXE-NEXT: 20010: 21 08 7f f4 addi $8, $8, 32756
+# ^-- %lo(0x38000-0x20010+4)
# EXE: SYMBOL TABLE:
# EXE: 0002000c .text 00000000 bar
-# EXE: 00047ff0 *ABS* 00000000 .hidden _gp
+# EXE: 00038000 *ABS* 00000000 .hidden _gp
# EXE: 00020000 .text 00000000 __start
# SO: Disassembly of section .text:
# SO-NEXT: __start:
# SO-NEXT: 10000: 3c 08 00 02 lui $8, 2
-# ^-- %hi(0x37ff0-0x10000)
-# SO-NEXT: 10004: 21 08 7f f0 addi $8, $8, 32752
-# ^-- %lo(0x37ff0-0x10004+4)
+# ^-- %hi(0x28000-0x10000)
+# SO-NEXT: 10004: 21 08 80 00 addi $8, $8, -32768
+# ^-- %lo(0x28000-0x10004+4)
# SO: bar:
-# SO-NEXT: 1000c: 3c 08 00 02 lui $8, 2
-# ^-- %hi(0x37ff0-0x1000c)
-# SO-NEXT: 10010: 21 08 7f e4 addi $8, $8, 32740
-# ^-- %lo(0x37ff0-0x10010+4)
+# SO-NEXT: 1000c: 3c 08 00 01 lui $8, 1
+# ^-- %hi(0x28000-0x1000c)
+# SO-NEXT: 10010: 21 08 7f f4 addi $8, $8, 32756
+# ^-- %lo(0x28000-0x10010+4)
# SO: SYMBOL TABLE:
# SO: 0001000c .text 00000000 bar
-# SO: 00037ff0 *ABS* 00000000 .hidden _gp
+# SO: 00028000 *ABS* 00000000 .hidden _gp
# SO: 00010000 .text 00000000 __start