All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: Hiroshi Doyu <hdoyu@nvidia.com>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
	"marvin24@gmx.de" <marvin24@gmx.de>,
	"balbi@ti.com" <balbi@ti.com>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [v2 3/3] ARM: tegra: Unify Device tree board files
Date: Tue, 12 Feb 2013 22:25:58 +0000	[thread overview]
Message-ID: <201302122225.58322.arnd@arndb.de> (raw)
In-Reply-To: <511AAB81.4000306@wwwdotorg.org>

On Tuesday 12 February 2013, Stephen Warren wrote:
> I believe U-Boot enabled -ffunction-sections -fdata-sections or similar
> (recently?) to get this kind of behaviour. I wonder why the kernel
> didn't need that. Perhaps -O2 is more aggressive (within a file at
> least) than I thought.

-ffunction-sections works across files, while the trick I described
only works on file static symbols. David Woodhouse at some point
had a working kernel build with -ffunction-sections but for some
reason that never got merged.

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [v2 3/3] ARM: tegra: Unify Device tree board files
Date: Tue, 12 Feb 2013 22:25:58 +0000	[thread overview]
Message-ID: <201302122225.58322.arnd@arndb.de> (raw)
In-Reply-To: <511AAB81.4000306@wwwdotorg.org>

On Tuesday 12 February 2013, Stephen Warren wrote:
> I believe U-Boot enabled -ffunction-sections -fdata-sections or similar
> (recently?) to get this kind of behaviour. I wonder why the kernel
> didn't need that. Perhaps -O2 is more aggressive (within a file at
> least) than I thought.

-ffunction-sections works across files, while the trick I described
only works on file static symbols. David Woodhouse at some point
had a working kernel build with -ffunction-sections but for some
reason that never got merged.

	Arnd

  reply	other threads:[~2013-02-12 22:25 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11  6:05 [v2 1/3] ARM: tegra: Unify tegra{20,30,114}_init_early() Hiroshi Doyu
2013-02-11  6:05 ` Hiroshi Doyu
2013-02-11  6:05 ` Hiroshi Doyu
2013-02-11  6:05 ` [v2 2/3] ARM: tegra: Rename board-dt-tegra20.c to tegra.c Hiroshi Doyu
2013-02-11  6:05   ` Hiroshi Doyu
2013-02-11  6:05 ` [v2 3/3] ARM: tegra: Unify Device tree board files Hiroshi Doyu
2013-02-11  6:05   ` Hiroshi Doyu
     [not found]   ` <1360562743-21689-3-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-02-11 23:54     ` Stephen Warren
2013-02-11 23:54       ` Stephen Warren
2013-02-11 23:54       ` Stephen Warren
2013-02-12  4:12       ` Hiroshi Doyu
2013-02-12  4:12         ` Hiroshi Doyu
     [not found]         ` <20130212.061240.2083183700176617607.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-02-12  4:47           ` Stephen Warren
2013-02-12  4:47             ` Stephen Warren
2013-02-12  4:47             ` Stephen Warren
2013-02-12  5:04             ` Hiroshi Doyu
2013-02-12  5:04               ` Hiroshi Doyu
2013-02-12 13:50               ` Arnd Bergmann
2013-02-12 13:50                 ` Arnd Bergmann
     [not found]                 ` <201302121350.15683.arnd-r2nGTMty4D4@public.gmane.org>
2013-02-12 16:35                   ` Stephen Warren
2013-02-12 16:35                     ` Stephen Warren
2013-02-12 16:35                     ` Stephen Warren
     [not found]                     ` <511A6F6C.8090205-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-02-12 17:32                       ` Arnd Bergmann
2013-02-12 17:32                         ` Arnd Bergmann
2013-02-12 17:32                         ` Arnd Bergmann
2013-02-12 20:52                         ` Stephen Warren
2013-02-12 20:52                           ` Stephen Warren
2013-02-12 22:25                           ` Arnd Bergmann [this message]
2013-02-12 22:25                             ` Arnd Bergmann
2013-02-13  6:12                       ` Hiroshi Doyu
2013-02-13  6:12                         ` Hiroshi Doyu
2013-02-13  6:12                         ` Hiroshi Doyu
     [not found]                         ` <20130213.081240.1605796167151164030.hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-02-13 16:50                           ` Stephen Warren
2013-02-13 16:50                             ` Stephen Warren
2013-02-13 16:50                             ` Stephen Warren

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=201302122225.58322.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=balbi@ti.com \
    --cc=hdoyu@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=marvin24@gmx.de \
    --cc=swarren@wwwdotorg.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.