3 # Check GOT relocations against absolute symbols.
5 # RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux -o %t.o %s
6 # RUN: echo "SECTIONS { \
7 # RUN: zero1 = 0; zero2 = 0; foo = 0x11004; bar = 0x22000; }" > %t.script
8 # RUN: ld.lld --script %t.script -o %t.exe %t.o
9 # RUN: llvm-readobj -A %t.exe | FileCheck %s
12 # CHECK: Local entries [
14 # CHECK-NEXT: Address:
15 # CHECK-NEXT: Access: -32736
16 # CHECK-NEXT: Initial: 0x0
19 # CHECK-NEXT: Address:
20 # CHECK-NEXT: Access: -32728
21 # CHECK-NEXT: Initial: 0x10000
24 # CHECK-NEXT: Address:
25 # CHECK-NEXT: Access: -32720
26 # CHECK-NEXT: Initial: 0x30000
33 ld $v0
, %got_page
(zero1
)($gp
)
34 ld $v0
, %got_page
(zero2
)($gp
)
35 ld $v0
, %got_page
(foo
)($gp
)
36 ld $v0
, %got_page
(bar+
0x10008)($gp
)