modernize backfire 10.03 so it can be operational again
[openwrt-10.03/.git] / toolchain / gcc / patches / 3.4.6 / 820-i386_inhibit_libc.patch
1 --- a/gcc/config/i386/linux.h
2 +++ b/gcc/config/i386/linux.h
3 @@ -218,6 +218,8 @@ Boston, MA 02111-1307, USA.  */
4  /* Do code reading to identify a signal frame, and set the frame
5     state data appropriately.  See unwind-dw2.c for the structs.  */
6  
7 +#ifndef inhibit_libc
8 +
9  #ifdef IN_LIBGCC2
10  /* There's no sys/ucontext.h for some (all?) libc1, so no
11     signal-turned-exceptions for them.  There's also no configure-run for
12 @@ -282,3 +284,5 @@ Boston, MA 02111-1307, USA.  */
13    } while (0)
14  #endif /* not USE_GNULIBC_1 */
15  #endif /* IN_LIBGCC2 */
16 +
17 +#endif /* !inhibit_libc */