1 # Check handling of R_MIPS_GOT16 relocation against local
2 # symbols when addresses of local data cross 64 KBytes border.
4 # RUN: yaml2obj -format=elf %s > %t-obj
5 # RUN: lld -flavor gnu -target mipsel -e T0 -o %t-exe %t-obj
6 # RUN: llvm-objdump -s %t-exe | FileCheck %s
8 # CHECK: Contents of section .got:
9 # CHECK-NEXT: 40a000 00000000 00000080 00004000 00004100 ..........@...A.
10 # lazy module 0x400000 0x410000
11 # resolver pointer for L1 for L2
18 Flags: [ EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC,
19 EF_MIPS_ABI_O32, EF_MIPS_ARCH_32 ]
23 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
25 Content: '00000000000000000000000000000000'