| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
this hardware alive is becoming increasingly difficult, and I should heed the
message sent by the three disks which have died on me over the last few days.
Noone sane will mourn these ports anyway. So long, and thanks for the fish.
|
|
|
|
| |
ok miod jsing
|
|
|
|
|
| |
and was writing to wrong memory.
ok jsing miod guenther
|
|
|
|
|
|
| |
handling per-thread errno lives in librthread.
ok miod@, espie@
|
| |
|
|
|
|
|
| |
resurrection of the bad idiom in the tree.
sufficient review by miod, kettenis, tedu
|
| |
|
| |
|
|
|
|
|
| |
years that fork() returns through child_return(), which takes care of zeroing
%r2.
|
| |
|
|
|
|
|
| |
proceed through to crash and show the bug.
ok miod
|
|
|
|
|
| |
as it forces a pipeline synchronization; replace it with a bcnd + unconditional
trap, to only synchronize when the trap is needed.
|
| |
|
|
|
|
|
| |
(as gcc does not emit code calling them), but will be shortly; belatedly
riding the libc minor bump.
|
|
|
|
|
|
|
|
|
| |
GOTPCREL. Uncovered after the binutils patch where it isn't optimized
away at assembly and is forced to go through GOTPCREL. But _map
is effectively a local variable.
Found with cephes by guenther@.
OK guenther@, kettenis@, deraadt@.
|
|
|
|
| |
-fPIC. Harmless since we build libc -fpic so far.
|
|
|
|
|
|
|
|
|
|
|
| |
where appropriate. Among other things makes the symbols consistent
across all architectures (notably where ldbl mantissa is 53 bits).
While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there
to trick lint into recording the right prototypes for aliased
functions. Most of the work done at the awesome n2k13 hackathon.
Agreed by kettenis@, guenther@, matthew@.
|
|
|
|
|
| |
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@
|