[U-Boot] [PATCH v7 1/3] cm_t335: fix linker file to produce full ELF

Albert ARIBAUD albert.u.boot at aribaud.net
Sat Feb 22 19:04:35 CET 2014


Hi Tom,

On Sat, 22 Feb 2014 12:34:40 -0500, Tom Rini <trini at ti.com> wrote:

> On Sat, Feb 22, 2014 at 05:53:41PM +0100, Albert ARIBAUD wrote:
> 
> > Newly added cm_t335 was missed in commit 47ed5dd0 which
> > made ARM targets produce full ELF files. Fix its linker
> > script.
> > 
> > This change is binary-invariant when only .dynsym, .dynstr,
> > .dynamic, .plt, .interp and .gun sections are declared.
> > 
> > Sections .hash, .got.plt, .dynbss and .ARM.exidx are also
> > declared so that their (unused) content is moved out of the
> > u-boot binary.
> > 
> > Signed-off-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
> 
> Can we do a follow-up series where we look at making some sort of "head"
> and "tail" perhaps linker snippets we can #include for ARM?  The top of
> my head recollection is that we've usually just got a situation of
> needing to shove a few non-standard objects up front in the binary, and
> everything else is the same.  Thanks!

The follow-up is actually in my todo list and I already have a patch
series going that way, along with another one factorizing the start.S
files in a similar vein.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list