mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
56ab386964
There is a configure test for -fexceptions. This option was added in GCC 2.8, so the test is obsolete - and indeed plenty of code is using -fexceptions directly. This patch removes the configure test and makes all uses of $(exceptions) use -fexceptions directly. Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_gcc_exceptions): Remove configure test. * configure: Regenerated. * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set variable. (exceptions): Likewise. * sysdeps/arm/configure: Regenerated. * config.make.in (exceptions): Remove variable. * Makeconfig (uses-callbacks): Use -fexceptions instead of $(exceptions). * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise. (CFLAGS-vdprintf_chk.c): Likewise. (CFLAGS-printf_chk.c): Likewise. (CFLAGS-fprintf_chk.c): Likewise. (CFLAGS-vprintf_chk.c): Likewise. (CFLAGS-vfprintf_chk.c): Likewise. (CFLAGS-gets_chk.c): Likewise. (CFLAGS-fgets_chk.c): Likewise. (CFLAGS-fgets_u_chk.c): Likewise. (CFLAGS-fread_chk.c): Likewise. (CFLAGS-fread_u_chk.c): Likewise. (CFLAGS-wprintf_chk.c): Likewise. (CFLAGS-fwprintf_chk.c): Likewise. (CFLAGS-vwprintf_chk.c): Likewise. (CFLAGS-vfwprintf_chk.c): Likewise. (CFLAGS-fgetws_chk.c): Likewise. (CFLAGS-fgetws_u_chk.c): Likewise. * libio/Makefile (CFLAGS-fileops.c): Likewise. (CFLAGS-fputc.c): Likewise. (CFLAGS-fputwc.c): Likewise. (CFLAGS-freopen64.c): Likewise. (CFLAGS-freopen.c): Likewise. (CFLAGS-fseek.c): Likewise. (CFLAGS-fseeko64.c): Likewise. (CFLAGS-fseeko.c): Likewise. (CFLAGS-ftello64.c): Likewise. (CFLAGS-ftello.c): Likewise. (CFLAGS-fwide.c): Likewise. (CFLAGS-genops.c): Likewise. (CFLAGS-getc.c): Likewise. (CFLAGS-getchar.c): Likewise. (CFLAGS-getwc.c): Likewise. (CFLAGS-getwchar.c): Likewise. (CFLAGS-iofclose.c): Likewise. (CFLAGS-iofflush.c): Likewise. (CFLAGS-iofgetpos64.c): Likewise. (CFLAGS-iofgetpos.c): Likewise. (CFLAGS-iofgets.c): Likewise. (CFLAGS-iofgetws.c): Likewise. (CFLAGS-iofputs.c): Likewise. (CFLAGS-iofputws.c): Likewise. (CFLAGS-iofread.c): Likewise. (CFLAGS-iofsetpos64.c): Likewise. (CFLAGS-iofsetpos.c): Likewise. (CFLAGS-ioftell.c): Likewise. (CFLAGS-iofwrite.c): Likewise. (CFLAGS-iogetdelim.c): Likewise. (CFLAGS-iogetline.c): Likewise. (CFLAGS-iogets.c): Likewise. (CFLAGS-iogetwline.c): Likewise. (CFLAGS-ioputs.c): Likewise. (CFLAGS-ioseekoff.c): Likewise. (CFLAGS-ioseekpos.c): Likewise. (CFLAGS-iosetbuffer.c): Likewise. (CFLAGS-iosetvbuf.c): Likewise. (CFLAGS-ioungetc.c): Likewise. (CFLAGS-ioungetwc.c): Likewise. (CFLAGS-oldfileops.c): Likewise. (CFLAGS-oldiofclose.c): Likewise. (CFLAGS-oldiofgetpos64.c): Likewise. (CFLAGS-oldiofgetpos.c): Likewise. (CFLAGS-oldiofsetpos64.c): Likewise. (CFLAGS-oldiofsetpos.c): Likewise. (CFLAGS-peekc.c): Likewise. (CFLAGS-putc.c): Likewise. (CFLAGS-putchar.c): Likewise. (CFLAGS-putwc.c): Likewise. (CFLAGS-putwchar.c): Likewise. (CFLAGS-rewind.c): Likewise. (CFLAGS-wfileops.c): Likewise. (CFLAGS-wgenops.c): Likewise. (CFLAGS-oldiofopen.c): Likewise. (CFLAGS-iofopen.c): Likewise. (CFLAGS-iofopen64.c): Likewise. (CFLAGS-oldtmpfile.c): Likewise. * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise. (CFLAGS-fprintf.c): Likewise. (CFLAGS-printf.c): Likewise. (CFLAGS-vfwprintf.c): Likewise. (CFLAGS-vfscanf.c): Likewise. (CFLAGS-vfwscanf.c): Likewise. (CFLAGS-fscanf.c): Likewise. (CFLAGS-scanf.c): Likewise. (CFLAGS-isoc99_vfscanf.c): Likewise. (CFLAGS-isoc99_vscanf.c): Likewise. (CFLAGS-isoc99_fscanf.c): Likewise. (CFLAGS-isoc99_scanf.c): Likewise. * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise. (CFLAGS-isoc99_fwscanf.c): Likewise. (CFLAGS-isoc99_vwscanf.c): Likewise. (CFLAGS-isoc99_vfwscanf.c): Likewise. |
||
---|---|---|
.. | ||
asprintf_chk.c | ||
backtrace-tst.c | ||
backtrace.c | ||
backtracesyms.c | ||
backtracesymsfd.c | ||
catchsegv.sh | ||
chk_fail.c | ||
confstr_chk.c | ||
Depend | ||
dprintf_chk.c | ||
execinfo.h | ||
fdelt_chk.c | ||
fgets_chk.c | ||
fgets_u_chk.c | ||
fgetws_chk.c | ||
fgetws_u_chk.c | ||
fortify_fail.c | ||
fprintf_chk.c | ||
fread_chk.c | ||
fread_u_chk.c | ||
fwprintf_chk.c | ||
getcwd_chk.c | ||
getdomainname_chk.c | ||
getgroups_chk.c | ||
gethostname_chk.c | ||
gets_chk.c | ||
getwd_chk.c | ||
longjmp_chk.c | ||
Makefile | ||
mbsnrtowcs_chk.c | ||
mbsrtowcs_chk.c | ||
mbstowcs_chk.c | ||
memcpy_chk.c | ||
memmove_chk.c | ||
mempcpy_chk.c | ||
memset_chk.c | ||
noophooks.c | ||
obprintf_chk.c | ||
pcprofile.c | ||
pcprofiledump.c | ||
poll_chk.c | ||
ppoll_chk.c | ||
pread64_chk.c | ||
pread_chk.c | ||
printf_chk.c | ||
read_chk.c | ||
readlink_chk.c | ||
readlinkat_chk.c | ||
readonly-area.c | ||
realpath_chk.c | ||
recv_chk.c | ||
recvfrom_chk.c | ||
segfault.c | ||
snprintf_chk.c | ||
sprintf_chk.c | ||
stack_chk_fail_local.c | ||
stack_chk_fail.c | ||
stpcpy_chk.c | ||
stpncpy_chk.c | ||
strcat_chk.c | ||
strcpy_chk.c | ||
strncat_chk.c | ||
strncpy_chk.c | ||
swprintf_chk.c | ||
test-stpcpy_chk.c | ||
test-strcpy_chk.c | ||
tst-backtrace2.c | ||
tst-backtrace3.c | ||
tst-backtrace4.c | ||
tst-backtrace5.c | ||
tst-backtrace6.c | ||
tst-backtrace.h | ||
tst-chk1.c | ||
tst-chk2.c | ||
tst-chk3.c | ||
tst-chk4.cc | ||
tst-chk5.cc | ||
tst-chk6.cc | ||
tst-lfschk1.c | ||
tst-lfschk2.c | ||
tst-lfschk3.c | ||
tst-lfschk4.cc | ||
tst-lfschk5.cc | ||
tst-lfschk6.cc | ||
tst-longjmp_chk2.c | ||
tst-longjmp_chk3.c | ||
tst-longjmp_chk.c | ||
ttyname_r_chk.c | ||
vasprintf_chk.c | ||
vdprintf_chk.c | ||
Versions | ||
vfprintf_chk.c | ||
vfwprintf_chk.c | ||
vprintf_chk.c | ||
vsnprintf_chk.c | ||
vsprintf_chk.c | ||
vswprintf_chk.c | ||
vwprintf_chk.c | ||
warning-nop.c | ||
wcpcpy_chk.c | ||
wcpncpy_chk.c | ||
wcrtomb_chk.c | ||
wcscat_chk.c | ||
wcscpy_chk.c | ||
wcsncat_chk.c | ||
wcsncpy_chk.c | ||
wcsnrtombs_chk.c | ||
wcsrtombs_chk.c | ||
wcstombs_chk.c | ||
wctomb_chk.c | ||
wmemcpy_chk.c | ||
wmemmove_chk.c | ||
wmempcpy_chk.c | ||
wmemset_chk.c | ||
wprintf_chk.c | ||
xtrace.sh |