summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/pbl.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/pbl.lds.S')
-rw-r--r--arch/arm/lib/pbl.lds.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S
index 53c9ce0fe6..300671bb51 100644
--- a/arch/arm/lib/pbl.lds.S
+++ b/arch/arm/lib/pbl.lds.S
@@ -80,12 +80,16 @@ SECTIONS
.dynsym : { *(.dynsym) }
.__dynsym_end : { *(.__dynsym_end) }
+ pbl_code_size = . - BASE;
+
. = ALIGN(4);
.__bss_start : { *(.__bss_start) }
.bss : { *(.bss*) }
.__bss_stop : { *(.__bss_stop) }
_end = .;
+ pbl_memory_size = . - BASE;
+
. = ALIGN(4);
__piggydata_start = .;
.piggydata : {
@@ -95,6 +99,8 @@ SECTIONS
.image_end : { *(.__image_end) }
+ pbl_image_size = . - BASE;
+
_barebox_image_size = __image_end - BASE;
_barebox_pbl_size = __bss_start - BASE;
}