summaryrefslogtreecommitdiffstats
path: root/gcc/unwind-dw2-fde-glibc.c
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 /gcc/unwind-dw2-fde-glibc.c
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
Diffstat (limited to 'gcc/unwind-dw2-fde-glibc.c')
-rw-r--r--gcc/unwind-dw2-fde-glibc.c2
1 files changed, 2 insertions, 0 deletions
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