| History log of /src/sys/lib/libsa/Makefile |
| Revision | | Date | Author | Comments |
| 1.98 |
| 29-Jun-2024 |
rin | libsa: Hook getopt.c
Its declaration (as well as `optarg` et al.) is already in stand.h.
|
| 1.97 |
| 07-Oct-2023 |
rin | Drop -O[01] hacks for vax; no longer necessary for patched GCC 10
PR port-vax/57646: Import major vax toolchain fix by Kalvis Duckmanton
XXXRO: GCC 12 may require hacks for a while, but it turned out that GCC 12 should be treated differently from older versions; a lot of new files need -O[01] flags, while some may no longer require it.
I will take a look later.
Note that these hacks are not required if Kalvis's patches for GCC 12 are applied.
Keep doc/HACKS entries for a while (will be sync with update for GCC 12).
diff --git a/crypto/external/bsd/openssh/lib/Makefile b/crypto/external/bsd/openssh/lib/Makefile index 96a93f5e396..4e38be1b642 100644 --- a/crypto/external/bsd/openssh/lib/Makefile +++ b/crypto/external/bsd/openssh/lib/Makefile @@ -117,12 +117,6 @@ COPTS.${f}.c+= -Wno-pointer-sign # XXX COPTS.channels.c+= -fno-strict-aliasing
-# XXX -.if ${MACHINE} == "vax" -COPTS.poly1305.c+= -O0 -COPTS.umac.c+= -O0 -.endif - COPTS.hostfile.c+= ${CC_WNO_FORMAT_TRUNCATION} COPTS.sshkey.c+= ${CC_WNO_FORMAT_TRUNCATION} COPTS.cipher.c+= -Wno-error=deprecated-declarations diff --git a/distrib/utils/x_ping/Makefile b/distrib/utils/x_ping/Makefile index f1c452a0d60..8ee77580a3f 100644 --- a/distrib/utils/x_ping/Makefile +++ b/distrib/utils/x_ping/Makefile @@ -12,10 +12,6 @@ CPPFLAGS+= -I${SRCDIR} -DCRUNCHOPS DPADD= ${LIBM} LDADD= -lm
-.if ${MACHINE_ARCH} == "vax" -COPTS.ping.c=-O0 -.endif - .include <bsd.prog.mk>
.PATH: ${SRCDIR} diff --git a/external/apache2/argon2/lib/libargon2/Makefile.inc b/external/apache2/argon2/lib/libargon2/Makefile.inc index d3f4470c6c7..6a1dd146d7d 100644 --- a/external/apache2/argon2/lib/libargon2/Makefile.inc +++ b/external/apache2/argon2/lib/libargon2/Makefile.inc @@ -16,7 +16,3 @@ CFLAGS+= -pthread LDADD+=-lpthread DPADD+=${LIBPTHREAD} .endif - -.if ${MACHINE} == "vax" -COPTS.blake2b.c+= -O0 -.endif diff --git a/external/bsd/jemalloc/lib/Makefile.inc b/external/bsd/jemalloc/lib/Makefile.inc index 2f524358f46..d5da774f293 100644 --- a/external/bsd/jemalloc/lib/Makefile.inc +++ b/external/bsd/jemalloc/lib/Makefile.inc @@ -53,12 +53,6 @@ COPTS.ctl.c+=-Wno-error=stack-protector COPTS.stats.c+=-Wno-error=stack-protector COPTS.tcache.c+=-Wno-error=stack-protector
-.if ${MACHINE_ARCH} == "vax" -# in merge_overlapping_regs, at regrename.c -COPTS.arena.c+=-O0 -COPTS.extent.c+=-O0 -.endif - SRCS+=${JEMALLOC_SRCS}
jemalloc.d jemalloc.pico jemalloc.o jemalloc.ln jemalloc.po jemalloc.go: \ diff --git a/external/bsd/mdocml/lib/libmandoc/Makefile b/external/bsd/mdocml/lib/libmandoc/Makefile index 40d7e29ae88..dfd3077a2c7 100644 --- a/external/bsd/mdocml/lib/libmandoc/Makefile +++ b/external/bsd/mdocml/lib/libmandoc/Makefile @@ -39,11 +39,6 @@ tbl_opts.c
MAN= mandoc.3
-# XXX -.if ${MACHINE} == "vax" -COPTS.mdoc_macro.c+=-O0 -.endif - COPTS.man_validate.c+=-Wno-error=array-bounds
.include <bsd.lib.mk> diff --git a/external/gpl3/binutils.old/lib/libbfd/Makefile b/external/gpl3/binutils.old/lib/libbfd/Makefile index 03477232b55..74a354532fa 100644 --- a/external/gpl3/binutils.old/lib/libbfd/Makefile +++ b/external/gpl3/binutils.old/lib/libbfd/Makefile @@ -41,10 +41,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${BFD_MACHINE_ARCH} -I${DIST}/include -I. \ -DDEBUGDIR=\"${DEBUGDIR}\" -DLIBDIR=\"${LIBDIR}\" \ -DBINDIR=\"${BINDIR}\"
-.if (${BFD_MACHINE_ARCH} == "vax") -CPPFLAGS.elf.c += -O0 -.endif - COPTS.pei-x86_64.c+= -Wno-stack-protector COPTS.elfxx-mips.c+= -Wno-stack-protector COPTS.elf.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-overflow :} diff --git a/external/gpl3/binutils/lib/libbfd/Makefile b/external/gpl3/binutils/lib/libbfd/Makefile index 00cb2b20081..a3f0c25fd35 100644 --- a/external/gpl3/binutils/lib/libbfd/Makefile +++ b/external/gpl3/binutils/lib/libbfd/Makefile @@ -41,10 +41,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${BFD_MACHINE_ARCH} -I${DIST}/include -I. \ -DDEBUGDIR=\"${DEBUGDIR}\" -DLIBDIR=\"${LIBDIR}\" \ -DBINDIR=\"${BINDIR}\"
-.if (${BFD_MACHINE_ARCH} == "vax") -CPPFLAGS.elf.c += -O0 -.endif - COPTS.pei-x86_64.c+= -Wno-stack-protector COPTS.elfxx-mips.c+= -Wno-stack-protector COPTS.elf.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-overflow :} diff --git a/external/gpl3/gcc.old/lib/Makefile.sanitizer b/external/gpl3/gcc.old/lib/Makefile.sanitizer index efd36ae4bee..5173a5109a0 100644 --- a/external/gpl3/gcc.old/lib/Makefile.sanitizer +++ b/external/gpl3/gcc.old/lib/Makefile.sanitizer @@ -88,22 +88,3 @@ COPTS+=-fno-builtin -fno-exceptions -fno-rtti -funwind-tables
# Can't profile without it` #-fomit-frame-pointer - -.if ${MACHINE_ARCH} == "vax" -COPTS.sanitizer_allocator.cc += -O1 -COPTS.sanitizer_common.cc += -O1 -COPTS.sanitizer_common_libcdep.cc += -O1 -COPTS.sanitizer_coverage_libcdep.cc += -O1 -COPTS.sanitizer_coverage_mapping_libcdep.cc += -O1 -COPTS.sanitizer_deadlock_detector1.cc += -O1 -COPTS.sanitizer_mac.cc += -O1 -COPTS.sanitizer_netbsd.cc += -O1 -COPTS.sanitizer_posix.cc += -O1 -COPTS.sanitizer_printf.cc += -O1 -COPTS.sanitizer_procmaps_common.cc += -O1 -COPTS.sanitizer_stackdepot.cc += -O1 -COPTS.sanitizer_symbolizer_libcdep.cc += -O1 -COPTS.sanitizer_symbolizer_report.cc += -O1 -COPTS.ubsan_diag.cc += -O1 -COPTS.ubsan_init.cc += -O1 -.endif diff --git a/external/gpl3/gcc.old/lib/libasan/Makefile b/external/gpl3/gcc.old/lib/libasan/Makefile index 1e6f9608abe..3da7bbf2f58 100644 --- a/external/gpl3/gcc.old/lib/libasan/Makefile +++ b/external/gpl3/gcc.old/lib/libasan/Makefile @@ -49,14 +49,6 @@ LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread CPPFLAGS+=-DCAN_SANITIZE_UB=0
-.if ${MACHINE_ARCH} == "vax" -COPTS.asan_allocator.cc += -O1 -COPTS.asan_report.cc += -O1 -COPTS.sanitizer_file.cc += -O1 -COPTS.ubsan_diag.cc += -O1 -COPTS.ubsan_init.cc += -O1 -.endif - .if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" COPTS.asan_interceptors.cc += -O1 .endif diff --git a/external/gpl3/gcc.old/lib/liblsan/Makefile b/external/gpl3/gcc.old/lib/liblsan/Makefile index 4578544a9a8..ddb7981077c 100644 --- a/external/gpl3/gcc.old/lib/liblsan/Makefile +++ b/external/gpl3/gcc.old/lib/liblsan/Makefile @@ -16,11 +16,6 @@ LSAN_SRCS+= \ lsan_linux.cc \ lsan_thread.cc
-.if ${MACHINE_ARCH} == "vax" -COPTS.lsan_allocator.cc += -O1 -COPTS.sanitizer_file.cc += -O1 -.endif - LIB= lsan SRCS+= ${LSAN_SRCS} LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm diff --git a/external/gpl3/gcc.old/lib/libubsan/Makefile b/external/gpl3/gcc.old/lib/libubsan/Makefile index 2e2faca7b1c..9de82550d14 100644 --- a/external/gpl3/gcc.old/lib/libubsan/Makefile +++ b/external/gpl3/gcc.old/lib/libubsan/Makefile @@ -26,10 +26,6 @@ UBSAN_SRCS= \ COPTS.${_s}.cc+=-frtti .endfor
-.if ${MACHINE_ARCH} == "vax" -COPTS.sanitizer_file.cc += -O1 -.endif - LIB= ubsan SRCS+= ${UBSAN_SRCS} LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm diff --git a/external/gpl3/gcc.old/usr.bin/cc1/Makefile b/external/gpl3/gcc.old/usr.bin/cc1/Makefile index c55e292ee8e..ff12a5be524 100644 --- a/external/gpl3/gcc.old/usr.bin/cc1/Makefile +++ b/external/gpl3/gcc.old/usr.bin/cc1/Makefile @@ -46,17 +46,6 @@ CPPFLAGS.default-c.c+= -I${BACKENDOBJ} BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-c.cc sh-c.c .endif
-.if ${MACHINE_CPU} == "vax" -COPTS.c-decl.c+=-O0 -COPTS.c-typeck.c+=-O0 -COPTS.c-array-notation.c+=-O0 -COPTS.c-common.c+=-O0 -COPTS.c-ada-spec.c+=-O0 -COPTS.cilk.c+=-O0 -COPTS.c-ubsan.c+=-O0 -COPTS.cc1-checksum.c+=-O0 -.endif - .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel" COPTS.c-common.c+=-O3 .endif diff --git a/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile b/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile index 3123ee0d60b..aab82ad3448 100644 --- a/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile +++ b/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile @@ -44,16 +44,8 @@ COPTS.objc-act.c+= -Wno-stack-protector COPTS.objc-gnu-runtime-abi-01.c+= -Wno-stack-protector COPTS.objc-next-runtime-abi-01.c+= -Wno-stack-protector
-.if ${MACHINE_ARCH} == "vax" -COPTS.c-decl.c+=-O0 -COPTS.c-typeck.c+=-O0 -COPTS.c-array-notation.c+=-O0 -COPTS.c-common.c+=-O0 -COPTS.c-ada-spec.c+=-O0 -COPTS.cilk.c+=-O0 -COPTS.c-ubsan.c+=-O0 -COPTS.cc1obj-checksum.c+=-O0 -.endif +COPTS.c-cppbuiltin.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :} +COPTS.c-typeck.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel" COPTS.c-common.c+=-O3 diff --git a/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile b/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile index b9c108251c5..e04e8fc7f53 100644 --- a/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile +++ b/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile @@ -69,18 +69,6 @@ COPTS.objc-act.c+= -Wno-stack-protector COPTS.objc-gnu-runtime-abi-01.c+= -Wno-stack-protector COPTS.objc-next-runtime-abi-01.c+= -Wno-stack-protector
-.if ${MACHINE_ARCH} == "vax" -COPTS.c-decl.c+=-O0 -COPTS.c-typeck.c+=-O0 -COPTS.c-array-notation.c+=-O0 -COPTS.c-common.c+=-O0 -COPTS.c-ada-spec.c+=-O0 -COPTS.cilk.c+=-O0 -COPTS.c-ubsan.c+=-O0 -COPTS.cc1obj-checksum.c+=-O0 -COPTS.decl.c+=-O0 -.endif - .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel" COPTS.c-common.c+=-O3 .endif diff --git a/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile b/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile index 7936efd3a5e..7c54559e21a 100644 --- a/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile +++ b/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile @@ -31,23 +31,6 @@ CHECKSUM_OBJS= ${LIBBACKTRACEOBJ}/libbacktrace.a \
CFLAGS+= -Wno-error=stack-protector
-.if ${MACHINE_ARCH} == "vax" -COPTS.call.c+=-O0 -COPTS.decl.c+=-O0 -COPTS.typeck2.c+=-O0 -COPTS.class.c+=-O0 -COPTS.typeck.c+=-O0 -COPTS.init.c+=-O0 -COPTS.semantics.c+=-O0 -COPTS.mangle.c+=-O0 -COPTS.constexpr.c+=-O0 -COPTS.c-common.c+=-O0 -COPTS.c-ada-spec.c+=-O0 -COPTS.cilk.c+=-O0 -COPTS.c-ubsan.c+=-O0 -COPTS.cc1plus-checksum.c+=-O0 -.endif - .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel" COPTS.c-common.c+=-O3 .endif diff --git a/external/gpl3/gcc.old/usr.bin/gcc/Makefile b/external/gpl3/gcc.old/usr.bin/gcc/Makefile index 7a66d77ffc7..a5a4b1c3adf 100644 --- a/external/gpl3/gcc.old/usr.bin/gcc/Makefile +++ b/external/gpl3/gcc.old/usr.bin/gcc/Makefile @@ -25,9 +25,6 @@ ${SRCS}: ${GCCARCH}/defs.mk .include <bsd.info.mk>
COPTS.gcc.c= -Wno-stack-protector -.if ${MACHINE_ARCH} == "vax" -COPTS.dse.c= -O1 -.endif
.PATH: ${DIST}/gcc ${DIST}/gcc/doc ${DIST}/gcc/c
diff --git a/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile b/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile index 751d1513eec..33aeb1c9898 100644 --- a/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile +++ b/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile @@ -14,10 +14,6 @@ SRCS= decNumber.c decContext.c decimal32.c decimal64.c decimal128.c CPPFLAGS+= -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} -I${DIST}/libdecnumber CPPFLAGS+= -I${DIST}/libgcc
-.if ${MACHINE_ARCH} == "vax" -COPTS.decNumber.c=-O0 -.endif - .include <bsd.lib.mk>
# Force using C++ for this diff --git a/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile b/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile index 90f44a9fcf6..fd251464fb7 100644 --- a/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile +++ b/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile @@ -24,11 +24,6 @@ COPTS.lto-common.c+= -Wno-stack-protector .include "../Makefile.backtrace" .include "../Makefile.libdecnumber"
-.if ${MACHINE_ARCH} == "vax" -COPTS.lto-lang.c+=-O0 -COPTS.lto-symtab.c+=-O0 -.endif - LDADD+= ${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm DPADD+= ${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
diff --git a/external/gpl3/gcc.old/usr.bin/lto1/Makefile b/external/gpl3/gcc.old/usr.bin/lto1/Makefile index 4c49161a64c..340d3c6124f 100644 --- a/external/gpl3/gcc.old/usr.bin/lto1/Makefile +++ b/external/gpl3/gcc.old/usr.bin/lto1/Makefile @@ -21,11 +21,6 @@ COPTS.lto-common.c+= -Wno-stack-protector .include "../Makefile.libcpp" .include "../Makefile.libdecnumber"
-.if ${MACHINE_ARCH} == "vax" -COPTS.lto-lang.c+=-O0 -COPTS.lto-symtab.c+=-O0 -.endif - LDADD+= ${LIBIBERTYOBJ}/libiberty.a DPADD+= ${LIBIBERTYOBJ}/libiberty.a LDADD+= ${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm diff --git a/external/gpl3/gdb.old/lib/libdecnumber/Makefile b/external/gpl3/gdb.old/lib/libdecnumber/Makefile index bcd4ae5b222..ce28811526b 100644 --- a/external/gpl3/gdb.old/lib/libdecnumber/Makefile +++ b/external/gpl3/gdb.old/lib/libdecnumber/Makefile @@ -18,10 +18,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \
SRCS= ${G_OBJS:.o=.c} ${G_SOURCES}
-.if ${MACHINE_ARCH} == "vax" -COPTS.decNumber.c=-O0 -.endif - .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd
.include <bsd.lib.mk> diff --git a/external/gpl3/gdb/lib/libdecnumber/Makefile b/external/gpl3/gdb/lib/libdecnumber/Makefile index c95d36e3dfa..e3169865304 100644 --- a/external/gpl3/gdb/lib/libdecnumber/Makefile +++ b/external/gpl3/gdb/lib/libdecnumber/Makefile @@ -18,10 +18,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \
SRCS= ${G_OBJS:.o=.c} ${G_SOURCES}
-.if ${MACHINE_ARCH} == "vax" -COPTS.decNumber.c=-O0 -.endif - .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd ${DIST}/libdecnumber/bid
.include <bsd.lib.mk> diff --git a/external/gpl3/gdb/lib/libgdb/Makefile b/external/gpl3/gdb/lib/libgdb/Makefile index b87a515d13a..c118c363975 100644 --- a/external/gpl3/gdb/lib/libgdb/Makefile +++ b/external/gpl3/gdb/lib/libgdb/Makefile @@ -66,12 +66,6 @@ CFLAGS:= ${CXXFLAGS} -std=gnu++17 -Wno-error=stack-protector
ada-exp.c: ada-lex.c
-.if ${MACHINE} == "vax" -. if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 8 -COPTS.read.c+= -O0 -. endif -.endif - # These are generated by implicit rules and are not easy to generate CLEANDIRFILES+= \ ada-exp.c ada-lex.c \ diff --git a/external/mit/xorg/lib/gallium.old/Makefile b/external/mit/xorg/lib/gallium.old/Makefile index 55b2fe3d1c1..bfa40c8974f 100644 --- a/external/mit/xorg/lib/gallium.old/Makefile +++ b/external/mit/xorg/lib/gallium.old/Makefile @@ -1211,10 +1211,6 @@ SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHL COPTS+= ${${ACTIVE_CC} == "clang":? -Wa,-Av8plus :} .endif
-.if ${MACHINE_ARCH} == "vax" -COPTS.nir.c += -O1 -.endif - # XXXGCC12 .if ${MACHINE_ARCH} == "m68k" COPTS.st_glsl_to_tgsi.cpp += -O1 diff --git a/external/mit/xorg/lib/gallium/Makefile b/external/mit/xorg/lib/gallium/Makefile index 6778a8c11c8..9f1422080fe 100644 --- a/external/mit/xorg/lib/gallium/Makefile +++ b/external/mit/xorg/lib/gallium/Makefile @@ -1428,10 +1428,6 @@ SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHL COPTS+= ${${ACTIVE_CC} == "clang":? -Wa,-Av8plus :} .endif
-.if ${MACHINE_ARCH} == "vax" -COPTS.nir.c += -O1 -.endif - COPTS.u_atomic.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-builtin-declaration-mismatch :}
.include <bsd.lib.mk> diff --git a/external/mit/xorg/lib/libX11/Makefile.libx11 b/external/mit/xorg/lib/libX11/Makefile.libx11 index e103d9ace12..0e55c2a4732 100644 --- a/external/mit/xorg/lib/libX11/Makefile.libx11 +++ b/external/mit/xorg/lib/libX11/Makefile.libx11 @@ -471,11 +471,6 @@ COPTS.OpenDis.c+= -Wno-error # XXX xf86bigfstr.h COPTS.XlibInt.c+= -Wno-error # XXX xcmiscstr.h COPTS.XKBBind.c+= -Wno-deprecated-declarations # uses XKeycodeToKeysym
-# XXX -.if ${MACHINE} == "vax" -COPTS.lcWrap.c+= -O0 -.endif - CWARNFLAGS.clang+= -Wno-string-plus-int
.include "${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys/Makefile.makekeys" diff --git a/games/gomoku/Makefile b/games/gomoku/Makefile index e86a63aaea7..678537066ed 100644 --- a/games/gomoku/Makefile +++ b/games/gomoku/Makefile @@ -9,10 +9,6 @@ LDADD= -lcurses -lterminfo HIDEGAME=hidegame CPPFLAGS+= ${DEBUG:D-DDEBUG}
-.if ${MACHINE} == "vax" -COPTS.pickmove.c += -O0 -.endif - #WARNS= 6 # would produce warnings about small integer types LINTFLAGS+= -w # treat warnings as errors LINTFLAGS+= -T # strict bool mode diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile index e9c53f23ae5..b919dac17c6 100644 --- a/games/phantasia/Makefile +++ b/games/phantasia/Makefile @@ -52,7 +52,3 @@ map: map.c ./map | plot > /dev/tty
.include <bsd.prog.mk> - -.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax" -COPTS.misc.c+= -O0 -.endif diff --git a/lib/i18n_module/UTF7/Makefile b/lib/i18n_module/UTF7/Makefile index 712c1515d42..7136f7f0cc3 100644 --- a/lib/i18n_module/UTF7/Makefile +++ b/lib/i18n_module/UTF7/Makefile @@ -3,6 +3,3 @@ SRCPRE=citrus_ .include <bsd.lib.mk>
-.if ${MACHINE_ARCH} == "vax" && defined(HAVE_GCC) -COPTS.citrus_utf7.c+= -O0 -.endif diff --git a/lib/libbz2/Makefile b/lib/libbz2/Makefile index b2aea1e04b0..e60a2862d48 100644 --- a/lib/libbz2/Makefile +++ b/lib/libbz2/Makefile @@ -15,11 +15,6 @@ SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \ INCS= bzlib.h INCSDIR= /usr/include
-# XXX huffman.c gets mis-compiled with 2.95.3 -.if ${MACHINE_ARCH} == "vax" -COPTS+= -O0 -.endif - COPTS+= ${CC_WNO_IMPLICIT_FALLTHROUGH}
# XXX blocksort.c gets mis-compiled with 4.1 diff --git a/lib/libc/gdtoa/Makefile.inc b/lib/libc/gdtoa/Makefile.inc index 132686fc33d..609da919803 100644 --- a/lib/libc/gdtoa/Makefile.inc +++ b/lib/libc/gdtoa/Makefile.inc @@ -44,10 +44,3 @@ SRCS+= dmisc.c \ .if ${MACHINE_ARCH} != "vax" SRCS+= strtord.c .endif - -# XXX revisit with newer GCC. -# Ensure numbers like 0xffff319f5fa95963 print correctly -# ("999999999999999.98", not garbage like "?A>C>@>C:BA;A><.:<") -.if ${MACHINE_ARCH} == "vax" && defined(HAVE_GCC) -COPTS.misc.c+= -O0 -.endif diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index cb3f89d6d09..e9c8be820da 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -30,9 +30,6 @@ SRCS+= crypt-argon2.c SRCS+= ${src} COPTS.${src}+= -fvisibility=hidden . endfor -. if ${MACHINE} == "vax" -COPTS.blake2b.c+= -O0 -. endif .endif
WARNS?= 5 diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile index f5baae1e883..24f7e1121e5 100644 --- a/libexec/ld.elf_so/Makefile +++ b/libexec/ld.elf_so/Makefile @@ -141,10 +141,6 @@ CPPFLAGS+= -DRTLD_DEFAULT_LIBRARY_PATH=\"${SHLIBDIR}:${LIBDIR}\" COPTS.rtld.c+= -Wno-stack-protector COPTS.symbol.c+=-Wno-stack-protector
-.if ${MACHINE_CPU} == "vax" -COPTS.rtld.c+= -O0 -.endif - LDADD+= -Wl,--version-script=${.CURDIR}/symbols.map LDADD+= -L${CLIBOBJ} -L${DESTDIR}${LIBDIR} .if ${MKPICLIB} != "no" diff --git a/sbin/fsck_ffs/Makefile.common b/sbin/fsck_ffs/Makefile.common index 765638b2801..824e3bf2628 100644 --- a/sbin/fsck_ffs/Makefile.common +++ b/sbin/fsck_ffs/Makefile.common @@ -36,7 +36,3 @@ COPTS.ffs_appleufs.c+= -Wno-pointer-sign .if ${MACHINE_ARCH} == "m68000" COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs .endif -.if ${MACHINE_ARCH} == "vax" -COPTS.pass1.c+= -O0 -COPTS.inode.c+= -O0 -.endif diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile index c039f73a1eb..3b0331e5880 100644 --- a/sbin/fsdb/Makefile +++ b/sbin/fsdb/Makefile @@ -39,12 +39,6 @@ COPTS.${f}.c+= -Wno-pointer-sign COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs .endif
-.if ${MACHINE_ARCH} == "vax" -COPTS.pass1.c+= -O0 -COPTS.inode.c+= -O0 -COPTS.fsdb.c+= -O0 -.endif - CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
.include <bsd.prog.mk> diff --git a/sbin/newfs_ext2fs/Makefile b/sbin/newfs_ext2fs/Makefile index 40a44b9a038..ecfdbff4d3a 100644 --- a/sbin/newfs_ext2fs/Makefile +++ b/sbin/newfs_ext2fs/Makefile @@ -20,8 +20,4 @@ DPADD+=${LIBPROP}
.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
-.if ${MACHINE_ARCH} == "vax" -COPTS.mke2fs.c=-O0 -.endif - .include <bsd.prog.mk> diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile index 4f33501ea7a..1f7f56e3ea5 100644 --- a/sbin/ping/Makefile +++ b/sbin/ping/Makefile @@ -12,8 +12,4 @@ CPPFLAGS+= -DIPSEC LDADD+= -lipsec DPADD+= ${LIBIPSEC}
-.if ${MACHINE_ARCH} == "vax" -COPTS.ping.c=-O0 -.endif - .include <bsd.prog.mk> diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax index cf095d54a86..c483eaa644a 100644 --- a/sys/arch/vax/conf/Makefile.vax +++ b/sys/arch/vax/conf/Makefile.vax @@ -34,7 +34,6 @@ GENASSYM_CONF= ${VAX}/vax/genassym.cf CPPFLAGS+= -D_VAX_INLINE_ AFLAGS+= -x assembler-with-cpp -fno-pic CFLAGS+= -fno-pic -COPTS.wsmux.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -O1 :}
## diff --git a/sys/lib/libsa/Makefile b/sys/lib/libsa/Makefile index 718c97ce857..4ef3840c753 100644 --- a/sys/lib/libsa/Makefile +++ b/sys/lib/libsa/Makefile @@ -96,7 +96,3 @@ SRCS+= ufs.c lib${LIB}.o:: ${OBJS:O} __buildstdlib
CPPFLAGS+= -Wno-pointer-sign - -.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax" -COPTS.bootp.c+= -O0 -.endif diff --git a/sys/lib/libz/Makefile b/sys/lib/libz/Makefile index 6945c0da6c6..61fb7d4f652 100644 --- a/sys/lib/libz/Makefile +++ b/sys/lib/libz/Makefile @@ -25,7 +25,3 @@ CLEANFILES+= lib${LIB}.o .include <bsd.lib.mk>
lib${LIB}.o:: ${OBJS:O} __buildstdlib - -.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax" -COPTS.inftrees.c+= -O0 -.endif diff --git a/sys/modules/lfs/Makefile b/sys/modules/lfs/Makefile index 962538821a5..ea8f187e160 100644 --- a/sys/modules/lfs/Makefile +++ b/sys/modules/lfs/Makefile @@ -18,9 +18,4 @@ SRCS+= ulfs_bmap.c ulfs_dirhash.c ulfs_inode.c ulfs_lookup.c \
WARNS= 3
-.if ${MACHINE} == "vax" -# GCC 6.5 and 7.4 cannot compile this with -DDIAGNOSTIC and -O2/-O1 -COPTS.lfs_inode.c+= -O0 -.endif - .include <bsd.kmodule.mk> diff --git a/sys/rump/fs/lib/liblfs/Makefile b/sys/rump/fs/lib/liblfs/Makefile index abade3767d9..68b74c62502 100644 --- a/sys/rump/fs/lib/liblfs/Makefile +++ b/sys/rump/fs/lib/liblfs/Makefile @@ -17,9 +17,6 @@ SRCS+= ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c \
CFLAGS+= -DLFS_KERNEL_RFW -.if ${MACHINE_ARCH} == "vax" -COPTS.lfs_inode.c+=-O0 -.endif
.include <bsd.lib.mk> .include <bsd.klinks.mk> diff --git a/usr.sbin/mtrace/Makefile b/usr.sbin/mtrace/Makefile index aef09db6198..9c125c15265 100644 --- a/usr.sbin/mtrace/Makefile +++ b/usr.sbin/mtrace/Makefile @@ -12,10 +12,6 @@ PROG= mtrace SRCS= igmp.c inet.c kern.c mtrace.c MAN= mtrace.8
-.if ${MACHINE_ARCH} == "vax" -COPTS.mtrace.c=-O0 -.endif - BINMODE=4555 BINOWN= root
diff --git a/external/gpl3/gcc.old/usr.bin/backend/Makefile b/external/gpl3/gcc.old/usr.bin/backend/Makefile index d69a26fe619..99e881c783d 100644 --- a/external/gpl3/gcc.old/usr.bin/backend/Makefile +++ b/external/gpl3/gcc.old/usr.bin/backend/Makefile @@ -533,68 +533,9 @@ COPTS.insn-recog.c+=-Wno-error
.if ${GCC_MACHINE_ARCH} == "vax" CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH} -COPTS.builtins.c+=-O0 -COPTS.calls.c+=-O0 -COPTS.convert.c+=-O0 -COPTS.data-streamer-out.c+=-O0 -COPTS.dse.c+=-O0 # XXX port-vax/51967 -COPTS.dwarf2out.c+=-O0 -COPTS.expmed.c+=-O0 -COPTS.expr.c+=-O0 -Wno-error=tautological-compare -COPTS.fixed-value.c+=-O0 -COPTS.fold-const.c+=-O0 -COPTS.generic-match.c+=-O0 -COPTS.gimple-fold.c+=-O0 -COPTS.gimple-match.c+=-O0 -COPTS.gimple-ssa-strength-reduction.c+=-O0 -COPTS.gimple-ssa-warn-restrict.c+=-O0 -COPTS.gimple.c+=-O0 -COPTS.internal-fn.c+=-O0 -COPTS.lto-streamer-out.c+=-O0 -COPTS.omp-low.c+=-O0 -COPTS.predict.c+=-O0 -COPTS.range-op.cc+=-O0 -COPTS.recog.c+=-O0 -COPTS.sanopt.c+=-O0 -COPTS.stmt.c+=-O0 -COPTS.stor-layout.c+=-O0 -COPTS.targhooks.c+=-O0 -COPTS.tree-affine.c+=-O0 -COPTS.tree-cfg.c+=-O0 -COPTS.tree-data-ref.c+=-O0 -COPTS.tree-eh.c+=-O0 -COPTS.tree-if-conv.c+=-O0 -COPTS.tree-object-size.c+=-O0 -COPTS.tree-parloops.c+=-O0 -COPTS.tree-predcom.c+=-O0 -COPTS.tree-pretty-print.c+=-O0 -COPTS.tree-ssa-alias.c+=-O0 -COPTS.tree-ssa-ccp.c+=-O0 -COPTS.tree-ssa-forwprop.c+=-O0 -COPTS.tree-ssa-loop-ivopts.c+=-O0 -COPTS.tree-ssa-loop-manip.c+=-O0 -COPTS.tree-ssa-loop-niter.c+=-O0 -COPTS.tree-ssa-math-opts.c+=-O0 -COPTS.tree-ssa-phiopt.c+= -O0 -COPTS.tree-ssa-pre.c+=-O0 -COPTS.tree-ssa-reassoc.c+=-O0 -COPTS.tree-ssa-strlen.c+=-O0 -COPTS.tree-ssa-uninit.c+=-O0 -COPTS.tree-ssa.c+=-O0 -COPTS.tree-switch-conversion.c+=-O0 -COPTS.tree-vect-data-refs.c+=-O0 -COPTS.tree-vect-loop-manip.c+=-O0 -COPTS.tree-vect-loop.c+=-O0 -COPTS.tree-vect-patterns.c+=-O0 -COPTS.tree-vect-stmts.c+=-O0 -COPTS.tree-vrp.c+=-O0 -COPTS.tree.c+=-O0 -COPTS.ubsan.c+=-O0 -COPTS.varasm.c+=-O0 -COPTS.vr-values.c+=-O0 -COPTS.web.c+=-O0 -COPTS.wide-int-range.cc+=-O0 -COPTS.wide-int.cc+=-O0 + +COPTS.expmed.c+=-Wno-error=tautological-compare +COPTS.expr.c+=-Wno-error=tautological-compare .else COPTS.tree.c= ${${ACTIVE_CC} == "clang" :? -O0 :} .endif
|
| 1.96 |
| 30-Aug-2023 |
christos | We don't want SSP/FORTIFY here.
|
| 1.95 |
| 27-May-2021 |
mrg | branches: 1.95.12; add bi-endian support to the libsa ufs reader and enable it in efiboot.
ffs frontends to "ufs.c" now also define ufs_dinode_swap, ufs_indp_swap, and FS_MAGIC (moved from ufs.c #if segments.) these are used to call the right (32/64 bit) ffsv1/v2 version.
ufs.c 'struct file' gains f_swapped member. accessors for d_magic, d_reclen, and d_ino are introduced (they need to be swapped.) sfter reading an inode from disk, read_inode() may call ufs_dinode_swap(). indirect block number and caches may be swapped.
error handling in ffs_find_superblock() is cleaned up. (size is slightly reduced on some ports with this part.)
defaults for new defines added to ufs.c. (XXX: we build ufs.c but i think all the consumers don't use it, and we can stop building it.)
LFS support is not included.
add a cut-down copy of ffs_bswap.c from the kernel.
also enable bi-endian disklabel support in efiboot.
most ports build and sizes compared for platforms that don't enable this code and all but one saw reduced code size. booted several platforms with new boot code.
|
| 1.94 |
| 17-May-2021 |
mrg | move bi-endian disklabel support from the kernel and libsa into libkern.
- dkcksum() and dkcksum_sized() move from subr_disk.c and from libsa into libkern/dkcksum.c (which is missing _sized() version), using the version from usr.sbin/disklabel.
- swap_disklabel() moves from subr_disk_mbr.c into libkern, now called disklabel_swap(). (the sh3 version should be updated to use this.)
- DISKLABEL_EI becomes a first-class option with opt_disklabel.h.
- add libkern.h to libsa/disklabel.c.
this enables future work for bi-endian libsa/ufs.c (relevant for ffsv1, ffsv2, lfsv1, and lfsv2), as well as making it possible for ports not using subr_disk_mbr.c to include bi-endian disklabel support (which, afaict, includes any disk on mbr-supporting platforms that do not have an mbr as well as disklabel.)
builds successsfully on: alpha, i386, amd64, sun2, sun3, evbarm64, evbarm64-eb, sparc, and sparc64. tested in anita on i386 and sparc, testing in hardware on evbarm64*.
|
| 1.93 |
| 07-Sep-2020 |
mrg | branches: 1.93.6; 1.93.8; oops, move GCC_NO_ADDR_OF_PACKED_MEMBER into the right header.
|
| 1.92 |
| 07-Sep-2020 |
mrg | apply GCC_NO_ADDR_OF_PACKED_MEMBER
|
| 1.91 |
| 21-Jul-2019 |
rin | Add SA_ENABLE_BIENDIAN option, which enable us to load kernel image of opposite byte order (for arm EFI bootloader).
XXX Currently, it is restricted to load_elf*.c. It would be nice if we can recognize disklabel and filesystem of opposite byte order.
|
| 1.90 |
| 02-Apr-2019 |
christos | fix sign-compare and sign-passing errors.
|
| 1.89 |
| 31-Mar-2019 |
christos | fix warnings, printf formats, etc.
|
| 1.88 |
| 05-Jun-2018 |
christos | branches: 1.88.2; Use the standard build rules.
|
| 1.87 |
| 22-Mar-2016 |
mrg | branches: 1.87.16; remove a bunch of "@echo done" from the tail of rules. these messages were vaguely useful back when we didn't run make -j, but now you end up with a single line "done" every so often, with no idea what it is for. very few other targets claim they're done so just remove these.
|
| 1.86 |
| 07-Sep-2015 |
uebayasi | Order library object build.
|
| 1.85 |
| 07-Sep-2015 |
uebayasi | Sprinkle more done messages.
|
| 1.84 |
| 10-Aug-2014 |
isaki | branches: 1.84.4; Unify all arch/*/stand's atoi() to MI libsa. lib/libsa/atoi.c was separated from lib/libsa/bootcfg.c. PR/49084
|
| 1.83 |
| 28-Jun-2014 |
rtr | patch posted to tech-kern@ 2014/06/25 for review with minor changes resulting from feedback.
move multiple copies of code for parsing boot.cfg file from sparc, i386 and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic in addition to keeping sparc dispatch function while remaining consistent with boot.cfg(5).
previous sparc64 file format has been obsoleted but only used by boot CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.
exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per feedback from christos@
tested on amd64 & sparc64 but not zaurus.
|
| 1.82 |
| 14-Jun-2014 |
mrg | remove remaining makefile support for GCC < 45 that i found.
|
| 1.81 |
| 26-Mar-2014 |
christos | branches: 1.81.2; Remove {v,}sprintf
|
| 1.80 |
| 12-Jan-2014 |
tsutsui | Remove obsolete exec.c for a.out. It was superseded by loadfile() long ago.
|
| 1.79 |
| 21-Aug-2013 |
matt | Use LIBISPRIVATE?= yes
|
| 1.78 |
| 10-Aug-2012 |
joerg | branches: 1.78.2; 1.78.4; Deal with optional HAVE_GCC.
|
| 1.77 |
| 16-Jan-2012 |
christos | PR/45796: Evgeniy Ivanov minixfs3 support. Split out fn_match since we have 3 copies now.
|
| 1.76 |
| 25-Dec-2011 |
tsutsui | Apply the following patch submitted by Evgeniy Ivanov: http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html
- add 'ls' op to struct fs_ops to support ls command on each fs, enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes" in libsa - split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c) that opens the target fs and calls fs-depedent XXX_ls() functions - add a ls op for ext2fs (all other fs than ufs and ext2fs don't have actual ls ops yet) - replace existing MD ufs_ls() calls with this new MI ls()
The original patch was written for i386 and ext2fs. zaurus zboot has been tested by nonaka@. ews4800mips and x68k loaders have been tested by me (with several fixes). landisk might be okay since it was almost copied from i386.
XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to replace it with real fs ops like readdir if it's really worth XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
|
| 1.75 |
| 03-Jul-2011 |
mrg | branches: 1.75.2; 1.75.6; apply some -O0 with gcc 4.5 and vax.
|
| 1.74 |
| 20-Jun-2011 |
mrg | remove HAVE_GCC == 4 conditional
|
| 1.73 |
| 16-Jun-2011 |
joerg | Don't use C versions of memcmp, memcpy, memmove, memset and strchr on x86 for standalone code. The assembler versions are much smaller.
|
| 1.72 |
| 11-May-2011 |
zoltan | branches: 1.72.2; Separate the IP and UDP code paths inside libsa, so I can add HTTP booting later.
|
| 1.71 |
| 10-Feb-2010 |
martin | branches: 1.71.2; 1.71.4; Utility function to lookup a symbol value in an elf symbol table - allows, for example, a bootloader to access symbols in the just loaded kernel (or module).
|
| 1.70 |
| 25-Aug-2009 |
he | branches: 1.70.2; Uh, move loadfile_aout.c in under the check for ${SA_USE_LOADFILE} again, so that it's not unconditionally compiled, fixing the previous.
|
| 1.69 |
| 21-Aug-2009 |
he | If we're on mips, don't build exec.c or loadfile_aout.c, since they both deal with a.out format executables.
|
| 1.68 |
| 20-Mar-2009 |
tsutsui | Allow MD standalone Makefiles overriding MI libsa settings by SA_EXTRADIR variable passed via SAMISCMAKEFLAGS.
|
| 1.67 |
| 29-Aug-2008 |
gmcgarry | branches: 1.67.2; 1.67.8; Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
|
| 1.66 |
| 11-May-2008 |
mlelstv | branches: 1.66.4; There is also ARP_DEBUG for those who need it.
|
| 1.65 |
| 25-Mar-2008 |
christos | branches: 1.65.2; 1.65.4; 1.65.6; add bcopy and bzero for loadfile for now. Should get rid of it.
|
| 1.64 |
| 25-Mar-2008 |
christos | - use mem* instead of b* routines, and kill the b* routines. - use the mem* routines from libc. XXX: There will be some lossage, but I am fixing it.
|
| 1.63 |
| 14-Mar-2008 |
dsl | Add a strchr() - for dosfs in particular. The i386 asm version in src/common is rather larger than this one.
|
| 1.62 |
| 25-Feb-2008 |
tsutsui | Fix typo in comment.
|
| 1.61 |
| 08-Dec-2007 |
tsutsui | branches: 1.61.8; 1.61.12; ufs_ls.c doesn't belong to lfs.
|
| 1.60 |
| 01-Dec-2007 |
tsutsui | branches: 1.60.2; - build ext2fs.c - put SRCS per each file system.
|
| 1.59 |
| 12-May-2006 |
mrg | branches: 1.59.22; 1.59.32; 1.59.34; 1.59.40; apply -Wno-pointer-sign with GCC4.
|
| 1.58 |
| 24-Jan-2006 |
christos | branches: 1.58.2; 1.58.4; 1.58.6; 1.58.10; PR/32613: Yves-Emmanuel JUTARD: Incoherencies in file sys/lib/libsa/net.h - Make prototype of ether_sprintf() match the one in sys/net. - Rename in_cksum to ip_cksum and fix its prototype. in_cksum() operates on an mbuf and ip_cksum() operates on a plain buffer. We should not call functions that operate on different arguments the same name (this is not c++).
|
| 1.57 |
| 11-Dec-2005 |
christos | branches: 1.57.2; merge ktrace-lwp.
|
| 1.56 |
| 13-Jun-2005 |
junyoung | branches: 1.56.2; Remove bcmp(). Use memcmp() instead.
|
| 1.55 |
| 19-May-2004 |
abs | Add qsort to libsa (taken from sys/dev/vinum/vinumqsort.c) and use instead of bubblesort in acorn32 bootloader. Reduces time to sort memory on A710 equipped RiscPC from over twenty seconds to effectively instantaneous. Update boot version to 3.30
|
| 1.54 |
| 11-Apr-2003 |
dsl | branches: 1.54.2; 1.54.4; Build ffsv1 and ffsv2
|
| 1.53 |
| 12-Mar-2003 |
drochner | separate ether_sprintf() from the rest of ethernet support -- sometimes it makes sense to use the former w/o the latter (eg PXE)
|
| 1.52 |
| 23-Feb-2003 |
simonb | Add support for LFSv2 filesystems. From a libsa standpoint, LFSv1 and LFSv2 are treated as separate filesystem types for size considerations.
|
| 1.51 |
| 15-Mar-2002 |
simonb | Move files[] from globals.c to its own file. Including all of globals.o breaks the size limit for at least the pmax bootblocks.
Fixes PR port-pmax/15924 from Gregory McGarry.
|
| 1.50 |
| 17-Feb-2002 |
thorpej | Add a comment describing what SA_USE_LOADFILE is for.
|
| 1.49 |
| 12-Dec-2001 |
tv | MKfoo=no -> NOfoo
|
| 1.48 |
| 14-Nov-2001 |
tv | Undefine DESTDIR; we don't want the special DESTDIR <bsd.lib.mk> handling for kernel libraries.
XXX this build method should be replaced by something more sane
|
| 1.47 |
| 31-Oct-2001 |
thorpej | Split elf32 vs. elf64 handling in loadfile(), including support for each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
|
| 1.46 |
| 31-Oct-2001 |
thorpej | Build the loadfile() a.out, ECOFF, and ELF back-ends as separate objects.
|
| 1.45 |
| 02-Sep-2001 |
tsutsui | branches: 1.45.4; Add a small version of memmove() for libsa. Mostly identical with libsa/bcopy.c.
|
| 1.44 |
| 31-Mar-2001 |
hubertf | branches: 1.44.2; Explain some SA_* options - reading compressed kernels, netboot Useful for stripping down bootcode.
|
| 1.43 |
| 02-Nov-2000 |
thorpej | branches: 1.43.2; Add a standalone MS-DOS file system reader package, lifted from FreeBSD, and modified use NetBSD's already-existing MS-DOS file system data structure definitions, rather than defining our own.
|
| 1.42 |
| 25-Oct-2000 |
thorpej | Split the UDP routines out of net.c.
|
| 1.41 |
| 13-Nov-1999 |
thorpej | branches: 1.41.4; Backout my libsa changes.
|
| 1.40 |
| 12-Nov-1999 |
lukem | add -DNET_DEBUG to the list of commented-out debug options
|
| 1.39 |
| 12-Nov-1999 |
simonb | Add strncpy().
Add prototypes for bcmp(), bzero() so the libsa compiles with WARNS=1
|
| 1.38 |
| 11-Nov-1999 |
thorpej | Small, MI strcat() and strcpy().
|
| 1.37 |
| 11-Nov-1999 |
thorpej | The hack needed to work around gcc lameness.
|
| 1.36 |
| 11-Nov-1999 |
thorpej | Networking routines needed for libsa to be self-contained.
|
| 1.35 |
| 11-Nov-1999 |
thorpej | Add small, MI strcmp(), strlen(), and strncmp() functions. Modules within libsa depend on them, to it seems rather silly to have to build an additional library (e.g. libkern) to get them.
|
| 1.34 |
| 09-Sep-1999 |
drochner | branches: 1.34.2; 1.34.4; 1.34.8; add a function to verify a password against an in-core md5 sum
|
| 1.33 |
| 18-Aug-1999 |
cgd | Add a standalone LFS implementation. Currently not merged with ufs (FFS), but should be (and will be before too long). Until then, it and ufs.? should be easily diffable.
|
| 1.32 |
| 07-May-1999 |
drochner | Build libraries for kernel/standalone code from within their compilation directories and use .PATH to lookup the source files. (Formerly, the libs were built from the source dirs, with MAKEOBJDIR set to the compilation directory.) This solves 2 problems: -"mkdep" and "make" are now consistent about the file lookup, this fixes bad interactions with amd reported in PR bin/7374 (Arne Juul) and lossage reported by Andrew Gillham ("obj" dirs and relative paths still don't work well together) -kernel compile trees can be moved around without forcing a new "make depend" - fixing PR kern/4021 by Martin Husemann
|
| 1.31 |
| 28-Apr-1999 |
christos | MI loadfile (used by i386, pmax and sparc shortly)
|
| 1.30 |
| 14-Apr-1999 |
drochner | move "ls" utility from i386/stand/libsa here
|
| 1.29 |
| 01-Apr-1999 |
simonb | branches: 1.29.4; It's no use having a memcmp() that calls bcmp() if there's no bcmp() in the SA library. Basically copied from ../libkern with a few less #if's and #include's.
|
| 1.28 |
| 30-Mar-1999 |
cgd | Add bzero.c, errno.c, and memset.c to SRCS
|
| 1.27 |
| 24-Feb-1999 |
drochner | build tftp filesystem, rearrange .ifdef slightly so that network stuff is not built if ${SA_INCLUDE_NET} is not set
|
| 1.26 |
| 13-Feb-1999 |
pk | Split the printf variants into separate files.
|
| 1.25 |
| 13-Feb-1999 |
lukem | convert from NOxxx= to MKxxx=no. include <bsd.own.mk> if testing a MKxxx variable.
|
| 1.24 |
| 12-Feb-1999 |
drochner | We can't prototype exit() publically because it might take an argument or not, depending on the port-specific environment. Separate panic() and exit() so that the mi/default panic() can be used without conflicting with a local exit() definition, move exit(void) prototype to the default exit() implementation. Closes PR bin/6990 by Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>.
|
| 1.23 |
| 24-Sep-1998 |
ross | tfs -> ustarfs
|
| 1.22 |
| 22-Sep-1998 |
ross | Add tfs.c to SRCS.
|
| 1.21 |
| 26-Oct-1997 |
lukem | use COPTS instead of CFLAGS (entry currently commented out)
|
| 1.20 |
| 26-Jun-1997 |
drochner | branches: 1.20.8; Don't define STANDALONE here, it is not used by sys/lib/libsa code. Port dependant code depending on it must define it in its own Makefile.
|
| 1.19 |
| 31-May-1997 |
cjs | Back out BUILDDIR and NOINSTALL changes.
|
| 1.18 |
| 30-May-1997 |
cjs | Use new NOINSTALL option for libraries that are used only during the build of a program, and not installed into the final system.
|
| 1.17 |
| 07-May-1997 |
mycroft | Use libinstall::, not install:, to prevent instaling LIB.
|
| 1.16 |
| 16-Feb-1997 |
cgd | branches: 1.16.2; allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS
|
| 1.15 |
| 23-Jan-1997 |
cgd | clean up variable use, standardize with other kernel library Makefiles. rename 'NO_NET' variable to SA_INCLUDE_NET, which defaults to 'yes' but can be set differently. kill EXTRACFLAGS, add SACPPFLAGS (generated from CPPFLAGS by Makefile.inc) to CFLAGS. Add support for including gzipped-file read support, enabled by setting SA_USE_CREAD to yes (defaults to no).
|
| 1.14 |
| 16-Jan-1997 |
cgd | add memcmp, implemented as a wrapper around bcmp() (like memcpy() is implemented as a wrapper around bcopy()).
|
| 1.13 |
| 02-Oct-1996 |
ws | branches: 1.13.2; Remove superfluous -I. accidently introduced when I imported the PPC port
|
| 1.12 |
| 30-Sep-1996 |
ws | Add support for booting from cd9660 fs Support directory traversal and symbolic links for nfs booting Close device when file opening failed Plug memory leak in ufs code
|
| 1.11 |
| 13-Jan-1996 |
leo | Some files containing more than one function are split. This reduces the size of the resulting loader. The read_inode() function now returns the result of the strategy function instead of success in all cases (ufs.c). Fixes pr#1817
|
| 1.10 |
| 01-Oct-1995 |
phil | Don't add network files to SRCS if NO_NET is defined. (I'm getting very short of disk space on STEELHEAD!) The pc532 doesn't use the network (yet?) from boot.
|
| 1.9 |
| 17-Sep-1995 |
pk | De-activate DEBUGFLAGS again.
|
| 1.8 |
| 17-Sep-1995 |
pk | Revert fs_ops read/write declarations; these return error numbers. Get rid of some more compiler warnings. Set errno where appropriate.
|
| 1.7 |
| 14-Sep-1995 |
pk | Mirror libkern makefiles.
|
| 1.6 |
| 26-Oct-1994 |
cgd | new RCS ID format.
|
| 1.5 |
| 22-Aug-1994 |
brezak | branches: 1.5.2; Cleanup to make more ANSI compliant; checkpoint
|
| 1.4 |
| 04-Aug-1994 |
brezak | Make libsa compile again by not including sys/errno.h
|
| 1.3 |
| 27-Jul-1994 |
cgd | get includes from sys, and define KERNEL
|
| 1.2 |
| 08-May-1994 |
brezak | branches: 1.2.2; Standalone networking for network boot loaders.
|
| 1.1 |
| 26-Jan-1994 |
brezak | CMU/4.4 stand-alone library
|
| 1.2.2.2 |
| 05-Aug-1994 |
mycroft | update from trunk, per Brezak
|
| 1.2.2.1 |
| 27-Jul-1994 |
cgd | update from trunk.
|
| 1.5.2.2 |
| 22-Aug-1994 |
brezak | Cleanup to make more ANSI compliant; checkpoint
|
| 1.5.2.1 |
| 22-Aug-1994 |
brezak | file Makefile was added on branch netbsd-1-0 on 1994-08-22 21:55:59 +0000
|
| 1.13.2.1 |
| 18-Jan-1997 |
thorpej | Update from trunk.
|
| 1.16.2.2 |
| 16-Feb-1997 |
cgd | allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS
|
| 1.16.2.1 |
| 16-Feb-1997 |
cgd | file Makefile was added on branch is-newarp on 1997-02-16 21:25:21 +0000
|
| 1.20.8.1 |
| 12-Nov-1997 |
thorpej | Sync w/ trunk.
|
| 1.29.4.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
| 1.34.8.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.34.4.1 |
| 15-Nov-1999 |
fvdl | Sync with -current
|
| 1.34.2.3 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
| 1.34.2.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
| 1.34.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.41.4.1 |
| 01-Apr-2001 |
he | Pull up revision 1.44 (requested by hubertf): Document some SA_* options, in case someone needs to strip down the bootblock to enable or add new features, such as enabling password support. Addressess PR#12506.
|
| 1.43.2.7 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
| 1.43.2.6 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
| 1.43.2.5 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
| 1.43.2.4 |
| 14-Nov-2001 |
thorpej | Merge from -current, required to cross-build kernels properly.
|
| 1.43.2.3 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.43.2.2 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
| 1.43.2.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
| 1.44.2.4 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.44.2.3 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
| 1.44.2.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.44.2.1 |
| 13-Sep-2001 |
thorpej | Update the kqueue branch to HEAD.
|
| 1.45.4.1 |
| 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.54.4.1 |
| 22-May-2004 |
he | Pull up revision 1.55 (requested by abs in ticket #369): Add qsort to libsa (taken from sys/dev/vinum/vinumqsort.c) and use instead of bubblesort in acorn32 bootloader. Reduces time to sort memory on A710 equipped RiscPC from over twenty seconds to effectively instantaneous. Update boot version to 3.30
|
| 1.54.2.4 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.54.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.54.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.54.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.56.2.5 |
| 17-Mar-2008 |
yamt | sync with head.
|
| 1.56.2.4 |
| 27-Feb-2008 |
yamt | sync with head.
|
| 1.56.2.3 |
| 21-Jan-2008 |
yamt | sync with head
|
| 1.56.2.2 |
| 07-Dec-2007 |
yamt | sync with head
|
| 1.56.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.57.2.1 |
| 01-Feb-2006 |
yamt | sync with head.
|
| 1.58.10.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.58.6.1 |
| 24-May-2006 |
yamt | sync with head.
|
| 1.58.4.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
| 1.58.2.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
| 1.59.40.2 |
| 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.59.40.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.59.34.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
| 1.59.34.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.59.32.2 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.59.32.1 |
| 03-Dec-2007 |
joerg | Sync with HEAD.
|
| 1.59.22.1 |
| 09-Dec-2007 |
reinoud | Pullup to HEAD
|
| 1.60.2.1 |
| 08-Dec-2007 |
ad | Sync with head.
|
| 1.61.12.3 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.61.12.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.61.12.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.61.8.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
| 1.65.6.2 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.65.6.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.65.4.4 |
| 11-Mar-2010 |
yamt | sync with head
|
| 1.65.4.3 |
| 16-Sep-2009 |
yamt | sync with head
|
| 1.65.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.65.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.65.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.66.4.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
| 1.67.8.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.67.2.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.70.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.71.4.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.71.2.1 |
| 31-May-2011 |
rmind | sync with head
|
| 1.72.2.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.75.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
| 1.75.2.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.75.2.2 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.75.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.78.4.2 |
| 18-May-2014 |
rmind | sync with head
|
| 1.78.4.1 |
| 28-Aug-2013 |
rmind | sync with head
|
| 1.78.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.78.2.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.81.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.84.4.2 |
| 22-Apr-2016 |
skrll | Sync with HEAD
|
| 1.84.4.1 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
| 1.87.16.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
| 1.88.2.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.88.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.93.8.1 |
| 31-May-2021 |
cjep | sync with head
|
| 1.93.6.1 |
| 17-Jun-2021 |
thorpej | Sync w/ HEAD.
|
| 1.95.12.1 |
| 08-Oct-2023 |
martin | Pull up following revision(s) (requested by rin in ticket #394):
external/gpl3/binutils/dist/gas/config/tc-vax.h: revision 1.10 tools/gcc/Makefile: revision 1.109 external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.16 external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.17 external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.18 external/gpl3/gcc.old/dist/gcc/recog.c: revision 1.12 external/gpl3/gcc.old/dist/gcc/function.c: revision 1.16 external/gpl3/gcc.old/dist/gcc/dse.c: revision 1.14 - 1.16 external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.13 external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.14 external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.15 external/gpl3/gcc.old/dist/gcc/doc/tm.texi.in: revision 1.10 external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.16 external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.17 external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.18 external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.19 external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.12 external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.13 external/gpl3/gcc.old/usr.bin/backend/Makefile: revision 1.20 external/gpl3/gcc.old/dist/gcc/targhooks.c: revision 1.12 external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.14 external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.15 external/gpl3/gcc.old/dist/gcc/config/vax/builtins.md: revision 1.12 external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.16 external/gpl3/gcc.old/dist/gcc/config/vax/builtins.md: revision 1.13 external/gpl3/gcc.old/dist/gcc/doc/tm.texi: revision 1.12 external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.17 external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.18 external/gpl3/gcc.old/dist/gcc/config/vax/elf.h: revision 1.12 external/gpl3/gcc.old/dist/gcc/config/vax/elf.h: revision 1.13 external/gpl3/gcc.old/dist/gcc/targhooks.h: revision 1.12 external/gpl3/gcc.old/dist/gcc/target.def: revision 1.10 external/gpl3/gcc.old/dist/gcc/rtlanal.c: revision 1.14 external/gpl3/gcc.old/dist/gcc/reload.c: revision 1.12 external/gpl3/gcc.old/usr.bin/gcc/Makefile: revision 1.11 external/gpl3/gcc.old/usr.bin/lto-dump/Makefile: revision 1.3 external/gpl3/gcc.old/lib/Makefile.sanitizer: revision 1.7 external/gpl3/binutils.old/lib/libbfd/Makefile: revision 1.10 distrib/utils/x_ping/Makefile: revision 1.9 games/phantasia/Makefile: revision 1.38 external/apache2/argon2/lib/libargon2/Makefile.inc: revision 1.2 external/gpl3/gcc.old/lib/libubsan/Makefile: revision 1.8 external/bsd/mdocml/lib/libmandoc/Makefile: revision 1.13 sbin/ping/Makefile: revision 1.18 sbin/newfs_ext2fs/Makefile: revision 1.7 sys/lib/libz/Makefile: revision 1.24 sys/lib/libsa/Makefile: revision 1.97 external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile: revision 1.3 external/gpl3/gdb/lib/libgdb/Makefile: revision 1.36 sys/modules/lfs/Makefile: revision 1.11 external/mit/xorg/lib/gallium/Makefile: revision 1.51 external/gpl3/gdb.old/lib/libdecnumber/Makefile: revision 1.10 external/mit/xorg/lib/libX11/Makefile.libx11: revision 1.26 libexec/ld.elf_so/Makefile: revision 1.148 external/bsd/jemalloc/lib/Makefile.inc: revision 1.16 external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile: revision 1.14 crypto/external/bsd/openssh/lib/Makefile: revision 1.38 external/gpl3/gcc.old/usr.bin/backend/Makefile: revision 1.21 external/gpl3/gcc.old/usr.bin/cc1/Makefile: revision 1.12 external/gpl3/gcc.old/lib/libasan/Makefile: revision 1.11 external/gpl3/gcc.old/usr.bin/cc1plus/Makefile: revision 1.13 lib/libcrypt/Makefile: revision 1.36 external/gpl3/gdb/lib/libdecnumber/Makefile: revision 1.5 lib/libc/gdtoa/Makefile.inc: revision 1.13 games/gomoku/Makefile: revision 1.13 sbin/fsdb/Makefile: revision 1.43 external/gpl3/gcc.old/usr.bin/lto1/Makefile: revision 1.9 external/mit/xorg/lib/gallium.old/Makefile: revision 1.8 lib/libbz2/Makefile: revision 1.22 external/gpl3/gcc.old/usr.bin/cc1obj/Makefile: revision 1.12 usr.sbin/mtrace/Makefile: revision 1.14 external/gpl3/gcc.old/usr.bin/cc1obj/Makefile: revision 1.13 sys/arch/vax/conf/Makefile.vax: revision 1.86 sys/rump/fs/lib/liblfs/Makefile: revision 1.18 sbin/fsck_ffs/Makefile.common: revision 1.3 external/gpl3/binutils/lib/libbfd/Makefile: revision 1.27 lib/i18n_module/UTF7/Makefile: revision 1.5 external/gpl3/gcc.old/lib/liblsan/Makefile: revision 1.7 doc/CHANGES (apply patch) (all external/gpl3/gcc.old/ changes applied to external/gpl3/gcc/)
PR 57646: Import major vax toolchain fix.
|