* pa/hpux-unwind.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128396
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-09-11 Steve Kenton <skenton@ou.edu
+
+ * pa/linux-unwind.h: Guard with inhibit_libc.
+ * pa/hpux-unwind.h: Likewise.
+
2007-09-11 David Daney <ddaney@avtrex.com>
* doc/invoke.texi: Document new MIPS -mllsc and -mno-llsc options.
/* 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 <signal.h>
#include <sys/ucontext.h>
#include <unistd.h>
return _URC_END_OF_STACK;
}
+#endif /* inhibit_libc */
/* 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 <signal.h>
#include <sys/ucontext.h>
fs->retaddr_column = DWARF_ALT_FRAME_RETURN_COLUMN;
return _URC_NO_REASON;
}
+#endif /* inhibit_libc */