This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Allow pie links to create PLT entries
- From: Ian Lance Taylor <iant at google dot com>
- To: Sriraman Tallam <tmsriram at google dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Cary Coutant <ccoutant at google dot com>, binutils <binutils at sourceware dot org>, David Li <davidxl at google dot com>
- Date: Fri, 30 Jan 2015 13:31:17 -0800
- Subject: Re: Allow pie links to create PLT entries
- Authentication-results: sourceware.org; auth=none
- References: <CAAs8HmyEG-m74+vcKFzuFTzVB-1cQvp1K_k3Hji=9ZnFci7CtA at mail dot gmail dot com> <CAMe9rOoW6NDcAgTdY1rATCR+ncLd3RaoMyX=hqFU-A6hxBHAUQ at mail dot gmail dot com> <CAAs8HmyLBFgrj70-U8xBuDv00RbESBwznAs6+9Q_tm_1cRoUkA at mail dot gmail dot com> <CAMe9rOqEx8X2444FCZJDbQm=VKniUM0bRNaUuqknQyeOnVj7HA at mail dot gmail dot com> <CAAs8Hmxm4ya74vf6TpJOAYFO3Yn17bDj=wNN40Hr=nC9M7pPiA at mail dot gmail dot com> <CAMe9rOoGwg-y5EQNavqsd6xWAMbpYNyo12TnNT1NvJiURNqwAw at mail dot gmail dot com> <CAAs8HmwvFzb6+6D+9PXCTLv+G+jFt9saMwq6wcfs7LWd2-of7Q at mail dot gmail dot com>
On Fri, Jan 30, 2015 at 11:15 AM, Sriraman Tallam <tmsriram@google.com> wrote:
>
> I have been told TEXTRELs are not preferred though I never understood why.
A TEXTREL means that the text segment must be modified at run time,
which means 1) it starts up slower; 2) the text segment can not be
shared among multiple processes, so a "shared" library is no longer
actually shared.
Of course item 2 does not matter if you expect only one user to be
running the program anyhow.
Ian