Age | Commit message (Collapse) | Author |
|
from .init that uses SSE doesn't randomly trigger SIGBUS.
ok drahn@, miod@
|
|
dd_flags is renamed to the placeholder position dd_unused so that
we can spot "broken software" which assumes we have Jan Simon Pendry's
union mounts (we don't have them, and won't have them ever again).
__opendir2 question spotted by matthew
verified to not break ports by sthen
|
|
otherwise double decrement can occur. ok kurt@ timeout on other reviewers.
|
|
|
|
has some issues. Discussed with various, ok drahn@
|
|
|
|
get it in tree now deraadt@, ok by several ports folks. Thanks for the testing.
|
|
|
|
outside the file the call is in. Since the function is empty, gcc
optmizes the call away, breaking the gdb hook needed to resolve symbols in
lazy bound shared libs. Analysis by kettenis@; ok miod@ kettenis@
|
|
it from usage(); if any developer wants to confirm that it will never
be an option, let me know and i'll zap the text entirely;
this is one half of a diff from Amit Kulkarni - i won;t be touching the other
half;
|
|
|
|
for chars.
|
|
|
|
races between ldconfig and ld.so
(simple commit, hours of bug hunt...)
okay kettenis@, deraad@, miod@
|
|
extended word argument slots required by the ABI.
Apparently gcc4 uses them in cases where gcc3 didn't. Fixes segmentation
faults with gcc4 because the space for the slots was colliding with
the space for dl_data that we allocated on the stack.
ok miod@, drahn@
|
|
ok espie@
|
|
library, but other library needs the one loaded. mostly ok kurt@
|
|
sparc has 4 byte long, but needs 8 byte alignment. recently the DIR
struct was changed to contain some off_t, which needs 8 byte alignment.
turns out the allocator calculated the bias for alignment, and then
subtracted out it's private linkage storage afterwards. on hppa this
worked because a 8-byte object can be loaded at a 4-byte boundary; on
all other architectures the situation was either 4/4 or 8/8.
thanks for a bit of help from drahn
|
|
so it works correctly with large offsets (and matches other systems).
This requires adding a new getdirentries syscall, with the old one
renamed to ogetdirentries. All in-tree consumers of getdirentries()
have been updated. Bump libc and libpthread major numbers.
OK and with deraadt@
|
|
|
|
|
|
|
|
always points to a pointer that is initialized to NULL. Consistently use
NULL instead of mixing NULL and 0 to make the pattern more obvious.
Fixes nm(1) crashes that happen when you pass it multiple object files on
the command line.
ok miod@
|
|
Pointed out by patrick keshish.
|
|
ok drahn@ kettenis@
|
|
already generated list. Speeds up startup on deeply nested dlopen binaries.
ok guenther@, tested by ckuethe@ and ajacoutot@
|
|
|
|
the assembler to pass %sr0 by default. No binary change.
ok kettenis@
|
|
instructions in the same cache line from being corrupted.
ok deraadt@, miod@
|
|
as 32bit values instead of 64bit values, synchronizing it with the
libc stub. gcc4 apparently packs the stack in _dl_bind() more
tightly, so this was resulting in the saved rbx register being
overwriten.
ok drahn@, marco@, NicM@
|
|
ok kettenis@
|
|
Apparently gcc4 uses them in cases where gcc3 didn't. Fixes segmentation
faults with gcc4 because the space for the slots was colliding with
the space for dl_data that we allocated on the stack.
ok miod@
|
|
|
|
overrides SYM_DLSYM, so remove the latter
ok drahn@, testing krw@
|
|
|
|
ok drahn@
|
|
ok drahn@
|
|
eyeballed by deraadt@ and drahn@
|
|
regress test run fine with this changes
ok deraadt@, drahn@
|
|
are already inserted as part of jal/jr expansion by gas, and we don't need
another one.
suggested by miod@
|
|
reserved entries in the GOT, which is a GNU extension to the 64-bit MIPS
SVR4 ABI. That's fine; all existing OpenBSD/mips64 binaries have the extra
slot.
ok miod@, jsing@, drahn@
|
|
files or directories when applicable.
The inspiration and name of MACHINE_CPU come from NetBSD, although the way to
provide it to Makefiles is completely different.
ok kettenis@
|
|
Fixes lazy binding for functions that return results larger than 64 bits
(such as structs).
ok miod@
|
|
ok miod@
|
|
ok miod@, deraadt@, jsing@
|
|
not needed (and secondly, ran into hppa not relocating function pointers
correctly)
ok kettenis drahn
|
|
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
as bcopy used the number of elements instead of the array's size.
As a consequence, the wrong version of a library could be selected
if the library had many minor numbers.
from Christian Rusch; ok otto@
|
|
|