Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 15:25:51 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94173 for review
Message-ID:  <200603281525.k2SFPpc7034232@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94173

Change 94173 by jhb@jhb_slimer on 2006/03/28 15:25:41

	Use linker_file_lookup_symbol_internal() in the linker classes.

Affected files ...

.. //depot/projects/smpng/sys/kern/link_elf.c#36 edit
.. //depot/projects/smpng/sys/kern/link_elf_obj.c#11 edit

Differences ...

==== //depot/projects/smpng/sys/kern/link_elf.c#36 (text+ko) ====

@@ -1301,7 +1301,8 @@
 	if (*symbol == 0)
 		return (0);
 
-	return ((Elf_Addr)linker_file_lookup_symbol(lf, symbol, deps));
+	return ((Elf_Addr)linker_file_lookup_symbol_internal(lf, symbol,
+	    deps));
 }
 
 static void

==== //depot/projects/smpng/sys/kern/link_elf_obj.c#11 (text+ko) ====

@@ -1101,7 +1101,8 @@
 		/* Force a lookup failure if the symbol name is bogus. */
 		if (*symbol == 0)
 			return (0);
-		ret = ((Elf_Addr)linker_file_lookup_symbol(lf, symbol, deps));
+		ret = ((Elf_Addr)linker_file_lookup_symbol_internal(lf, symbol,
+		    deps));
 		return ret;
 
 	case STB_WEAK:



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