summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/pbl.lds.S
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-08-18 07:04:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-08-22 10:52:19 +0200
commit7deef2fa981b81426443281f84b142080f46cf74 (patch)
tree748b283bfdee8525b9c78b4e207ba9f035c3ae6d /arch/arm/lib/pbl.lds.S
parent867681db2efe997d3f5c3b1ba1bebb366a336110 (diff)
downloadbarebox-7deef2fa981b81426443281f84b142080f46cf74.tar.gz
barebox-7deef2fa981b81426443281f84b142080f46cf74.tar.xz
pbl: replace __piggydata_end with __image_end
__piggydata_end and __image_end used to be synonyms before the addition of external firmware. Now that external firmware is located after __piggydata_end, code using it needs to be revisited. There's no reason to have code reference __piggydata_end. Either they want all the rest of the image, so they should use __image_end instead or they want just the piggy data, in which case they can read the data size embedded into the piggydata itself. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220818050447.2072932-4-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.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S
index 44ad5b3353..d48f27bc43 100644
--- a/arch/arm/lib/pbl.lds.S
+++ b/arch/arm/lib/pbl.lds.S
@@ -99,7 +99,6 @@ SECTIONS
.piggydata : {
*(.piggydata)
}
- __piggydata_end = .;
. = ALIGN(4);
__pblext_start = .;