Commit Graph

266944 Commits

Author SHA1 Message Date
sevan 16ce5efe63 NVMM 2019-04-17 17:44:51 +00:00
christos d5e956832a Pick up the latest matching (most recent) entry instead of the first one.
This fixes:
	env TZ=Australia/Melbourne date
printing
	Thu Apr 18 03:32:32 LMT 2019
instead of:
	Thu Apr 18 03:32:32 AEST 2019

XXX: To be strictly correct, the tzgetname() call should probably take a time
reference point in order to return the appropriate zone name for the time
given.
2019-04-17 17:37:29 +00:00
sevan d4a1d0673f BCH DSF HFS ISL LIF ODE VXFS VXVM 2019-04-17 16:45:38 +00:00
kamil 828333c1da Fix Clang/LLVM build in t_ptrace_wait.c
Do not compile functions that might be unused.
2019-04-17 15:54:55 +00:00
martin 41a21e241a Make the illegal instruction macro safe, so the compiler does not fear it
would be an illegal instruction when compiling with certain cpu options.
2019-04-17 15:42:02 +00:00
sevan 7a56cab35b LZSS NC-SI NCSI ODM VPD 2019-04-17 14:06:48 +00:00
maya bac778e85c fix typo 2019-04-17 12:30:51 +00:00
mrg 0014831e08 fix for riscv32. 2019-04-17 11:01:19 +00:00
mrg 326d89ec21 - define __riscv__ again
- define *intptr_t in terms of 'long int' always
- move fixtfdi.c, fixunstfdi.c, floatditf.c, and floatunditf.c into t-netbsd64
- remove duplicated riscv case in config.gcc, reducing upstream diff as well
- regen riscv64 mknative
2019-04-17 10:07:00 +00:00
mrg 9ba37f97ce mknative-gcc and mknative-binutils for riscv32. mostly builds. 2019-04-17 09:37:49 +00:00
msaitoh 2a1efa7be4 KNF. No functional change. 2019-04-17 09:21:57 +00:00
mrg d1429afe98 fake mknative, mostly enough to build real for mknative. 2019-04-17 08:56:10 +00:00
mrg 81f4fdd260 fix MKCOMPAT=no builds. 2019-04-17 07:55:33 +00:00
msaitoh 6fd86da20b Remove unused inclusion. 2019-04-17 07:47:56 +00:00
mrg 261a15423e also want s_nexttoward.c on riscv. now tests/lib/libm links. 2019-04-17 07:45:23 +00:00
mrg cee1dacaf3 add missing atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c. 2019-04-17 07:40:34 +00:00
mrg 5a9be18c46 add missing aliases for _atomic_cas_32_ni and atomic_cas_uint_ni. 2019-04-17 07:35:38 +00:00
msaitoh 9cbcc61c49 Tabify. No functional change. 2019-04-17 07:04:03 +00:00
nonaka 51665237fa efiboot: Don't panic when BLOCK_IO_PROTOCOL is not found.
It has been reported that there is a machine where BLOCK_IO_PROTOCOL
can not be found when network boot without disk.
2019-04-17 06:50:34 +00:00
ozaki-r 8aed7a99af Don't check pserialize_not_in_read_section after panic
It can cause a false positive assertion failure.
2019-04-17 02:29:43 +00:00
sevan 8976de3fbf Bogus number police 2019-04-16 23:14:34 +00:00
mrg 3a139f9940 enable EGL and glamor. partly from maya@.
for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files

build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.
2019-04-16 21:21:51 +00:00
mrg 1ce78da3f1 enable EGL and glamor. partly from maya@.
for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files


