All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yoshinori Sato <ysato@users.sourceforge.jp>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: linux kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [2.6 patch] add a config option for -Os
Date: Tue, 26 Aug 2003 23:41:09 +0900	[thread overview]
Message-ID: <m2ekz8eb22.wl%ysato@users.sourceforge.jp> (raw)
In-Reply-To: <20030825224717.GZ7038@fs.tum.de>

At Tue, 26 Aug 2003 00:47:17 +0200,
Adrian Bunk wrote:
> 
> The patch below adds a config option for compiling the kernel with -Os.
> 
> Compared to the last patch, the option moved to the embedded to the 
> General Setup menu and depends on EXPERIMENTAL instead of EMBEDDED 
> (retionale: it might even produce a faster kernel but it's less tested).
> 
> I removed the special cases in the arm, arm26 and h8300 Makefiles, users 
> on these architectures can now use OPTIMIZE_FOR_SIZE.
> 
> Compiling with this option enabled produced a working kernel for me on 
> i386.
> 

An idea do not change -O2, and to add specification of -Os to with "OPTIMIZE_SIZE" ?
If there are a few the ones, degradation of speed means.

vmlinux  size of h8300
        -O2     -Os   -O2&-Os
.text  561200  554368  555088
.data   59148   58612   58868
.bss    45244   45260   45244
total  665592  658240  659200

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

  reply	other threads:[~2003-08-26 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-25 22:47 [2.6 patch] add a config option for -Os Adrian Bunk
2003-08-26 14:41 ` Yoshinori Sato [this message]
2003-08-26 14:58   ` Valdis.Kletnieks

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=m2ekz8eb22.wl%ysato@users.sourceforge.jp \
    --to=ysato@users.sourceforge.jp \
    --cc=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    /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.