[RFC][MIPS] What to do about DT_MIPS_RLD_MAP and PIE

Matthew Fortune Matthew.Fortune@imgtec.com
Wed Nov 12 23:11:00 GMT 2014


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



More information about the Binutils mailing list