Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/conf use the compiler way of passing arguments...
details: https://anonhg.NetBSD.org/src/rev/8a961895a64e
branches: trunk
changeset: 362356:8a961895a64e
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 05 11:39:49 2018 +0000
description:
use the compiler way of passing arguments to the linker.
diffstat:
sys/arch/mips/conf/Makefile.mips | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r a402809ad38f -r 8a961895a64e sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips Tue Jun 05 09:28:56 2018 +0000
+++ b/sys/arch/mips/conf/Makefile.mips Tue Jun 05 11:39:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mips,v 1.67 2017/02/22 13:34:39 maya Exp $
+# $NetBSD: Makefile.mips,v 1.68 2018/06/05 11:39:49 christos Exp $
# Makefile for NetBSD
#
@@ -59,14 +59,14 @@
AFLAGS+= -msym32 -mabi=64
.endif
.if ${MACHINE_ARCH} == "mips64eb"
-LDFLAGS+= -m elf64btsmip
+LDFLAGS+= -Wl,-m,elf64btsmip
LINKFORMAT+= -m elf64btsmip
SYSTEM_LD_TAIL_EXTRA+= \
;echo ${OBJCOPY} -O elf32-ntradbigmips $@ $@.elf32; \
${OBJCOPY} -O elf32-ntradbigmips $@ $@.elf32
.endif
.if ${MACHINE_ARCH} == "mips64el"
-LDFLAGS+= -m elf64ltsmip
+LDFLAGS+= -Wl,-m,elf64ltsmip
LINKFORMAT+= -m elf64ltsmip
SYSTEM_LD_TAIL_EXTRA+= \
;echo ${OBJCOPY} -O elf32-ntradlittlemips $@ $@.elf32; \
Home |
Main Index |
Thread Index |
Old Index