build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.
2019-04-16 21:20:50 +00:00
skrll 99b9a55c9a If arg3 is zero then fill it with the value of 'end'. Helps booting
with qemu.
2019-04-16 20:33:36 +00:00
sevan d93362cffd s/evbarm64/evbarm 2019-04-16 19:38:14 +00:00
sevan c3cb2c5dab Tag evbarm related changes separately to separate out the entries into the
specific section on the generated webpage.
Others the entries show up in the section of each arm based port.
2019-04-16 18:31:22 +00:00
sevan 728c3186ef typo - via leot 2019-04-16 17:50:46 +00:00
sevan 800ded0627 Add manual categories to generate links to man.n.o on the webpage 2019-04-16 17:41:17 +00:00
christos d08bc8783e Ran out of patience playing stack protector bingo. 2019-04-16 17:29:09 +00:00
sevan 50127e8533 one tab to start an item, and two tabs to indent the content 2019-04-16 16:01:11 +00:00
skrll 4cc5b60768 Trailing whitespace 2019-04-16 12:22:13 +00:00
martin 3e4cdea525 Add PTRACE_ILLEGAL_ASM 2019-04-16 11:38:21 +00:00
sevan 92b94ad4f3 Indent to improve readability.
Add a description for log event.
2019-04-16 10:52:28 +00:00
mrg 8c07fa7cf5 fix various problems i've seen where cv_*wait*() return ERESTART,
which is -3 in netbsd, which we have mapped linux ERESTARTSYS to.

this has a problem because linux code often returns errors and
pointers in the same value, and pointer values between -4095 and
-1 are considered as error returns, but -3 ends up as 3 and thus
is not considered an error, and mayhem ensues.

with this in place my kabylake system seems actually stable, i
have not triggered any of my prior issues in almost 4 weeks now.


Taylor asked me to write up a description and then wrote most of
the text below for me :-)


In Linux code, we always work with ERESTARTSYS so the code meaning
start over is a positive NetBSD errno safe for PTR_ERR/ERR_PTR.
To achieve this:
1. adapt all cv_waits that return to Linux so they map ERESTART to
   ERESTARTSYS, and
2. adapt all returns to userland so they convert ERESTARTSYS to
   ERESTART.
Leave EINTR and all other error codes alone.
2019-04-16 10:00:04 +00:00
mrg 3e8847491c fix -I paths for powerpc*. convert amd64 specific hack.
we've been building dp-bit.c and fp-bit.c backwards, but as they
use the same input source, they just had opposite objects and
the right total was provided.  oops.
2019-04-16 08:08:18 +00:00
mrg 134005bc02 revert previously. we want riscv32 to have 128 bit long double...
shall fix the compiler instead.
2019-04-16 08:04:23 +00:00
mrg a9f3ed48cb mknative-gcc for riscv64. 2019-04-16 08:01:36 +00:00
mrg 1b3d5424d9 list a bunch of soft-fp as present in the current risc64 libgcc defs.mk.
this makes mknative-gcc work without breaking maya's manual work.
2019-04-16 07:50:05 +00:00
maya 96208257a8 RISC-V ELF psABI says ILP32 also defaults to 128bit long double. 2019-04-16 07:40:02 +00:00
mrg 04325e9757 regen mknative-gcc for GCC 7 and ppc64. libgcc still has problems. 2019-04-16 07:37:56 +00:00
mrg b55068e0f5 avoid differences to linux64.h that aren't needed.
merge the rs6000_abi_name check for netbsd into the linux/freebsd section.
2019-04-16 07:36:55 +00:00
mrg 292122e2f9 no clone() on netbsd. 2019-04-16 07:34:54 +00:00
mrg 9840b30120 risc32 doesn't want long double specific versions 2019-04-16 07:32:30 +00:00
maya c968284ef1 We're now using gcc netbsd-stdint.h instead of our own definitions, so
match those with the format types

XXX wrong for 32bit.
XXX unclear if changing the fast types was the right call
2019-04-16 07:08:52 +00:00
skrll 5d316210cb Fix a comment 2019-04-16 07:08:46 +00:00
msaitoh 9fde34d208 It's not required (and can't do) to convert OSIOCSIFMEDIA in ifmedia_ioct()
because the conversiosn is done in doifioctl().
2019-04-16 06:48:33 +00:00
skrll a7203f5325 Re-arrange dino_softc members to improve alignment 2019-04-16 06:45:04 +00:00
skrll 386e2d9145 dino depends on gedoens 2019-04-16 06:44:17 +00:00
mrg b543e834b1 regen for mknative-binutils for riscv64. 2019-04-16 06:19:54 +00:00
skrll 8f59ef4ba9 Whitespace 2019-04-16 06:13:53 +00:00