This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add +link-pie?
On Tue, Jun 2, 2009 at 11:58 PM, Roland McGrath <roland@redhat.com> wrote:
> Sure, that's true in theory. ?But what we have in reality are makefile
> commands that already work and are different, so the onus is to show
> that the exact differences are desireable ones.
>
The linker commands are different. The new one added -Wl,--hash-style=both
for nscd and "--Wl,--hash-style=both Wl,-z,combreloc -Wl,-z,relro" for tst-pie1.
After removing them, they generate identical binaries.
I can remove -Wl,--hash-style=both from +link-pie. -Wl,-z,combreloc is on
by default. I ca remove Wl,-z,combreloc and -Wl,-z,relro from tst-pie1.
Thanks.
--
H.J.