X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=upstream%2Fgcc-3.3%2Fpatches%2Flinux-fix-gc.patch;h=13c9fc517ab1a77ef82b2f86dc30ce12ef89d151;hp=d0a1c9b7937948f4ffdd37f09a9a24c20903b3c5;hb=870d6acd4d14fe474454fe4e07d01233a490c49f;hpb=6e33d8fc02f6309d984cfbbfec53a14ffb0d0324 diff --git a/upstream/gcc-3.3/patches/linux-fix-gc.patch b/upstream/gcc-3.3/patches/linux-fix-gc.patch index d0a1c9b..13c9fc5 100644 --- a/upstream/gcc-3.3/patches/linux-fix-gc.patch +++ b/upstream/gcc-3.3/patches/linux-fix-gc.patch @@ -34,11 +34,11 @@ diff -u boehm-gc/os_dep.c boehm-gc/os_dep.c size_t i, buf_offset = 0; /* First try the easy way. This should work for glibc 2.2 */ -+ /* ++#ifdef NEVERDEFINEDBECAUSEWEDONTWANTTHIS if (0 != &__libc_stack_end) { return __libc_stack_end; } -+ */ ++#endif f = open("/proc/self/stat", O_RDONLY); if (f < 0 || STAT_READ(f, stat_buf, STAT_BUF_SIZE) < 2 * STAT_SKIP) { ABORT("Couldn't read /proc/self/stat");