diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2019-12-07 22:57:49 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2019-12-07 22:57:49 +0000 |
commit | 69435a08336c1e465df0a7e105e263777a3c9d5a (patch) | |
tree | 8692ed3789dab69c3fcf2b40f2a1d28e981df77f /libexec/ld.so/powerpc | |
parent | 931d1c94dd72f93bfbdef370008c9ef3ece61b0b (diff) |
Disable ltrace for objects linked with -znow, as at least on amd64, linking
that was deletes the lazy relocation trampoline which ltrace currently
depends on
problem reported by tb@
directional feedback kettenis@
ok mpi@
Diffstat (limited to 'libexec/ld.so/powerpc')
-rw-r--r-- | libexec/ld.so/powerpc/rtld_machine.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/powerpc/rtld_machine.c b/libexec/ld.so/powerpc/rtld_machine.c index b1f3dc9ab38..3bc6cd2ed2b 100644 --- a/libexec/ld.so/powerpc/rtld_machine.c +++ b/libexec/ld.so/powerpc/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.69 2019/10/23 19:55:09 guenther Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.70 2019/12/07 22:57:48 guenther Exp $ */ /* * Copyright (c) 1999 Dale Rahn @@ -275,9 +275,6 @@ _dl_md_reloc_got(elf_object_t *object, int lazy) if (object->Dyn.info[DT_PLTREL] != DT_RELA) return 0; - if (object->traced) - lazy = 1; - if (!lazy) { fails = _dl_md_reloc(object, DT_JMPREL, DT_PLTRELSZ); } else { |