mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Remove -fexceptions configure test.
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.
This commit is contained in:
parent
cf1455657e
commit
56ab386964
101
ChangeLog
101
ChangeLog
@ -1,5 +1,106 @@
|
|||||||
2015-10-15 Joseph Myers <joseph@codesourcery.com>
|
2015-10-15 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
* io/test-lfs.c (do_prepare): Do not call add_temp_file until
|
* io/test-lfs.c (do_prepare): Do not call add_temp_file until
|
||||||
after mkstemp64.
|
after mkstemp64.
|
||||||
* login/tst-utmp.c (do_prepare): Likewise.
|
* login/tst-utmp.c (do_prepare): Likewise.
|
||||||
|
@ -50,7 +50,7 @@ export sysdep_dir := $(sysdep_dir)
|
|||||||
include $(common-objpfx)config.make
|
include $(common-objpfx)config.make
|
||||||
|
|
||||||
# What flags to give to sources which call user provided callbacks
|
# What flags to give to sources which call user provided callbacks
|
||||||
uses-callbacks = $(exceptions)
|
uses-callbacks = -fexceptions
|
||||||
|
|
||||||
# What flags to give to tests which test stack alignment
|
# What flags to give to tests which test stack alignment
|
||||||
stack-align-test-flags =
|
stack-align-test-flags =
|
||||||
|
@ -70,7 +70,6 @@ use-default-link = @use_default_link@
|
|||||||
output-format = @libc_cv_output_format@
|
output-format = @libc_cv_output_format@
|
||||||
have-cxx-thread_local = @libc_cv_cxx_thread_local@
|
have-cxx-thread_local = @libc_cv_cxx_thread_local@
|
||||||
|
|
||||||
exceptions = @exceptions@
|
|
||||||
multi-arch = @multi_arch@
|
multi-arch = @multi_arch@
|
||||||
|
|
||||||
mach-interface-list = @mach_interface_list@
|
mach-interface-list = @mach_interface_list@
|
||||||
|
31
configure
vendored
31
configure
vendored
@ -624,7 +624,6 @@ LIBGD
|
|||||||
libc_cv_cc_loop_to_function
|
libc_cv_cc_loop_to_function
|
||||||
libc_cv_cc_submachine
|
libc_cv_cc_submachine
|
||||||
libc_cv_cc_nofma
|
libc_cv_cc_nofma
|
||||||
exceptions
|
|
||||||
gnu89_inline
|
gnu89_inline
|
||||||
libc_cv_ssp
|
libc_cv_ssp
|
||||||
fno_unit_at_a_time
|
fno_unit_at_a_time
|
||||||
@ -6471,36 +6470,6 @@ if test $libc_cv_ld_no_whole_archive = no; then
|
|||||||
as_fn_error $? "support for --no-whole-archive is needed" "$LINENO" 5
|
as_fn_error $? "support for --no-whole-archive is needed" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
|
|
||||||
$as_echo_n "checking for gcc -fexceptions... " >&6; }
|
|
||||||
if ${libc_cv_gcc_exceptions+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
cat > conftest.c <<\EOF
|
|
||||||
_start () {}
|
|
||||||
int __eh_pc;
|
|
||||||
__throw () {}
|
|
||||||
EOF
|
|
||||||
if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
|
|
||||||
-nostdlib -nostartfiles -fexceptions
|
|
||||||
-o conftest conftest.c 1>&5'
|
|
||||||
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
|
||||||
(eval $ac_try) 2>&5
|
|
||||||
ac_status=$?
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
||||||
test $ac_status = 0; }; }; then
|
|
||||||
libc_cv_gcc_exceptions=yes
|
|
||||||
else
|
|
||||||
libc_cv_gcc_exceptions=no
|
|
||||||
fi
|
|
||||||
rm -f conftest*
|
|
||||||
fi
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
|
|
||||||
$as_echo "$libc_cv_gcc_exceptions" >&6; }
|
|
||||||
if test $libc_cv_gcc_exceptions = yes; then
|
|
||||||
exceptions=-fexceptions
|
|
||||||
fi
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
|
||||||
$as_echo_n "checking for __builtin_memset... " >&6; }
|
$as_echo_n "checking for __builtin_memset... " >&6; }
|
||||||
if ${libc_cv_gcc_builtin_memset+:} false; then :
|
if ${libc_cv_gcc_builtin_memset+:} false; then :
|
||||||
|
20
configure.ac
20
configure.ac
@ -1629,26 +1629,6 @@ if test $libc_cv_ld_no_whole_archive = no; then
|
|||||||
AC_MSG_ERROR([support for --no-whole-archive is needed])
|
AC_MSG_ERROR([support for --no-whole-archive is needed])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CACHE_CHECK(for gcc -fexceptions, libc_cv_gcc_exceptions, [dnl
|
|
||||||
cat > conftest.c <<\EOF
|
|
||||||
_start () {}
|
|
||||||
int __eh_pc;
|
|
||||||
__throw () {}
|
|
||||||
EOF
|
|
||||||
dnl No \ in command here because it ends up inside ''.
|
|
||||||
if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
|
|
||||||
-nostdlib -nostartfiles -fexceptions
|
|
||||||
-o conftest conftest.c 1>&AS_MESSAGE_LOG_FD]); then
|
|
||||||
libc_cv_gcc_exceptions=yes
|
|
||||||
else
|
|
||||||
libc_cv_gcc_exceptions=no
|
|
||||||
fi
|
|
||||||
rm -f conftest*])
|
|
||||||
if test $libc_cv_gcc_exceptions = yes; then
|
|
||||||
exceptions=-fexceptions
|
|
||||||
fi
|
|
||||||
AC_SUBST(exceptions)dnl
|
|
||||||
|
|
||||||
AC_CACHE_CHECK(for __builtin_memset, libc_cv_gcc_builtin_memset, [dnl
|
AC_CACHE_CHECK(for __builtin_memset, libc_cv_gcc_builtin_memset, [dnl
|
||||||
cat > conftest.c <<\EOF
|
cat > conftest.c <<\EOF
|
||||||
void zero (void *x)
|
void zero (void *x)
|
||||||
|
@ -60,25 +60,25 @@ CFLAGS-vsnprintf_chk.c = $(libio-mtsafe)
|
|||||||
CFLAGS-asprintf_chk.c = $(libio-mtsafe)
|
CFLAGS-asprintf_chk.c = $(libio-mtsafe)
|
||||||
CFLAGS-vasprintf_chk.c = $(libio-mtsafe)
|
CFLAGS-vasprintf_chk.c = $(libio-mtsafe)
|
||||||
CFLAGS-obprintf_chk.c = $(libio-mtsafe)
|
CFLAGS-obprintf_chk.c = $(libio-mtsafe)
|
||||||
CFLAGS-dprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-dprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-vdprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-vdprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-printf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-printf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-vprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-vprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-vfprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-vfprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-gets_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-gets_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fgets_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fgets_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fgets_u_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fgets_u_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fread_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fread_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fread_u_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fread_u_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-swprintf_chk.c = $(libio-mtsafe)
|
CFLAGS-swprintf_chk.c = $(libio-mtsafe)
|
||||||
CFLAGS-vswprintf_chk.c = $(libio-mtsafe)
|
CFLAGS-vswprintf_chk.c = $(libio-mtsafe)
|
||||||
CFLAGS-wprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-wprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fwprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fwprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-vwprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-vwprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-vfwprintf_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-vfwprintf_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fgetws_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fgetws_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-fgetws_u_chk.c = $(libio-mtsafe) $(exceptions)
|
CFLAGS-fgetws_u_chk.c = $(libio-mtsafe) -fexceptions
|
||||||
CFLAGS-read_chk.c = -fexceptions -fasynchronous-unwind-tables
|
CFLAGS-read_chk.c = -fexceptions -fasynchronous-unwind-tables
|
||||||
CFLAGS-pread_chk.c = -fexceptions -fasynchronous-unwind-tables
|
CFLAGS-pread_chk.c = -fexceptions -fasynchronous-unwind-tables
|
||||||
CFLAGS-pread64_chk.c = -fexceptions -fasynchronous-unwind-tables
|
CFLAGS-pread64_chk.c = -fexceptions -fasynchronous-unwind-tables
|
||||||
|
116
libio/Makefile
116
libio/Makefile
@ -84,64 +84,64 @@ endif
|
|||||||
CPPFLAGS += $(libio-mtsafe)
|
CPPFLAGS += $(libio-mtsafe)
|
||||||
|
|
||||||
# Support for exception handling.
|
# Support for exception handling.
|
||||||
CFLAGS-fileops.c = $(exceptions)
|
CFLAGS-fileops.c = -fexceptions
|
||||||
CFLAGS-fputc.c = $(exceptions)
|
CFLAGS-fputc.c = -fexceptions
|
||||||
CFLAGS-fputwc.c = $(exceptions)
|
CFLAGS-fputwc.c = -fexceptions
|
||||||
CFLAGS-freopen64.c = $(exceptions)
|
CFLAGS-freopen64.c = -fexceptions
|
||||||
CFLAGS-freopen.c = $(exceptions)
|
CFLAGS-freopen.c = -fexceptions
|
||||||
CFLAGS-fseek.c = $(exceptions)
|
CFLAGS-fseek.c = -fexceptions
|
||||||
CFLAGS-fseeko64.c = $(exceptions)
|
CFLAGS-fseeko64.c = -fexceptions
|
||||||
CFLAGS-fseeko.c = $(exceptions)
|
CFLAGS-fseeko.c = -fexceptions
|
||||||
CFLAGS-ftello64.c = $(exceptions)
|
CFLAGS-ftello64.c = -fexceptions
|
||||||
CFLAGS-ftello.c = $(exceptions)
|
CFLAGS-ftello.c = -fexceptions
|
||||||
CFLAGS-fwide.c = $(exceptions)
|
CFLAGS-fwide.c = -fexceptions
|
||||||
CFLAGS-genops.c = $(exceptions)
|
CFLAGS-genops.c = -fexceptions
|
||||||
CFLAGS-getc.c = $(exceptions)
|
CFLAGS-getc.c = -fexceptions
|
||||||
CFLAGS-getchar.c = $(exceptions)
|
CFLAGS-getchar.c = -fexceptions
|
||||||
CFLAGS-getwc.c = $(exceptions)
|
CFLAGS-getwc.c = -fexceptions
|
||||||
CFLAGS-getwchar.c = $(exceptions)
|
CFLAGS-getwchar.c = -fexceptions
|
||||||
CFLAGS-iofclose.c = $(exceptions)
|
CFLAGS-iofclose.c = -fexceptions
|
||||||
CFLAGS-iofflush.c = $(exceptions)
|
CFLAGS-iofflush.c = -fexceptions
|
||||||
CFLAGS-iofgetpos64.c = $(exceptions)
|
CFLAGS-iofgetpos64.c = -fexceptions
|
||||||
CFLAGS-iofgetpos.c = $(exceptions)
|
CFLAGS-iofgetpos.c = -fexceptions
|
||||||
CFLAGS-iofgets.c = $(exceptions)
|
CFLAGS-iofgets.c = -fexceptions
|
||||||
CFLAGS-iofgetws.c = $(exceptions)
|
CFLAGS-iofgetws.c = -fexceptions
|
||||||
CFLAGS-iofputs.c = $(exceptions)
|
CFLAGS-iofputs.c = -fexceptions
|
||||||
CFLAGS-iofputws.c = $(exceptions)
|
CFLAGS-iofputws.c = -fexceptions
|
||||||
CFLAGS-iofread.c = $(exceptions)
|
CFLAGS-iofread.c = -fexceptions
|
||||||
CFLAGS-iofsetpos64.c = $(exceptions)
|
CFLAGS-iofsetpos64.c = -fexceptions
|
||||||
CFLAGS-iofsetpos.c = $(exceptions)
|
CFLAGS-iofsetpos.c = -fexceptions
|
||||||
CFLAGS-ioftell.c = $(exceptions)
|
CFLAGS-ioftell.c = -fexceptions
|
||||||
CFLAGS-iofwrite.c = $(exceptions)
|
CFLAGS-iofwrite.c = -fexceptions
|
||||||
CFLAGS-iogetdelim.c = $(exceptions)
|
CFLAGS-iogetdelim.c = -fexceptions
|
||||||
CFLAGS-iogetline.c = $(exceptions)
|
CFLAGS-iogetline.c = -fexceptions
|
||||||
CFLAGS-iogets.c = $(exceptions)
|
CFLAGS-iogets.c = -fexceptions
|
||||||
CFLAGS-iogetwline.c = $(exceptions)
|
CFLAGS-iogetwline.c = -fexceptions
|
||||||
CFLAGS-ioputs.c = $(exceptions)
|
CFLAGS-ioputs.c = -fexceptions
|
||||||
CFLAGS-ioseekoff.c = $(exceptions)
|
CFLAGS-ioseekoff.c = -fexceptions
|
||||||
CFLAGS-ioseekpos.c = $(exceptions)
|
CFLAGS-ioseekpos.c = -fexceptions
|
||||||
CFLAGS-iosetbuffer.c = $(exceptions)
|
CFLAGS-iosetbuffer.c = -fexceptions
|
||||||
CFLAGS-iosetvbuf.c = $(exceptions)
|
CFLAGS-iosetvbuf.c = -fexceptions
|
||||||
CFLAGS-ioungetc.c = $(exceptions)
|
CFLAGS-ioungetc.c = -fexceptions
|
||||||
CFLAGS-ioungetwc.c = $(exceptions)
|
CFLAGS-ioungetwc.c = -fexceptions
|
||||||
CFLAGS-oldfileops.c = $(exceptions)
|
CFLAGS-oldfileops.c = -fexceptions
|
||||||
CFLAGS-oldiofclose.c = $(exceptions)
|
CFLAGS-oldiofclose.c = -fexceptions
|
||||||
CFLAGS-oldiofgetpos64.c = $(exceptions)
|
CFLAGS-oldiofgetpos64.c = -fexceptions
|
||||||
CFLAGS-oldiofgetpos.c = $(exceptions)
|
CFLAGS-oldiofgetpos.c = -fexceptions
|
||||||
CFLAGS-oldiofsetpos64.c = $(exceptions)
|
CFLAGS-oldiofsetpos64.c = -fexceptions
|
||||||
CFLAGS-oldiofsetpos.c = $(exceptions)
|
CFLAGS-oldiofsetpos.c = -fexceptions
|
||||||
CFLAGS-peekc.c = $(exceptions)
|
CFLAGS-peekc.c = -fexceptions
|
||||||
CFLAGS-putc.c = $(exceptions)
|
CFLAGS-putc.c = -fexceptions
|
||||||
CFLAGS-putchar.c = $(exceptions)
|
CFLAGS-putchar.c = -fexceptions
|
||||||
CFLAGS-putwc.c = $(exceptions)
|
CFLAGS-putwc.c = -fexceptions
|
||||||
CFLAGS-putwchar.c = $(exceptions)
|
CFLAGS-putwchar.c = -fexceptions
|
||||||
CFLAGS-rewind.c = $(exceptions)
|
CFLAGS-rewind.c = -fexceptions
|
||||||
CFLAGS-wfileops.c = $(exceptions)
|
CFLAGS-wfileops.c = -fexceptions
|
||||||
CFLAGS-wgenops.c = $(exceptions)
|
CFLAGS-wgenops.c = -fexceptions
|
||||||
CFLAGS-oldiofopen.c = $(exceptions)
|
CFLAGS-oldiofopen.c = -fexceptions
|
||||||
CFLAGS-iofopen.c = $(exceptions)
|
CFLAGS-iofopen.c = -fexceptions
|
||||||
CFLAGS-iofopen64.c = $(exceptions)
|
CFLAGS-iofopen64.c = -fexceptions
|
||||||
CFLAGS-oldtmpfile.c = $(exceptions)
|
CFLAGS-oldtmpfile.c = -fexceptions
|
||||||
# XXX Do we need filedoalloc and wfiledoalloc? Others?
|
# XXX Do we need filedoalloc and wfiledoalloc? Others?
|
||||||
|
|
||||||
CFLAGS-tst_putwc.c = -DOBJPFX=\"$(objpfx)\"
|
CFLAGS-tst_putwc.c = -DOBJPFX=\"$(objpfx)\"
|
||||||
|
@ -114,18 +114,18 @@ CFLAGS-psignal.c = -fexceptions
|
|||||||
CFLAGS-vprintf.c = -fexceptions
|
CFLAGS-vprintf.c = -fexceptions
|
||||||
CFLAGS-cuserid.c = -fexceptions
|
CFLAGS-cuserid.c = -fexceptions
|
||||||
|
|
||||||
CFLAGS-vfprintf.c += $(exceptions)
|
CFLAGS-vfprintf.c += -fexceptions
|
||||||
CFLAGS-fprintf.c += $(exceptions)
|
CFLAGS-fprintf.c += -fexceptions
|
||||||
CFLAGS-printf.c += $(exceptions)
|
CFLAGS-printf.c += -fexceptions
|
||||||
CFLAGS-vfwprintf.c += $(exceptions)
|
CFLAGS-vfwprintf.c += -fexceptions
|
||||||
CFLAGS-vfscanf.c += $(exceptions)
|
CFLAGS-vfscanf.c += -fexceptions
|
||||||
CFLAGS-vfwscanf.c += $(exceptions)
|
CFLAGS-vfwscanf.c += -fexceptions
|
||||||
CFLAGS-fscanf.c += $(exceptions)
|
CFLAGS-fscanf.c += -fexceptions
|
||||||
CFLAGS-scanf.c += $(exceptions)
|
CFLAGS-scanf.c += -fexceptions
|
||||||
CFLAGS-isoc99_vfscanf.c += $(exceptions)
|
CFLAGS-isoc99_vfscanf.c += -fexceptions
|
||||||
CFLAGS-isoc99_vscanf.c += $(exceptions)
|
CFLAGS-isoc99_vscanf.c += -fexceptions
|
||||||
CFLAGS-isoc99_fscanf.c += $(exceptions)
|
CFLAGS-isoc99_fscanf.c += -fexceptions
|
||||||
CFLAGS-isoc99_scanf.c += $(exceptions)
|
CFLAGS-isoc99_scanf.c += -fexceptions
|
||||||
CFLAGS-errlist.c = $(fno-unit-at-a-time)
|
CFLAGS-errlist.c = $(fno-unit-at-a-time)
|
||||||
CFLAGS-siglist.c = $(fno-unit-at-a-time)
|
CFLAGS-siglist.c = $(fno-unit-at-a-time)
|
||||||
|
|
||||||
|
3
sysdeps/arm/configure
vendored
3
sysdeps/arm/configure
vendored
@ -313,6 +313,3 @@ libc_cv_gcc_unwind_find_fde=no
|
|||||||
|
|
||||||
# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.ac.
|
# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.ac.
|
||||||
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
||||||
|
|
||||||
libc_cv_gcc_exceptions=yes
|
|
||||||
exceptions=-fexceptions
|
|
||||||
|
@ -123,9 +123,3 @@ libc_cv_gcc_unwind_find_fde=no
|
|||||||
|
|
||||||
# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.ac.
|
# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.ac.
|
||||||
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
||||||
|
|
||||||
dnl The normal configure check for gcc -fexecptions fails because it can't
|
|
||||||
dnl find __aeabi_unwind_cpp_pr0. Work around this here; our GCC definitely
|
|
||||||
dnl has -fexceptions.
|
|
||||||
libc_cv_gcc_exceptions=yes
|
|
||||||
exceptions=-fexceptions
|
|
||||||
|
@ -84,10 +84,10 @@ CFLAGS-wcstold_l.c = $(strtox-CFLAGS)
|
|||||||
CFLAGS-wcstof_l.c = $(strtox-CFLAGS)
|
CFLAGS-wcstof_l.c = $(strtox-CFLAGS)
|
||||||
CPPFLAGS-tst-wchar-h.c = -D_FORTIFY_SOURCE=2
|
CPPFLAGS-tst-wchar-h.c = -D_FORTIFY_SOURCE=2
|
||||||
|
|
||||||
CFLAGS-isoc99_wscanf.c += $(exceptions)
|
CFLAGS-isoc99_wscanf.c += -fexceptions
|
||||||
CFLAGS-isoc99_fwscanf.c += $(exceptions)
|
CFLAGS-isoc99_fwscanf.c += -fexceptions
|
||||||
CFLAGS-isoc99_vwscanf.c += $(exceptions)
|
CFLAGS-isoc99_vwscanf.c += -fexceptions
|
||||||
CFLAGS-isoc99_vfwscanf.c += $(exceptions)
|
CFLAGS-isoc99_vfwscanf.c += -fexceptions
|
||||||
|
|
||||||
CPPFLAGS += $(libio-mtsafe)
|
CPPFLAGS += $(libio-mtsafe)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user