This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Reducing code size of Position Independent Executables (PIE) by shrinking the size of dynamic relocations section
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Rafael Avila de Espindola <rafael dot espindola at gmail dot com>
- Cc: Binutils Development <binutils at sourceware dot org>, Alan Modra <amodra at gmail dot com>, Florian Weimer <fweimer at redhat dot com>, Cary Coutant <ccoutant at gmail dot com>, Sriraman Tallam <tmsriram at google dot com>, gnu-gabi at sourceware dot org, Xinliang David Li <davidxl at google dot com>, Sterling Augustine <saugustine at google dot com>, Paul Pluzhnikov <ppluzhnikov at google dot com>, Ian Lance Taylor <iant at google dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Rahul Chaudhry <rahulchaudhry at google dot com>, Luis Lozano <llozano at google dot com>, Peter Collingbourne <pcc at google dot com>, Rui Ueyama <ruiu at google dot com>
- Date: Mon, 1 May 2017 10:13:46 -0400
- Subject: Re: Reducing code size of Position Independent Executables (PIE) by shrinking the size of dynamic relocations section
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnynFwXFGLj3tAVgDatn0zmuHcWHyRNuDvR+wRZCXLnar_A@mail.gmail.com> <8737cosnym.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me>
GNU ld supports earlier versions of AIX XCOFF, so one can look at that code.
The current documentation for XCOFF is
https://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.files/XCOFF.htm
- David
On Mon, May 1, 2017 at 9:31 AM, Rafael Avila de Espindola
<rafael.espindola@gmail.com> wrote:
> Where is it documented?
>
> Thanks,
> Rafael
>
> David Edelsohn <dje.gcc@gmail.com> writes:
>
>> AIX uses relative relocations and generates position independent
>> executables by default. The design of the AIX linker might provide
>> some additional inspiration.
>>
>> Thanks, David