| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
assembler instructions, and cope with the few changes in return values
location.
|
|
|
|
|
|
| |
slot in the branch to cerror, for the delay slot instruction would also run
as part of a successful return. Doh. Fortunately almost nothing in the tree
uses brk() or sbrk() anymore... but binaries linked against libiberty.
|
|
|
|
|
| |
fact that #128 and #129 may also be used for this purpose was never documented,
so there is no reason to have libc use #128. Switch to #450 for consistency.
|
|
|
|
| |
the GOT pointer. Oops.
|
|
|
|
| |
Doh!
|
|
|
|
| |
support has been removed from our compiler a year ago.
|
|
|
|
|
|
| |
Make the code PIC-aware when necessary (i.e. invoke other functions through
the PLT, and access global data through the GOT). No change for non-PIC
compilation.
|
|
|
|
| |
both -fpic and -fPIC.
|
| |
|
| |
|
|
|
|
| |
for 15 years or so (sigcode, of course, was correct).
|
|
|
|
|
|
| |
instructions will fail.
ok guenther@
|
|
|
|
| |
ok guenther millert kettenis
|
|
|
|
| |
least the former is emitted by modern versions of GCC.
|
|
|
|
| |
floats on m88k. Agreed by miod@.
|
|
|
|
| |
ok kettenis
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.
ok matthew@, conceptually ok kurt@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mask of zero (because of flawed logic assuming finding zero in the sigjmp_buf
signal mask means sigsetjmp was invoked with a zero `savemask' argument).
While there, clean comments of all *{set,long}jmp routines, and shave a few
instructions by using bcnd insead of cmp + bb to test for zero values.
Passes the regress tests, and now devel/libsigsegv configure siglongjmp test
will not spin (this test is however flawed as it expects a signal handler
declared as running on the sigaltstack and `returning' through siglongjmp to
be invoked on the signal stack the next time the signal is raised).
|
|
|
|
| |
ok miod@ kettenis@
|
|
|
|
|
|
| |
the pointer
ok miod@ kettenis@
|
|
|
|
| |
ok miod@
|
|
|
|
|
| |
It turns out <float.h> is the right file to pull in.
ok millert
|
|
|
|
|
|
|
|
|
| |
so that it can't get a signal while still running on the parent thread's
stack. Also, pass in sizeof(struct __tfork) to provide forward compat
when more members are added. This is an ABI change, so switch syscall
numbers and bump lib majors this time.
ok deraadt@ matthew@
|
|
|
|
|
| |
or compiler we use will.
ok millert
|
| |
|
| |
|
|
|
|
|
|
| |
__tfork_thread().
ok guenther@
|
|
|
|
| |
ok miod@
|
|
|
|
|
|
| |
it can be used for not-strictly-threading purposes
ok matthew@ kurt@
|
|
|
|
|
|
|
| |
up to 3 times slower than the C code most of the time. This was
brought up by DragonflyBSD guys initially.
ok deraadt, guenther. miod will not miss it.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
particularly the "consume the signal you just sent" hang, and putting
the wait queues in userspace.
Do cancellation handling in pthread_cond_*wait(), pthread_join(),
and sem_wait().
Add __ prefix to thr{sleep,wakeup,exit,sigdivert}() syscalls; add
'abort" argument to thrsleep to close cancellation race; make
thr{sleep,wakeup} return errno values via *retval to avoid touching
userspace errno.
|
|
|
|
|
|
| |
Correct the namespace protections for sigreturn(), sigwait(), and psignal()
ok millert@
|
| |
|
|
|
|
| |
ok jsing@
|
|
|
|
| |
linker doesn't generate stubs yet.
|
|
|
|
|
| |
that instruction does sign extension. Look at %r1 to determine whether a
system call was sucessful, since that is where the kernel puts the information.
|
| |
|
|
|
|
|
|
| |
This was done for the sigreturn call in sigcode before 5.0.
ok deraadt@ for post-5.0
|
|
|
|
| |
128-bit long double. Diff committed on behalf of martynas@
|
|
|
|
|
|
| |
loads and stores may trigger an alignment trap. Also fix issues where the
code was assuming arguments were passed both in registers on the stack. This
isn't ithe case for hppa64.
|
|
|
|
|
| |
on this historical behavior; so we're stuck in this stupid situation.
No cookie for me.
|
|
|
|
| |
by guenther@ months ago, had to wait for a libc major bump.
|
|
|
|
| |
them in libc for a very long time. OK guenther@.
|
|
|
|
| |
YES!! miod@
|
|
|
|
| |
While at it clean-up a bit by removing unused files and adding cvs tags.
|
| |
|