From e07bb02a4f9e7d98f79f428a661c5b982286869d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 16 Sep 2003 05:54:09 +0000 Subject: Update. 2003-09-15 Jakub Jelinek * argp/argp.h (argp_parse, __argp_parse): Remove __THROW. * argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add $(uses-callbacks). * dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise. * elf/Makefile (CFLAGS-dl-iterate-phdr.c, CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks). * elf/dl-iteratephdr.c (cancel_handler): New function. (__dl_iterate_phdr): Add __libc_cleanup_{push,pop}. * elf/link.h (dl_iterate_phdr): Remove __THROW. * io/Makefile (CFLAGS-fts.c): Merge into one assignment. Add $(uses-callbacks). (CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks). * misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change $(exceptions) to $(uses-callbacks). * Makeconfig (uses-callbacks): Set to $(exceptions). * posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add $(uses-callbacks). * stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c): Likewise. --- Makeconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 9755aa99ac..36671db665 100644 --- a/Makeconfig +++ b/Makeconfig @@ -83,6 +83,9 @@ export sysdep_dir := $(sysdep_dir) # Get the values defined by options to `configure'. include $(common-objpfx)config.make +# What flags to give to sources which call user provided callbacks +uses-callbacks = $(exceptions) + # We have a special subdir for each binary format. # For now, only ELF is fully supported. ifeq ($(elf),yes) -- cgit 1.4.1