X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches%2F3.4.6%2F820-i386_inhibit_libc.patch;fp=toolchain%2Fgcc%2Fpatches%2F3.4.6%2F820-i386_inhibit_libc.patch;h=beb569f7779440ffb0b5e45e083d3b05a1f0c7dc;hb=629f24b39cd48f1bc805f3d4ca0dd9aa41793503;hp=0000000000000000000000000000000000000000;hpb=6e7f2a5a182582024f8e67e9f82e7728e2a8c52a;p=openwrt-10.03%2F.git diff --git a/toolchain/gcc/patches/3.4.6/820-i386_inhibit_libc.patch b/toolchain/gcc/patches/3.4.6/820-i386_inhibit_libc.patch new file mode 100644 index 000000000..beb569f77 --- /dev/null +++ b/toolchain/gcc/patches/3.4.6/820-i386_inhibit_libc.patch @@ -0,0 +1,17 @@ +--- a/gcc/config/i386/linux.h ++++ b/gcc/config/i386/linux.h +@@ -218,6 +218,8 @@ Boston, MA 02111-1307, USA. */ + /* Do code reading to identify a signal frame, and set the frame + state data appropriately. See unwind-dw2.c for the structs. */ + ++#ifndef inhibit_libc ++ + #ifdef IN_LIBGCC2 + /* There's no sys/ucontext.h for some (all?) libc1, so no + signal-turned-exceptions for them. There's also no configure-run for +@@ -282,3 +284,5 @@ Boston, MA 02111-1307, USA. */ + } while (0) + #endif /* not USE_GNULIBC_1 */ + #endif /* IN_LIBGCC2 */ ++ ++#endif /* !inhibit_libc */