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/sparc64 | |
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/sparc64')
-rw-r--r-- | libexec/ld.so/sparc64/rtld_machine.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/sparc64/rtld_machine.c b/libexec/ld.so/sparc64/rtld_machine.c index 14ba5591406..a83a99593a8 100644 --- a/libexec/ld.so/sparc64/rtld_machine.c +++ b/libexec/ld.so/sparc64/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.67 2019/10/23 19:55:09 guenther Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.68 2019/12/07 22:57:48 guenther Exp $ */ /* * Copyright (c) 1999 Dale Rahn @@ -811,9 +811,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_all_plt(object); } else { |