coreboot-kgpe-d16/payloads/libpayload/libc
Jordan Crouse 2c7bb9e84f libpayload: Add -Os to the CFLAGS
Adding -Os to the CFLAGS gains us about 25% smaller code (give or take).
Unfortunately, it exposes a strange issue where strcpy() suddenly goes
missing - we think that strcpy() is being provided by libgcc, and that
for some reason, -Os changes the beahavior.  Oh, well - add a quick
strcpy() function and we're good.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3175 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-03-20 01:13:28 +00:00
..
Makefile.inc libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +00:00
console.c libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +00:00
ctype.c libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +00:00
ipchecksum.c libpayload: BSD solutions contributed by Uwe 2008-03-20 00:02:07 +00:00
malloc.c libpayload: The initial chunk of code writen by AMD 2008-03-19 23:56:58 +00:00
memory.c libpayload: BSD solutions contributed by Uwe 2008-03-20 00:02:07 +00:00
printf.c libpayload: BSD solutions contributed by Uwe 2008-03-20 00:02:07 +00:00
string.c libpayload: Add -Os to the CFLAGS 2008-03-20 01:13:28 +00:00