From: Keith Owens <kaos@ocs.com.au>
To: Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>
Cc: "Richard B. Johnson" <root@chaos.analogic.com>,
VDA <VDA@port.imtp.ilyichevsk.odessa.ua>,
linux-kernel@vger.kernel.org
Subject: Re: kernel size
Date: Wed, 10 Oct 2001 11:27:49 +1000 [thread overview]
Message-ID: <7542.1002677269@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Tue, 09 Oct 2001 16:43:48 +0200." <20011009164348.I30515@nightmaster.csn.tu-chemnitz.de>
On Tue, 9 Oct 2001 16:43:48 +0200,
Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de> wrote:
>strip -R .ident -R .comment -R .note
>
>is your friend.
>
>Or if we would like to solve it more elegant:
>
>--- linux-2.4.10/arch/i386/vmlinux.lds Tue Oct 9 16:36:06 2001
>+++ linux/arch/i386/vmlinux.lds Tue Oct 9 16:36:28 2001
>@@ -70,6 +70,9 @@
> *(.text.exit)
> *(.data.exit)
> *(.exitcall.exit)
>+ *(.ident)
>+ *(.comment)
>+ *(.note)
> }
>
> /* Stabs debugging sections. */
>
>
>which puts it into the list of sections to be discarde on i386.
Already done. When vmlinux is converted to [b]Zimage kbuild runs
objcopy -O binary -R .note -R .comment -S
The comments are stripped out at that stage. Before you start fiddling
with vmlinux.lds, try this:
objcopy -O binary -R .note -R .comment -S vmlinux vmlinux.stripped
Look at vmlinux.stripped, it is what actually gets loaded. If there
are any offending strings from gcc then we can look at them but I
really doubt that there are any.
next prev parent reply other threads:[~2001-10-10 1:28 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-09 14:16 kernel size VDA
2001-10-09 13:26 ` [solid]
2001-10-09 13:28 ` Nikita Danilov
2001-10-10 9:10 ` kernel size, kcore fun Helge Hafting
2001-10-09 14:16 ` kernel size Richard B. Johnson
2001-10-09 14:43 ` Ingo Oeser
2001-10-09 14:52 ` Richard B. Johnson
2001-10-09 15:43 ` Horst von Brand
2001-10-09 15:53 ` Richard B. Johnson
2001-10-10 1:29 ` Keith Owens
2001-10-10 13:00 ` Richard B. Johnson
2001-10-10 14:47 ` vda
2001-10-11 12:41 ` vda
2001-10-10 1:30 ` Kenneth Johansson
2001-10-09 15:55 ` Jakub Jelinek
2001-10-10 1:27 ` Keith Owens [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-11 15:38 Ken Applebaum
2002-04-11 16:40 ` Conn Clark
2001-12-13 4:38 Kernel size rohit prasad
2001-12-07 8:53 kernel size rohit prasad
2001-12-07 16:46 ` Eli Carter
2001-10-04 13:11 Security question: "Text file busy" overwriting executables but not shared libraries? Eric W. Biederman
2001-10-04 14:24 ` Kernel size Richard B. Johnson
2001-10-13 20:35 ` Aaron Lehmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7542.1002677269@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=VDA@port.imtp.ilyichevsk.odessa.ua \
--cc=ingo.oeser@informatik.tu-chemnitz.de \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.