History log of /openbsd/libexec/ld.so/powerpc/Makefile.inc (Results 1 – 5 of 5)
Revision Date Author Comments
# 17fa8871 20-Oct-2019 guenther <guenther@openbsd.org>

For more archs, ld.so itself only needs/uses the arch's "just add load offset"
'relative' relocation. Take advantage of that to simplify ld.so's self-reloc
code:
* give the exceptional archs (hppa

For more archs, ld.so itself only needs/uses the arch's "just add load offset"
'relative' relocation. Take advantage of that to simplify ld.so's self-reloc
code:
* give the exceptional archs (hppa and mips64) copies of the current boot.c
as boot_md.c
* teach the Makefile to use boot_md.c when present
* reduce boot.c down to the minimum necessary to handle just relative reloc
* teach the Makefile to fail if the built ld.so has other types of relocs

ok visa@ kettenis@

show more ...


# 395f4ca8 01-Jul-2019 kettenis <kettenis@openbsd.org>

Compile with -fno-jump-tables to avoid relocations in _dl_boot_bind() when
building with clang.

ok deraadt@, visa@


# c0197e40 10-May-2019 guenther <guenther@openbsd.org>

ld.so boot cleanup support:
- put functions and data which are only used before calling the executable's
start function into their own page-aligned segments for unmapping
(only done on amd64,

ld.so boot cleanup support:
- put functions and data which are only used before calling the executable's
start function into their own page-aligned segments for unmapping
(only done on amd64, arm64, armv7, powerpc, and sparc64 so far)
- pass .init_array and .preinit_array functions an addition argument which
is a callback to get a structure which includes a function that frees
the boot text and data
- sometimes delay doing RELRO processing: for a shared-object marked
DF_1_INITFIRST do it after the object's .init_array, for the executable
do it after the .preinit_array
- improve test-ld.so to link against libpthread and trigger its initialization
late
libc changes to use this will come later

ok kettenis@

show more ...


# 8fcfbbf8 09-Dec-2002 drahn <drahn@openbsd.org>

Build ld.so as a normal shared object, not with special linkage.
mprotect the necessary bit to make this work right. ok deraadt@


# 3f037c77 21-Aug-2002 art <art@openbsd.org>

Split out MD makefile parts into separate files and do
some other cleanup in the Makefile.
drahn@ ok.