diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-10-10 08:11:17 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-11 16:46:25 +0200 |
commit | a857444f4326491297163ba7e53ca98fde2988d4 (patch) | |
tree | 84cfef395d2d10881b9c251e79008cd3176625a2 /arch/arm/lib/pbl.lds.S | |
parent | 87913bac825e0a0a05e98c21c425d93fa26ae6b8 (diff) | |
download | barebox-a857444f4326491297163ba7e53ca98fde2988d4.tar.gz barebox-a857444f4326491297163ba7e53ca98fde2988d4.tar.xz |
lds: introduce <asm/barebox.lds.h>
We have a separate linker script for each architecture and one more for
PBL if supported. All linker scripts include <asm-generic/barebox.lds.h>.
In future, we may want to use a linker script common to more than one
architecture. Prepare for this by having each architecture define a
<asm/barebox.lds.h>. Currently, these files contain little more than
1-2 #include directives, but this will change in later commits.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20221010061122.2084009-6-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib/pbl.lds.S')
-rw-r--r-- | arch/arm/lib/pbl.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S index d48f27bc43..cc4b12f448 100644 --- a/arch/arm/lib/pbl.lds.S +++ b/arch/arm/lib/pbl.lds.S @@ -2,7 +2,7 @@ /* SPDX-FileCopyrightText: 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix */ #include <linux/sizes.h> -#include <asm-generic/barebox.lds.h> +#include <asm/barebox.lds.h> #include <asm-generic/memory_layout.h> #ifdef CONFIG_PBL_RELOCATABLE |