glibc/sysdeps
Szabolcs Nagy 3d1d79283e aarch64: fix static pie enabled libc when main is in a shared library
In the static pie enabled libc, crt1.o uses the same position independent
code as rcrt1.o and crt1.o is used instead of Scrt1.o when -no-pie
executables are linked.  When main is not defined in the executable, but
in a shared library crt1.o is currently broken, it assumes main is local.
(glibc has a test for this but i missed it in my previous testing.)

To make both rcrt1.o and crt1.o happy with the same code, a wrapper is
introduced around main: with this crt1.o works with extern main symbol
while rcrt1.o does not depend on GOT relocations. (The change only
affects static pie enabled libc. Further simplification of start.S is
possible in the future by using the same approach for Scrt1.o too.)

	* aarch64/start.S (_start): Use __wrap_main.
	(__wrap_main): New local symbol.
2018-01-12 18:10:03 +00:00
..
aarch64 aarch64: fix static pie enabled libc when main is in a shared library 2018-01-12 18:10:03 +00:00
alpha alpha: Remove s_trunc{f} implementation (BZ#22666) 2018-01-04 17:49:17 -02:00
arm Update ARM libm-test-ulps. 2018-01-02 18:37:06 +00:00
generic Make default libc_feholdsetround_noex_ctx use __feholdexcept (bug 22702). 2018-01-11 18:18:46 +00:00
gnu csu: Update __libgcc_s_init comment 2018-01-11 13:13:28 +01:00
hppa
i386 i386: Regenerate libm-test-ulps for for gcc 7 on i686 2018-01-06 22:11:40 +01:00
ia64
ieee754 Fix ldbl-128ibm log1pl (-qNaN) spurious "invalid" exception (bug 22693). 2018-01-10 17:59:01 +00:00
init_array
m68k
mach hurd: Implement faccessat without AT_EACCESS flag 2018-01-10 02:03:28 +01:00
microblaze
mips Update MIPS libm-test-ulps. 2018-01-02 21:55:15 +00:00
nios2
nptl nptl: Open libgcc.so with RTLD_NOW during pthread_cancel [BZ #22636] 2018-01-10 13:18:04 +01:00
posix hurd: Fix pwritev* 2018-01-07 13:31:36 +01:00
powerpc Fix powerpc-nofpu fmaxmagl, fminmagl spurious "invalid" exception (bug 22691). 2018-01-10 00:38:12 +00:00
pthread
s390 Fix s390 linknamespace fallout of bug 22702 patch. 2018-01-12 00:12:57 +00:00
sh
sparc
tile
unix linux: make getcwd(3) fail if it cannot obtain an absolute path [BZ #22679] 2018-01-12 14:49:49 +00:00
wordsize-32
wordsize-64
x86
x86_64 x86-64: Add sincosf with vector FMA 2018-01-08 08:04:40 -08:00