[U-Boot] [ELF_RELOC] [PATCH V3 1/2] arm: implement ELF relocations

Wolfgang Denk wd at denx.de
Mon Oct 11 13:24:17 CEST 2010


Dear Albert Aribaud,

In message <1286795609-6754-1-git-send-email-albert.aribaud at free.fr> you wrote:
> ELF relocation tables generated with linker option -pie can
> be used to fixup code and data in a single loop at relocation,
> removing the need for manual fixups anywhere else in the code.
> 
> Signed-off-by: Albert Aribaud <albert.aribaud at free.fr>
> ---
> This patch set is intended for the ELF relocation branch, not
> for master or next!
> 
> V1	Initial submission after RFC
> V2	Removed useless datarel references and sections
> 	Defined CONFIG_RELOC_FIXUP_WORKS for all ARMs
> 	Removed useless define of CONFIG_RELOC_FIXUP_WORKS
> 	and undefine of CONFIG_SYS_ARM_WITHOUT_RELOC from
> 	edminiv2 board
> V3	Fixed missing end-of-line
> 
>  arch/arm/config.mk                |   10 +-
>  arch/arm/cpu/arm926ejs/start.S    |  164 ++++++++++++++-------------
>  arch/arm/cpu/arm926ejs/u-boot.lds |   26 +++--
>  arch/arm/include/asm/config.h     |    2 -
>  arch/arm/include/asm/u-boot-arm.h |   14 +-
>  arch/arm/lib/board.c              |    8 +-
>  doc/README.arm-relocation         |  222 +++++++------------------------------
>  7 files changed, 156 insertions(+), 290 deletions(-)

Applied to "u-boot-arm" repository, "elf_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
######## This message was made from 100% recycled electrons. ########


More information about the U-Boot mailing list