[U-Boot] [PATCH] mpc83xx: Add -fpic relocation support

Scott Wood scottwood at freescale.com
Tue Oct 12 23:30:40 CEST 2010


On Tue, 12 Oct 2010 23:23:23 +0200
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:

> Any idea if SPL is size optimized to death already or if there is some
> low hanging fruits left?

There are some things that could be shrunk -- such as hardcoding the
page size, removing prints, etc.

Still, it would be nice if we could use #if __pic__ == 1 to remove the
extra relocation code when the toolchain isn't using it.  How much
shrinkage might we get out of the rest of the SPL with -fpic enabled?

-Scott



More information about the U-Boot mailing list