| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
While here, kill redundant use of _C_LABEL() in ENTRY().
|
| |
|
|
|
|
| |
resulting *.o have "FUNC" symbols with size set.
|
|
|
|
| |
2.17, while 2.15 didn't care, which just caused a cold shiver accross my spine.
|
|
|
|
|
| |
part of the ISO C standard and have also been dropped from POSIX.
OK guenther@ kettenis@
|
|
|
|
| |
ok millert@
|
|
|
|
|
| |
the sake of libpthread. Probably missed during the a.out->ELF switch, I
can't believe this went unnoticed for so long.
|
|
|
|
|
|
| |
is zero in the child
ok deraadt@ miod@
|
|
|
|
|
|
|
|
|
|
| |
unregistering callbacks if the DSO is unloaded. Move the callback
handling from libpthread to libc, though libpthread still overrides the
inner call to handle locking and thread-library reinitialization.
Major version bump for both libc and libpthread.
verification that this fixes various ports ajacoutot@
asm assistance miod@; ok millert@ deraadt@
|
|
|
|
|
|
|
| |
unused for around 8 years, when the kernel ABI was changed to use the
syscall number specified in r12.
ok miod@ jsg@
|
|
|
|
|
|
|
| |
for a long time, so there's no need to test the second return register here
in the asm stub.
ok and testing of many archs by krw@ miod@
|
|
|
|
| |
ok millert@, kettenis@
|
|
|
|
| |
ok deraadt
|
|
|
|
|
|
|
|
|
| |
and strlen that provide a significantly faster performance than our
previous .c or .S implementations. Based on NetBSD's code.
Tested with different amd64 CPUs.
ok deraadt@ mikeb@
|
|
|
|
|
|
| |
beneficial because the compiler tends to do small known-size blocks
inline. Continue using the MI memcpy.c for now.
ok miod
|
|
|
|
|
| |
MI syslog_r/abort version for the time being.
ok miod
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(potentially) MD versions (function dependent, not filename dependent)
split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex
Bring back amd64 .S versions
And the final touch: switch all architectures temporarily to MI
memcpy.c, which contains syslog + abort for overlapping copies. A nice
harsh undefined behaviour. We will clean the entire userland of the
remaining issues in this catagory, then switch to the optimised memcpy
which skips the memmove check.
I tried to cut this change into pieces, but testing each sub-step on
every architecture is too time consuming and mindnumbing.
ok miod
|
| |
|
|
|
|
|
| |
causing as(1) to create a wrong nop-sled for text segment aligns.
Revert, until it is found and fixed.
|
|
|
|
|
|
|
|
| |
code is already used in the kernel and the files are unmodified copies
from src/sys/lib/libkern/arch/amd64/. Depending on the function, this
gives us some speedup in userland.
ok deraadt@, no objections from miod@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
| |
of the result in many cases. From FreeBSD allbeit with some changes to
keep the coding style consistent. This fixes the asinhl(4) issue reported
by dickman@ on tech@.
|
|
|
|
|
|
|
|
|
| |
circular lists. Amazingly, they managed to extend the requirements to no
longer match the behavior of the VAX instructions they were modeled after,
so the trivial VAX ASM versions have to go. Nice job breaking it, X/Open!
Based on a diff from enh (at) google.com
ok miod@
|
|
|
|
|
|
| |
being-standardized <endian.h>
ok deraadt@ millert@ beck@
|
| |
|
|
|
|
|
|
| |
last 15 years and there is no point to use it in the future.
From Jean-Philippe Ouellet
|
|
|
|
|
|
|
| |
For large integral values, modf returned uninitialized data in iptr since 1992.
Found while debugging python segfaults.
ok miod
|
|
|
|
|
|
|
|
| |
A while back, pascal@ converted our system call stubs from using "cpp
| as" to "cc -x assembler-with-cpp", so there's no need to stay
compatible with ancient preprocessor semantics.
ok miod
|
| |
|
| |
|
|
|
|
|
|
|
| |
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@.
|