Peter Smith
Peter Smith
The thread local storage chapter contains: * A description of Thread Local Storage based on addenda32 * The key design decisions of AArch64 TLS such as tls variant, tls dialect,...
With increasing adoption of tools like BOLT and use of binary analysis by the Linux kernel, there may be demand for additional metadata to aid control flow discovery. Examples include:...
Permit the R_AARCH64_TLS_DTPREL dynamic relocation to be used statically so that debug information can describe the location of TLS variables. All code sequences to access TLS data use immediates, hence...
In https://github.com/llvm/llvm-project/issues/138254 a case has emerged where there are two ADRP/LDR accesses to a symbol within a function. One of these sequences can be optimised, the other cannot. The function...
The `DW_CFA_AARCH64_negate_ra_state_with_pc` https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst#44call-frame-instructions A dwarf 'program' reads linearly through a file from a start location and needs to recreate the frame status that the CPU would see if it were...
https://github.com/ARM-software/abi-aa/pull/282 added some text alongside the GNU property description of BTI to define what a code-generator could assume about the static linker. While this may have been the most convenient...
Bring TLS GOT generating relocations in line with non GOT generating relocations in https://github.com/ARM-software/abi-aa/pull/272. The ABI rule is that static linkers should generate a GOT entry for each unique tuple...
Issue https://github.com/ARM-software/abi-aa/issues/217 which was fixed by https://github.com/ARM-software/abi-aa/pull/272 accounted for the case where the ABI was out of sync with both GNU ld and LLD with respect to GOT generating relocations...
Define the expression for R_AARCH64_GOTPCREL32 as GDAT(S)-P+A. This matches the only implementation in clang and lld. The relocation is used to calculate the offset from the start of the vtable...