aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64
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/ia64
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/ia64')
-rw-r--r--gcc/config/ia64/t-ia643
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/ia64/t-ia64 b/gcc/config/ia64/t-ia64
index 4474b0a..0b8ab15 100644
--- a/gcc/config/ia64/t-ia64
+++ b/gcc/config/ia64/t-ia64
@@ -40,7 +40,8 @@ crtfastmath.o: $(srcdir)/config/ia64/crtfastmath.c $(GCC_PASSES)
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o crtfastmath.o \
$(srcdir)/config/ia64/crtfastmath.c
-LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c
+LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \
+ $(srcdir)/unwind-c.c
ia64-c.o: $(srcdir)/config/ia64/ia64-c.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h $(TM_H) $(TREE_H) $(CPPLIB_H) $(C_COMMON_H) c-pragma.h toplev.h