NetBSD re-synchronization of the source treeThis brings our tree to NetBSD 7.0, as found on -current on the10-10-2015.This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/z
NetBSD re-synchronization of the source treeThis brings our tree to NetBSD 7.0, as found on -current on the10-10-2015.This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libmincChange-Id: I149836ac18e9326be9353958bab9b266efb056f0
show more ...
Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) - Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gm
Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) - Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loopChange-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
<sys/stat.h>current version of <sys/stat.h> from netbsd repo is older than the minixone; will be corrected on next netbsd re-import.Change-Id: Ifc696581ef476cfecd9695a9f6e74b844131e584
VFS: add ability to open files O_CLOEXEC.adjust libc to make use of it (undo __minix diff)Change-Id: I90a1aa219fcd1b12b6bc60e72176f326eac8184a
Libraries updates and cleanup * Updating common/lib * Updating lib/csu * Updating lib/libc * Updating libexec/ld.elf_so * Corrected test on __minix in featuretest to actually follow the mean
Libraries updates and cleanup * Updating common/lib * Updating lib/csu * Updating lib/libc * Updating libexec/ld.elf_so * Corrected test on __minix in featuretest to actually follow the meaning of the comment. * Cleaned up _REENTRANT-related defintions. * Disabled -D_REENTRANT for libfetch * Removing some unneeded __NBSD_LIBC defines and testsChange-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
Full switch to clang/ELF. Drop ack. Simplify.There is important information about booting non-ack images indocs/UPDATING. ack/aout-format images can't be built any more, andbooting clang/ELF-form
Full switch to clang/ELF. Drop ack. Simplify.There is important information about booting non-ack images indocs/UPDATING. ack/aout-format images can't be built any more, andbooting clang/ELF-format ones is a little different. Updating to thenew boot monitor is recommended.Changes in this commit: . drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
<ansi.h> -> <minix/ansi.h>
stdio: split vsprintf and vsnprintf - workaround for linking problems
stdio/freopen.c: fill __iotab table with stream pointer - lets fclose()d and then freopen()ed streams be fclose()d again without error
stdio/fclose.c: reset _buf - if the stream gets freopen()ed, avoid buffer being seen as valid
Add ftello function
Add fseeko function
vsprintf: fix special yet useful case for vsprintf where n < 1.reported by jaldhar.
lib: mkdtemp(), contributed by by Gautam Tirumala
lib: don't give back the same temporary filenames even if removed.workaround for what seems to be a clang/llvm bug/assumption.
Import asprintf() and vasprintf()Ported from libnbcompat by Gautam Tirumala
lib: fixes for warnings that clang has for libraries.
stdio: j modifier for %d. (Contributed by Buccapatnam Tirumala, Gautam)
Remove those annoying $Id and $Revision tags
Remove the types Dev_t, _mnx_Gui, _mnx_Uid, and similar.Use ANSI-style function declarations where necessary.
- new pread(), fnmatch() calls - split sprintf() and snprintf() to solve a linking problem when compiling an application
Incorporate bsdmake into buildsystem and reorganize libs