Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arc/stand/boot build this as a o32 application.



details:   https://anonhg.NetBSD.org/src/rev/cb0c623e6af0
branches:  trunk
changeset: 767254:cb0c623e6af0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jul 13 14:09:36 2011 +0000

description:
build this as a o32 application.

diffstat:

 sys/arch/arc/stand/boot/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3cdd12308b67 -r cb0c623e6af0 sys/arch/arc/stand/boot/Makefile
--- a/sys/arch/arc/stand/boot/Makefile  Wed Jul 13 12:28:57 2011 +0000
+++ b/sys/arch/arc/stand/boot/Makefile  Wed Jul 13 14:09:36 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2011/02/20 07:52:43 matt Exp $
+# $NetBSD: Makefile,v 1.13 2011/07/13 14:09:36 mrg Exp $
 
 .include <bsd.own.mk>
 .include <bsd.sys.mk>  # for ${HOST_SH}
@@ -25,7 +25,7 @@
 LIBCRTBEGIN=
 LIBCRTEND=
 
-AFLAGS=    -x assembler-with-cpp -mno-abicalls -mips2
+AFLAGS=    -x assembler-with-cpp -mno-abicalls -mips2 -mabi=32
 AFLAGS+=   -D_LOCORE -D_KERNEL
 CFLAGS=    -Os -mmemcpy -G 1024
 CFLAGS+=   -ffreestanding -mno-abicalls -msoft-float -mips2 -mabi=32
@@ -36,6 +36,7 @@
 #CPPFLAGS+= -DBOOT_DEBUG
 LDSCRIPT=  ${S}/arch/mips/conf/stand.ldscript
 TEXTADDR=  0x80f00000
+LD+=           -m elf32ltsmip
 
 # if there is a 'version' file, add rule for vers.c and add it to SRCS
 # and CLEANFILES



Home | Main Index | Thread Index | Old Index