christos
2aa2273679
use a macro to get to d_type.
2008-10-26 17:41:11 +00:00
christos
68a065aac1
regen
2008-10-26 16:38:41 +00:00
christos
5dfa1e6b4a
futex support fixes from FreeBSD via cube+pengo.
2008-10-26 16:38:22 +00:00
matt
f9d9dd1c9f
Fix DO_PENDING_SOFTINTS (remove pasto, remove a branch, use movs)
...
pasto spotted by mjf
2008-10-26 16:23:29 +00:00
apb
0f98f9af22
HOST_SH should always be an absolute path, so don't bother searching for
...
/bin/${HOST_SH} or /usr/bin/${HOST_SH}.
If the HOST_SH sanity check fails, do not continue regardless.
2008-10-26 15:54:19 +00:00
apb
6710f563cb
Set HOST_SH?=/bin/sh unconditionally. Previously, it was conditionally
...
set to /usr/bin/bash if HOST_CYGWIN was defined, but now build.sh
tries to set HOST_SH appropriately.
Remove the HOST_CYGWIN variable, which was not used for any other purpose.
Document that HOST_SH should be an absolute path.
THis was proposed in tech-toolchain.
2008-10-26 15:51:20 +00:00
apb
07103d0363
Pass SED=${TOOL_SED:Q} in the environment to scripts run during the build.
2008-10-26 14:55:17 +00:00
mrg
f6f31614b1
regenerate
2008-10-26 13:00:35 +00:00
mrg
84800db5ca
make this almost output almost identical to what is about to be checked in.
2008-10-26 12:58:38 +00:00
mrg
8e1af7403c
remove a no longer necessary piece of makefile code that was
...
wrong for amd64 anyway. spotted by ad.
2008-10-26 12:46:32 +00:00
blymn
811c38a41c
Extend the information that MALLOCLOG outputs to include the preceding
...
buffer. This can be helpful in the case where a buffer overrun in the
preceding region stomps on the following regions data.
2008-10-26 12:23:28 +00:00
ad
49169f6211
Assert that the segment descriptors we generate for TLS will not allow
...
privilege elevation.
2008-10-26 11:02:14 +00:00
bjs
5353e20987
"sparce" -> "sparse" + commas after "large", prior to "sparse"
2008-10-26 08:32:02 +00:00
mrg
48ca1b1f37
XXX: fix compat/libpam static build -- find the right libc via _CURDIR
...
XXX: not .CURDIR, if _CURDIR exists.
2008-10-26 07:44:12 +00:00
mrg
2f0d0e12bf
define and use LIBCDIR in terms of .CURDIR. fixes compat/lib/libc build.
2008-10-26 07:43:07 +00:00
mrg
5019a04ee2
use libcincludes.mk
2008-10-26 07:42:09 +00:00
mrg
28d618d682
build 32 bit compat libraries and ld.elf_so for amd64 and sparc64 builds.
...
two issues remain:
- LIBDPLIBS isn't working correctly, requiring hand-holding builds
- libc, libipsec, and libpcap have yacc issues, also requiring hand holding
ideally this will be replaced with a better method that can handle more
than one compat target, but i can't get that working yet. see the README
file for mroe details.
2008-10-26 07:38:27 +00:00
mrg
8f194ab1e6
add files built with MKCOMPAT != "no".
2008-10-26 07:31:40 +00:00
mrg
72f26e4440
support MKCRYPTO.
2008-10-26 07:31:00 +00:00
mrg
45ce2feab7
use libc/libcincludes.mk.
2008-10-26 07:28:49 +00:00
mrg
7bee40559f
put the code to find the libc include directories and define ARCHSUBDIR
...
and ARCHDIR in a common place.
this will be used by libc, libposix and librt.
2008-10-26 07:28:06 +00:00
mrg
4c0ca913b1
look for COMMON_MACHINE_ARCH before MACHINE_ARCH or MACHINE_CPU.
2008-10-26 07:22:50 +00:00
mrg
8679e33545
if LD32DIR is defined:
...
- look in src/compat/lib/libc for libc_pic.
- define RTLD_ARCH_SUBDIR to "i386" or "sparc" for amd64 and sparc64
builds, respectively
if RTLD_ARCH_SUBDIR is defined, add this path before
RTLD_DEFAULT_LIBRARY_PATH in the default search path.
2008-10-26 07:11:54 +00:00
mrg
e365204b08
add MKCOMPAT, to build 32 bit libs. default to no for now for everyone.
2008-10-26 07:09:11 +00:00
mrg
27498ba7bc
if the interpreter is literally "/usr/libexec/ld.elf_so" or
...
"/libexec/ld.elf_so", try <path>-<machine32arch>.
2008-10-26 07:07:35 +00:00
mrg
3912b43d37
if LD32DIR is defined, install into /usr/lib/${LD32DIR}/i18n.
2008-10-26 07:06:07 +00:00
mrg
f2a73868d6
build libi386 / libsparc in 32 bit mode on amd64 / sparc64, respectively.
2008-10-26 07:05:33 +00:00
mrg
c2a6935df8
look for <i386/vm86.h>
2008-10-26 07:05:00 +00:00
mrg
4ed5b66617
add ${LDOPTS} to the compile command.
2008-10-26 07:04:04 +00:00
mrg
cb1745c368
expose both sparc and sparc64 context bits.
2008-10-26 06:58:02 +00:00
mrg
c0a0f4462b
- use _I386_FOO_H for multi-include protection
...
- use <i386/foo.h> in a couple of places
2008-10-26 06:57:30 +00:00
mrg
778d4b76ab
provide an i386/ symlink.
2008-10-26 06:56:39 +00:00
tsutsui
d10423145f
Sync with amd64:
...
> Remove trailing whitespace.
2008-10-26 05:14:26 +00:00
christos
a893abf3f5
regen
2008-10-26 03:44:04 +00:00
christos
86f314b4bf
don't forget the percpu stuff and load gs immediately.
2008-10-26 03:43:42 +00:00
mrg
4adcca090c
- install i386 includes on amd64
...
- sort
2008-10-26 02:14:59 +00:00
mrg
45c94506c9
there's no "pppd" tag. also include share/examples/pppd/ directory.
...
HI CHRISTOS!
2008-10-26 02:14:18 +00:00
christos
47ab401cc8
fix include order; machdep needs to be first for LINUX_NPTL to be defined.
2008-10-26 02:00:57 +00:00
mrg
433b5dde02
put the contents of these header files around #ifdef __x86_64__, and
...
#include the <i386/foo.h> in the #else clause, making these files
largely bit-size independant.
2008-10-26 00:08:15 +00:00
mrg
fb8d95d826
check for ${PTHREAD_MACHINE_ARCH} before ${MACHINE_ARCH} or ${MACHINE_CPU}
2008-10-26 00:00:27 +00:00
mrg
18c9521083
look for ${KVM_MACHINE_ARCH} before ${MACHINE_ARCH} and ${MACHINE_CPU}
2008-10-25 23:59:42 +00:00
mrg
4e9d08ba3d
use <i386/foo.h> in a few places.
2008-10-25 23:59:06 +00:00
mrg
3e7eaeda40
change MACHINE_CPU occurances to CRYPTO_MACHINE_CPU, defaulting the
...
latter to the former if not already defined.
2008-10-25 23:58:35 +00:00
mrg
3fde6715d8
use ${BFD_MACHINE_ARCH} in preference to ${MACHINE_ARCH}, if defined.
2008-10-25 23:56:02 +00:00
christos
f6382710ee
Add preliminary tls support for i386. Does not work yet. From FreeBSD.
2008-10-25 23:38:28 +00:00
apb
a02cace51f
Use ${TOOL_SED} instead of plain "sed" in "!=" assignments.
...
This may need more work to prevent warning messages during
"make cleandir" when the commands in "!=" assignments are executed
even though tools may not have been built.
2008-10-25 22:35:36 +00:00
apb
f46c1de7cb
Use ${TOOL_SED} instead if plain sed in Makefiles.
2008-10-25 22:27:34 +00:00
apb
89799ead73
Pass SED=${TOOL_SED:Q} in the environment to scripts run during the build.
2008-10-25 22:23:55 +00:00
apb
125b7c8cbb
In shell scripts run during the build, add a SED variable, defaulting
...
to "sed". SED=${TOOL_SED:Q} should be passed in the environment to
override this.
2008-10-25 22:18:15 +00:00
apb
bcc847fb86
Use ${TOOL_SED} instead of just "sed" while building other tools.
...
Where sed is used in a != assignment, use
.if make(depend) || make(all) || make(dependall) || make(install)
to ensure the command doesn't run at "make obj" time when TOOL_SED will
not have been built.
2008-10-25 22:15:28 +00:00