Home
last modified time | relevance | path

Searched refs:GOT (Results 1 – 25 of 253) sorted by relevance

1234567891011

/llvm-project-15.0.7/lld/test/ELF/
H A Dmips-mgot.s47 # GOT-NEXT: }
48 # GOT-NEXT: ]
54 # GOT: }
58 # GOT: }
59 # GOT-NEXT: ]
61 # GOT: Primary GOT {
76 # GOT-NEXT: ]
78 # GOT-NEXT: ]
98 # GOT-NEXT: ]
99 # GOT-NEXT: Number of TLS and multi-GOT entries: 15
[all …]
H A Dmips-64-got.s2 # Check MIPS N64 ABI GOT relocations
24 # GOT: Symbol table '.symtab'
29 # GOT: Primary GOT:
30 # GOT-NEXT: Canonical gp value: [[GP]]
31 # GOT-EMPTY:
32 # GOT-NEXT: Reserved entries:
36 # GOT-EMPTY:
37 # GOT-NEXT: Local entries:
41 # GOT-NEXT: {{.*}} -32720(gp) [[BAR]]
43 # GOT-EMPTY:
[all …]
H A Dmips-call-hilo.s21 # GOT: Symbol table '.symtab'
25 # GOT: Primary GOT:
26 # GOT-NEXT: Canonical gp value:
27 # GOT-EMPTY:
28 # GOT-NEXT: Reserved entries:
32 # GOT-EMPTY:
33 # GOT-NEXT: Local entries:
35 # GOT-NEXT: {{.*}} -32744(gp) [[LOC1]]
36 # GOT-NEXT: {{.*}} -32740(gp) [[LOC2]]
37 # GOT-EMPTY:
[all …]
H A Dmips-64-disp.s25 # GOT: Symbol table '.symtab'
31 # GOT: Primary GOT:
32 # GOT-NEXT: Canonical gp value:
33 # GOT-EMPTY:
34 # GOT-NEXT: Reserved entries:
38 # GOT-EMPTY:
39 # GOT-NEXT: Local entries:
41 # GOT-NEXT: {{.*}} -32736(gp) [[FOO]]
42 # GOT-NEXT: {{.*}} -32728(gp) [[B04]]
45 # GOT-EMPTY:
[all …]
H A Dmips-xgot-order.s2 # Check that GOT entries accessed via 16-bit indexing are allocated
3 # in the beginning of the GOT.
23 # GOT: Symbol table '.symtab'
29 # GOT: Static GOT:
30 # GOT: Local entries:
31 # GOT: Address Access Initial
32 # GOT-NEXT: -32744(gp) 00030000
33 # GOT-NEXT: -32740(gp) 00040000
34 # GOT-NEXT: -32736(gp) [[BAR]]
35 # GOT-NEXT: -32732(gp) [[START]]
[all …]
H A Dmips-got-hilo.s19 # GOT: There are no relocations in this file
21 # GOT: Symbol table '.symtab'
22 # GOT: {{.*}}: [[LOC1:[0-9a-f]+]] {{.*}} loc1
23 # GOT: {{.*}}: [[LOC2:[0-9a-f]+]] {{.*}} loc2
25 # GOT: Primary GOT:
26 # GOT: Local entries:
27 # GOT-NEXT: Address Access Initial
28 # GOT-NEXT: {{.*}} -32744(gp) [[LOC1]]
29 # GOT-NEXT: {{.*}} -32740(gp) [[LOC2]]
30 # GOT-EMPTY:
[all …]
H A Dmips-got16.s32 # GOT: Local entries:
33 # GOT-NEXT: Access Initial
34 # GOT-NEXT: -32744(gp) 00000000
36 # GOT-NEXT: -32740(gp) 00010000
38 # GOT-NEXT: -32736(gp) 00000000
40 # GOT-NEXT: -32732(gp) 00010000
42 # GOT-NEXT: -32728(gp) 00020000
45 # GOT-NEXT: -32724(gp) 00030000
47 # GOT-NEXT: -32720(gp) 00024008
49 # GOT-EMPTY:
[all …]
H A Dmips-call16.s7 # RUN: llvm-readelf -A --symbols %t.so | FileCheck -check-prefix=GOT %s
24 # GOT: Symbol table '.symtab'
25 # GOT: {{.*}}: [[G1:[0-9a-f]+]] {{.*}} g1
27 # GOT: Primary GOT:
28 # GOT: Global entries:
29 # GOT: {{.*}} -32744(gp) [[G1]] [[G1]] FUNC 7 g1
H A Drelocation-i686.s42 movl bar@GOT, %eax
85 movl bar@GOT, %eax
86 movl zed@GOT, %eax
87 movl bar+8@GOT, %eax
88 movl zed+4@GOT, %eax
H A Dmips-tls-64-pic-local-variable.s4 # previously writing values to the GOT that caused runtime crashes. This
15 # RUN: llvm-objdump --section=.got -s %t.so | FileCheck %s --check-prefix GOT
18 # GOT: Contents of section .got:
19 # GOT-NEXT: 20000 00000000 00000000 80000000 00000000
20 # GOT-NEXT: 20010 00000000 00000000 00000000 00000000
21 # GOT-NEXT: 20020 ffffffff ffff8000
H A Dppc64-tls-pcrel-ld.s9 # RUN: llvm-readelf -x .got %t-ld.so | FileCheck %s --check-prefix=LD-GOT
14 # RUN: llvm-readelf -x .got %t-ldtole 2>&1 | FileCheck %s --check-prefix=LDTOLE-GOT
28 # LD-GOT: section '.got':
29 # LD-GOT-NEXT: 0x01004160 60c10001 00000000 00000000 00000000
30 # LD-GOT-NEXT: 0x01004170 00000000 00000000
38 # LDTOLE-GOT: section '.got':
39 # LDTOLE-GOT-NEXT: 0x01004020 20c00001 00000000
H A Dhexagon-tls-gd.s8 # RUN: llvm-readobj -x .got %t | FileCheck -check-prefix=GOT %s
9 # RUN: llvm-readobj -x .got %t.so | FileCheck -check-prefix=GOT-SHARED %s
31 # GOT: Hex dump of section '.got':
32 # GOT-NEXT: 0x{{[0-9a-f]+}} 01000000 00000000
34 # GOT-SHARED: Hex dump of section '.got':
35 # GOT-SHARED-NEXT: 0x{{[0-9a-f]+}} 00000000 00000000
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dmips-got.test140 # STATIC-GOT-LLVM: Static GOT {
178 # STATIC-GOT-LLVM-NEXT: }
180 # STATIC-GOT-GNU: Static GOT:
182 # STATIC-GOT-GNU-EMPTY:
187 # STATIC-GOT-GNU-EMPTY:
194 # STATIC-GOT-GNU-EMPTY:
312 # GOT-EMPTY-LLVM: Primary GOT {
332 # GOT-EMPTY-LLVM-NEXT: Number of TLS and multi-GOT entries: 0
333 # GOT-EMPTY-LLVM-NEXT: }
335 # GOT-EMPTY-GNU: Primary GOT:
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Dloh-adrp-ldr-got-ldr.s26 # NEAR-GOT-LABEL: _main:
27 # NEAR-GOT-NEXT: nop
30 # FAR-GOT-LABEL: _main:
31 # FAR-GOT-NEXT: adrp x0
32 # FAR-GOT-NEXT: ldr x1
39 # NEAR-GOT-NEXT: nop
42 # FAR-GOT-NEXT: adrp x0
43 # FAR-GOT-NEXT: ldr x1
60 # NEAR-GOT-NEXT: adrp x0
61 # NEAR-GOT-NEXT: ldr x1
[all …]
/llvm-project-15.0.7/llvm/test/MC/MachO/AArch64/
H A Dcstexpr-gotpcrel.ll3 ; GOT equivalent globals references can be replaced by the GOT entry of the
15 ; Don't replace GOT equivalent usage within instructions and emit the GOT
16 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is
27 ; Test GOT equivalent usage inside nested constant arrays.
32 ; CHECK-NEXT: .long _localfoo@GOT-Ltmp0
42 ; CHECK-NEXT: _extfoo@GOT-Ltmp1
60 ; Test multiple uses of GOT equivalents.
64 ; CHECK-NEXT: .long _extfoo@GOT-Ltmp2
83 ; does not support encoding an extra offset with @GOT, we still need to emit the
85 ; since they will start out as GOT equivalent candidates, but they are actually
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dmips64-expansions.s2 # RUN: -show-encoding | FileCheck --check-prefixes=CHECK,GOT %s
476 # GOT: ld $10, %got_disp(symbol)($gp) # encoding: [A,A,0x8a,0xdf]
490 # GOT: ld $1, %got_disp(symbol)($gp) # encoding: [A,A,0x81,0xdf]
504 # GOT: ld $8, %got_disp(sym)($gp) # encoding: [A,A,0x88,0xdf]
513 # GOT: ld $1, %got_disp(sym)($gp) # encoding: [A,A,0x81,0xdf]
539 # GOT: ld $8, %got_disp(symbol)($gp) # encoding: [A,A,0x88,0xdf]
551 # GOT: ld $1, %got_disp(symbol)($gp) # encoding: [A,A,0x81,0xdf]
563 # GOT: ld $1, %got_disp(symbol)($gp) # encoding: [A,A,0x81,0xdf]
565 # GOT-NEXT: ldc1 $f0, 0($1) # encoding: [0x00,0x00,0x20,0xd4]
575 # GOT: ld $1, %got_disp(symbol)($gp) # encoding: [A,A,0x81,0xdf]
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/Fast-ISel/
H A Ddiv1.ll18 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25
19 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(si)($[[GOT]])
20 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(sk)($[[GOT]])
21 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(sj)($[[GOT]])
40 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25
41 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(ui)($[[GOT]])
42 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(uk)($[[GOT]])
43 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(uj)($[[GOT]])
H A Drem1.ll18 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25
19 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(si)($[[GOT]])
20 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(sk)($[[GOT]])
21 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(sj)($[[GOT]])
41 ; CHECK: addu $[[GOT:[0-9]+]], $[[GOT2:[0-9]+]], $25
42 ; CHECK-DAG: lw $[[I_ADDR:[0-9]+]], %got(ui)($[[GOT]])
43 ; CHECK-DAG: lw $[[K_ADDR:[0-9]+]], %got(uk)($[[GOT]])
44 ; CHECK-DAG: lw $[[J_ADDR:[0-9]+]], %got(uj)($[[GOT]])
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ELFRelocs/
H A DM68k.def12 ELF_RELOC(R_68K_GOTPCREL32, 7) /* 32 bit PC relative GOT entry */
13 ELF_RELOC(R_68K_GOTPCREL16, 8) /* 16 bit PC relative GOT entry */
14 ELF_RELOC(R_68K_GOTPCREL8, 9) /* 8 bit PC relative GOT entry */
15 ELF_RELOC(R_68K_GOTOFF32, 10) /* 32 bit GOT offset */
16 ELF_RELOC(R_68K_GOTOFF16, 11) /* 16 bit GOT offset */
17 ELF_RELOC(R_68K_GOTOFF8, 12) /* 8 bit GOT offset */
25 ELF_RELOC(R_68K_GLOB_DAT, 20) /* Create GOT entry */
/llvm-project-15.0.7/llvm/test/MC/MachO/ARM/
H A Dcstexpr-gotpcrel.ll3 ; RUN: FileCheck %s -check-prefix=GOT-EQUIV < %t
5 ; GOT equivalent globals references can be replaced by the GOT entry of the
12 ; GOT-EQUIV-NOT: _localgotequiv
13 ; GOT-EQUIV-NOT: _extgotequiv
20 ; Don't replace GOT equivalent usage within instructions and emit the GOT
21 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is
32 ; Test GOT equivalent usage inside nested constant arrays.
58 ; Test multiple uses of GOT equivalents.
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Delf-movt.s14 movw r0, :lower16:GOT-(.LPC0_2+8)
15 movt r0, :upper16:GOT-(.LPC0_2+8)
25 @ ASM: movw r0, :lower16:(GOT-(.LPC0_2+8))
26 @ ASM-NEXT: movt r0, :upper16:(GOT-(.LPC0_2+8))
36 @OBJ-NEXT: 00000000: R_ARM_MOVW_PREL_NC GOT
38 @OBJ-NEXT: 00000004: R_ARM_MOVT_PREL GOT
50 @THUMB-NEXT: 00000000: R_ARM_THM_MOVW_PREL_NC GOT
52 @THUMB-NEXT: 00000004: R_ARM_THM_MOVT_PREL GOT
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dla-02.ll27 ; CHECK: lgrl %r2, ev@GOT
35 ; CHECK: lgrl %r2, dv@GOT
43 ; CHECK: lgrl %r2, pv@GOT
51 ; CHECK: lgrl %r2, hv@GOT
60 ; CHECK: lgrl %r2, ef@GOT
68 ; CHECK: lgrl %r2, df@GOT
76 ; CHECK: lgrl %r2, pf@GOT
84 ; CHECK: lgrl %r2, hf@GOT
/llvm-project-15.0.7/llvm/test/MC/MachO/
H A Dcstexpr-gotpcrel-64.ll3 ; RUN: FileCheck %s -check-prefix=X86-GOT-EQUIV < %t
6 ; GOT equivalent globals references can be replaced by the GOT entry of the
14 ; X86-GOT-EQUIV-NOT: L_localgotequiv
15 ; X86-GOT-EQUIV-NOT: l_extgotequiv
22 ; Don't replace GOT equivalent usage within instructions and emit the GOT
23 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is
33 ; Test GOT equivalent usage inside nested constant arrays.
63 ; Test multiple uses of GOT equivalents.
89 ; Do not crash when a pattern cannot be matched as a GOT equivalent
H A Dcstexpr-gotpcrel-32.ll3 ; RUN: FileCheck %s -check-prefix=GOT-EQUIV < %t
5 ; GOT equivalent globals references can be replaced by the GOT entry of the
12 ; GOT-EQUIV-NOT: _localgotequiv
13 ; GOT-EQUIV-NOT: _extgotequiv
20 ; Don't replace GOT equivalent usage within instructions and emit the GOT
21 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is
32 ; Test GOT equivalent usage inside nested constant arrays.
58 ; Test multiple uses of GOT equivalents.
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dlinux-preemption.ll21 ; CHECK32: movl strong_default_global@GOT(%eax), %eax
37 ; CHECK32: movl weak_default_global@GOT(%eax), %eax
45 ; CHECK32: movl external_default_global@GOT(%eax), %eax
78 ; CHECK32: movl strong_preemptable_global@GOT(%eax), %eax
86 ; CHECK32: movl weak_preemptable_global@GOT(%eax), %eax
105 ; CHECK32: movl strong_default_alias@GOT(%eax), %eax
121 ; CHECK32: movl weak_default_alias@GOT(%eax), %eax
146 ; CHECK32: movl strong_preemptable_alias@GOT(%eax), %eax
154 ; CHECK32: movl weak_preemptable_alias@GOT(%eax), %eax
166 ; CHECK32: movl strong_default_function@GOT(%eax), %eax
[all …]

1234567891011