From owner-p4-projects@FreeBSD.ORG Mon Dec 31 05:31:57 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BAAA516A41A; Mon, 31 Dec 2007 05:31:57 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80AFA16A418 for ; Mon, 31 Dec 2007 05:31:57 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7126413C46B for ; Mon, 31 Dec 2007 05:31:57 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBV5VvPA092210 for ; Mon, 31 Dec 2007 05:31:57 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBV5VvH3092205 for perforce@freebsd.org; Mon, 31 Dec 2007 05:31:57 GMT (envelope-from jb@freebsd.org) Date: Mon, 31 Dec 2007 05:31:57 GMT Message-Id: <200712310531.lBV5VvH3092205@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 132153 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: Mon, 31 Dec 2007 05:31:58 -0000 http://perforce.freebsd.org/chv.cgi?CH=132153 Change 132153 by jb@jb_freebsd1 on 2007/12/31 05:31:02 amd64 doesn't seem to have a program header in the kernel modules like i386 does. I don't know enough about amd64 to know if that's a problem or not. I have a feeling I'm not far off learning that. :-P Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_module.c#14 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_module.c#14 (text) ==== @@ -927,6 +927,7 @@ #if defined(sun) dmp->dm_modid = (int)OBJFS_MODID(st.st_ino); #else +#if defined(__i386__) /* * Find the first load section and figure out the relocation * offset for the symbols. The kernel module will not need @@ -939,6 +940,7 @@ } } #endif +#endif if (dmp->dm_info.objfs_info_primary) dmp->dm_flags |= DT_DM_PRIMARY;