diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-27 16:42:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-27 16:42:20 +0000 |
commit | 33f3250176ebfd4d01c91b64a2db9a4281295ffc (patch) | |
tree | e9178cca85e50cc6aedcab0259fcf0ed91339151 /libexec/ld.so/resolve.h | |
parent | 71abb69ad5b56f2815e077a3ef725973b5a7e280 (diff) |
Make _dl_md_reloc_got() report errors, and take them into account.
Fixes PR #5579.
Diffstat (limited to 'libexec/ld.so/resolve.h')
-rw-r--r-- | libexec/ld.so/resolve.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h index 960735bc366..1257ffccae3 100644 --- a/libexec/ld.so/resolve.h +++ b/libexec/ld.so/resolve.h @@ -1,4 +1,4 @@ -/* $OpenBSD: resolve.h,v 1.54 2007/05/05 15:21:21 drahn Exp $ */ +/* $OpenBSD: resolve.h,v 1.55 2007/11/27 16:42:15 miod Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -160,8 +160,8 @@ elf_object_t *_dl_lookup_object(const char *objname); elf_object_t *_dl_load_shlib(const char *, elf_object_t *, int, int); elf_object_t *_dl_tryload_shlib(const char *libname, int type, int flags); -int _dl_md_reloc(elf_object_t *object, int rel, int relsz); -void _dl_md_reloc_got(elf_object_t *object, int lazy); +int _dl_md_reloc(elf_object_t *object, int rel, int relsz); +int _dl_md_reloc_got(elf_object_t *object, int lazy); Elf_Addr _dl_find_symbol(const char *name, const Elf_Sym **this, int flags, const Elf_Sym *ref_sym, elf_object_t *object, |