On Wed, Nov 21, 2007 at 04:29:43PM -0700, Myles Watson wrote:
I tested it using the amd serengeti_cheetah LAB (64-bit) platform in buildrom
With mkelfimage 2.5 using bzImage (vmlinux doesn't work) Payload takes 901210 Bytes (880 KBytes) in ROM:
With mkelfimage 2.7 and Yinghai's patch using bzImage Payload takes 900919 Bytes (879 KBytes) in ROM:
With mkelfimage 2.7 and Yinghai's patch using vmlinux Payload takes 770726 Bytes (752 KBytes) in ROM:
Wow! That's a very large difference.
Your patch seems ok, except it does not pass -fno-stack-protector through to mkelfimage anymore, which breaks the build on modern Debian based systems.
Can you fix that?
Thanks, Ward.