From owner-p4-projects@FreeBSD.ORG Tue Aug 15 21:30:48 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 DFEEE16A4F0; Tue, 15 Aug 2006 21:30: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 941D516A4DF for ; Tue, 15 Aug 2006 21:30: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 5B32E43DC0 for ; Tue, 15 Aug 2006 21:28:52 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7FLSiWK066578 for ; Tue, 15 Aug 2006 21:28:44 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7FLShQX066575 for perforce@freebsd.org; Tue, 15 Aug 2006 21:28:43 GMT (envelope-from jb@freebsd.org) Date: Tue, 15 Aug 2006 21:28:43 GMT Message-Id: <200608152128.k7FLShQX066575@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 104126 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, 15 Aug 2006 21:30:48 -0000 http://perforce.freebsd.org/chv.cgi?CH=104126 Change 104126 by jb@jb_freebsd2 on 2006/08/15 21:28:18 This file may have started out automatically generated, but we customise it to suit all FreeBSD arches. Use the system headers to determine if big endian. It would be nice if this library could handle both endians and variable sizes. Affected files ... .. //depot/projects/dtrace/src/gnu/lib/libdwarf/config.h#6 edit Differences ... ==== //depot/projects/dtrace/src/gnu/lib/libdwarf/config.h#6 (text+ko) ==== @@ -1,5 +1,7 @@ -/* config.h. Generated by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ +/* + * $FreeBSD$ + */ +#include /* Define to 1 if you have the header file. */ /* #undef HAVE_ALLOCA_H */ @@ -24,14 +26,10 @@ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ -#ifdef __i386__ #define HAVE_LIBELF_H 1 -#endif /* Define to 1 if you have the header file. */ -#ifdef __sparc64__ -#define HAVE_LIBELF_LIBELF_H 1 -#endif +/* #undef HAVE_LIBELF_LIBELF_H */ /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 @@ -105,6 +103,6 @@ /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ -#ifdef __sparc64__ +#if _BYTE_ORDER == _BIG_ENDIAN #define WORDS_BIGENDIAN 1 #endif