From owner-cvs-all@FreeBSD.ORG Sat Aug 28 19:31:10 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7B3116A4CE; Sat, 28 Aug 2004 19:31:10 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDA1443D68; Sat, 28 Aug 2004 19:31:10 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7SJVAwC017974; Sat, 28 Aug 2004 19:31:10 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7SJVAtL017973; Sat, 28 Aug 2004 19:31:10 GMT (envelope-from iedowse) Message-Id: <200408281931.i7SJVAtL017973@repoman.freebsd.org> From: Ian Dowse Date: Sat, 28 Aug 2004 19:31:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/kldxref ef.c ef.h ef_amd64.c ef_i386.c ef_nop.c ef_obj.c ef_sparc64.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2004 19:31:10 -0000 iedowse 2004-08-28 19:31:10 UTC FreeBSD src repository Modified files: usr.sbin/kldxref ef.c ef.h ef_amd64.c ef_i386.c ef_nop.c ef_obj.c ef_sparc64.c Log: Explicitly pass in the relocation base and data offset into ef_reloc() rather than relying on a trick that happens to work for the current relocation schemes. Also add some comments and improve variable naming. Revision Changes Path 1.8 +2 -2 src/usr.sbin/kldxref/ef.c 1.5 +2 -2 src/usr.sbin/kldxref/ef.h 1.2 +13 -10 src/usr.sbin/kldxref/ef_amd64.c 1.2 +13 -10 src/usr.sbin/kldxref/ef_i386.c 1.3 +2 -2 src/usr.sbin/kldxref/ef_nop.c 1.3 +10 -7 src/usr.sbin/kldxref/ef_obj.c 1.3 +12 -10 src/usr.sbin/kldxref/ef_sparc64.c