History log of /openbsd-src/libexec/ld.so/sh/rtld_machine.c (Results 26 – 36 of 36)
Revision Date Author Comments
# ce11e090 09-Apr-2008 kurt <kurt@openbsd.org>

Improve support for shared libs linked at non-zero addreses:
- rename private values in struct elf_object to better
describe their meaning:
s/load_offs/obj_base/ "object's address '0' base"

Improve support for shared libs linked at non-zero addreses:
- rename private values in struct elf_object to better
describe their meaning:
s/load_offs/obj_base/ "object's address '0' base"
s/load_addr/load_base/ "The base address of the loadable
segments"
- gdb needs the obj_base value so swap positions with load_base in
struct elf_object
- fix a few occurrences of where load_base was used instead of
obj_base.

With help and okay drahn@

show more ...


# e195ebe3 24-Feb-2008 drahn <drahn@openbsd.org>

Use rounded down address when changing memory protections on the GOT, such
that we don't accidentally touch the page after the GOT.

Bug found on sparc64 affected other platforms as well.

ok ketteni

Use rounded down address when changing memory protections on the GOT, such
that we don't accidentally touch the page after the GOT.

Bug found on sparc64 affected other platforms as well.

ok kettenis@

show more ...


# e9cfe40c 27-Nov-2007 miod <miod@openbsd.org>

Make _dl_md_reloc_got() report errors, and take them into account.
Fixes PR #5579.


# 1e440e15 05-May-2007 drahn <drahn@openbsd.org>

Provide hook so that rthreads can provide a spinlock to protect from races
in lazy binding. ok art@, kurt@


# 04890bd3 07-Mar-2007 drahn <drahn@openbsd.org>

Put the workaround back in because gcc fails to build otherwise. ok deraadt@


# 4fee8f69 06-Mar-2007 drahn <drahn@openbsd.org>

Revert a workaround that was put in for softfpu ABI violations, hardfp doesnt.
ok miod.


# 27da5a50 03-Feb-2007 drahn <drahn@openbsd.org>

Kludge around a horrible problem where gcc 'knows' that __udivsi3 will
only clobber r0 and r4, and will not modify any other registers. Unfortunately
calling thru the PLT clobbers other registers eg,

Kludge around a horrible problem where gcc 'knows' that __udivsi3 will
only clobber r0 and r4, and will not modify any other registers. Unfortunately
calling thru the PLT clobbers other registers eg, r1, which then
breaks because gcc doesn't reload the proper value.

show more ...


# 53f5f592 11-Nov-2006 drahn <drahn@openbsd.org>

remove '#if 0' block.


# d400bd04 10-Nov-2006 drahn <drahn@openbsd.org>

better...


# 1dbccdd1 10-Nov-2006 drahn <drahn@openbsd.org>

Getting much closer.


# 0db8dc53 10-Nov-2006 drahn <drahn@openbsd.org>

Not quite working ld.so support for sh


12