From f53df62268d63a84c5763ce37a4cac267add57a8 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 3 Oct 2006 14:57:50 +0000 Subject: 2006-10-03 Thomas Schwinge [task #5941 --- ``Linker script for GNU Mach''] * Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery. * i386/Makefile.in (sysdep.a): Likewise. * i386/Makerules.in: Likewise. (LDFLAGS-kernel): Point to the linker script. * i386/i386at/boothdr.S (_start): Don't put into `.text', but into `.text.start' instead. * i386/ldscript: Change to put `.text' at 0x100000 and put `.text.start' first into `.text'. --- i386/i386at/boothdr.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'i386/i386at') diff --git a/i386/i386at/boothdr.S b/i386/i386at/boothdr.S index de80753..125eece 100644 --- a/i386/i386at/boothdr.S +++ b/i386/i386at/boothdr.S @@ -3,8 +3,11 @@ #include "i386asm.h" - .text - + /* + * This section will be put first into .text. See also i386/ldscript. + */ + .section .text.start,"ax" + /* We should never be entered this way. */ .globl start,_start start: -- cgit v1.2.3