"Steven J. Hill" <[EMAIL PROTECTED]> writes: > I have discovered what appears to be an optimization bug with '-Os' > in GCC-4.1.0 for the MIPS architecture. It appears that functions > which are declared as 'inline' are being ignored and instead turned > into to function calls which is breaking the dynamic linker loader > for uClibc on MIPS.
You should mark the functions that absolutely need to be inlined with __attribute__((always_inline)). Or just -Dinline="__attribute__((always_inline))" -Andi