This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Move .plt after .text in x86-64 binaries
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Binutils <binutils at sourceware dot org>, GNU C Library <libc-alpha at sourceware dot org>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Tue, 18 Nov 2014 12:39:15 -0800
- Subject: Re: RFC: Move .plt after .text in x86-64 binaries
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOpnaEgjq2+nmNAAkQEfood1PfTLfLvC67gL=afFhs5Vow at mail dot gmail dot com> <20141118184649 dot 0EB6A2C3B23 at topped-with-meat dot com>
One issue with
text
PLT
readonly data
GOT
layout is it uses smaller data size for larger text size since the layout with
data is
text
PLT
readonly data
GOT
data
The data size is reduced by PLT size. If PLT is very large, impact
may be visible.
--
H.J.