[RFC][PATCH] Add power of 2 requirement to DT_X86_64_PLTENT

15 views
Skip to first unread message

Noah Goldstein

unread,
Jan 4, 2024, 10:50:54 PMJan 4
to x86-6...@googlegroups.com, goldst...@gmail.com, hjl....@gmail.com
---
Some patches to GLIBC rely on this, so it would be good make concrete.

x86-64-ABI/dl.tex | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x86-64-ABI/dl.tex b/x86-64-ABI/dl.tex
index 4a4b8bd..386c77b 100644
--- a/x86-64-ABI/dl.tex
+++ b/x86-64-ABI/dl.tex
@@ -112,7 +112,8 @@ The following optional \xARCH Dynamic Array Tags are defined:
\item[DT_X86_64_PLTSZ]
The total size, in bytes, of the procedure linkage table.
\item[DT_X86_64_PLTENT]
- The size, in bytes, of a procedure linkage table entry.
+ The size, in bytes, of a procedure linkage table entry. Always a
+ power of 2.
\end{description}

\texttt{DT_X86_64_PLT}, \texttt{DT_X86_64_PLTSZ} and
--
2.34.1

H.J. Lu

unread,
Jan 5, 2024, 11:37:59 AMJan 5
to Noah Goldstein, x86-6...@googlegroups.com
Looks reasonable.

Thanks.

--
H.J.
Reply all
Reply to author
Forward
0 new messages