diff options
author | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2019-08-31 04:22:13 +0000 |
---|---|---|
committer | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2019-08-31 04:22:13 +0000 |
commit | 98d35f056057ba971085a40278eb7528f52627b0 (patch) | |
tree | 6803752eb36acf061136daafc80cde60c8b170e0 /libexec/ld.so | |
parent | 58ec320a1ed112df459b94407670247de24383b1 (diff) |
Delete the last argument to fit recent _dl_find_symbol change.
ok guenther@
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/m88k/rtld_machine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/m88k/rtld_machine.c b/libexec/ld.so/m88k/rtld_machine.c index a9a62267376..71059a60a24 100644 --- a/libexec/ld.so/m88k/rtld_machine.c +++ b/libexec/ld.so/m88k/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.25 2019/08/06 04:01:42 guenther Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.26 2019/08/31 04:22:12 aoyama Exp $ */ /* * Copyright (c) 2013 Miodrag Vallat. @@ -126,7 +126,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz) sr = _dl_find_symbol(symn, SYM_SEARCH_OTHER | SYM_WARNNOTFOUND | SYM_NOTPLT, - sym, object, NULL); + sym, object); if (sr.sym != NULL) { _dl_bcopy((void *)(sr.obj->obj_base + sr.sym->st_value), r_addr, sym->st_size); @@ -151,7 +151,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz) sr = _dl_find_symbol(symn, SYM_SEARCH_ALL | SYM_WARNNOTFOUND | ((type == RELOC_GOTP_ENT) ? - SYM_PLT : SYM_NOTPLT), sym, object, NULL); + SYM_PLT : SYM_NOTPLT), sym, object); if (sr.sym == NULL) { if (ELF_ST_BIND(sym->st_info) != |