/freebsd-current/contrib/arm-optimized-routines/math/tools/ |
H A D | plot.py | 9 import matplotlib.pyplot as plt namespace 48 fig, (ax0,ax1) = plt.subplots(nrows=2) 58 plt.show()
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors_vfork_loongarch64.inc.S | 41 bl %plt(COMMON_INTERCEPTOR_HANDLE_VFORK)
|
H A D | sanitizer_asm.h | 81 # define ASM_PREEMPTIBLE_SYM(sym) sym@plt
|
/freebsd-current/lib/csu/amd64/ |
H A D | crt1_s.S | 67 leaq main@plt(%rip), %r8
|
/freebsd-current/sys/amd64/linux/ |
H A D | linux_vdso.lds.s | 29 *(.got.plt) *(.got)
|
/freebsd-current/sys/amd64/linux32/ |
H A D | linux32_vdso.lds.s | 30 *(.got.plt) *(.got)
|
/freebsd-current/sys/i386/linux/ |
H A D | linux_vdso.lds.s | 30 *(.got.plt) *(.got)
|
/freebsd-current/contrib/llvm-project/lld/ELF/Arch/ |
H A D | X86_64.cpp | 433 uint64_t plt = in.ibtPlt ? in.ibtPlt->getVA() : in.plt->getVA(); local 434 write32le(buf + 2, gotPlt - plt + 2); // GOTPLT+8 435 write32le(buf + 8, gotPlt - plt + 4); // GOTPLT+16 443 0xe9, 0, 0, 0, 0, // jmpq plt[0] 449 write32le(buf + 12, in.plt->getVA() - pltEntryAddr - 16); 466 // call __tls_get_addr@plt 506 // call __tls_get_addr@plt 1055 // parts, one in .plt.sec (writePlt), and the other in .plt (writeIBTPl 1163 uint64_t plt = in.plt->getVA(); local [all...] |
H A D | SystemZ.cpp | 207 uint64_t plt = in.plt->getVA(); local 208 write32be(buf + 8, (got - plt - 6) >> 1); 220 0xc0, 0x10, 0x00, 0x00, 0x00, 0x00, // larl %r1,<.got.plt slot> 225 0xc0, 0xf4, 0x00, 0x00, 0x00, 0x00, // jg <plt header> 231 write32be(buf + 24, (in.plt->getVA() - pltEntryAddr - 22) >> 1); 315 // brasl %r14,__tls_get_offset@plt R_390_TLS_GDCALL x 328 // brasl %r14,__tls_get_offset@plt -> lg %r2,0(%r2,%r12) 350 // brasl %r14,__tls_get_offset@plt R_390_TLS_GDCALL x 363 // brasl %r14,__tls_get_offset@plt [all...] |
H A D | AArch64.cpp | 236 write64(buf, in.plt->getVA()); 247 0x10, 0x00, 0x00, 0x90, // adrp x16, Page(&(.got.plt[2])) 248 0x11, 0x02, 0x40, 0xf9, // ldr x17, [x16, Offset(&(.got.plt[2]))] 249 0x10, 0x02, 0x00, 0x91, // add x16, x16, Offset(&(.got.plt[2])) 258 uint64_t plt = in.plt->getVA(); local 260 getAArch64Page(got + 16) - getAArch64Page(plt + 4)); 268 0x10, 0x00, 0x00, 0x90, // adrp x16, Page(&(.got.plt[n])) 269 0x11, 0x02, 0x40, 0xf9, // ldr x17, [x16, Offset(&(.got.plt[n]))] 270 0x10, 0x02, 0x00, 0x91, // add x16, x16, Offset(&(.got.plt[ 905 uint64_t plt = in.plt->getVA(); local [all...] |
H A D | PPC.cpp | 78 uint32_t glink = in.plt->getVA(); // VA of .glink 80 for (const Symbol *sym : cast<PPC32GlinkSection>(*in.plt).canonical_plts) { 87 // On PPC Secure PLT ABI, bl foo@plt jumps to a call stub, which loads an 88 // absolute address from a specific .plt slot (usually called .got.plt on 91 // a) With immediate binding (BIND_NOW), the .plt entry is resolved at load 93 // b) With lazy binding, the .plt entry points to a `b PLTresolve` 107 uint32_t afterBcl = 4 * in.plt->getNumEntries() + 12; 195 write32(buf, in.plt->getVA() + in.plt [all...] |
H A D | Mips.cpp | 208 uint64_t va = in.plt->getVA(); 261 uint64_t plt = in.plt->getVA(); local 276 relocateNoSym(buf, R_MICROMIPS_PC19_S2, gotPlt - plt); 281 relocateNoSym(buf, R_MICROMIPS_PC23_S2, gotPlt - plt); 348 write32(buf, 0x3c0f0000); // lui $15, %hi(.got.plt entry) 349 write32(buf + 4, loadInst); // l[wd] $25, %lo(.got.plt entry)($15) 351 write32(buf + 12, addInst); // [d]addiu $24, $15, %lo(.got.plt entry)
|
H A D | X86.cpp | 171 // Entries in .got.plt initially points back to the corresponding 233 write32le(buf + 12, in.plt->getVA() - pltEntryAddr - 16); 351 // call ___tls_get_addr@plt 386 // call ___tls_get_addr@plt 462 // call ___tls_get_addr@plt 517 // parts, one in .plt.sec (writePlt), and the other in .plt (writeIBTPlt). 637 0xe8, 0, 0, 0, 0, // call plt+0x20 638 0xe9, 0, 0, 0, 0, // jmp plt+0x12 640 0xe9, 0, 0, 0, 0, // jmp plt [all...] |
H A D | LoongArch.cpp | 202 // .got.plt[0] = _dl_runtime_resolve, .got.plt[1] = link_map 302 write64le(buf, in.plt->getVA()); 304 write32le(buf, in.plt->getVA()); 327 // pcaddu12i $t2, %pcrel_hi20(.got.plt) 329 // ld.[wd] $t3, $t2, %pcrel_lo12(.got.plt) ; t3 = _dl_runtime_resolve 330 // addi.[wd] $t1, $t1, -pltHeaderSize-12 ; t1 = &.plt[i] - &.plt[0] 331 // addi.[wd] $t0, $t2, %pcrel_lo12(.got.plt) 332 // srli.[wd] $t1, $t1, (is64?1:2) ; t1 = &.got.plt[ [all...] |
H A D | SPARCV9.cpp | 191 uint64_t off = pltEntryAddr - in.plt->getVA();
|
H A D | RISCV.cpp | 132 // .got.plt[0] = _dl_runtime_resolve, .got.plt[1] = link_map 210 write64le(buf, in.plt->getVA()); 212 write32le(buf, in.plt->getVA()); 225 // 1: auipc t2, %pcrel_hi(.got.plt) 228 // addi t1, t1, -pltHeaderSize-12; t1 = &.plt[i] - &.plt[0] 230 // srli t1, t1, (rv64?1:2); t1 = &.got.plt[i] - &.got.plt[0] 233 uint32_t offset = in.gotPlt->getVA() - in.plt [all...] |
H A D | ARM.cpp | 207 write32(buf, in.plt->getVA()); 216 // of the .plt from the .got.plt. 222 write32(buf + 16, 0x00000000); // L2: .word &(.got.plt) - L1 - 8 227 uint64_t l1 = in.plt->getVA() + 8; 231 // The default PLT header requires the .got.plt to be within 128 Mb of the 232 // .plt in the positive direction. 240 0xe28fe600, // add lr, pc, #0x0NN00000 &(.got.plt - L1 - 4) 241 0xe28eea00, // add lr, lr, #0x000NN000 &(.got.plt - L1 - 4) 242 0xe5bef000, // ldr pc, [lr, #0x00000NNN] &(.got.plt [all...] |
H A D | Hexagon.cpp | 364 uint64_t off = in.gotPlt->getVA() - in.plt->getVA();
|
/freebsd-current/contrib/llvm-project/lld/ELF/ |
H A D | Relocations.cpp | 245 // We decided not to use a plt. Optimize a reference to the plt to a 312 // When a symbol is copy relocated or we create a canonical plt entry, it is 314 // in .bss and in the case of a canonical plt entry it is in .plt. This function 911 static void addPltEntry(PltSection &plt, GotPltSection &gotPlt, argument 913 plt.addEntry(sym); 963 // a plt entry will allow the program to call the function in the 1203 // For the static linking part, we just return a plt expr and everything 1213 // plt [all...] |
H A D | Symbols.cpp | 188 : in.plt->getVA() + in.plt->headerSize +
|
H A D | SyntheticSections.cpp | 1133 // On PowerPC the .plt section is used to hold the table of function addresses 1134 // instead of the .got.plt, and the type is SHT_NOBITS similar to a .bss 1139 ".got.plt") { 1141 name = ".plt"; 1144 name = ".plt"; 1179 // On PowerPC64 the GotPltSection is renamed to '.plt' so the IgotPltSection 1182 return ".plt"; 1184 return ".got.plt"; 1270 // - in.relaPlt: this is included if a linker script places .rela.plt inside 1409 // .rel[a].plt sectio [all...] |
H A D | Writer.cpp | 534 // _GLOBAL_OFFSET_TABLE_ is defined relative to either .got.plt or .got. Treat 546 // We always need to add rel[a].plt to output if it has entries. 549 config->isRela ? ".rela.plt" : ".rel.plt", /*sort=*/false, 557 // dynamic loader reads .rel.plt after .rel.dyn, we can get the desired 558 // behaviour by placing the iplt section in .rel.plt. 571 in.plt = std::make_unique<PPC32GlinkSection>(); 573 in.plt = std::make_unique<PltSection>(); 574 add(*in.plt); 602 // to the string table, and add entries to .got and .plt [all...] |
/freebsd-current/sys/powerpc/include/ |
H A D | asm.h | 44 #define PIC_PLT(x) x@plt
|
/freebsd-current/sys/contrib/dev/rtw89/ |
H A D | mac.c | 5047 int rtw89_mac_cfg_plt(struct rtw89_dev *rtwdev, struct rtw89_mac_ax_plt *plt) argument 5053 ret = rtw89_mac_check_mac_en(rtwdev, plt->band, RTW89_CMAC_SEL); 5057 reg = rtw89_mac_reg_by_idx(R_AX_BT_PLT, plt->band); 5058 val = (plt->tx & RTW89_MAC_AX_PLT_LTE_RX ? B_AX_TX_PLT_GNT_LTE_RX : 0) | 5059 (plt->tx & RTW89_MAC_AX_PLT_GNT_BT_TX ? B_AX_TX_PLT_GNT_BT_TX : 0) | 5060 (plt->tx & RTW89_MAC_AX_PLT_GNT_BT_RX ? B_AX_TX_PLT_GNT_BT_RX : 0) | 5061 (plt->tx & RTW89_MAC_AX_PLT_GNT_WL ? B_AX_TX_PLT_GNT_WL : 0) | 5062 (plt->rx & RTW89_MAC_AX_PLT_LTE_RX ? B_AX_RX_PLT_GNT_LTE_RX : 0) | 5063 (plt->rx & RTW89_MAC_AX_PLT_GNT_BT_TX ? B_AX_RX_PLT_GNT_BT_TX : 0) | 5064 (plt [all...] |
/freebsd-current/share/mk/ |
H A D | bsd.cpu.mk | 345 LDFLAGS.bfd+= -Wl,--secure-plt
|