From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL
Date: Thu, 9 Aug 2012 07:35:55 -0700 [thread overview]
Message-ID: <5023CACB.5070801@ti.com> (raw)
In-Reply-To: <1344479053-18404-1-git-send-email-tyler.j.olmstead@gmail.com>
On 08/08/2012 07:24 PM, Tyler Olmstead wrote:
> Remove linker command line options from the SPL makefile
> that force the inclusion of unreferenced command code from
> linked object files. As commands are not used in the SPL,
> these options resulted in an unnecessary increase in the
> image size, in addition to introducing the possibility of
> tricky link errors in the case where the command code
> contained symbols that were not resolved by linking in the
> limited objects compiled in the SPL build.
>
> Signed-off-by: Tyler Olmstead <tyler.j.olmstead@gmail.com>
Without either figuring out how to make the strings be garbage collected
automatically (I'm talking with a toolchain friend of mine about how to
try and do this) or whacking U_BOOT_CMD to do this for us, we will start
adding bloat to SPL after we do this.
--
Tom
next prev parent reply other threads:[~2012-08-09 14:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 2:24 [U-Boot] [PATCH] spl: remove forced linking of commands into SPL Tyler Olmstead
2012-08-09 14:35 ` Tom Rini [this message]
2012-08-09 17:37 ` Tyler Olmstead
2012-08-09 17:55 ` Tom Rini
2012-08-09 23:00 ` Tom Rini
2012-08-10 0:42 ` Tyler Olmstead
2012-09-18 19:04 ` [U-Boot] " Tom Rini
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=5023CACB.5070801@ti.com \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/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.