From: danglin Date: Tue, 11 Sep 2007 23:16:01 +0000 (+0000) Subject: * pa/linux-unwind.h: Guard with inhibit_libc. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=59150c0b1868c31087a093bf691740c4ac214ac0 * pa/linux-unwind.h: Guard with inhibit_libc. * pa/hpux-unwind.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128396 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1cf9dad2f2..79d9e85d924 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-11 Steve Kenton * doc/invoke.texi: Document new MIPS -mllsc and -mno-llsc options. diff --git a/gcc/config/pa/hpux-unwind.h b/gcc/config/pa/hpux-unwind.h index 1082a34070d..474c46d3843 100644 --- a/gcc/config/pa/hpux-unwind.h +++ b/gcc/config/pa/hpux-unwind.h @@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */ /* Do code reading to identify a signal frame, and set the frame state data appropriately. See unwind-dw2.c for the structs. */ +/* Don't use this if inhibit_libc is set. + The build for this target will fail trying to include missing headers. */ +#ifndef inhibit_libc #include #include #include @@ -358,3 +361,4 @@ pa_fallback_frame_state (struct _Unwind_Context *context, return _URC_END_OF_STACK; } +#endif /* inhibit_libc */ diff --git a/gcc/config/pa/linux-unwind.h b/gcc/config/pa/linux-unwind.h index 467d952efc0..812561e4e49 100644 --- a/gcc/config/pa/linux-unwind.h +++ b/gcc/config/pa/linux-unwind.h @@ -29,6 +29,9 @@ Boston, MA 02110-1301, USA. */ /* Do code reading to identify a signal frame, and set the frame state data appropriately. See unwind-dw2.c for the structs. */ +/* Don't use this if inhibit_libc is set. + The build for this target will fail trying to include missing headers. */ +#ifndef inhibit_libc #include #include @@ -137,3 +140,4 @@ pa32_fallback_frame_state (struct _Unwind_Context *context, fs->retaddr_column = DWARF_ALT_FRAME_RETURN_COLUMN; return _URC_NO_REASON; } +#endif /* inhibit_libc */