summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-16 01:27:57 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-16 01:27:57 +0000
commit4fbb9a04fe3b70c691ff1d087982ac814fcc6a1c (patch)
tree152ef605078926c48d9942e05fac947e58bfc431
parent3d069ad47acec10e0ef434afbd79b5d3e0d77596 (diff)
downloadppe42-gcc-4fbb9a04fe3b70c691ff1d087982ac814fcc6a1c.tar.gz
ppe42-gcc-4fbb9a04fe3b70c691ff1d087982ac814fcc6a1c.zip
* unwind-dw2-fde-glibc.c: #define _Unwind_Find_FDE to itself
before including unwind-dw2-fde.c, if we are not using the special code in this file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48056 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/unwind-dw2-fde-glibc.c2
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d74ac59107e..47570f93415 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-15 Zack Weinberg <zack@codesourcery.com>
+
+ * unwind-dw2-fde-glibc.c: #define _Unwind_Find_FDE to itself
+ before including unwind-dw2-fde.c, if we are not using the
+ special code in this file.
+
2001-12-15 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.h (TARGET_SWITCHES): Turn on
@@ -98,9 +104,9 @@ Sat Dec 15 14:13:03 CET 2001 Jan Hubicka <jh@suse.cz>
2001-12-14 Aldy Hernandez <aldyh@redhat.com>
* c-parse.in (typename): Do not split attributes.
- Remove unsupported attributes warning.
+ Remove unsupported attributes warning.
- * c-decl.c (groktypename): Apply attributes.
+ * c-decl.c (groktypename): Apply attributes.
2001-12-14 Richard Henderson <rth@redhat.com>
diff --git a/gcc/unwind-dw2-fde-glibc.c b/gcc/unwind-dw2-fde-glibc.c
index c57986118a4..8e84b400161 100644
--- a/gcc/unwind-dw2-fde-glibc.c
+++ b/gcc/unwind-dw2-fde-glibc.c
@@ -287,5 +287,7 @@ _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
}
#else
+/* Prevent multiple include of header files. */
+#define _Unwind_Find_FDE _Unwind_Find_FDE
#include "unwind-dw2-fde.c"
#endif
OpenPOWER on IntegriCloud