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]

[patch] Fix for BZ 16381 -- explicit loader invocation "ld.so ./a.out" on a PIE binary calls global ctors twice


Greetings,

This patch fixes BZ 16381 -- explicit loader invocation "ld.so ./a.out" on a PIE binary calls global ctors twice.

Thanks,

2014-01-11  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* elf/Makefile: Add tst-pie2
	* elf/tst-pie2.c: New file.
	* elf/rtld.c (dl_main): Mark main executable as such.

Attachment: glibc-PR16381-2014011.txt
Description: Text document


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