Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/stand Apply -fno-delete-null-pointer-checks so...



details:   https://anonhg.NetBSD.org/src/rev/69fe65b37aa1
branches:  trunk
changeset: 445824:69fe65b37aa1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Nov 13 21:22:37 2018 +0000

description:
Apply -fno-delete-null-pointer-checks so PAGE0 is handled correctly

netinstall.lif works again

diffstat:

 sys/arch/hppa/stand/Makefile.buildboot |  4 ++--
 sys/arch/hppa/stand/xxboot/Makefile    |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 0699ae5ebfaa -r 69fe65b37aa1 sys/arch/hppa/stand/Makefile.buildboot
--- a/sys/arch/hppa/stand/Makefile.buildboot    Tue Nov 13 21:20:11 2018 +0000
+++ b/sys/arch/hppa/stand/Makefile.buildboot    Tue Nov 13 21:22:37 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.buildboot,v 1.5 2018/11/13 21:20:11 skrll Exp $
+#      $NetBSD: Makefile.buildboot,v 1.6 2018/11/13 21:22:37 skrll Exp $
 
 NOPIE=yes
 NOSSP=yes
@@ -32,7 +32,7 @@
 
 CPPFLAGS+=     -nostdinc -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. \
                -I${.OBJDIR}
-CFLAGS+=       -Os -msoft-float -Wno-main
+CFLAGS+=       -Os -fno-delete-null-pointer-checks -msoft-float -Wno-main
 CFLAGS+=       -fno-builtin
 CFLAGS+=       -mdisable-fpregs -mfast-indirect-calls -mpa-risc-1-0
 
diff -r 0699ae5ebfaa -r 69fe65b37aa1 sys/arch/hppa/stand/xxboot/Makefile
--- a/sys/arch/hppa/stand/xxboot/Makefile       Tue Nov 13 21:20:11 2018 +0000
+++ b/sys/arch/hppa/stand/xxboot/Makefile       Tue Nov 13 21:22:37 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2016/02/21 14:50:05 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2018/11/13 21:22:38 skrll Exp $
 
 NODEBUG=yes
 PROG=  xxboot
@@ -15,7 +15,7 @@
 # ANSI C feature prevents from being relocatable
 #CPPFLAGS+=    -traditional    # would be best
 CPPFLAGS+=     -Dconst=
-COPTS+=                -Os -funsigned-char -mdisable-fpregs -mpa-risc-1-0
+COPTS+=                -Os -fno-delete-null-pointer-checks -funsigned-char -mdisable-fpregs -mpa-risc-1-0
 
 .include <bsd.own.mk>
 



Home | Main Index | Thread Index | Old Index