PR target/55344
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Dec 2012 18:15:59 +0000 (18:15 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Dec 2012 18:15:59 +0000 (18:15 +0000)
* 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

libgcc/ChangeLog
libgcc/config/alpha/linux-unwind.h

index 7e15a8c..115dca9 100644 (file)
@@ -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.
index 8c04b3b..6c2f028 100644 (file)
@@ -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