about summary refs log tree commit diff
path: root/sysdeps/gnu/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-04-05 20:07:39 -0700
committerRoland McGrath <roland@redhat.com>2010-04-05 20:07:39 -0700
commitf571a994cec6be2f6edff2f0cd43cbdadcd94f5f (patch)
tree73cdf57177ed37a7e4a99957a4390ccac9c086ed /sysdeps/gnu/Makefile
parent4dd019e3a1c68e2988ac35a97c95a59cd307eb05 (diff)
downloadglibc-f571a994cec6be2f6edff2f0cd43cbdadcd94f5f.tar.gz
glibc-f571a994cec6be2f6edff2f0cd43cbdadcd94f5f.tar.xz
glibc-f571a994cec6be2f6edff2f0cd43cbdadcd94f5f.zip
Move unwind-resume code from NPTL to sysdeps/gnu.
Diffstat (limited to 'sysdeps/gnu/Makefile')
-rw-r--r--sysdeps/gnu/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index 5b9a0a56ed..b33d1004a5 100644
--- a/sysdeps/gnu/Makefile
+++ b/sysdeps/gnu/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996,1997,1998,1999,2001,2002,2003,2004,2005,2006
+# Copyright (C) 1996,1997,1998,1999,2001,2002,2003,2004,2005,2006,2010
 #	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -77,3 +77,16 @@ endif
 ifeq ($(subdir),misc)
 sysdep_headers += sys/mtio.h
 endif
+
+
+ifeq ($(subdir),csu)
+routines += unwind-resume
+shared-only-routines += unwind-resume
+CFLAGS-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables
+endif
+
+ifeq ($(subdir),rt)
+librt-sysdep_routines += rt-unwind-resume
+librt-shared-only-routines += rt-unwind-resume
+CFLAGS-rt-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables
+endif