This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add +link-pie?


On Thu, Jun 4, 2009 at 10:08 AM, Roland McGrath <roland@redhat.com> wrote:
>> 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.
>
> Those added switches are fine.
>
> What about things like -B$(csu-objpfx), whatever effect that has?

They are replaced by

$(addprefix $(csu-objpfx),S$(start-installed-name)) \
$(+preinit)
$(+postinit)

+preinit = $(addprefix $(csu-objpfx),crti.o)
+postinit = $(addprefix $(csu-objpfx),crtn.o)

The results are the same.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]