Hi,
On Tue, 14 Feb 2006, Andi Kleen wrote:
> Ok then the -ffreestanding was apparently still needed on other architectures too.
> I guess that part of the patch can be just dropped.
The main problem is still the sprintf optimization, so
--fno-builtin-sprintf should fix it too.
That leaves only the single strchr, which is caused by an strpbrk
optimization in zoran_procfs.c, where we could use --fno-builtin-strpbrk
or simply directly replace that strpbrk with strchr.
If we really want to keep -ffreestanding, we have to rework how string.h
is organized to allow enabling builtin functions, but still provide fall
back functions. For example we had to add a lot of "#define foo
__builtin_foo" to linux/string.h and "#undef foo" to lib/string.c.
bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]