From owner-p4-projects@FreeBSD.ORG Fri Apr 14 01:01:25 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 8146216A405; Fri, 14 Apr 2006 01:01:25 +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 48C6D16A400 for ; Fri, 14 Apr 2006 01:01:25 +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 140CD43D45 for ; Fri, 14 Apr 2006 01:01:25 +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 k3E11Of5067963 for ; Fri, 14 Apr 2006 01:01:24 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3E11OEu067953 for perforce@freebsd.org; Fri, 14 Apr 2006 01:01:24 GMT (envelope-from jb@freebsd.org) Date: Fri, 14 Apr 2006 01:01:24 GMT Message-Id: <200604140101.k3E11OEu067953@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 95201 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 01:01:25 -0000 http://perforce.freebsd.org/chv.cgi?CH=95201 Change 95201 by jb@jb_freebsd2 on 2006/04/14 01:01:11 Include compatibility headers to get Sun's extensions. Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/head/gelf.h#5 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/head/gelf.h#5 (text) ==== @@ -30,38 +30,16 @@ #pragma ident "@(#)gelf.h 1.14 05/06/08 SMI" #include +#include -#include #if defined(sun) #include #else -#include #include #include - -/* - * Non Sun ELF implementations don't have these. - * Where is the standard that defines them? - */ -typedef unsigned long long Elf64_Lword; -typedef struct { - Elf64_Lword m_value; /* symbol value */ - Elf64_Xword m_info; /* size + index */ - Elf64_Xword m_poffset; /* symbol offset */ - Elf64_Half m_repeat; /* repeat count */ - Elf64_Half m_stride; /* stride info */ -} Elf64_Move; -typedef struct { - Elf64_Xword c_tag; /* how to interpret value */ - union { - Elf64_Xword c_val; - Elf64_Addr c_ptr; - } c_un; -} Elf64_Cap; -typedef struct { - Elf64_Half si_boundto; /* direct bindings - symbol bound to */ - Elf64_Half si_flags; /* per symbol flags */ -} Elf64_Syminfo; +#include +#include +#include #endif /*