is
591f5c7964
Fix PR 18444 and a few other corner cases in cdplay.c.
2003-01-30 21:23:57 +00:00
atatat
7a8e4b4bc4
Two small changes to the ELF exec code:
...
(1) ELFNAME(load_file)() now takes a pointer to the entry point
offset, instead of taking a pointer to the entry point itself. This
allows proper adjustment of the ultimate entry point at a higher level
if the object containing the entry point is moved before the exec is
finished.
(2) Introduce VMCMD_FIXED, which means the address at which a given
vmcmd describes a mapping is fixed (ie, should not be moved). Don't
set this for entries pertaining to ld.so.
Also some minor comment/whitespace tweaks.
2003-01-30 20:03:46 +00:00
thorpej
84855a5789
Test _KERNEL_OPT before including opt_*.h files.
2003-01-30 19:59:29 +00:00
thorpej
8139d13ab9
Add a ucontext test from Nathan's testsuite.
2003-01-30 19:47:00 +00:00
thorpej
a1c259efd5
Add tests for do-once control from Nathan's testsuite.
2003-01-30 19:31:59 +00:00
manu
34a458238c
For cproc_t, use a per thread value instead of a per process value. ifdef
...
out l_emuldata in struct lwp until we actually use it.
2003-01-30 19:14:18 +00:00
thorpej
bfcc695a87
Add one more condition variable test from Nathan's testsuite.
2003-01-30 18:57:06 +00:00
thorpej
afab0f25a7
Add condition variable tests from Nathan's testsuite.
2003-01-30 18:53:44 +00:00
thorpej
13eede9b17
Add a test for pthread barriers.
2003-01-30 18:23:09 +00:00
thorpej
9b6c031a4f
Add mutex tests from Nathan's testsuite.
2003-01-30 18:05:25 +00:00
hannken
eea2fc320e
Fix printf() problem caused by "daddr_t" change.
2003-01-30 16:33:50 +00:00
yamt
84d61a1dc4
there's no need to treat VOP_WHITEOUT as dirop
...
because it modifies only one inode.
2003-01-30 14:18:32 +00:00
martin
dc63778c66
Sparc64 already had a BUS_DMA_NOCACHE - remove one of the two definitions.
...
Fortunately the old (local) one had the same semantics as the new one.
2003-01-30 13:32:25 +00:00
lukem
4b3798a679
In "sets" target, ensure ${RELEASEDIR}/${MACHINE}/binary/sets exists.
...
Fixes [toolchain/20120] from Lubomir Sedlacik.
2003-01-30 12:16:18 +00:00
pk
ac9d761168
The introduction of FAS366 support annihilated the `reselect-while-selecting'
...
workaround for the ESP100 variant.
2003-01-30 11:03:45 +00:00
jhawk
8f3b1cfb79
Note find(1) changes to -user predicate (permit + and - on numeric args)
2003-01-30 10:53:01 +00:00
jhawk
e025cf984b
Obey preceding - and + on -user when a numeric uid is specified (only).
...
Our behavior is now consistent with Solaris, and more useful than previous.
2003-01-30 10:49:18 +00:00
jhawk
980fe9aad7
Obey preceding - and + on -user when a numeric uid is specified (only).
...
Our behavior is now consistent with Solaris, and more useful than previous.
Unfortunately we end up strtol()-ing twice (once via atoi()) to avoid
changing find_parsenum().
2003-01-30 10:49:05 +00:00
matt
e680c1c1e9
Load SPRG0 with &cpu_info_store.
2003-01-30 07:46:28 +00:00
matt
161af1dd62
Add a KASSERT when copying l1->l_cpu to l2->l_cpu
2003-01-30 05:51:58 +00:00
lukem
34e5de7919
Prefix various paths with 'DESTDIR', to highlight that the DESTDIR
...
is taken into account.
2003-01-30 02:52:40 +00:00
fvdl
1627b9c342
libpthread support for x86_64.
2003-01-30 02:10:31 +00:00
fvdl
894bd3ad9d
Add ucontext glue for x86_64.
2003-01-30 02:07:30 +00:00
fvdl
aa0d12cace
Use flag to indicate whether an LWP should return to userspace via
...
sysret (should it have entered through syscall), or via a plain
iret. This can be done more quicker and dirtier, but I've decided
against that for now.
2003-01-30 02:04:59 +00:00
fvdl
be932c1dc6
Add some optional debug goop.
2003-01-30 02:03:35 +00:00
fvdl
c795d68779
Add flag to indicate that an LWP should return to userspace via a normal
...
iret (not sysret).
2003-01-30 02:02:51 +00:00
nathanw
f66d2f37f7
More rototilling:
...
* Implement pthread_kill().
* Return the old thread mask, not the old process mask, in our
interpositioned sigaction call.
* Refer to _NSIG, not NSIG.
* Gut pthread_sigmask(). It was handling a lot of corner cases that
weren't legal anyway. Handle unblocked signals with a new
pthread__kill_self() routine (also used by pthread_kill()).
* Be more consistent with locking around pt_sigacts[].
2003-01-30 01:12:42 +00:00
nathanw
a8773f45f8
Simplify pthread__upcall() a bit by moving lock resolution before the big
...
switch statement, and moving upcall-type-specific code into that switch.
Beneficial side effect: don't manipulate a statelock before lock resolution
occurs.
2003-01-30 01:04:50 +00:00
nathanw
7d8ac1f6c2
Set a thread's state to RUNNABLE when yielding.
2003-01-30 01:00:58 +00:00
matt
7253b60a31
Cast daddr_t to long so to avoid
...
"cast to pointer from integer of different size" warning.
2003-01-30 00:36:32 +00:00
matt
10a5895585
Cleanup daddr_t fallout.
2003-01-30 00:28:19 +00:00
nathanw
d2027d4d00
Fix _lwp_wakeup() so that it stands a chance of working (although it
...
turns out to be insufficent for signal-level interruption of system
calls. guess we need _lwp_kill(), ugh).
2003-01-29 23:27:54 +00:00
lukem
6ac63dc2e0
allow toolprefix to be easily changed
2003-01-29 22:50:08 +00:00
heinz
077e910e6d
Provide some more details for papers by Bentley/M.D. McIlroy and by
...
P.M. McIlroy (after short e-mail conversation with M.D. McIlroy on
www@).
2003-01-29 22:12:53 +00:00
briggs
bd89d9c39f
Compile without DIAGNOSTIC.
2003-01-29 20:44:48 +00:00
briggs
f339e5e9fe
Get the interrupt mappings right for the slot.
2003-01-29 20:08:02 +00:00
fvdl
1ae2ac239d
Make the ld workaround work on x88_64, and add the temporary ld script
...
to CLEANFILES.
2003-01-29 18:44:47 +00:00
thorpej
2051b2d8e7
Don't set LDF_ENABLED unless the device is really okay. Noted by
...
Andrew Doran.
2003-01-29 16:50:37 +00:00
drochner
e3b243beb8
give some VM which was reserved for the UAREA but not used anymore back
...
to the user and adjust some comments (which were not accurate anyway
since NOREDZONE)
binary compatibility note: changing VM_MAXUSER_ADDRESS might influence
some sanity check in kvm_proc, where arguments on the stack are dealt
with, but it was a variable anyway and noone did care...
2003-01-29 14:12:35 +00:00
drochner
e81f9f1784
cosmetics
2003-01-29 14:03:08 +00:00
yamt
53d6eb47ee
don't use daddr_t for segment summary since it's an on-disk structure.
2003-01-29 13:14:33 +00:00
kanaoka
1cd881c271
Set RTK_ENABLE flag when it attached. This fixed multicast problem.
...
Found by FUKAUMI Naoki <naoki@fukaumi.org>.
2003-01-29 12:57:36 +00:00
mjl
153fa7e195
Remove "freen" and "freend", the first is no word, the second archaic
...
for friend -- both probably a typo in the first import.
Also "corelate" is preferred as "correlate" nowadays.
2003-01-29 12:46:22 +00:00
simonb
7176940e72
Enable MIPS now that crunchgen works again for this arch.
2003-01-29 11:32:45 +00:00
simonb
51f9790db1
Note objcopy and crunchgen changes.
2003-01-29 10:34:26 +00:00
simonb
6960865826
Use new the --redefine-syms-file option to objcopy to rename the symbols
...
we want to hide instead of making global symbols local (which doesn't
work on MIPS).
2003-01-29 10:32:34 +00:00
simonb
0fd8c49338
Add a --redefine-syms-file option from Chris Demetriou's proposed patch
...
in http://sources.redhat.com/ml/binutils/2002-09/msg00505.html .
2003-01-29 10:26:22 +00:00
kei
3afb432b11
fix typo. USETOOLS, not USE_TOOLS.
2003-01-29 09:17:08 +00:00
atatat
bede65472d
Cull unused variables. Sigh.
...
PS - Cross compilers are cool.
2003-01-29 07:00:35 +00:00
perseant
4783b17664
Make the test a little less demanding (write 800k files instead of 1600k).
2003-01-29 05:39:41 +00:00