Add better comment barriers at the top of the PECOFF header and the
bzImage header to make it easier to find the source for the respective
chunks of data.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
---
arch/x86/boot/header.S | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S
index 5a54d33e51c2..d74db02928e6 100644
--- a/arch/x86/boot/header.S
+++ b/arch/x86/boot/header.S
@@ -40,6 +40,9 @@ SYSSEG = 0x1000 /* historical load address >> 4 */
.set falign, 0x200
.code16
+
+# EFI PECOFF header ##########################################################
+
.section ".header", "a"
#ifdef CONFIG_EFI_STUB
# "MZ", MS-DOS header
@@ -224,6 +227,8 @@ pecompat_fstart:
#endif /* CONFIG_EFI_STUB */
+# bzImage header #############################################################
+
# hdr should be at address 0x1f1; -2 for the sentinel
.org 0x1f1-2, 0xff # Fill with 0xff
@@ -545,7 +550,7 @@ kernel_info_offset: .long ZO_kernel_info
.globl end_of_bzheader
end_of_bzheader:
-# End of setup header #####################################################
+# End of bzImage header ######################################################
.section ".entrytext", "ax"
.globl start_of_setup
--
2.52.0