From owner-p4-projects@FreeBSD.ORG Fri Apr 14 00:31:47 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 349AC16A406; Fri, 14 Apr 2006 00:31:47 +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 1200C16A400 for ; Fri, 14 Apr 2006 00:31:47 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9020643D4C for ; Fri, 14 Apr 2006 00:31:46 +0000 (GMT) (envelope-from jb@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 k3E0Vk8b042503 for ; Fri, 14 Apr 2006 00:31:46 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3E0VkRV042495 for perforce@freebsd.org; Fri, 14 Apr 2006 00:31:46 GMT (envelope-from jb@freebsd.org) Date: Fri, 14 Apr 2006 00:31:46 GMT Message-Id: <200604140031.k3E0VkRV042495@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 95198 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: Fri, 14 Apr 2006 00:31:47 -0000 http://perforce.freebsd.org/chv.cgi?CH=95198 Change 95198 by jb@jb_freebsd2 on 2006/04/14 00:31:19 Stop using Sun's ELF and link headers and use ours instead. Include a couple of compatibility headers for Sun's extensions. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/intel/sys/machelf.h#3 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/intel/sys/machelf.h#3 (text) ==== @@ -33,18 +33,26 @@ extern "C" { #endif +#if defined(sun) #if defined(__amd64) #include #elif defined(__i386) #include #endif +#endif + #ifndef _ASM #include -#if !defined(sun) +#if defined(sun) +#include +#include /* for Elf*_Dyn */ +#else +#include +#include #include +#include +#include #endif -#include -#include /* for Elf*_Dyn */ #endif /* _ASM */ /*