[Top][All Lists]

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

Re: [ppc patch] shrink grubof build

From: Hollis Blanchard
Subject: Re: [ppc patch] shrink grubof build
Date: Tue, 14 Sep 2004 09:00:29 -0500

On Sep 14, 2004, at 6:17 AM, Stefan Reinauer wrote:

* Hollis Blanchard <address@hidden> [040914 02:59]:
This patch shrinks the size of the 'grubof' binary from >300K to ~60K

2004-09-13      Hollis Blanchard        <address@hidden>

        * conf/powerpc-ieee1275.rmk (grubof_LDFLAGS): add -N and -S

I see that -S makes sense (stripping debugger symbols), but -N (setting
text sections to writable) I don't fully understand...

That's what Marco and I said as well. :) However, that flag is used in the i386 build, and shrinks the PPC binary significantly as well.

The full description is this:
Set the text and data sections to be readable and writable. Also, do not page-align
        the data segment, and disable linking against shared libraries.
(The text segment would need to be marked writeable if the data segment is not page-aligned.)

I don't know what "disable linking against shared libraries" entails, but that may be the trick.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]