aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makeconfig2
-rw-r--r--test-skeleton.c1
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d054f1..ac72524 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-07 Ulrich Drepper <drepper@redhat.com>
+
+ * Makeconfig (gnulib): Add -lgcc_eh once again.
+
2003-06-06 Ulrich Drepper <drepper@redhat.com>
* test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid.
diff --git a/Makeconfig b/Makeconfig
index 07d0877..fdf4206 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -505,7 +505,7 @@ link-libc-bounded = $(common-objpfx)libc_b.a $(gnulib) $(common-objpfx)libc_b.a
link-extra-libs-bounded = $(foreach lib,$(LDLIBS-$(@F:%-bp=%)),$(common-objpfx)$(lib)_b.a)
ifndef gnulib
-gnulib := -lgcc
+gnulib := -lgcc -lgcc_eh
endif
ifeq ($(elf),yes)
+preinit = $(addprefix $(csu-objpfx),crti.o)
diff --git a/test-skeleton.c b/test-skeleton.c
index c2eff6b..e03e74f 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -18,6 +18,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <errno.h>
#include <getopt.h>
#include <search.h>
#include <signal.h>