linux-mips
[Top] [All Lists]

Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely

To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Subject: Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely
From: Thiemo Seufer <ths@networkno.de>
Date: Mon, 26 Mar 2007 10:42:19 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, Atsushi Nemoto <anemo@mba.ocn.ne.jp>, kumba@gentoo.org, linux-mips@linux-mips.org
In-reply-to: <cda58cb80703260214y536d871dq20575ce32da9cd07@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070324.234727.25910303.anemo@mba.ocn.ne.jp> <20070324231602.GP2311@networkno.de> <46062400.8080307@gentoo.org> <20070326.011000.75185255.anemo@mba.ocn.ne.jp> <20070325164008.GA29334@linux-mips.org> <cda58cb80703260214y536d871dq20575ce32da9cd07@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
Franck Bui-Huu wrote:
> On 3/25/07, Ralf Baechle <ralf@linux-mips.org> wrote:
> >Note IP27 works fine either way and the code size difference is 
> >considerable:
> >Here are numbers for ip27_defconfig with gcc 4.1.2 and binutils 2.17:
> >
> >   text    data     bss     dec     hex filename
> >3397944  415768  256816 4070528  3e1c80 vmlinux BUILD_ELF64=n
> >3774968  415768  248624 4439360  43bd40 vmlinux BUILD_ELF64=y
> >
> 
> Impressive figures !
> 
> However I can't understand why there's a such difference, I'm surely
> missing something. AFAIK, we're not doing so many symbol loads in the
> kernel ?

Yes we do, for many local symbols. It's the reason why the toolchain
has a -msym32 switch now.


Thiemo

<Prev in Thread] Current Thread [Next in Thread>