2004/01/21 04:45:45
[org.ibex.core.git] / upstream / gcc-3.3 / patches / linux-fix-gc.patch
index d0a1c9b..13c9fc5 100644 (file)
@@ -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");