Commit Graph

14047 Commits

Author SHA1 Message Date
christos
4e24064872 fix sets 2014-08-26 10:46:39 +00:00
joerg
7a1a6f1cf3 Add basic support for indirect functions. It allows providing a public
function symbol with an implementation choosen at run time.
Refactor calls to functions by address in ld.elf_so to create temporary
function descriptors on the stack, if the address is not leaked outside.

Limitations:
- no support for initialising static storage with function pointers
- no support for unnamed resolver functions

Inspired by FreeBSD's r228435 by kib@freebsd.org.
2014-08-25 20:40:52 +00:00
pooka
67433f3a0f Remove and obsolete rumpkern_time as a separate component. 2014-08-25 18:44:02 +00:00
christos
386021af1d Use .PATH because the newmake does not apply pattern rules to sources in
other directories. Leave the comment and the old code for now so people
are aware that this might not work.
2014-08-25 14:11:51 +00:00
tsutsui
883c1c3776 Add a man page for arcofi(4) driver. From OpenBSD. 2014-08-25 12:49:22 +00:00
christos
6f1dbb71d2 add missing lint library.
XXX: pullup-7
2014-08-25 10:52:10 +00:00
apb
b3edfc2816 Add tests for backslash escaping in make(1).
Many of these tests fail, and I have populated the escape.exp file with
the results that I expect, not with the results that make(1) actually
produces.

Also update the set lists for these tests.
2014-08-24 11:52:45 +00:00
apb
3cf3fe820a sort 2014-08-24 11:50:00 +00:00
christos
9df5c983bb new make tests 2014-08-23 15:59:03 +00:00
apb
6b933a652f Test make(1) by running the maintained tests, not unmaintained
copies of them.

* Remove all old tests from src/tests/usr.bin/make/d_*.  These tests
  were unmaintained old copies of the actual tests which are maintained
  under src/usr.bin/make/unit-tests.  One exception is the test in
  d_unmatchedvarparen.mk, which was new, but has nw been added to
  src/usr.bin/make/unit-tests/varmisc.mk.
* In src/tests/usr.bin/make/Makefile, copy all
  the tests from src/usr.bin/make/unit-tests to
  ${DESTDIR}/usr/tests/usr.bin/make/unit-tests.
* In src/tests/usr.bin/make/t_make.sh, run the tests installed above,
  instead of the old tests.
* In etc/mtree/NetBSD.dist.tests, create the
  usr/tests/usr.bin/make/unit-tests diectory.
