Add +link-pie?

H.J. Lu hjl.tools@gmail.com
Wed Jun 3 04:17:00 GMT 2009


On Tue, Jun 2, 2009 at 4:06 PM, Roland McGrath <roland@redhat.com> wrote:
> I see.  You based +link-pie on +link and not on what it is replacing.
> That might make sense, but you need to examine every difference between
> your +link-pie text and the text it replaces and be sure they are always
> right.  They are very different so it's not immediately obvious.

Correct me if I am wrong,  for linking, the only differences between
PIE and dynamic programs are:

    Dynamic         PIE
    crt1.o             Scrt1.o
    crtbegin.o      crtbeginS.o
    crtend.o         crtend.S.o

Everything else is the same. That is why I based +link-pie on +link.

-- 
H.J.



More information about the Libc-alpha mailing list