summaryrefslogtreecommitdiff
path: root/gcc/config/t-linux
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-linux
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-linux')
-rw-r--r--gcc/config/t-linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-linux b/gcc/config/t-linux
index b971c46ea21..752387c62ad 100644
--- a/gcc/config/t-linux
+++ b/gcc/config/t-linux
@@ -12,5 +12,5 @@ SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver
# Use unwind-dw2-fde-glibc
LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-glibc.c \
- $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c
+ $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c gthr-gnat.c