arm: implement ELF relocations
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@free.fr>
Showing
- arch/arm/config.mk 5 additions, 5 deletionsarch/arm/config.mk
- arch/arm/cpu/arm926ejs/start.S 84 additions, 80 deletionsarch/arm/cpu/arm926ejs/start.S
- arch/arm/cpu/arm926ejs/u-boot.lds 15 additions, 11 deletionsarch/arm/cpu/arm926ejs/u-boot.lds
- arch/arm/include/asm/config.h 0 additions, 2 deletionsarch/arm/include/asm/config.h
- arch/arm/include/asm/u-boot-arm.h 7 additions, 7 deletionsarch/arm/include/asm/u-boot-arm.h
- arch/arm/lib/board.c 5 additions, 3 deletionsarch/arm/lib/board.c
- doc/README.arm-relocation 40 additions, 182 deletionsdoc/README.arm-relocation
Loading
Please register or sign in to comment