diff options
| author | Ryan Libby <rlibby@FreeBSD.org> | 2020-12-19 04:09:21 +0000 |
|---|---|---|
| committer | Ryan Libby <rlibby@FreeBSD.org> | 2020-12-19 04:09:21 +0000 |
| commit | 673b7213cb32622f5aeb0bd8ad7063a4230ae4e3 (patch) | |
| tree | 95b6650a35ea3489ea3563262f9be92134059c13 /libexec/rtld-elf | |
| parent | 3fb56c614a998452d26da3727193bd4ed5af3862 (diff) | |
Notes
Diffstat (limited to 'libexec/rtld-elf')
| -rw-r--r-- | libexec/rtld-elf/i386/reloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/rtld-elf/i386/reloc.c b/libexec/rtld-elf/i386/reloc.c index 67b9828887fe..b4bd09d677b4 100644 --- a/libexec/rtld-elf/i386/reloc.c +++ b/libexec/rtld-elf/i386/reloc.c @@ -146,6 +146,10 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, } else cache = NULL; + /* Appease some compilers. */ + symval = 0; + def = NULL; + rellim = (const Elf_Rel *)((const char *)obj->rel + obj->relsize); for (rel = obj->rel; rel < rellim; rel++) { switch (ELF_R_TYPE(rel->r_info)) { |
