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
apb
4f24e44506
Build sed earlier, just after mktemp. Note that sed and mktemp do not
...
depend on each other, but the .WAIT is needed to get them both installed
before the remainder of the tools build.
2008-10-25 22:12:41 +00:00
he
39f71a34bc
Resurrect cpu_setfunc(), and make cpu_lwp_fork() use it.
...
Restores buildable status for the acorn26 kernel.
skrll@ reviewed and commented an earlier version of this diff.
2008-10-25 22:12:33 +00:00
christos
bd4f4705da
remove genmask completely and correctly.
2008-10-25 22:12:20 +00:00
apb
2f23c0edc4
Rewrite a "!=" command to avoid using sed.
2008-10-25 22:10:39 +00:00
mrg
a5a4dddeb3
this uses an evcnt so, include <sys/evcnt.h>
2008-10-25 19:13:40 +00:00
mrg
1d7afdb8cd
allow _GCC_*CRT* defines to be overridden in the in-tree toolchain case.
2008-10-25 19:11:28 +00:00
mrg
ed79731b5f
use <sparc/pmap.h> and <sparc/kcore.h> so this builds properly with
...
a 64 bit "cc -m32".
2008-10-25 19:09:10 +00:00
mrg
15378e3afa
remove an unncessary .PATH element that doesn't exist (and never did?)
2008-10-25 19:07:26 +00:00
jmcneill
48e69717fb
Emulate cpuid instruction.
2008-10-25 19:01:18 +00:00
christos
56c00d466d
another TI bridge.
2008-10-25 18:46:38 +00:00
apb
8140020f95
Remove AWK variable, which is no longer used. All previous users
...
now use TOOL_AWK instead.
2008-10-25 18:29:03 +00:00
minskim
1e13ec8154
Remove trailing whitespace.
2008-10-25 18:18:01 +00:00
matt
3f7f9e3161
Fix some missing things for CPU_ID_FA526.
2008-10-25 18:15:19 +00:00
matt
17996c3ca8
Simplify NOERS case. Revert most changes back to 1.283.
2008-10-25 17:50:29 +00:00
christos
421f72243a
don't set RTAX_GENMASK.
2008-10-25 17:48:13 +00:00
christos
92fd481af7
add pppd examples
2008-10-25 17:47:20 +00:00
christos
f2fd40685c
add /usr/share/examples/pppd
2008-10-25 17:44:32 +00:00
christos
56ed44c4a5
Add an example script to connect to Cingular's 3G service.
2008-10-25 17:43:24 +00:00
christos
e8d515e422
regen.
2008-10-25 17:37:31 +00:00
christos
b311f98821
The Sierra Wireless USBConnect 881 card presents itself as umass containing
...
the driver to be installed for it. We don't need this crap. Tell it to become
a modem.
2008-10-25 17:35:44 +00:00
christos
e7901a5f9a
Fix handling of RTAX_GENMASK. Since this has been removed, userland programs
...
that set it, ended up causing the kernel to reference random garbage. Ignore
it for compatibility, but add a DIAGNOSTIC message so that userland programs
that set it can be fixed. The only one so far is pppd. Hi dyoung!
2008-10-25 17:34:00 +00:00
jym
e9dd42b127
- add and fix some comments in xennet and xbd code
...
- add BEST_SUSPENDED macro, the xennet equivalent of BLKIF_STATE_SUSPENDED
for xbd (indicate that backend is in suspended state)
- use GNTST_okay to check the grant table setup status returned by hypercall,
rather than 0
No functional changes.
2008-10-25 17:12:29 +00:00