aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2012-12-09 18:15:59 +0000
committerUros Bizjak <ubizjak@gmail.com>2012-12-09 18:15:59 +0000
commitfa0f3dbefbbb380c480ac3f039ed2953aa9d01e3 (patch)
tree4ea7b8d141b84b6ca2cf101f8bac1cbb073ee3f5
parent6bb0b9ff49e380e8f641ae18ec95f653dbe38240 (diff)
PR target/55344
* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194334 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config/alpha/linux-unwind.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7e15a8cf0e5..115dca98cf6 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-09 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/55344
+ * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
+
2012-12-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sfp-machine.h (FP_EX_ALL): Define.
diff --git a/libgcc/config/alpha/linux-unwind.h b/libgcc/config/alpha/linux-unwind.h
index 8c04b3b415f..6c2f028917a 100644
--- a/libgcc/config/alpha/linux-unwind.h
+++ b/libgcc/config/alpha/linux-unwind.h
@@ -22,6 +22,7 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
+#ifndef inhibit_libc
/* Do code reading to identify a signal frame, and set the frame
state data appropriately. See unwind-dw2.c for the structs. */
@@ -97,3 +98,4 @@ alpha_frob_update_context (struct _Unwind_Context *context,
|| pc[1] == 0x201f015f)) /* lda $0,NR_rt_sigreturn */
_Unwind_SetSignalFrame (context, 1);
}
+#endif