Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/stand/bootblock/boot Compile boot.amiga witho...



details:   https://anonhg.NetBSD.org/src/rev/6a11633447a2
branches:  trunk
changeset: 365854:6a11633447a2
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Apr 29 06:48:22 2022 +0000

description:
Compile boot.amiga without -l option for gas(1).

Fix build failure due to relocation overflows for R_68K_PC16.

diffstat:

 sys/arch/amiga/stand/bootblock/boot/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 24fbf4f098af -r 6a11633447a2 sys/arch/amiga/stand/bootblock/boot/Makefile
--- a/sys/arch/amiga/stand/bootblock/boot/Makefile      Fri Apr 29 06:42:58 2022 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/Makefile      Fri Apr 29 06:48:22 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.59 2022/04/27 14:50:35 rin Exp $
+#      $NetBSD: Makefile,v 1.60 2022/04/29 06:48:22 rin Exp $
 
 .include <bsd.init.mk>
 .include <bsd.sys.mk>          # for HOST_SH
@@ -84,11 +84,11 @@
 INCPATH += -I${.CURDIR}/../../.. -I${.OBJDIR}
 INCPATH += -I${.CURDIR}/../elf2bb
 
-AFLAGS += -march=68030 -mcpu=68030 -l
-CAFLAGS += -Wa,-l -Wa,-march=68030 -Wa,-mcpu=68030 ${INCPATH}
+AFLAGS += -march=68030 -mcpu=68030
+CAFLAGS += -Wa,-march=68030 -Wa,-mcpu=68030 ${INCPATH}
 
 COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
-COPTIM+= -Wa,-l -m68060 -Wa,-march=68030 -Wa,-mcpu=68030 -fno-unwind-tables
+COPTIM+= -m68060 -Wa,-march=68030 -Wa,-mcpu=68030 -fno-unwind-tables
 CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS}
 CFLAGS+= -Werror
 CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith



Home | Main Index | Thread Index | Old Index