u-boot/arch/arm/mach-aspeed/ast2600
Ilias Apalodimas 4ee32ea0c4 arm: move image_copy_start/end to linker symbols
image_copy_start/end are defined as c variables in order to force the compiler
emit relative references. However, defining those within a section definition
will do the same thing since [0].

So let's remove the special sections from the linker scripts, the
variable definitions from sections.c and define them as a symbols within
a section.

[0] binutils commit 6b3b0ab89663 ("Make linker assigned symbol dynamic only for shared object")

Suggested-by: Sam Edwards <CFSworks@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Sam Edwards <CFSworks@gmail.com> # Binary output identical
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2024-03-29 10:39:25 -04:00
..
board_common.c global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
Kconfig aspeed: Add AST2600 platform support 2021-01-18 15:23:06 -05:00
lowlevel_init.S aspeed: Add AST2600 platform support 2021-01-18 15:23:06 -05:00
Makefile aspeed: Add AST2600 platform support 2021-01-18 15:23:06 -05:00
spl.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
u-boot-spl.lds arm: move image_copy_start/end to linker symbols 2024-03-29 10:39:25 -04:00