Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/boot Use a custom ldscript so that we ca...
details: https://anonhg.NetBSD.org/src/rev/f42bfc7ed549
branches: trunk
changeset: 325636:f42bfc7ed549
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 01 22:06:13 2014 +0000
description:
Use a custom ldscript so that we can keep boot_start at 0.
diffstat:
sys/arch/i386/stand/boot/Makefile.boot | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5e5d13d26f1d -r f42bfc7ed549 sys/arch/i386/stand/boot/Makefile.boot
--- a/sys/arch/i386/stand/boot/Makefile.boot Wed Jan 01 22:05:48 2014 +0000
+++ b/sys/arch/i386/stand/boot/Makefile.boot Wed Jan 01 22:06:13 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.boot,v 1.60 2013/08/21 17:15:26 matt Exp $
+# $NetBSD: Makefile.boot,v 1.61 2014/01/01 22:06:13 christos Exp $
S= ${.CURDIR}/../../../../..
@@ -33,7 +33,7 @@
.PATH: ${.CURDIR}/.. ${.CURDIR}/../../lib
-LDFLAGS+= -nostdlib -Wl,-N -Wl,-e,boot_start
+LDFLAGS+= -nostdlib -Wl,-N -Wl,-e,boot_start -T${.CURDIR}/../boot.ldscript
CPPFLAGS+= -I ${.CURDIR}/.. -I ${.CURDIR}/../../lib -I ${S}/lib/libsa
CPPFLAGS+= -I ${.OBJDIR}
# Make sure we override any optimization options specified by the user
@@ -51,7 +51,7 @@
CFLAGS+= -mno-sse -mno-sse2 -mno-sse3
-COPTS+= -ffreestanding
+COPTS+= -ffreestanding #-fno-reorder-functions
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes
CPPFLAGS+= -nostdinc -D_STANDALONE
CPPFLAGS+= -I$S
Home |
Main Index |
Thread Index |
Old Index