svn commit: r282142 - stable/10/libexec/rtld-elf/mips
Ed Maste
emaste at FreeBSD.org
Tue Apr 28 12:48:31 UTC 2015
Author: emaste
Date: Tue Apr 28 12:48:30 2015
New Revision: 282142
URL: https://svnweb.freebsd.org/changeset/base/282142
Log:
MFC r281107: MIPS rtld: report missing symbol rather than segfaulting
This is only an interim fix; MIPS should be using the MI code instead,
which does not have this issue.
Modified:
stable/10/libexec/rtld-elf/mips/reloc.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/libexec/rtld-elf/mips/reloc.c
==============================================================================
--- stable/10/libexec/rtld-elf/mips/reloc.c Tue Apr 28 12:37:09 2015 (r282141)
+++ stable/10/libexec/rtld-elf/mips/reloc.c Tue Apr 28 12:48:30 2015 (r282142)
@@ -245,7 +245,7 @@ _mips_rtld_bind(Obj_Entry *obj, Elf_Size
def = find_symdef(reloff, obj, &defobj, SYMLOOK_IN_PLT, NULL,
NULL);
if (def == NULL)
- _rtld_error("bind failed no symbol");
+ rtld_die();
target = (Elf_Addr)(defobj->relocbase + def->st_value);
dbg("bind now/fixup at %s sym # %jd in %s --> was=%p new=%p",
More information about the svn-src-stable-10
mailing list