[PATCH] Always inline system calls
Carmelo AMOROSO
carmelo.amoroso at st.com
Fri Nov 16 15:44:09 UTC 2007
Hans-Christian Egtvedt wrote:
> On Mon, 2007-10-29 at 17:01 +0100, Hans-Christian Egtvedt wrote:
>
>> Hi,
>>
>> Some versions of gcc consider inline merely a hint. AVR32 depends on the
>> system calls actually being inlined, so AVR32 needs to use
>> __always_inline instead of just inline. The attached patch changes this
>> for the system calls.
>>
>>
>
> Bump
>
> Since it is almost weekend (-:
>
>
Just an idea... why not redefining 'inline' into
ldso/ldso/avr32/dl-syscalls.h that is included
at the top of ldso/include/dl-syscall.h.
This will not affect any other architectures, letting
the compiler to do the best choice ?
Cheers,
Carmelo
More information about the uClibc
mailing list