|
From: | Pavel Roskin |
Subject: | Re: [PATCH] Use linker script to remove unnecessary sections |
Date: | Fri, 14 Dec 2007 11:17:51 -0500 |
User-agent: | Internet Messaging Program (IMP) H3 (4.1.4) |
Quoting Bean <address@hidden>:
Hi, This patch use customized linker script to build *.img and *.mod files, it should remove unnecessary sections created by the compiler.
Thanks! Looks good to me. Actually, if we stop using objcopy, we don't need to test it at all. Or we can reuse the test to test ld in place of objcopy.
I tend to prefer the removal of grub_PROG_OBJCOPY_ABSOLUTE, as it's designed to find a specific bug in some old version of objcopy, and if we discover any issues with ld (I hope not), we'll have to use different tests to detect them.
We may want to use architecture specific ld scripts, but that can be corrected in further patches.
-- Regards, Pavel Roskin
[Prev in Thread] | Current Thread | [Next in Thread] |