summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-09 18:15:59 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-09 18:15:59 +0000
commitdb6a9a70e5f431244ddf4c346d8e9e16ff2c3b99 (patch)
tree4ea7b8d141b84b6ca2cf101f8bac1cbb073ee3f5 /libgcc/config
parent07d63bce7bd0819e07b1e15b30e73dd6a0b06882 (diff)
downloadgcc-db6a9a70e5f431244ddf4c346d8e9e16ff2c3b99.tar.gz
PR target/55344
* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/alpha/linux-unwind.h2
1 files changed, 2 insertions, 0 deletions
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