[U-Boot] [PATCH/RFC] arm/microblaze/nios/nios2/sh: Remove relocation fixups
Wolfgang Denk
wd at denx.de
Sat Oct 3 09:59:34 CEST 2009
Dear Peter Tyser,
In message <1253629675-30377-1-git-send-email-ptyser at xes-inc.com> you wrote:
> These architectures don't need relocation fixups, so reduce their
> codesize a bit by defining CONFIG_RELOC_FIXUP_WORKS.
>
> Also remove the reloc_off field from their global data structures
> as it is no longer needed.
>
> Note that the location of the standalone application jump table pointer
> in the global data structure is affected by this change, breaking
> execution of standalone applications compiled for previous versions of
> U-Boot.
>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> I apparently forgot to send this yesterday with the rest of the
> relocation patches.
>
> If the ppc relocation series just sent gets accepted, this change
> should cut out some unneeded code from other arches which
> don't use relocation fixups. I haven't compiled any of these arches
> though, so take the patch with a grain of salt.
>
> common/stdio.c | 4 ++--
> include/asm-arm/config.h | 3 +++
> include/asm-arm/global_data.h | 1 -
> include/asm-microblaze/config.h | 3 +++
> include/asm-microblaze/global_data.h | 1 -
> include/asm-nios/config.h | 3 +++
> include/asm-nios/global_data.h | 1 -
> include/asm-nios2/config.h | 3 +++
> include/asm-nios2/global_data.h | 1 -
> include/asm-sh/config.h | 3 +++
> include/asm-sh/global_data.h | 1 -
> 11 files changed, 17 insertions(+), 7 deletions(-)
Applied (and moved below top commit in reloc branch), thanks.
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
EMACS belongs in <sys/errno.h>: Editor too big!
More information about the U-Boot
mailing list