* Update the set lists for all the above.
2014-08-22 16:45:32 +00:00
apb
68cca2bb2f sort 2014-08-22 10:51:38 +00:00
apb
0b9da2a3de Adapt the sortlists target to deal with commented file names, like
"#./dir/file".  Such lines now compare equal to their uncommented
counterparts like "./dir/file".
2014-08-22 10:51:18 +00:00
matt
b191cce33b Add ./usr/include/sys/common_{ansi,limits}.h 2014-08-19 07:28:45 +00:00
matt
4264da7fa4 Install common_wchar_limits.h and update set list. 2014-08-18 22:33:25 +00:00
joerg
fb363505f8 LLVM sshramdisk needs 8.9MB, so bump again. 2014-08-14 18:38:29 +00:00
riastradh
75f2a57740 CD images need libarchive if MKBSDTAR is yes. 2014-08-14 16:27:17 +00:00
riastradh
0d53576a4b Add dtrace modules to amd64-xen module set list. Hi jnemeth! 2014-08-14 16:26:21 +00:00
riastradh
1ade0b5b66 Add tar.debug and cpio.debug to lists for MKBSDTAR=yes MKDEBUG=yes. 2014-08-14 16:25:20 +00:00
joerg
d02c242c7b Bump ramdisk size to 3.2MB and include dhcpcd. 2014-08-13 20:52:05 +00:00
matt
35031b132a Fix c&p error: libisc.a->libirs.a 2014-08-12 20:57:59 +00:00
martin
c2426fb47b Add firmware images to this image, as discussed on port-arm. 2014-08-12 11:49:04 +00:00
martin
d4a4ba1584 Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally
add files to the staging directory)
2014-08-12 11:48:22 +00:00
joerg
7a5aaa5671 Mark compat directories as compat, not arch64. 2014-08-11 13:40:34 +00:00
jnemeth
b6c78a9d3b remove debug cruft, the example module is not normally built 2014-08-11 05:19:16 +00:00
jnemeth
3481529578 Add the infrastructure for MODULAR support for Xen kernels. At
the moment, this can only load very simple modules due to missing
symbols.  It is being add at this time to make pullups to the
netbsd-7 branch easier.  It is not enabled by default in any kernels.
2014-08-11 03:43:25 +00:00
matt
91161928e4 MKCOMPAT set fixes 2014-08-10 23:26:48 +00:00
riz
d09c62a0bc Include installboot on amd64/i386 install ramdisks in prep for a change
to sysinst which will use it instead of a handrolled replacement.
2014-08-10 20:07:41 +00:00
riz
48ed1e8202 Bump the ramdisk size; the longer paths on the build cluster are
likely enough to put this over the edge.
2014-08-10 20:04:30 +00:00
joerg
26dd58ba65 Bump the ramdisk size on macppc and sandpoint somewhat to compensate for
larger code with LLVM.
2014-08-10 17:58:51 +00:00
joerg
f14316bcbc Update build glue for LLVM/Clang 3.6svn r215315. Changes include various
performance improvements across all backends and a much improved PPC32
backend.
2014-08-10 17:32:54 +00:00
spz
916c5fdf56 OpenSSL man page refresh, adding one new manpage
note the import/update in doc
2014-08-10 17:07:03 +00:00
martin
3f4482a092 Bump image size 2014-08-10 14:42:33 +00:00
bad
aa4de98596 Build ubsec module only for i386 and amd64 and punt on the other arches. 2014-08-10 11:51:40 +00:00
spz
3beda0103f merge openssl 1.0.1i 2014-08-10 08:07:48 +00:00
isaki
138fa825c9 Increase the image size to 1700KB.
At this point, the build succeeds if the build path is short,
but may fail if long.  Thanks for martin@ and tsutsui@.
2014-08-10 06:35:56 +00:00
matt
547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt
beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
joerg
82ff1017b0 Update and simplify build glue for libc++ r215289. 2014-08-09 19:06:49 +00:00
apb
c5a47a1b14 Add rescue/ekermit. 2014-08-09 18:32:34 +00:00
bad
f9f5065b39 Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
2014-08-09 12:34:05 +00:00
apb
e52d064647 Mark gkermit files "obsolete", don't remove then from the set lists. 2014-08-09 11:33:53 +00:00
gson
643acb6d0e Test that reading a CTLTYPE_INT sysctl variable into a buffer that is
too small returns ENOMEM, and that reading it into a buffer that is
large enough returns the expected sizeof(int) bytes of data.
2014-08-09 07:04:03 +00:00
apb
daf5582ab4 Install man page for ekermit(1). 2014-08-08 21:41:46 +00:00
apb
84f75f96e7 Add ekermit.debug. 2014-08-08 19:54:14 +00:00
apb
3b7feb0ead Unhook gkermit from the build.
It is being replaced by the BSD-licenced ekermit, as proposed
on tech-userlevel on 7 Aug 2014.
2014-08-08 19:38:47 +00:00
apb
97d8576cce Add ekermit to the build.
It will replace gkermit, as proposed in tech-userlevel on 7 Aug 2014.
2014-08-08 19:34:35 +00:00
joerg
0c7d9d4853 Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
2014-08-08 16:56:30 +00:00
joerg
465192a6ff Cleanup cargo cult. 2014-08-08 14:00:30 +00:00
gdt
03d5c785ca Get macppc to build again by adjusting sizes.
In addition to the ramdisk size, it is necessary to have matching MD
sizes.  Increase the MD sizes, and leave a comment near the ramdisk
size to ease future changes.
2014-08-07 16:51:56 +00:00
gdt
dbadcbcebd I need 2244k for src/distrib/macppc/floppies/ramdisk, rather than
2240k.  My build is normal, with a few uncommitted changes that really
shouldn't change the install situation.  Because 2240k isn't near a
magic boundary, just increase it a hair.
2014-08-07 15:48:19 +00:00
jmmv
daa4f8c5c7 Add missing Kyuafile. 2014-08-07 14:22:13 +00:00
martin
8533cc60cb Update for xorg 2014-08-07 08:58:55 +00:00
apb
64c260d8f5 New files that appeared in tzdata2014f, plus the
leapseconds file that has existed for a long time
but was not installed before today.
2014-08-06 19:24:00 +00:00
martin
7d1de5ea18 Bump ramdisksize even slightly more 2014-08-06 13:57:15 +00:00
martin
af7c36dc7a Punt - backout sysinst message catlogs 2014-08-06 12:15:01 +00:00
apb
9e8101899d To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program
${TOOL_GZIP}" on the command line, and refrain from passing "-z".  If
passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
2014-08-06 11:41:18 +00:00
apb
e4ed3c4254 Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but
the new use of GZIP=${GZIP_FLAGS:Q} is safer.

