diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-10-03 14:57:50 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:41 +0200 |
commit | f53df62268d63a84c5763ce37a4cac267add57a8 (patch) | |
tree | 101f94768343c7c73a0295c09e0fd2d96a563ccc /i386/Makerules.in | |
parent | 974a9c45937557cf35a67bf347bbae658e1aa8e7 (diff) |
2006-10-03 Thomas Schwinge <tschwinge@gnu.org>
[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'.
Diffstat (limited to 'i386/Makerules.in')
-rw-r--r-- | i386/Makerules.in | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/i386/Makerules.in b/i386/Makerules.in index ef04948..9f09bcc 100644 --- a/i386/Makerules.in +++ b/i386/Makerules.in @@ -33,12 +33,8 @@ DEFINES += -DCONTINUATIONS -D__ELF__ -Di386 $(DEFS-$(systype)) # The system specific ones always override the generic ones. INCLUDES += -I$(abs_top_srcdir)/$(systype)/bogus -# Arrange for a suitable load address. -LDFLAGS-kernel += -Ttext 100000 - -# `boothdr.o' has to be at the beginning of the kernel image. -$(systype)-objfiles-prepend = boothdr.o - +# i386 specific linker script. +LDFLAGS-kernel += -T $(abs_top_srcdir)/$(systype)/ldscript # # Autoconf support |