Skip to content

Commit dad4675

Browse files
author
Russell King
committed
ARM: add debug ".edata_real" symbol
Add an additional symbol to the decompressor image, which will allow future debugging of non-bootable problems similar to the one encountered with the EFI stub. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
1 parent ff0c6ee commit dad4675

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arch/arm/boot/compressed/vmlinux.lds.S

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ SECTIONS
8585

8686
_edata = .;
8787

88+
/*
89+
* The image_end section appears after any additional loadable sections
90+
* that the linker may decide to insert in the binary image. Having
91+
* this symbol allows further debug in the near future.
92+
*/
93+
.image_end (NOLOAD) : {
94+
_edata_real = .;
95+
}
96+
8897
_magic_sig = ZIMAGE_MAGIC(0x016f2818);
8998
_magic_start = ZIMAGE_MAGIC(_start);
9099
_magic_end = ZIMAGE_MAGIC(_edata);

0 commit comments

Comments
 (0)