Module Name: src Committed By: christos Date: Wed Jan 1 22:06:13 UTC 2014
Modified Files: src/sys/arch/i386/stand/boot: Makefile.boot Log Message: Use a custom ldscript so that we can keep boot_start at 0. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/arch/i386/stand/boot/Makefile.boot Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/stand/boot/Makefile.boot diff -u src/sys/arch/i386/stand/boot/Makefile.boot:1.60 src/sys/arch/i386/stand/boot/Makefile.boot:1.61 --- src/sys/arch/i386/stand/boot/Makefile.boot:1.60 Wed Aug 21 13:15:26 2013 +++ src/sys/arch/i386/stand/boot/Makefile.boot Wed Jan 1 17:06:13 2014 @@ -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 @@ BINMODE=444 .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 @@ CPUFLAGS= -march=i386 -mtune=i386 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