From 4fbb9a04fe3b70c691ff1d087982ac814fcc6a1c Mon Sep 17 00:00:00 2001 From: rth Date: Sun, 16 Dec 2001 01:27:57 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 10 ++++++++-- gcc/unwind-dw2-fde-glibc.c | 2 ++ 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 + + * 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 * config/alpha/alpha.h (TARGET_SWITCHES): Turn on @@ -98,9 +104,9 @@ Sat Dec 15 14:13:03 CET 2001 Jan Hubicka 2001-12-14 Aldy Hernandez * 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 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 -- 2.11.4.GIT