Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-tiny@...>
Cc: Andrew Morton <akpm@...>, Thomas Petazzoni <thomas.petazzoni@...>, Reynes Philippe <tremyfr@...>, <hpa@...>, <linux-kernel@...>, <mingo@...>, <tglx@...>
Date: Tuesday, April 1, 2008 - 4:09 pm

On Tuesday 01 April 2008 14:00:36 Andrew Morton wrote:

Does bloat-o-meter say what the additional 616 bytes _is_?

scripts/bloat-o-meter vmlinux.old vmlinux.new

P.S.  What busybox did:

    ifneq ($(strip $(CONFIG_DEBUG)),y)
        OPTIMIZATION+=$(call check_cc,
$(CC),-ffunction-sections -fdata-sections,)
        CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,)
    endif

Tells gcc to put each function and each global into its own ELF section, and 
then told the linker to garbage collect unused sections...

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Configure out DMI scanning code v2 (Linux Tiny), Thomas Petazzoni, (Tue Feb 12, 5:04 am)
Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny), Rob Landley, (Tue Apr 1, 4:09 pm)