diff options
| author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-11-01 15:18:13 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-11-01 20:10:28 -0400 |
| commit | dad4675388fcb4353aea64174a165fb8494f1c13 (patch) | |
| tree | 0fe506942d17dc9e9cd980d8420057c1c01a1d04 | |
| parent | ff0c6eecef59d6f949bbc09d117f2527ae1d4e34 (diff) | |
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>
| -rw-r--r-- | arch/arm/boot/compressed/vmlinux.lds.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/vmlinux.lds.S b/arch/arm/boot/compressed/vmlinux.lds.S index 7a4c59154361..7d06aa19c3e6 100644 --- a/arch/arm/boot/compressed/vmlinux.lds.S +++ b/arch/arm/boot/compressed/vmlinux.lds.S | |||
| @@ -85,6 +85,15 @@ SECTIONS | |||
| 85 | 85 | ||
| 86 | _edata = .; | 86 | _edata = .; |
| 87 | 87 | ||
| 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 | |||
| 88 | _magic_sig = ZIMAGE_MAGIC(0x016f2818); | 97 | _magic_sig = ZIMAGE_MAGIC(0x016f2818); |
| 89 | _magic_start = ZIMAGE_MAGIC(_start); | 98 | _magic_start = ZIMAGE_MAGIC(_start); |
| 90 | _magic_end = ZIMAGE_MAGIC(_edata); | 99 | _magic_end = ZIMAGE_MAGIC(_edata); |
