On Mär 11 2019, Geert Uytterhoeven <[email protected]> wrote:

> Hi Andreas,
>
> On Mon, Mar 11, 2019 at 10:56 AM Andreas Schwab <[email protected]> wrote:
>> On Mär 11 2019, Geert Uytterhoeven <[email protected]> wrote:
>> > On Thu, Mar 7, 2019 at 10:42 PM Finn Thain <[email protected]> 
>> > wrote:
>> >> No, the link fails because the compiler still emits some references to
>> >> strlen().
>> >
>> > Despite -ffreestanding?!?
>>
>> *Because* of -ffreestanding.  Without that, strlen would be recognized
>> and turned into __builtin_strlen.
>
> Now I'm confused: if we have a static inline or #define for strlen(),

Do you?

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to