ARM: move away from ld_var
The ld_var solves the issue that when compiled with -pie the linker provided variables are all 0x0. This mechanism however refuses to compile with aarch64 support. This patch replaces the ld_var mechanism with a nice little trick learned from U-Boot: Instead of using linker provided variables directly with "__bss_start = ." we put a zero size array into a separate section and use the address of that array instead of the linker variable. This properly works before relocation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
WIP_next-LS
master
next
stable/v2018.07
stable/v2018.09
stable/v2018.12
v2020.07.0
v2020.06.0
v2020.05.0
v2020.04.0
v2020.03.0
v2020.02.0
v2020.01.0
v2019.12.0
v2019.11.0
v2019.10.0
v2019.09.0
v2019.08.1
v2019.08.0
v2019.07.0
v2019.06.1
v2019.06.0
v2019.05.0
v2019.04.0
v2019.03.0
v2019.02.0
v2019.01.0
v2018.12.0
v2018.11.0
v2018.10.0
v2018.09.1
v2018.09.0
v2018.08.1
v2018.08.0
v2018.07.2
v2018.07.1
v2018.07.0
v2018.06.0
v2018.05.0
|
---|
|
arch/arm/boards/friendlyarm-tiny210/lowlevel.c |
---|
arch/arm/cpu/Makefile |
---|
arch/arm/cpu/common.c |
---|
arch/arm/cpu/sections.c 0 → 100644 |
---|
arch/arm/cpu/setupc.S |
---|
arch/arm/include/asm/sections.h |
---|
arch/arm/lib/pbl.lds.S |
---|
arch/arm/lib32/barebox.lds.S |
---|
arch/arm/lib64/barebox.lds.S |
---|
arch/arm/mach-imx/xload-common.c |
---|