Get rid of R_ARM_ABS32 relocation records
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 4 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Marek Vasut |
|---|---|
| Series | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v2 0/4] Get rid of R_ARM_ABS32 relocation records
Dear Albert ARIBAUD,
Quoted 44 lines
R_ARM_ABS32relocation records cause symbol references to be zero before relocation, and become correct only after relocation. On the other hand,R_ARM_RELATIVErecords make references correct before as well as after relocation.This patch series aims at removing all
R_ARM_ABS32relocations from ARM targets.the main contributor of
R_ARM_ABS32relocations is the support code for linker-lists, aka Linker-Generated Arrays. This is due to the fact that LGA start and end symbols, used for ranging these arrays, are linker- generated symbols, which always relocate asR_ARM_ABS32even though they are supposed *not* to be absolute.V1 of this patch series fixed LGAs so that start or end symbols are actually compiler-generated, and thus their references are relocated using
R_ARM_RELATIVE; V2 also fixes crt0 so that BSS start and end references do not produceR_ARM_ABS32relocations either.With V2, none of the targets built with MAKEALL -a arm produces any
R_ARM_ABS32relocation.This series has been build-tested with ARM (295 targets clean) and powerpc (634 targets clean)
Changes in v2:
- fixed missing .sram memory mapping in OMAP lds
- removed useless linker script sections in SPL lds files
- made BSS start and end compiler-generated
- moved SPL linker script changes to their own commit
- addedKEEP()to all linker files
- removed spurious change tocommon/command.c
- changed empty type from struct {} to char[0]
- dropped patch to removedboard/micronas/vct/u-boot.lds
- removed all references to u-boot.lstAlbert ARIBAUD (4):
arm: omap: mapu_boot_listssection to .sram Remove linker lists (LGAs) from SPL linker scripts
arm: make__bss_startand__bss_end__compiler-generated Refactor linker-generated arrays
[...]