[U-Boot] [PATCH 01/24] 0000-Address-partial-linking-issues

Wolfgang Denk wd at denx.de
Sat Nov 27 23:18:54 CET 2010


In message <1290700844-31427-1-git-send-email-wd at denx.de> you wrote:
> The switch from archive libraries to partial linking has introduced a
> number of problems, that are non-trivial to solve.  For example, it is
> no longer possible to include individual object files in the linker
> script as we did before for example in the case of boards with
> embedded environment to fill up the gap caused by the need to align
> the environment on flash erase block boundaries.
> 
> The best (but unfortunately not easiest) approach to address this
> problem is probably to enable -ffunction-sections (and
> -ffunction-sections) so we can again (and even in much finer
> granularity) place certain code where we want it.  When doing this
> step, it seems only consequent to also add --gc-sections which has the
> added benefit of reducing the memory footprint of the U-Boot image
> (both in flash and in RAM).
> 
> Unfortunately, this requires changes to a lot of linker scripts.
...


Whole series (latest versions of the patches) applied.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I am not now, nor have I ever been, a member of the demigodic party.
                                                   -- Dennis Ritchie


More information about the U-Boot mailing list