Optimize ARM relocation
Get series with b4
b4 am 20130621230737.5ad77c79@lilithVersions newest first · linked by author and title
- v3 Latest posting 6/60 of 6 patches 0 repliesNew
- v3 posting 5/60 of 6 patches 1 replySuperseded
- v3 posting 4/60 of 6 patches 0 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 3/6 | 0 of 6 patches | 0 replies | Superseded | |
| v3 posting 2/6 | 0 of 6 patches | 0 replies | Superseded | |
| v3 posting 1/6 | 6 patches | 0 replies | Superseded | |
| v2 | 6 patches | 0 replies | Superseded | |
| v1 | 0 of 5 patches | 0 replies | Superseded |
Patches in v3 posting 6/6 No applies recorded yet
None of the 6 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [U-Boot] [PATCH v3 0/6] Optimize ARM relocation
Quoted 59 lines · Albert ARIBAUD
This series optimizes relocation by ensuring ARM binaries only use one type of relocation record,
R_ARM_RELATIVE., then optimizing relocation code accordingly.1. A
Makefilerule is added that checks that no other relocation record types are generated exceptR_ARM_RELATIVE; build fails if this is the case.2. All references to dymsym are removed, as this table is not used for
R_ARM_RELATIVErelocations.3.
arch/arm/lib/bss.cis replaced by a more genericarch/arm/lib/sections.cwhere all section symbols will be defined.4.
__image_copy_startand__image_copy_endsymbols are moved from linker scripts toarch/arm/lib/sections.c5.
__rel_dyn_startand__rel_dyn_endare moved from linker scripts intoarch/arm/lib/sections.c6.
relocate_codeis optimized based on the fact that symbol references are now always valid even before relcation, and that onlyR_ARM_RELATIVErelocations will be met.Changes in v3:
- fix commit message typo (of -> if)
- fix commit message typo (breaks -> break)Changes in v2:
- use $< instead of $(obj)u-boot
- new in V2: remove all dynsym references
- various comment fixesAlbert ARIBAUD (6):
arm: ensure u-boot only uses relative relocations remove all references to .dynsym
arm: generalizelib/bss.cintolib/sections.c
arm: make __image_copy_{start,end} compiler-generated
arm: make __rel_dyn_{start,end} compiler-generated
arm: optimizerelocate_coderoutineMakefile | 7 +++ arch/arm/config.mk | 5 ++ arch/arm/cpu/arm920t/ep93xx/u-boot.lds | 6 ++- arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds | 5 -- arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds | 5 -- arch/arm/cpu/ixp/u-boot.lds | 20 +++++--- arch/arm/cpu/u-boot-spl.lds | 6 +-- arch/arm/cpu/u-boot.lds | 21 +++++--- arch/arm/lib/Makefile | 2 +- arch/arm/lib/relocate.S | 61 ++++++------------------ arch/arm/lib/{bss.c => sections.c} | 8 +++- board/actux1/u-boot.lds | 20 +++++--- board/actux2/u-boot.lds | 20 +++++--- board/actux3/u-boot.lds | 20 +++++--- board/ait/cam_enc_4xx/u-boot-spl.lds | 5 --
Quoted 9 lines
board/davinci/da8xxevm/u-boot-spl-da850evm.lds | 5 --
board/davinci/da8xxevm/u-boot-spl-hawk.lds | 1 -
board/dvlhost/u-boot.lds | 20 +++++---
board/freescale/mx31ads/u-boot.lds | 20 +++++---
board/vpac270/u-boot-spl.lds | 6 +--
include/asm-generic/sections.h | 3 --
21 files changed, 139 insertions(+), 127 deletions(-)
rename arch/arm/lib/{bss.c => sections.c} (79%)Applied to u-boot-arm/master.
Amicalement,
Signature · 1 line
Albert.