Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: gcc/gcc/config/sh/linux-unwind.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/sh/coff.h ('k') | gcc/gcc/config/sh/predicates.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/sh/linux-unwind.h
diff --git a/gcc/gcc/config/sh/linux-unwind.h b/gcc/gcc/config/sh/linux-unwind.h
index 50cb5033a116fcd0f077f3375ddf6c6b3bdefc26..94ed95d55e127c85208b76cdb669f758045e14d7 100644
--- a/gcc/gcc/config/sh/linux-unwind.h
+++ b/gcc/gcc/config/sh/linux-unwind.h
@@ -24,7 +24,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Do code reading to identify a signal frame, and set the frame
- state data appropriately. See unwind-dw2.c for the structs. */
+ state data appropriately. See unwind-dw2.c for the structs.
+ Don't use this at all if inhibit_libc is used. */
+
+#ifndef inhibit_libc
#include <signal.h>
#include <sys/ucontext.h>
@@ -248,3 +251,5 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
return _URC_NO_REASON;
}
#endif /* defined (__SH5__) */
+
+#endif /* inhibit_libc */
« no previous file with comments | « gcc/gcc/config/sh/coff.h ('k') | gcc/gcc/config/sh/predicates.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698