glibc/csu
Maciej W. Rozycki 95e7cf295e Fix static-binary lazy FPU context allocation
Long ago static startup did not parse the auxiliary vector and therefore
could not get at any `AT_FPUCW' tag to check whether upon FPU context
allocation the kernel would use a FPU control word setting different to
that provided by the `__fpu_control' variable.  Static startup therefore
always initialized the FPU control word, forcing immediate FPU context
allocation even for binaries that otherwise never used the FPU.

As from GIT commit f8f900ecb9 static
startup supports parsing the auxiliary vector, so now it can avoid
explicit initialization of the FPU control word, just as can dynamic
startup, in the usual case where the setting written to the FPU control
word would be the same as the kernel uses.  This defers FPU context
allocation until the binary itself actually pokes at the FPU.

Note that the `AT_FPUCW' tag is usually absent from the auxiliary vector
in which case _FPU_DEFAULT is assumed to be the kernel default.
2013-09-09 22:36:57 +01:00
..
Makefile Remove bounded-pointers build system support. 2013-02-15 15:07:54 +00:00
Versions Cleanup of configuration options 2011-09-10 14:34:15 -04:00
abi-note.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
check_fds.c Fix typos. 2013-08-21 19:48:48 +02:00
dso_handle.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
elf-init.c Add sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o 2013-03-12 12:50:13 -07:00
errno-loc.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
errno.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gmon-start.c Add sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o 2013-03-12 12:50:13 -07:00
init-first.c Fix static-binary lazy FPU context allocation 2013-09-09 22:36:57 +01:00
init.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
libc-start.c Declare __ehdr_start with hidden visibility. 2013-04-25 16:14:49 +01:00
libc-tls.c Make _dl_phdr pointer to const. 2013-03-28 15:39:32 -07:00
start.c More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
sysdep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
tst-atomic-long.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-atomic.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-empty.c 2003-04-11 Roland McGrath <roland@redhat.com> 2003-04-12 00:16:59 +00:00
version.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00