This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
RE: [RFC][MIPS] What to do about DT_MIPS_RLD_MAP and PIE
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>, Roland McGrath <roland at hack dot frob dot com>
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, "gdb at sourceware dot org" <gdb at sourceware dot org>, "Joseph Myers (joseph at codesourcery dot com)" <joseph at codesourcery dot com>, "Moore, Catherine (Catherine_Moore at mentor dot com)" <Catherine_Moore at mentor dot com>, Nikola Veljkovic <Nikola dot Veljkovic at imgtec dot com>
- Date: Wed, 12 Nov 2014 23:11:20 +0000
- Subject: RE: [RFC][MIPS] What to do about DT_MIPS_RLD_MAP and PIE
- Authentication-results: sourceware.org; auth=none
- References: <6D39441BF12EF246A7ABCE6654B0235320F3027E at LEMAIL01 dot le dot imgtec dot org> <alpine dot DEB dot 1 dot 10 dot 1410221755430 dot 7896 at tp dot orcam dot me dot uk> <6D39441BF12EF246A7ABCE6654B0235320F30462 at LEMAIL01 dot le dot imgtec dot org> <871tpy37ir dot fsf at googlemail dot com> <6D39441BF12EF246A7ABCE6654B0235320F385FA at LEMAIL01 dot le dot imgtec dot org> <alpine dot DEB dot 1 dot 10 dot 1410301835480 dot 7896 at tp dot orcam dot me dot uk> <20141030193816 dot E80F82C3B18 at topped-with-meat dot com> <alpine dot DEB dot 1 dot 10 dot 1410302305320 dot 7896 at tp dot orcam dot me dot uk> <6D39441BF12EF246A7ABCE6654B0235320F6A03C at LEMAIL01 dot le dot imgtec dot org>
Matthew Fortune <matthew.fortune@imgtec.com> writes:
> I hadn't thought of just using the address of the DT_*RLD_MAP entry. It
> does look like it would be easy to implement.
>
> If we choose to define a DT_GNU_RLD_MAP then I guess it should fit in
> with the tags which use the d_val rather than d_ptr as it is an offset
> rather than address. Proposed value is below:
>
> #define DT_GNU_RLD_MAP 0x6ffffdf4
>
> I unfortunately have to provide some solution to this out-of-tree to keep
> android development moving so will temporarily use a processor specific
> tag and switch to whatever this thread concludes. I'll use the scheme
> described here though for the content of the tag.
Any further opinions on this (whether to make it arch-independent or
just a new MIPS tag)?
Matthew