grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MULTIBOOT2 SPEC PATCH v4 15/27] multiboot2: Remove unreferenced AOUT_KL


From: Hans Ulrich Niedermann
Subject: [MULTIBOOT2 SPEC PATCH v4 15/27] multiboot2: Remove unreferenced AOUT_KLUDGE
Date: Fri, 15 May 2020 05:43:38 +0200

Remove unreferenced AOUT_KLUDGE from both boot_i386.S and
boot_mips.S.

There is no reference in the example kernel to AOUT_KLUDGE or
MULTIBOOT_AOUT_KLUDGE, so this has never had a function in the
Multiboot 2 example kernel.

I presume this was something left over from the Multiboot 1
specification's example kernel.

Signed-off-by: Hans Ulrich Niedermann <address@hidden>

diff --git a/doc/boot_i386.S b/doc/boot_i386.S
index 0e8118b2a..c6e7f1382 100644
--- a/doc/boot_i386.S
+++ b/doc/boot_i386.S
@@ -28,13 +28,6 @@
 /* The size of our stack (16KB).  */
 #define STACK_SIZE                     0x4000
 
-/* The flags for the Multiboot header.  */
-#ifdef __ELF__
-# define AOUT_KLUDGE 0
-#else
-# define AOUT_KLUDGE MULTIBOOT_AOUT_KLUDGE
-#endif
-       
        .text
 
        .globl  start, _start
diff --git a/doc/boot_mips.S b/doc/boot_mips.S
index a8d3fb0e4..2b9ee0f9c 100644
--- a/doc/boot_mips.S
+++ b/doc/boot_mips.S
@@ -28,13 +28,6 @@
 /* The size of our stack (16KB).  */
 #define STACK_SIZE                     0x4000
 
-/* The flags for the Multiboot header.  */
-#ifdef __ELF__
-# define AOUT_KLUDGE 0
-#else
-# define AOUT_KLUDGE MULTIBOOT_AOUT_KLUDGE
-#endif
-       
        .text
        .set noreorder
         .set nomacro
-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]