For consistency, also use GZIP_FLAGS elesehere in this file.
2014-08-06 10:41:13 +00:00
martin
8fe4ed8e41 Sigh - move sysinst catalog files (which differ per arch, ouch!)
to md lists.
2014-08-06 08:23:43 +00:00
martin
186f554f7e Add sysinst message files 2014-08-05 18:46:21 +00:00
martin
6469ed8dba Bump ramdisk size 2014-08-05 16:18:16 +00:00
apb
0b92f0fef9 Ue ${GZIP_N_FLAG} instead of -n when setting GZIPFLAGS or GZIP_FLAGS.
This will allow -nT instead of just -n to be passed to pigz.
2014-08-05 15:45:49 +00:00
apb
f78c710fb2 Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n
in the environmentto commands that invoke ${TOOL_GZIP}.
This will allow them to use -nT instead of just -n with pigz.
2014-08-05 15:43:50 +00:00
apb
71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
martin
3d52f18626 Bump ramdisk size 2014-08-05 14:58:01 +00:00
martin
419ce0d49f Add a few missing files 2014-08-05 13:26:10 +00:00
martin
56d11eee1a Bump imagesize slightly 2014-08-04 20:20:39 +00:00
martin
575465caf7 Fix debug sets for zaurus 2014-08-04 19:35:44 +00:00
martin
94484d35aa Bump miniroot size 2014-08-04 13:09:42 +00:00
martin
aa87b5e18f Slightly extend ramdisk size 2014-08-04 11:30:35 +00:00
rmind
b8d1dbad64 NPF: add a general npf(7) manual page. Improved by wiz@. 2014-08-02 23:57:40 +00:00
martin
89ca4088e5 Add raidctl 2014-08-02 19:35:13 +00:00
joerg
e9fc44ba9f Provide the INSTALL kernel for TWRP1025. 2014-08-02 15:51:18 +00:00
christos
29c014d1f7 add timeout(1) 2014-08-01 14:08:47 +00:00
rjs
4f27f35b7f Update radeon microcode. 2014-07-28 23:09:06 +00:00
martin
6f08ad218d Add usr/sbin/sysinst 2014-07-27 10:19:12 +00:00
dholland
9171ee4425 Add /usr/sbin/sysinst. 2014-07-26 19:35:59 +00:00
dholland
eed67d2502 Don't descend into sysinst. 2014-07-26 19:35:10 +00:00
dholland
779842189d Adjust for sysinst move. 2014-07-26 19:34:08 +00:00
dholland
50dbef1a09 Move sysinst sources to usr.sbin.
This commit only physically moves the sources - there are no other
changes, to maximize the probability that this will be treated as a
rename if we ever do manage to migrate away from CVS.

Moving sysinst has been discussed on and off for years and has two
goals: making it easier to work on sysinst, and also making sysinst
available on running systems for use installing chroots and VM images
and other such things. None of the latter is possible yet, but as they
say, one thing at a time.

Doing this now was approved in an impromptu fashion by mrg, riz,
riastradh, me, and groo.
2014-07-26 19:30:39 +00:00
dholland
3b8c31df5d fix MKPAM=no build 2014-07-26 06:12:30 +00:00
joerg
d87708c52a Add generic versions of machine/int_*.h for compilers providing
appropiate macros for all necessary types.
2014-07-25 21:43:13 +00:00
dholland
d8d7aab05e Update set lists for libc bump and new man pages. 2014-07-25 08:32:21 +00:00
mrg
1e4a2ee3ed introduce a new pci_drvname(3) to libpci. implement it in the backend
via PCI_IOC_DRVNAME.

update manual and set lists (and remove a couple of doubled entries.)o

this will be used in libpciaccess() to implement the has_kernel_driver()
method.
2014-07-25 01:38:26 +00:00
alnsn
6021eb407c man 4 bpfjit 2014-07-24 21:08:50 +00:00
plunky
f8dcb1ea24 add p++, and move it and cxxcom to comp-cxx-bin 2014-07-24 21:02:55 +00:00
plunky
eea34d0414 add PCC libexec/cxxcom 2014-07-24 20:31:01 +00:00
alnsn
582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
lneto
cb9870c84c fixed removal of Lua 5.1 entries from distrib/sets/lists 2014-07-23 02:42:56 +00:00
christos
48f52dbc4b rename npf man pages to libnpf. 2014-07-22 22:35:03 +00:00
alnsn
2c8f6f808d Add sljitarch.h to cobalt and pmax. 2014-07-22 20:19:57 +00:00
tron
3b18ed832a Update list of Postfix README files. 2014-07-20 15:58:40 +00:00
nonaka
5055f41177 Added RTL8188EU firmware for urtwn(4). 2014-07-20 13:42:14 +00:00
christos
89d78f4e19 add the new hdestroy functions 2014-07-20 13:38:19 +00:00
lneto
4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
alnsn
07e0a97a8f Sljit doesn't support MIPS I. Make sljitarch.h obsolete. 2014-07-19 14:35:10 +00:00
christos
33f99f08ae Add t_minherit. 2014-07-18 12:36:18 +00:00
prlw1
0d52edd1b1 Update lists after adding support for vnd to rump (report from hannken@) 2014-07-17 12:04:05 +00:00
martin
d03c4f3f9e Add libirs debug info to a few more places 2014-07-13 13:53:59 +00:00
mbalmer
b25e9deb0b Add the five bulgarian keymaps we got via PR misc/37713 from markucz@gmail.com. 2014-07-13 12:29:01 +00:00
martin
b1baff08a7 libisccfg.so.8.1 debug files for other compat architectures. 2014-07-13 12:15:45 +00:00