Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2015 12:48:31 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r282142 - stable/10/libexec/rtld-elf/mips
Message-ID:  <201504281248.t3SCmVdM060109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504281248.t3SCmVdM060109>