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/mips64 | |
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/mips64')
-rw-r--r-- | libexec/ld.so/mips64/rtld_machine.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/mips64/rtld_machine.c b/libexec/ld.so/mips64/rtld_machine.c index a93db355625..17d29d8a13d 100644 --- a/libexec/ld.so/mips64/rtld_machine.c +++ b/libexec/ld.so/mips64/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.32 2019/10/23 19:55:09 guenther Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.33 2019/12/07 22:57:48 guenther Exp $ */ /* * Copyright (c) 1998-2004 Opsycon AB, Sweden. @@ -187,9 +187,6 @@ _dl_md_reloc_got(elf_object_t *object, int lazy) n = object->Dyn.info[DT_MIPS_SYMTABNO - DT_LOPROC + DT_NUM] - object->Dyn.info[DT_MIPS_GOTSYM - DT_LOPROC + DT_NUM]; - if (object->traced) - lazy = 1; - /* * Then do all global references according to the ABI. * Quickstart is not yet implemented. |