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 <h...@n-dimensional.de> 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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel