*** gcc-2.95.3/gcc/libgcc2.c Fri Jun 11 06:11:43 1999 --- libgcc2.c Thu Nov 7 02:24:42 2002 *************** *** 36,41 **** --- 36,49 ---- needing header files first. */ /* ??? This is not a good solution, since prototypes may be required in some cases for correct code. See also frame.c. */ + + /* In a cross-compilation situation, default to inhibiting compilation + of routines that use libc. */ + + #if defined(CROSS_COMPILE) && !defined(inhibit_libc) + #define inhibit_libc + #endif + #ifndef inhibit_libc /* fixproto guarantees these system headers exist. */ #include *************** *** 57,69 **** #define WEAK_ALIAS #endif - /* In a cross-compilation situation, default to inhibiting compilation - of routines that use libc. */ - - #if defined(CROSS_COMPILE) && !defined(inhibit_libc) - #define inhibit_libc - #endif - /* Permit the tm.h file to select the endianness to use just for this file. This is used when the endianness is determined when the compiler is run. */ --- 65,70 ----