From 2982a9f3b512a5bfdc9e3fea5d3b298f9165c36b Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Tue, 18 Oct 2022 15:01:29 +0100 Subject: [PATCH] [sysvabi64] Define the processor specific interpretation for DT_PLTGOT On AArch64 we define DT_PLTGOT to be the address of the .got.plt section. --- sysvabi64/sysvabi64.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sysvabi64/sysvabi64.rst b/sysvabi64/sysvabi64.rst index 137bf51a..b9b5cf67 100644 --- a/sysvabi64/sysvabi64.rst +++ b/sysvabi64/sysvabi64.rst @@ -16,6 +16,7 @@ .. _GCABI: https://itanium-cxx-abi.github.io/cxx-abi/abi.html .. _HWCAP: https://www.kernel.org/doc/html/latest/arm64/elf_hwcaps.html .. _LSB: https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/book1.html +.. _SCO-ELF: http://www.sco.com/developers/gabi .. _SYM-VER: http://www.akkadia.org/drepper/symbol-versioning .. _SYSVABI: https://github.com/ARM-software/abi-aa/releases .. _TLSDESC: http://www.fsfla.org/~lxoliva/writeups/TLS/paper-lk2006.pdf @@ -223,6 +224,8 @@ This document refers to, or is referred to by, the following documents. +-------------+--------------------------------------------------------------+-----------------------------------------------------------------------------+ | LSB_ | https://refspecs.linuxbase.org/lsb.shtml | Linux Standards Base Core Functional Area | +-------------+--------------------------------------------------------------+-----------------------------------------------------------------------------+ + | SCO-ELF_ | http://www.sco.com/developers/gabi/ | System V Application Binary Interface – DRAFT | + +-------------+--------------------------------------------------------------+-----------------------------------------------------------------------------+ | SYM-VER_ | http://people.redhat.com/drepper/symbol-versioning | GNU Symbol Versioning | +-------------+--------------------------------------------------------------+-----------------------------------------------------------------------------+ @@ -984,9 +987,15 @@ static linker and the dynamic linker. There are a number of entries that help locate various dynamic relocation tables and other aspects that are architecture independent. +The generic dynamic tags are defined in SCO-ELF_ Dynamic Section. + The AArch64 specific dynamic tags are defined in AAELF64_ Dynamic Section. +The generic tag ``DT_PLTGOT`` has a processor specific +implementation. On AArch64 it is defined to be the address of the +``.got.plt`` section. + Global Offset Table (GOT) -------------------------