summaryrefslogtreecommitdiff
path: root/gcc/config/t-darwin
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-04 17:06:00 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-04 17:06:00 +0000
commit7acb29a3d9e072c65c26e582d4f4204dcf232d4a (patch)
treed3d591092d6a64dfc049785317e9f17e96cf7276 /gcc/config/t-darwin
parent3fd62642d6a042a192f405ab559a0fef3c49f588 (diff)
downloadgcc-7acb29a3d9e072c65c26e582d4f4204dcf232d4a.tar.gz
* c-common.c (handle_cleanup_attribute): New.
(c_common_attributes): Add it. * c-decl.c (finish_decl): Honor the cleanup attribute. * doc/extend.texi (Variable Attributes): Document it. * unwind-c.c: New file. * Makefile.in (LIB2ADDEH): Add it. * config/t-darwin, config/t-linux, config/t-linux-gnulibc1, config/ia64/t-ia64: Likewise. * gcc.dg/cleanup-1.c: New. * gcc.dg/cleanup-2.c: New. * gcc.dg/cleanup-3.c: New. * gcc.dg/cleanup-4.c: New. * gcc.dg/cleanup-5.c: New. * gcc.dg/cleanup-6.c: New. * gcc.dg/cleanup-7.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67449 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-darwin')
-rw-r--r--gcc/config/t-darwin2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-darwin b/gcc/config/t-darwin
index e8682e17db8..c5741e43234 100644
--- a/gcc/config/t-darwin
+++ b/gcc/config/t-darwin
@@ -18,5 +18,5 @@ $(T)crt2$(objext): $(srcdir)/config/darwin-crt2.c $(GCC_PASSES) \
# Use unwind-dw2-fde-darwin
LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-darwin.c \
- $(srcdir)/unwind-sjlj.c
+ $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c