#
1e43641e |
| 18-Nov-2023 |
deraadt <deraadt@openbsd.org> |
crt0 uses a helper function in a MD src/libexec/ld.so .h file (rather than reproducing the relevant defines and code in a different place) to perform minor relocations. If things go very wrong, it w
crt0 uses a helper function in a MD src/libexec/ld.so .h file (rather than reproducing the relevant defines and code in a different place) to perform minor relocations. If things go very wrong, it would call _dl_exit() -- a locally defined crt0 function which is syscall exit(2). We don't need to call exit(2) for this obscure case which doesn't happen and provides no debugging information. An 'abort' is going to provide better information. So let's change the function name to _dso_abort() and make it a single illegal instruction. ok guenther
show more ...
|
#
b0a1b819 |
| 16-Jan-2022 |
guenther <guenther@openbsd.org> |
Nothing depends on archdep.h pulling in other #includes anymore, so delete the #includes and hide the RELOC_* functions that are only used by lib/csu behind "#ifdef RCRT0"
ok jca@
|
#
246ef78e |
| 14-Nov-2021 |
guenther <guenther@openbsd.org> |
Delete all the no-op RELOC_GOT() macros and their uses. Annotate RELOC_DYN() on non-hppa as only used in lib/csu. Delete some inconsistent comments, adjust whitespace, and reorder mips64's archdep.
Delete all the no-op RELOC_GOT() macros and their uses. Annotate RELOC_DYN() on non-hppa as only used in lib/csu. Delete some inconsistent comments, adjust whitespace, and reorder mips64's archdep.h so that the ld.so/*/archdep.h files look (almost) the same.
ok visa@ kettenis@
show more ...
|
#
9e6d8a17 |
| 09-Nov-2021 |
guenther <guenther@openbsd.org> |
Like most archs, riscv doesn't need resolution of JUMP_SLOT relocations in static PIE binaries: delete RELOC_JMPREL and HAVE_JMPREL there.
ok kettenis@
|
#
6d91b5a8 |
| 28-Apr-2021 |
drahn <drahn@openbsd.org> |
riscv64 ld.so derived from arm64 go ahead deraadt@
|