christos
02cb0c6eaf
Introduce a selector function to the vfs vnode iterator so that we don't
...
need to vget() vnodes that we are not interested at, and optimize locking
a bit. Iterator changes reviewed by Hannken (thanks), the rest of the bugs
are mine.
2014-05-24 16:34:03 +00:00
dholland
94efa53a98
PR toolchain/48833: Ilia Zykov: nvi build fails if under /common
...
When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.
2014-05-23 19:59:17 +00:00
matt
bc43ee9904
Add LEGITIMATE_PIC_OPERAND_P(X) to prevent global symbol + offset from
...
being a legitimate pic operand (because it's not).
2014-05-23 13:35:26 +00:00
mrg
c16f810189
apply -fimplicit-templates instead of forcing -O2. fix the
...
build fix on platforms that don't use -O2 by default, and
also enables building with -O0.
2014-05-16 09:36:51 +00:00
joerg
9b139c3c53
Remove some more CMakeLists.txt files.
2014-05-15 23:59:12 +00:00
joerg
534cb174a5
Import libcxxrt revision 4eb349088dda15d2de9a8c7b144c3f2d5f390269.
...
Restore support for 32bit architectures without 64bit CAS.
Support DWARF exception handling on ARM.
2014-05-15 23:56:01 +00:00
joerg
e6132fe847
Import libc++ r208870. Improves const use, fixes a few cases of missing
...
assign-to-self support and increase support for GCC.
2014-05-15 23:53:10 +00:00
joerg
9af9cc70aa
Skip assembler helpers when using HAVE_LIBGCC_EH=no. Always use the
...
generic unwind.h version in that case, even on ARM.
2014-05-15 14:37:08 +00:00
christos
21314e18fb
When running as root and wanting to write a file and not having CAPNG, don't
...
drop privs, because we cannot open the file if we drop privs.
2014-05-13 20:29:59 +00:00
christos
02160989ff
Don't die if we resize to smaller than Y_LINES. The display could do better,
...
but it recovers if we grow.
2014-05-13 20:06:41 +00:00
macallan
c999b0e1d9
on mips64* use generic C functions instead of assembly routines when building
...
n32 binaries. Should work around PR48696
ok mrg@
2014-05-13 18:46:48 +00:00
martin
0b6a7ee607
Fix comment pointing at the source of the list of functions and add
...
two missing ones: _clrsbsi2 and _clrsbdi2
2014-05-03 16:43:10 +00:00
dogcow
cd6db90cfd
fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works again.
2014-04-30 02:04:11 +00:00
christos
7081cf9a59
need bsd.own.mk
2014-04-28 21:56:20 +00:00
joerg
0af4f3b8a9
Don't use inline in C sources, it will certainly not work correctly with
...
a C99 compiler.
2014-04-26 22:38:09 +00:00
martin
17480df656
Pull up upstream revision 209789: remove the *ashlsi3_extend pattern.
...
This fixes gcc [Bug target/60941] and resolves a firefox crash for me.
2014-04-25 11:06:52 +00:00
christos
0b24109d1b
make compilable from the kernel
2014-04-22 15:12:35 +00:00
christos
c8ad22d607
Add fake atomic 64 ops for those who don't have them.
...
XXX: used to be arm, now it is also i386.
2014-04-22 15:02:38 +00:00
christos
538614fe8f
Put back MKLINT=no for now
...
- unnamed unions [c99]
- __builtin_offsetof [gcc]
- typeof [gcc]
2014-04-21 21:57:03 +00:00
christos
2d59a755a9
Returning in the middle of a TRY_CATCH macro gives heartburns since the
...
jump buffer is not being reset.
2014-04-21 17:32:14 +00:00
apb
3ff1cdf566
Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
...
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc.old/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 15:57:46 +00:00
apb
7f226bea47
Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
...
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 13:00:57 +00:00
apb
441c2cf2f8
Use $(SHELL) to run move-if-change.
2014-04-19 12:41:31 +00:00
wiz
c07d6dcd59
At least event(3) looks better when passed through tbl(1), so set USETBL.
2014-04-19 08:03:21 +00:00
christos
903821805f
lint has __alignof__ too.
2014-04-18 02:28:06 +00:00
maxv
23f76b6d00
An (un)privileged user can easily make the kernel dereference a NULL
...
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
2014-04-16 18:55:17 +00:00
christos
035ceafe9d
It is not nice to fake things we don't have; instead check explicitly
...
that we can get CS.
2014-04-16 02:14:44 +00:00
christos
07009f7010
take constant expressions out of the loop.
2014-04-16 00:34:10 +00:00
christos
b8c0fcebe9
supply a fake cs that has has not have SEL_UPL set, so that our trapframe
...
sniffer works.
2014-04-16 00:32:33 +00:00
joerg
68aeaa009b
Use correct library path for -m32 on sparc64.
2014-04-14 21:09:02 +00:00
christos
2e8a2b3a38
oops missed one instance of fixman
2014-04-11 13:18:35 +00:00
christos
7a4471249a
PR/48722: David H. Gutteridge: use HOST_SH to execute fixman
2014-04-10 23:28:11 +00:00
riastradh
418e8d3033
Don't forget ZFS_EXIT after ZFS_ENTER.
2014-04-09 22:41:38 +00:00
riastradh
c83470498f
Try vflush, which may fail, before we mark the file system mounted.
2014-04-09 22:40:32 +00:00
rjs
c5389c7a73
The SNA code builds with gcc 4.8 on i386 so enable it again.
...
ok riastradh@
2014-04-07 17:06:47 +00:00
pooka
7489153341
Re-add cloning bpf definition that got lost in rev 1.4.
...
Needed at least for wpa_supplicant against a rump kernel (which does
not create the old-style bpf0000 device nodes).
2014-04-07 01:29:12 +00:00
christos
897d836e1d
Handle assembly code built with -g
2014-04-05 23:33:15 +00:00
tron
eeaeb54957
Force "USE_SSP" to "no" when compiling xauth(1) for now. This avoid the
...
program to fail with error messages like this one:
/usr/X11R7/bin/xauth: file /home/tron/.Xauthority does not exist
/usr/X11R7/bin/xauth: unable to link authority file /home/tron/.Xauthority, use /home/tron/.Xauthority
This seems to be some weird compiler bug. If you add a debug printf(3) call
before the line in "xsrc/external/mit/xauth/dist/process.c" that calls
link(2) the target and source filename have the correct value and
the call works. Without the printf(3) call it fails.
2014-04-05 17:01:55 +00:00
christos
ebffd37d96
remove extra
2014-04-04 01:19:57 +00:00
christos
19f79caf6f
Add NOCTF
2014-04-04 01:19:14 +00:00
riastradh
b0d53a8085
Skip SNA on i386 for now, since it triggers a GCC ICE.
2014-04-03 18:17:52 +00:00
riastradh
ed2e9169d8
Update reachover makefiles and set lists for xf86-video-intel 2.21.15.
2014-04-03 02:51:19 +00:00
riastradh
eb051fdbc0
Link Xorg with -lpthread on x86.
...
This will be needed by the new xf86-video-intel, which uses pthreads
in SNA (SandyBridge New Acceleration). It shouldn't hurt, but is not
needed, on any other architecture.
2014-04-03 02:40:45 +00:00
riastradh
93797f6cf7
Install compositeext.h and shmint.h from X.org.
2014-04-02 01:22:11 +00:00
kardel
b538a8f986
remove stray 'return 0;' that effectively disabled atouint().
...
Hi Christos!
2014-04-01 17:34:44 +00:00
pettai
3b429a7601
Import mDNSResponder-320.16, merge, fix conflicts
2014-03-31 23:26:30 +00:00
pettai
e28a8d2c02
Import mDNSResponder-320.16, as previous import (258.14) is quite old
2014-03-31 23:21:21 +00:00
christos
0cfae56217
Convert to the new thread safe gethostby{name,addr} nsswitch ABI.
2014-03-31 02:03:38 +00:00
joerg
b7b04e0e6d
Match #if change in task.c.
2014-03-29 22:44:20 +00:00
joerg
0e80d9e124
Before messing with macros from stdio.h, include cstdio. Some parts of
...
the backend would include it afterwards and the macro changes conflict
with libc++'s version of cstdio.
2014-03-29 21:33:39 +00:00