[PATCH] arm: fix PIC vs SHARED typos
Mike Frysinger
vapier@gentoo.org
Mon Sep 19 21:50:00 GMT 2011
On Monday, September 19, 2011 17:31:26 Joseph S. Myers wrote:
> On Mon, 19 Sep 2011, Mike Frysinger wrote:
> > > But if they were
> > > supported, the PIC code here looks better than the non-PIC - you can't
> > > just put an absolute address in a constant pool in the text section in
> > > position-independent code the way the non-PIC code does; the
> > > conditional really does seem to be about "must the text be
> > > position-independent?".
> >
> > so it sounds there are two issues. there is PIC code behind "#ifdef PIC"
> > which is good, but the code also decides which symbol name (which is a
> > SHARED define) via PIC ? that's the part that i'm trying to fix.
>
> In that case you'll need to send a patch that handles PIC properly for
> both SHARED and non-SHARED cases, with reference to the corresponding libc
> conditionals as explanation of the basis for the differences between the
> two.
np. i'll post a new patch.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-ports/attachments/20110919/a072cd0a/attachment.sig>
More information about the Libc-ports
mailing list