From owner-p4-projects@FreeBSD.ORG Tue Mar 28 15:25:54 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 88E1D16A426; Tue, 28 Mar 2006 15:25:54 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E7DE16A420 for ; Tue, 28 Mar 2006 15:25:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19AD143D69 for ; Tue, 28 Mar 2006 15:25:51 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2SFPpNB034238 for ; Tue, 28 Mar 2006 15:25:51 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2SFPpc7034232 for perforce@freebsd.org; Tue, 28 Mar 2006 15:25:51 GMT (envelope-from jhb@freebsd.org) Date: Tue, 28 Mar 2006 15:25:51 GMT Message-Id: <200603281525.k2SFPpc7034232@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 94173 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 15:25:54 -0000 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: