aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/t-darwin
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-04 10:06:00 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-06-04 10:06:00 -0700
commit0bfa5f65bfb186f10d43304946fd7fcd69988732 (patch)
treed3d591092d6a64dfc049785317e9f17e96cf7276 /gcc/config/t-darwin
parent3edc56a9e5499b79239967350162066d99eaf95a (diff)
downloadgcc-0bfa5f65bfb186f10d43304946fd7fcd69988732.zip
gcc-0bfa5f65bfb186f10d43304946fd7fcd69988732.tar.gz
gcc-0bfa5f65bfb186f10d43304946fd7fcd69988732.tar.bz2
c-common.c (handle_cleanup_attribute): New.
* 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. From-SVN: r67449
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 e8682e17..c5741e4 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