Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you're replying to linux-m68k only, I don't think Michal will see
your reply...

On Wed, Apr 24, 2013 at 2:01 PM, Thorsten Glaser <tg@xxxxxxxxx> wrote:
Michal Marek <mmarek <at> suse.cz> writes:

exported strcpy symbol. An I would naively assume, that if the compiler
sees a static inline definition of a function, then it will not generate
a function call. Although, the C standard does require the standard

“If the compiler sees” but the thing is, the compiler does not see
a call to strlen, but a call to strncat and replaces that in-tree.

library functions be available as external functions, so the compiler

Only for hosted environments.

Which is why -ffreestanding is the only correct thing to do.

bye,
//mirabilos

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux