id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f5082c70101d5b6c10c312f86c9de7fecf0075b6 | github | libc | https://github.com/bminor/glibc/blob/f5082c70101d5b6c10c312f86c9de7fecf0075b6/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | object referenced by the argument.
ptrdiff_t
__attribute__ ((__regparm__ (1)))
_dl_tlsdesc_dynamic (struct tlsdesc *tdp)
{
struct tlsdesc_dynamic_arg *td = tdp->arg;
dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer + TCBHEAD_DTV);
if (__builtin_expect (td->gen_count <= dtv[0].counter... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | cd6274089f7a7603cdaf2a24cef575fa61d3772e | github | libc | https://github.com/bminor/glibc/blob/cd6274089f7a7603cdaf2a24cef575fa61d3772e/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | ldr PTR_REG (1), [x0,#TLSDESC_ARG]
ldr PTR_REG (0), [x4,#TCBHEAD_DTV]
ldr PTR_REG (3), [x1,#TLSDESC_GEN_COUNT]
ldr PTR_REG (2), [x0,#DTV_COUNTER]
cmp PTR_REG (3), PTR_REG (2)
b.hi 2f
/* Load r2 = td->tlsinfo.ti_module and r3 = td->tlsinfo.ti_offset. */
ldp PTR_REG (2), PTR_REG (3), [x1,#TLSDESC_MODID]
add PTR_... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | cd6274089f7a7603cdaf2a24cef575fa61d3772e | github | libc | https://github.com/bminor/glibc/blob/cd6274089f7a7603cdaf2a24cef575fa61d3772e/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | stp x15, x16, [sp, #16*6]
stp x17, x18, [sp, #16*7]
cfi_rel_offset (x5, 16*1)
cfi_rel_offset (x6, 16*1+8)
cfi_rel_offset (x7, 16*2)
cfi_rel_offset (x8, 16*2+8)
cfi_rel_offset (x9, 16*3)
cfi_rel_offset (x10, 16*3+8)
cfi_rel_offset (x11, 16*4)
cfi_rel_offset (x12, 16*4+8)
cfi_rel_offset (x13, 16*5)
cfi_rel_off... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | cd6274089f7a7603cdaf2a24cef575fa61d3772e | github | libc | https://github.com/bminor/glibc/blob/cd6274089f7a7603cdaf2a24cef575fa61d3772e/sysdeps/aarch64/dl-tlsdesc.S | 201 | 248 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | object referenced by the argument.
ptrdiff_t
__attribute__ ((__regparm__ (1)))
_dl_tlsdesc_dynamic (struct tlsdesc *tdp)
{
struct tlsdesc_dynamic_arg *td = tdp->arg;
dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer + TCBHEAD_DTV);
if (__builtin_expect (td->gen_count <= dtv[0].counter... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 45b1e17e9150dbd9ac2d578579063fbfa8e1b327 | github | libc | https://github.com/bminor/glibc/blob/45b1e17e9150dbd9ac2d578579063fbfa8e1b327/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:2 | stp q26, q27, [sp, #32*13]; \
stp q28, q29, [sp, #32*14]; \
stp q30, q31, [sp, #32*15];
#define RESTORE_Q_REGISTERS \
ldp q2, q3, [sp, #32*1]; \
ldp q4, q5, [sp, #32*2]; \
ldp q6, q7, [sp, #32*3]; \
ldp q8, q9, [sp, #32*4]; \
ldp q10, q11, [sp, #32*5]; \
ldp q12, q13, [sp, #32*6]; \
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 1be3d6eb823d8b952fa54b7bbc90cbecb8981380 | github | libc | https://github.com/bminor/glibc/blob/1be3d6eb823d8b952fa54b7bbc90cbecb8981380/sysdeps/aarch64/dl-tlsdesc.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:3 | cfi_endproc
.size _dl_tlsdesc_return, .-_dl_tlsdesc_return
/* Handler for undefined weak TLS symbols.
Prototype:
_dl_tlsdesc_undefweak (tlsdesc *);
The second word of the descriptor contains the addend.
Return the addend minus the thread pointer. This ensures
that when the caller adds on the thr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 1be3d6eb823d8b952fa54b7bbc90cbecb8981380 | github | libc | https://github.com/bminor/glibc/blob/1be3d6eb823d8b952fa54b7bbc90cbecb8981380/sysdeps/aarch64/dl-tlsdesc.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | object referenced by the argument.
ptrdiff_t
__attribute__ ((__regparm__ (1)))
_dl_tlsdesc_dynamic (struct tlsdesc *tdp)
{
struct tlsdesc_dynamic_arg *td = tdp->arg;
dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer + TCBHEAD_DTV);
if (__builtin_expect (td->gen_count <= dtv[0].counter... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 1be3d6eb823d8b952fa54b7bbc90cbecb8981380 | github | libc | https://github.com/bminor/glibc/blob/1be3d6eb823d8b952fa54b7bbc90cbecb8981380/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | ldr PTR_REG (1), [x0,#TLSDESC_ARG]
ldr PTR_REG (0), [x4,#TCBHEAD_DTV]
ldr PTR_REG (3), [x1,#TLSDESC_GEN_COUNT]
ldr PTR_REG (2), [x0,#DTV_COUNTER]
cmp PTR_REG (3), PTR_REG (2)
b.hi 2f
/* Load r2 = td->tlsinfo.ti_module and r3 = td->tlsinfo.ti_offset. */
ldp PTR_REG (2), PTR_REG (3), [x1,#TLSDESC_MODID]
add PTR_... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 91181954f94917b1e1ae591c60cbadf0321d35af | github | libc | https://github.com/bminor/glibc/blob/91181954f94917b1e1ae591c60cbadf0321d35af/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | cfi_rel_offset (x7, 16*2)
cfi_rel_offset (x8, 16*2+8)
cfi_rel_offset (x9, 16*3)
cfi_rel_offset (x10, 16*3+8)
cfi_rel_offset (x11, 16*4)
cfi_rel_offset (x12, 16*4+8)
cfi_rel_offset (x13, 16*5)
cfi_rel_offset (x14, 16*5+8)
cfi_rel_offset (x15, 16*6)
cfi_rel_offset (x16, 16*6+8)
cfi_rel_offset (x17, 16*7)
cfi_r... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 91181954f94917b1e1ae591c60cbadf0321d35af | github | libc | https://github.com/bminor/glibc/blob/91181954f94917b1e1ae591c60cbadf0321d35af/sysdeps/aarch64/dl-tlsdesc.S | 201 | 240 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:2 | stp q26, q27, [sp, #32*13]; \
stp q28, q29, [sp, #32*14]; \
stp q30, q31, [sp, #32*15];
#define RESTORE_Q_REGISTERS \
ldp q2, q3, [sp, #32*1]; \
ldp q4, q5, [sp, #32*2]; \
ldp q6, q7, [sp, #32*3]; \
ldp q8, q9, [sp, #32*4]; \
ldp q10, q11, [sp, #32*5]; \
ldp q12, q13, [sp, #32*6]; \
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/dl-tlsdesc.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:3 | .size _dl_tlsdesc_return, .-_dl_tlsdesc_return
/* Handler for undefined weak TLS symbols.
Prototype:
_dl_tlsdesc_undefweak (tlsdesc *);
The second word of the descriptor contains the addend.
Return the addend minus the thread pointer. This ensures
that when the caller adds on the thread pointer i... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/dl-tlsdesc.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | ptrdiff_t
__attribute__ ((__regparm__ (1)))
_dl_tlsdesc_dynamic (struct tlsdesc *tdp)
{
struct tlsdesc_dynamic_arg *td = tdp->arg;
dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer + TCBHEAD_DTV);
if (__builtin_expect (td->gen_count <= dtv[0].counter
&& (dtv[td->tlsinfo.ti_module].pointe... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | ldr PTR_REG (2), [x0,#DTV_COUNTER]
cmp PTR_REG (3), PTR_REG (2)
b.hi 2f
/* Load r2 = td->tlsinfo.ti_module and r3 = td->tlsinfo.ti_offset. */
ldp PTR_REG (2), PTR_REG (3), [x1,#TLSDESC_MODID]
add PTR_REG (0), PTR_REG (0), PTR_REG (2), lsl #(PTR_LOG_SIZE + 1)
ldr PTR_REG (0), [x0] /* Load val member of DTV entry.... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | cfi_rel_offset (x10, 16*3+8)
cfi_rel_offset (x11, 16*4)
cfi_rel_offset (x12, 16*4+8)
cfi_rel_offset (x13, 16*5)
cfi_rel_offset (x14, 16*5+8)
cfi_rel_offset (x15, 16*6)
cfi_rel_offset (x16, 16*6+8)
cfi_rel_offset (x17, 16*7)
cfi_rel_offset (x18, 16*7+8)
SAVE_Q_REGISTERS
mov x0, x1
bl __tls_get_addr
mrs x1... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/dl-tlsdesc.S | 201 | 237 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 659ca267360e1c1f64eea9205bb81cb5e9049908 | github | libc | https://github.com/bminor/glibc/blob/659ca267360e1c1f64eea9205bb81cb5e9049908/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | ptrdiff_t
__attribute__ ((__regparm__ (1)))
_dl_tlsdesc_dynamic (struct tlsdesc *tdp)
{
struct tlsdesc_dynamic_arg *td = tdp->arg;
dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer + TCBHEAD_DTV);
if (__builtin_expect (td->gen_count <= dtv[0].counter
&& (dtv[td->tlsinfo.ti_module].pointe... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 91c5a366d8d398d2fc4542f961c93058a92ade6f | github | libc | https://github.com/bminor/glibc/blob/91c5a366d8d398d2fc4542f961c93058a92ade6f/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | cfi_rel_offset (x4, 32+24)
mrs x4, tpidr_el0
ldr PTR_REG (1), [x0,#TLSDESC_ARG]
ldr PTR_REG (0), [x4,#TCBHEAD_DTV]
ldr PTR_REG (3), [x1,#TLSDESC_GEN_COUNT]
ldr PTR_REG (2), [x0,#DTV_COUNTER]
cmp PTR_REG (3), PTR_REG (2)
b.hi 2f
ldr PTR_REG (2), [x1,#TLSDESC_MODID]
add PTR_REG (0), PTR_REG (0), PTR_REG (2), ls... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 91c5a366d8d398d2fc4542f961c93058a92ade6f | github | libc | https://github.com/bminor/glibc/blob/91c5a366d8d398d2fc4542f961c93058a92ade6f/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | stp x15, x16, [sp, #16*5]
stp x17, x18, [sp, #16*6]
cfi_rel_offset (x5, 0)
cfi_rel_offset (x6, 8)
cfi_rel_offset (x7, 16)
cfi_rel_offset (x8, 16+8)
cfi_rel_offset (x9, 16*2)
cfi_rel_offset (x10, 16*2+8)
cfi_rel_offset (x11, 16*3)
cfi_rel_offset (x12, 16*3+8)
cfi_rel_offset (x13, 16*4)
cfi_rel_offset (x14, 16... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 91c5a366d8d398d2fc4542f961c93058a92ade6f | github | libc | https://github.com/bminor/glibc/blob/91c5a366d8d398d2fc4542f961c93058a92ade6f/sysdeps/aarch64/dl-tlsdesc.S | 201 | 240 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:2 | stp q26, q27, [sp, #32*13]; \
stp q28, q29, [sp, #32*14]; \
stp q30, q31, [sp, #32*15];
#define RESTORE_Q_REGISTERS \
ldp q2, q3, [sp, #32*1]; \
ldp q4, q5, [sp, #32*2]; \
ldp q6, q7, [sp, #32*3]; \
ldp q8, q9, [sp, #32*4]; \
ldp q10, q11, [sp, #32*5]; \
ldp q12, q13, [sp, #32*6]; \
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:3 | .size _dl_tlsdesc_return, .-_dl_tlsdesc_return
/* Same as _dl_tlsdesc_return but with synchronization for
lazy relocation.
Prototype:
_dl_tlsdesc_return_lazy (tlsdesc *) ;
*/
.hidden _dl_tlsdesc_return_lazy
.global _dl_tlsdesc_return_lazy
.type _dl_tlsdesc_return_lazy,%function
cfi_startproc
.align... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | _dl_tlsdesc_undefweak:
str x1, [sp, #-16]!
cfi_adjust_cfa_offset (16)
/* The ldar here happens after the load from [x0] at the call site
(that is generated by the compiler as part of the TLS access ABI),
so it reads the same value (this function is the final value of
td->entry) and thus it synchronizes w... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | 1))
return dtv[td->tlsinfo.ti_module].pointer.val
+ td->tlsinfo.ti_offset
- __thread_pointer;
return ___tls_get_addr (&td->tlsinfo) - __thread_pointer;
}
*/
.hidden _dl_tlsdesc_dynamic
.global _dl_tlsdesc_dynamic
.type _dl_tlsdesc_dynamic,%function
cfi_startproc
.align 2
_dl_tlsdesc_dynam... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | ldar PTR_REG (zr), [x0]
ldr PTR_REG (1), [x0,#TLSDESC_ARG]
ldr PTR_REG (0), [x4,#TCBHEAD_DTV]
ldr PTR_REG (3), [x1,#TLSDESC_GEN_COUNT]
ldr PTR_REG (2), [x0,#DTV_COUNTER]
cmp PTR_REG (3), PTR_REG (2)
b.hi 2f
ldr PTR_REG (2), [x1,#TLSDESC_MODID]
add PTR_REG (0), PTR_REG (0), PTR_REG (2), lsl #(PTR_LOG_SIZE + 1)
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:7 | cfi_rel_offset (x5, 0)
cfi_rel_offset (x6, 8)
cfi_rel_offset (x7, 16)
cfi_rel_offset (x8, 16+8)
cfi_rel_offset (x9, 16*2)
cfi_rel_offset (x10, 16*2+8)
cfi_rel_offset (x11, 16*3)
cfi_rel_offset (x12, 16*3+8)
cfi_rel_offset (x13, 16*4)
cfi_rel_offset (x14, 16*4+8)
cfi_rel_offset (x15, 16*5)
cfi_rel_offset (x16... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:8 | RELA relocations.
When the actual resolver returns, it will have adjusted the
TLS descriptor such that we can tail-call it for it to return
the TP offset of the symbol. */
.hidden _dl_tlsdesc_resolve_rela
.global _dl_tlsdesc_resolve_rela
.type _dl_tlsdesc_resolve_rela,%function
cfi_startproc
.align 2... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 281 | 340 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:9 | cfi_rel_offset (x13, 32+16*5)
cfi_rel_offset (x14, 32+16*5+8)
cfi_rel_offset (x15, 32+16*6)
cfi_rel_offset (x16, 32+16*6+8)
cfi_rel_offset (x17, 32+16*7)
cfi_rel_offset (x18, 32+16*7+8)
cfi_rel_offset (x0, 32+16*8)
SAVE_Q_REGISTERS
DELOUSE (3)
ldr PTR_REG (1), [x3, #PTR_SIZE]
bl _dl_tlsdesc_resolve_rela_fix... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 321 | 380 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:10 | /* This function is a placeholder for lazy resolving of TLS
relocations. Once some thread starts resolving a TLS
relocation, it sets up the TLS descriptor to use this
resolver, such that other threads that would attempt to
resolve it concurrently may skip the call to the original lazy
resolver and go straight to ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 361 | 420 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:11 | cfi_rel_offset (x7, 32+16*3)
cfi_rel_offset (x8, 32+16*3+8)
cfi_rel_offset (x9, 32+16*4)
cfi_rel_offset (x10, 32+16*4+8)
cfi_rel_offset (x11, 32+16*5)
cfi_rel_offset (x12, 32+16*5+8)
cfi_rel_offset (x13, 32+16*6)
cfi_rel_offset (x14, 32+16*6+8)
cfi_rel_offset (x15, 32+16*7)
cfi_rel_offset (x16, 32+16*7+8)
cfi... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 5a706f649de3952271930a8340db4ca8aa50f485 | github | libc | https://github.com/bminor/glibc/blob/5a706f649de3952271930a8340db4ca8aa50f485/sysdeps/aarch64/dl-tlsdesc.S | 401 | 443 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | 1))
return dtv[td->tlsinfo.ti_module].pointer.val
+ td->tlsinfo.ti_offset
- __thread_pointer;
return ___tls_get_addr (&td->tlsinfo) - __thread_pointer;
}
*/
.hidden _dl_tlsdesc_dynamic
.global _dl_tlsdesc_dynamic
.type _dl_tlsdesc_dynamic,%function
cfi_startproc
.align 2
_dl_tlsdesc_dynam... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | e535139e82e5a4bb0ed63b0b5165f03a9b2d0e52 | github | libc | https://github.com/bminor/glibc/blob/e535139e82e5a4bb0ed63b0b5165f03a9b2d0e52/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | ldar PTR_REG (zr), [x0]
ldr PTR_REG (1), [x0,#TLSDESC_ARG]
ldr PTR_REG (0), [x4,#TCBHEAD_DTV]
ldr PTR_REG (3), [x1,#TLSDESC_GEN_COUNT]
ldr PTR_REG (2), [x0,#DTV_COUNTER]
cmp PTR_REG (3), PTR_REG (2)
b.hi 2f
ldr PTR_REG (2), [x1,#TLSDESC_MODID]
add PTR_REG (0), PTR_REG (0), PTR_REG (2), lsl #(PTR_LOG_SIZE + 1)
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | e535139e82e5a4bb0ed63b0b5165f03a9b2d0e52 | github | libc | https://github.com/bminor/glibc/blob/e535139e82e5a4bb0ed63b0b5165f03a9b2d0e52/sysdeps/aarch64/dl-tlsdesc.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | _dl_tlsdesc_undefweak:
str x1, [sp, #-16]!
cfi_adjust_cfa_offset (16)
/* The ldar here happens after the load from [x0] at the call site
(that is generated by the compiler as part of the TLS access ABI),
so it reads the same value (this function is the final value of
td->entry) and thus it synchronizes w... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | 1))
return dtv[td->tlsinfo.ti_module].pointer.val
+ td->tlsinfo.ti_offset
- __thread_pointer;
return ___tls_get_addr (&td->tlsinfo) - __thread_pointer;
}
*/
.hidden _dl_tlsdesc_dynamic
.global _dl_tlsdesc_dynamic
.type _dl_tlsdesc_dynamic,%function
cfi_startproc
.align 2
_dl_tlsdesc_dynam... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | b.hi 2f
ldr PTR_REG (2), [x1,#TLSDESC_MODID]
add PTR_REG (0), PTR_REG (0), PTR_REG (2), lsl #(PTR_LOG_SIZE + 1)
ldr PTR_REG (0), [x0] /* Load val member of DTV entry. */
cmp x0, #TLS_DTV_UNALLOCATED
b.eq 2f
ldr PTR_REG (1), [x1,#TLSDESC_MODOFF]
add PTR_REG (0), PTR_REG (0), PTR_REG (1)
sub PTR_REG (0), PTR_REG... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/dl-tlsdesc.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:7 | RESTORE_Q_REGISTERS
ldp x7, x8, [sp, #16*1]
ldp x9, x10, [sp, #16*2]
ldp x11, x12, [sp, #16*3]
ldp x13, x14, [sp, #16*4]
ldp x15, x16, [sp, #16*5]
ldp x17, x18, [sp, #16*6]
ldp x5, x6, [sp], #16*NSAVEXREGPAIRS
cfi_adjust_cfa_offset (-16*NSAVEXREGPAIRS)
b 1b
cfi_endproc
.size _dl_tlsdesc_dynamic, .-_dl_... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/dl-tlsdesc.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:8 | stp x17, x18, [sp, #32+16*7]
str x0, [sp, #32+16*8]
SAVE_Q_REGISTERS
DELOUSE (3)
ldr PTR_REG (1), [x3, #PTR_SIZE]
bl _dl_tlsdesc_resolve_rela_fixup
RESTORE_Q_REGISTERS
ldr x0, [sp, #32+16*8]
DELOUSE (0)
ldr PTR_REG (1), [x0]
blr x1
ldp x1, x4, [sp, #32+16*0]
ldp x5, x6, [sp, #32+16*1]
ldp x... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/dl-tlsdesc.S | 281 | 340 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:9 | When the actual resolver returns, it will have adjusted the
TLS descriptor such that we can tail-call it for it to return
the TP offset of the symbol. */
.hidden _dl_tlsdesc_resolve_hold
.global _dl_tlsdesc_resolve_hold
.type _dl_tlsdesc_resolve_hold,%function
cfi_startproc
.align 2
_dl_tlsdesc_resolve_hold:
#... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/dl-tlsdesc.S | 321 | 373 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:10 | ldp x5, x6, [sp, #32+16*2]
ldp x7, x8, [sp, #32+16*3]
ldp x9, x10, [sp, #32+16*4]
ldp x11, x12, [sp, #32+16*5]
ldp x13, x14, [sp, #32+16*6]
ldp x15, x16, [sp, #32+16*7]
ldp x17, x18, [sp, #32+16*8]
ldp x29, x30, [sp], #(32+16*NSAVEXREGPAIRS)
cfi_adjust_cfa_offset (-32-16*NSAVEXREGPAIRS)
RET
cfi_endproc
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/dl-tlsdesc.S | 361 | 373 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 67aae64512cb42332f76a83e84ac2bc608ad4ad2 | github | libc | https://github.com/bminor/glibc/blob/67aae64512cb42332f76a83e84ac2bc608ad4ad2/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | _dl_tlsdesc_undefweak:
str x1, [sp, #-16]!
cfi_adjust_cfa_offset (16)
/* The ldar here happens after the load from [x0] at the call site
(that is generated by the compiler as part of the TLS access ABI),
so it reads the same value (this function is the final value of
td->entry) and thus it synchronizes w... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 389d1f1b232b3d6b9d73ee2c50e543ace6675621 | github | libc | https://github.com/bminor/glibc/blob/389d1f1b232b3d6b9d73ee2c50e543ace6675621/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | 1))
return dtv[td->tlsinfo.ti_module].pointer.val
+ td->tlsinfo.ti_offset
- __thread_pointer;
return ___tls_get_addr (&td->tlsinfo) - __thread_pointer;
}
*/
.hidden _dl_tlsdesc_dynamic
.global _dl_tlsdesc_dynamic
.type _dl_tlsdesc_dynamic,%function
cfi_startproc
.align 2
_dl_tlsdesc_dynam... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 389d1f1b232b3d6b9d73ee2c50e543ace6675621 | github | libc | https://github.com/bminor/glibc/blob/389d1f1b232b3d6b9d73ee2c50e543ace6675621/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | b.hi 2f
ldr PTR_REG (2), [x1]
add PTR_REG (0), PTR_REG (0), PTR_REG (2), lsl #(PTR_LOG_SIZE + 1)
ldr PTR_REG (0), [x0]
cmn x0, #0x1
b.eq 2f
ldr PTR_REG (1), [x1,#(PTR_SIZE * 2)]
add PTR_REG (0), PTR_REG (0), PTR_REG (1)
sub PTR_REG (0), PTR_REG (0), PTR_REG (4)
1:
ldp x1, x2, [sp, #32+16*0]
ldp x3, x4, [s... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 389d1f1b232b3d6b9d73ee2c50e543ace6675621 | github | libc | https://github.com/bminor/glibc/blob/389d1f1b232b3d6b9d73ee2c50e543ace6675621/sysdeps/aarch64/dl-tlsdesc.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:2 | stp q26, q27, [sp, #32*13]; \
stp q28, q29, [sp, #32*14]; \
stp q30, q31, [sp, #32*15];
#define RESTORE_Q_REGISTERS \
ldp q2, q3, [sp, #32*1]; \
ldp q4, q5, [sp, #32*2]; \
ldp q6, q7, [sp, #32*3]; \
ldp q8, q9, [sp, #32*4]; \
ldp q10, q11, [sp, #32*5]; \
ldp q12, q13, [sp, #32*6]; \
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:3 | /* Same as _dl_tlsdesc_return but with synchronization for
lazy relocation.
Prototype:
_dl_tlsdesc_return_lazy (tlsdesc *) ;
*/
.hidden _dl_tlsdesc_return_lazy
.global _dl_tlsdesc_return_lazy
.type _dl_tlsdesc_return_lazy,%function
cfi_startproc
.align 2
_dl_tlsdesc_return_lazy:
/* The ldar here hap... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:4 | cfi_adjust_cfa_offset (16)
/* The ldar here happens after the load from [x0] at the call site
(that is generated by the compiler as part of the TLS access ABI),
so it reads the same value (this function is the final value of
td->entry) and thus it synchronizes with the release store to
td->entry in _dl... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:5 | - __thread_pointer;
return ___tls_get_addr (&td->tlsinfo) - __thread_pointer;
}
*/
.hidden _dl_tlsdesc_dynamic
.global _dl_tlsdesc_dynamic
.type _dl_tlsdesc_dynamic,%function
cfi_startproc
.align 2
_dl_tlsdesc_dynamic:
# define NSAVEXREGPAIRS 2
stp x29, x30, [sp,#-(32+16*NSAVEXREGPAIRS)]!
cfi_adjus... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:6 | cmn x0, #0x1
b.eq 2f
ldr x1, [x1,#8]
add x0, x0, x1
sub x0, x0, x4
1:
ldp x1, x2, [sp, #32+16*0]
ldp x3, x4, [sp, #32+16*1]
ldp x29, x30, [sp], #(32+16*NSAVEXREGPAIRS)
cfi_adjust_cfa_offset (-32-16*NSAVEXREGPAIRS)
# undef NSAVEXREGPAIRS
RET
2:
/* This is the slow path. We need to call __tls_get_addr() wh... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:7 | ldp x9, x10, [sp, #16*2]
ldp x11, x12, [sp, #16*3]
ldp x13, x14, [sp, #16*4]
ldp x15, x16, [sp, #16*5]
ldp x17, x18, [sp, #16*6]
ldp x5, x6, [sp], #16*NSAVEXREGPAIRS
cfi_adjust_cfa_offset (-16*NSAVEXREGPAIRS)
b 1b
cfi_endproc
.size _dl_tlsdesc_dynamic, .-_dl_tlsdesc_dynamic
# undef NSAVEXREGPAIRS
#endif
/... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:8 | ldr x1, [x3, #8]
bl _dl_tlsdesc_resolve_rela_fixup
RESTORE_Q_REGISTERS
ldr x0, [sp, #32+16*8]
ldr x1, [x0]
blr x1
ldp x1, x4, [sp, #32+16*0]
ldp x5, x6, [sp, #32+16*1]
ldp x7, x8, [sp, #32+16*2]
ldp x9, x10, [sp, #32+16*3]
ldp x11, x12, [sp, #32+16*4]
ldp x13, x14, [sp, #32+16*5]
ldp x15, x16, [sp... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 281 | 340 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:9 | .type _dl_tlsdesc_resolve_hold,%function
cfi_startproc
.align 2
_dl_tlsdesc_resolve_hold:
#define NSAVEXREGPAIRS 10
1:
stp x29, x30, [sp, #-(32+16*NSAVEXREGPAIRS)]!
cfi_adjust_cfa_offset (32+16*NSAVEXREGPAIRS)
mov x29, sp
stp x1, x2, [sp, #32+16*0]
stp x3, x4, [sp, #32+16*1]
stp x5, x6, [sp, #32+16*2]
st... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/dl-tlsdesc.S | 321 | 366 |
bminor/glibc:sysdeps/aarch64/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-tlsdesc.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/aarch64/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:2 | [sp, #8] lr
[sp, #0] &PLTGOT[n]
*/
cfi_rel_offset (lr, 8)
/* Note: Saving x9 is not required by the ABI but the assembler requires
the immediate values of operand 3 to be a multiple of 16 */
stp x8, x9, [sp, #-(80+8*16)]!
cfi_adjust_cfa_offset (80+8*16)
cfi_rel_offset (x8, 0)
cfi_rel_offset (x9, 8)
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:3 | stp q6, q7, [sp, #(80+6*16)]
cfi_rel_offset (q0, 80+6*16)
cfi_rel_offset (q1, 80+7*16)
/* Get pointer to linker struct. */
ldr x0, [ip0, -8]
/* Prepare to call _dl_fixup(). */
ldr x1, [sp, 80+8*16] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, x1, lsl #1
lsl x1, x1, #3
sub x1, x1, ... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:4 | cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
#if !defined PROF && defined SHARED
.globl _dl_runtime_profile
.type _dl_runtime_profile, #function
cfi_startproc
.align 2
_dl_runtime_profile:
paciasp
cfi_negate_ra_state
/* AArch64 we get called with:
ip0 &PLTGOT[2]
ip1 temp(dl resolver en... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:5 | /* Save arguments. */
sub sp, sp, #SF_SIZE
cfi_adjust_cfa_offset (SF_SIZE)
stp x29, x30, [SP, #0]
mov x29, sp
cfi_def_cfa_register (x29)
cfi_rel_offset (x29, 0)
cfi_rel_offset (lr, 8)
stp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*0]
cfi_rel_offset (x0, OFFSET_RG + DL_OFFSET_RG_X0 + 16*0 + 0)
cfi_rel_o... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:6 | add x0, x29, #SF_SIZE + 16
ldr x1, [x29, #OFFSET_LR]
stp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_SP]
/* Get pointer to linker struct. */
ldr x0, [ip0, -8]
/* Prepare to call _dl_profile_fixup(). */
ldr x1, [x29, OFFSET_PLTGOTN] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, x1, lsl #1
ls... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:7 | ldp q2, q3, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*1]
ldp q4, q5, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*2]
ldp q6, q7, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*3]
cfi_def_cfa_register (sp)
ldp x29, x30, [x29, #0]
cfi_restore(x29)
cfi_restore(x30)
add sp, sp, SF_SIZE
cfi_adjust_cfa_offset (-SF_SIZE)
autiasp... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:8 | ldr x8, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*4]
ldp q0, q1, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*0]
ldp q2, q3, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*1]
ldp q4, q5, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*2]
ldp q6, q7, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*3]
blr ip0
stp x0, x1, [x29, #OFFSET_RV + ... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/dl-trampoline.S | 281 | 329 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2c421fc4302ecb729823ca442f9dfab95afba752 | github | libc | https://github.com/bminor/glibc/blob/2c421fc4302ecb729823ca442f9dfab95afba752/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:3 | stp q6, q7, [sp, #(80+6*16)]
cfi_rel_offset (q0, 80+6*16)
cfi_rel_offset (q1, 80+7*16)
/* Get pointer to linker struct. */
ldr x0, [ip0, -8]
/* Prepare to call _dl_fixup(). */
ldr x1, [sp, 80+8*16] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, x1, lsl #1
lsl x1, x1, #3
sub x1, x1, ... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:4 | cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
#if !defined PROF && defined SHARED
.globl _dl_runtime_profile
.type _dl_runtime_profile, #function
cfi_startproc
.align 2
_dl_runtime_profile:
# if HAVE_AARCH64_PAC_RET
PACIASP
cfi_window_save
# else
BTI_C
# endif
/* AArch64 we get called with:
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:5 | # define OFFSET_PLTGOTN SF_SIZE
# define OFFSET_LR OFFSET_PLTGOTN + 8
/* Save arguments. */
sub sp, sp, #SF_SIZE
cfi_adjust_cfa_offset (SF_SIZE)
stp x29, x30, [SP, #0]
mov x29, sp
cfi_def_cfa_register (x29)
cfi_rel_offset (x29, 0)
cfi_rel_offset (lr, 8)
stp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:6 | cfi_rel_offset (q7, OFFSET_RG + DL_OFFSET_RG_V0 + 32*3 + 16)
/* No APCS extension supported. */
str xzr, [X29, #OFFSET_RG + DL_OFFSET_RG_VPCS]
add x0, x29, #SF_SIZE + 16
ldr x1, [x29, #OFFSET_LR]
stp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_SP]
/* Get pointer to linker struct. */
ldr x0, [ip0, -8]
/... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:7 | ldp x4, x5, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*2]
ldp x6, x7, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*3]
ldr x8, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*4]
ldp q0, q1, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*0]
ldp q2, q3, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*1]
ldp q4, q5, [x29, #OFFSET_RG + DL_OFFSET... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:8 | bl memcpy
ldr ip0, [x29, #OFFSET_T1]
/* Call the function. */
ldp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*0]
ldp x2, x3, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*1]
ldp x4, x5, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*2]
ldp x6, x7, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*3]
ldr x8, [x29, #OFFSET_RG... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 281 | 340 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:9 | /* LR from within La_aarch64_reg */
ldr lr, [x29, #OFFSET_RG + DL_OFFSET_RG_LR]
cfi_restore(lr)
# if HAVE_AARCH64_PAC_RET
/* Note: LR restored from La_aarch64_reg has no PAC. */
cfi_window_save
# endif
mov sp, x29
cfi_def_cfa_register (sp)
ldr x29, [x29, #0]
cfi_restore(x29)
add sp, sp, SF_SIZE + 16
cfi_adju... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/dl-trampoline.S | 321 | 340 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:2 | ip1 temp(dl resolver entry point)
[sp, #8] lr
[sp, #0] &PLTGOT[n]
*/
cfi_rel_offset (lr, 8)
/* Note: Saving x9 is not required by the ABI but the assembler requires
the immediate values of operand 3 to be a multiple of 16 */
stp x8, x9, [sp, #-(80+8*16)]!
cfi_adjust_cfa_offset (80+8*16)
cfi_rel_of... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:3 | cfi_rel_offset (q1, 80+5*16)
stp q6, q7, [sp, #(80+6*16)]
cfi_rel_offset (q0, 80+6*16)
cfi_rel_offset (q1, 80+7*16)
/* Get pointer to linker struct. */
ldr PTR_REG (0), [ip0, #-PTR_SIZE]
/* Prepare to call _dl_fixup(). */
ldr x1, [sp, 80+8*16] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, ... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:4 | br ip0
cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
#if !defined PROF && defined SHARED
.globl _dl_runtime_profile
.type _dl_runtime_profile, #function
cfi_startproc
.align 2
_dl_runtime_profile:
# if HAVE_AARCH64_PAC_RET
PACIASP
cfi_window_save
# else
BTI_C
# endif
/* AArch64 we get called w... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:5 | # define SF_SIZE OFFSET_RG + DL_SIZEOF_RG
# define OFFSET_PLTGOTN SF_SIZE
# define OFFSET_LR OFFSET_PLTGOTN + 8
/* Save arguments. */
sub sp, sp, #SF_SIZE
cfi_adjust_cfa_offset (SF_SIZE)
stp x29, x30, [SP, #0]
mov x29, sp
cfi_def_cfa_register (x29)
cfi_rel_offset (x29, 0)
cfi_rel_offset (lr, 8)
stp x0, ... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:6 | cfi_rel_offset (q6, OFFSET_RG + DL_OFFSET_RG_V0 + 32*3 + 0)
cfi_rel_offset (q7, OFFSET_RG + DL_OFFSET_RG_V0 + 32*3 + 16)
/* No APCS extension supported. */
str xzr, [X29, #OFFSET_RG + DL_OFFSET_RG_VPCS]
add x0, x29, #SF_SIZE + 16
ldr x1, [x29, #OFFSET_LR]
stp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_SP]
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:7 | ldp x2, x3, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*1]
ldp x4, x5, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*2]
ldp x6, x7, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*3]
ldr x8, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*4]
ldp q0, q1, [x29, #OFFSET_RG + DL_OFFSET_RG_V0 + 32*0]
ldp q2, q3, [x29, #OFFSET_RG + DL_OFFSET... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:8 | mov x2, ip0
bl memcpy
ldr ip0, [x29, #OFFSET_T1]
/* Call the function. */
ldp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*0]
ldp x2, x3, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*1]
ldp x4, x5, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*2]
ldp x6, x7, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*3]
ldr x8, [x2... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/dl-trampoline.S | 281 | 340 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 55f41ef8de4a4d0c5762d78659e11202d3c765d4 | github | libc | https://github.com/bminor/glibc/blob/55f41ef8de4a4d0c5762d78659e11202d3c765d4/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:3 | cfi_rel_offset (q1, 80+5*16)
stp q6, q7, [sp, #(80+6*16)]
cfi_rel_offset (q0, 80+6*16)
cfi_rel_offset (q1, 80+7*16)
/* Get pointer to linker struct. */
ldr PTR_REG (0), [ip0, #-PTR_SIZE]
/* Prepare to call _dl_fixup(). */
ldr x1, [sp, 80+8*16] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, ... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:4 | br ip0
cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
#ifndef PROF
.globl _dl_runtime_profile
.type _dl_runtime_profile, #function
cfi_startproc
.align 2
_dl_runtime_profile:
# if HAVE_AARCH64_PAC_RET
PACIASP
cfi_window_save
# else
BTI_C
# endif
/* AArch64 we get called with:
ip0 &PLTGOT[2... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | eb4181e9f4a512de37dad4ba623c921671584dea | github | libc | https://github.com/bminor/glibc/blob/eb4181e9f4a512de37dad4ba623c921671584dea/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:8 | mov x2, ip0
bl memcpy
ldr ip0, [x29, #OFFSET_T1]
/* Call the function. */
ldp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*0]
ldp x2, x3, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*1]
ldp x4, x5, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*2]
ldp x6, x7, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*3]
ldr x8, [x2... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | ce9a68c57c260c8417afc93972849ac9ad243ec4 | github | libc | https://github.com/bminor/glibc/blob/ce9a68c57c260c8417afc93972849ac9ad243ec4/sysdeps/aarch64/dl-trampoline.S | 281 | 340 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:9 | ldp q4, q5, [x29, #OFFSET_RV + DL_OFFSET_RV_V0 + 32*2]
ldp q6, q7, [x29, #OFFSET_RV + DL_OFFSET_RV_V0 + 32*3]
/* LR from within La_aarch64_reg */
ldr lr, [x29, #OFFSET_RG + DL_OFFSET_RG_LR]
cfi_restore(lr)
# if HAVE_AARCH64_PAC_RET
/* Note: LR restored from La_aarch64_reg has no PAC. */
cfi_window_save
# endif
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | ce9a68c57c260c8417afc93972849ac9ad243ec4 | github | libc | https://github.com/bminor/glibc/blob/ce9a68c57c260c8417afc93972849ac9ad243ec4/sysdeps/aarch64/dl-trampoline.S | 321 | 343 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:2 | ip1 temp(dl resolver entry point)
[sp, #8] lr
[sp, #0] &PLTGOT[n]
*/
cfi_rel_offset (lr, 8)
/* Save arguments. */
stp x8, x9, [sp, #-(80+8*16)]!
cfi_adjust_cfa_offset (80+8*16)
cfi_rel_offset (x8, 0)
cfi_rel_offset (x9, 8)
stp x6, x7, [sp, #16]
cfi_rel_offset (x6, 16)
cfi_rel_offset (x7, 24)
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:3 | stp q6, q7, [sp, #(80+6*16)]
cfi_rel_offset (q0, 80+6*16)
cfi_rel_offset (q1, 80+7*16)
/* Get pointer to linker struct. */
ldr PTR_REG (0), [ip0, #-PTR_SIZE]
/* Prepare to call _dl_fixup(). */
ldr x1, [sp, 80+8*16] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, x1, lsl #1
lsl x1, x1, #3
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:4 | cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
#ifndef PROF
.globl _dl_runtime_profile
.type _dl_runtime_profile, #function
cfi_startproc
.align 2
_dl_runtime_profile:
# if HAVE_AARCH64_PAC_RET
PACIASP
cfi_window_save
# else
BTI_C
# endif
/* AArch64 we get called with:
ip0 &PLTGOT[2]
ip1... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:5 | # define OFFSET_PLTGOTN SF_SIZE
# define OFFSET_LR OFFSET_PLTGOTN + 8
/* Save arguments. */
sub sp, sp, #SF_SIZE
cfi_adjust_cfa_offset (SF_SIZE)
stp x29, x30, [SP, #0]
mov x29, sp
cfi_def_cfa_register (x29)
cfi_rel_offset (x29, 0)
cfi_rel_offset (lr, 8)
stp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 161 | 220 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:6 | ldr x1, [x29, #OFFSET_LR]
stp x0, x1, [x29, #OFFSET_RG + DL_OFFSET_RG_SP]
/* Get pointer to linker struct. */
ldr PTR_REG (0), [ip0, #-PTR_SIZE]
/* Prepare to call _dl_profile_fixup(). */
ldr x1, [x29, OFFSET_PLTGOTN] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, x1, lsl #1
lsl x1, x1, #... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:7 | cfi_def_cfa_register (sp)
ldp x29, x30, [x29, #0]
cfi_restore(x29)
cfi_restore(x30)
# if HAVE_AARCH64_PAC_RET
add sp, sp, SF_SIZE
cfi_adjust_cfa_offset (-SF_SIZE)
AUTIASP
cfi_window_save
add sp, sp, 16
cfi_adjust_cfa_offset (-16)
# else
add sp, sp, SF_SIZE + 16
cfi_adjust_cfa_offset (- SF_SIZE - 16)
# endif... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:8 | ldp x4, x5, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*2]
ldp x6, x7, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*3]
ldp d0, d1, [x29, #OFFSET_RG + DL_OFFSET_RG_D0 + 16*0]
ldp d2, d3, [x29, #OFFSET_RG + DL_OFFSET_RG_D0 + 16*1]
ldp d4, d5, [x29, #OFFSET_RG + DL_OFFSET_RG_D0 + 16*2]
ldp d6, d7, [x29, #OFFSET_RG + DL_OFFSET... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/dl-trampoline.S | 281 | 320 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 8c0664e2b861fd3789602cc0b0b1922b0e20cb3a | github | libc | https://github.com/bminor/glibc/blob/8c0664e2b861fd3789602cc0b0b1922b0e20cb3a/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:7 | cfi_def_cfa_register (sp)
ldp x29, x30, [x29, #0]
cfi_restore(x29)
cfi_restore(x30)
# if HAVE_AARCH64_PAC_RET
add sp, sp, SF_SIZE
cfi_adjust_cfa_offset (-SF_SIZE)
AUTIASP
cfi_window_save
add sp, sp, 16
cfi_adjust_cfa_offset (-16)
# else
add sp, sp, SF_SIZE + 16
cfi_adjust_cfa_offset (- SF_SIZE - 16)
# endif... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/dl-trampoline.S | 241 | 300 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:8 | ldp x4, x5, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*2]
ldp x6, x7, [x29, #OFFSET_RG + DL_OFFSET_RG_X0 + 16*3]
ldp d0, d1, [x29, #OFFSET_RG + DL_OFFSET_RG_D0 + 16*0]
ldp d2, d3, [x29, #OFFSET_RG + DL_OFFSET_RG_D0 + 16*1]
ldp d4, d5, [x29, #OFFSET_RG + DL_OFFSET_RG_D0 + 16*2]
ldp d6, d7, [x29, #OFFSET_RG + DL_OFFSET... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/dl-trampoline.S | 281 | 320 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 1be3d6eb823d8b952fa54b7bbc90cbecb8981380 | github | libc | https://github.com/bminor/glibc/blob/1be3d6eb823d8b952fa54b7bbc90cbecb8981380/sysdeps/aarch64/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/dl-trampoline.S:3 | stp q6, q7, [sp, #(80+6*16)]
cfi_rel_offset (q0, 80+6*16)
cfi_rel_offset (q1, 80+7*16)
/* Get pointer to linker struct. */
ldr PTR_REG (0), [ip0, #-PTR_SIZE]
/* Prepare to call _dl_fixup(). */
ldr x1, [sp, 80+8*16] /* Recover &PLTGOT[n] */
sub x1, x1, ip0
add x1, x1, x1, lsl #1
lsl x1, x1, #3
... | arm64 | intel-like | handwritten | bminor/glibc | sysdeps/aarch64/dl-trampoline.S | LGPL-2.1 | 91181954f94917b1e1ae591c60cbadf0321d35af | github | libc | https://github.com/bminor/glibc/blob/91181954f94917b1e1ae591c60cbadf0321d35af/sysdeps/aarch64/dl-trampoline.S | 81 | 140 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.