From owner-p4-projects@FreeBSD.ORG Sun Jul 2 04:45:30 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 4858416A415; Sun, 2 Jul 2006 04:45:30 +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 1D25F16A407 for ; Sun, 2 Jul 2006 04:45:30 +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 DF50944411 for ; Sun, 2 Jul 2006 04:45:29 +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 k624jTHT066138 for ; Sun, 2 Jul 2006 04:45:29 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k624jTRD066135 for perforce@freebsd.org; Sun, 2 Jul 2006 04:45:29 GMT (envelope-from jb@freebsd.org) Date: Sun, 2 Jul 2006 04:45:29 GMT Message-Id: <200607020445.k624jTRD066135@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 100424 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: Sun, 02 Jul 2006 04:45:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=100424 Change 100424 by jb@jb_freebsd2 on 2006/07/02 04:44:30 Define as values rather than just defining. (#if vs #ifdef) Affected files ... .. //depot/projects/dtrace/src/gnu/lib/libdwarf/config.h#3 edit Differences ... ==== //depot/projects/dtrace/src/gnu/lib/libdwarf/config.h#3 (text+ko) ==== @@ -42,8 +42,11 @@ /* Define to 1 if the elf64_getehdr function is in libelf.a */ /* #undef HAVE_ELF64_GETEHDR */ +#if defined(__sparc64__) +#define HAVE_ELF64_GETSHDR 1 +#define HAVE_ELF64_GETEHDR 1 +#endif - /* see if __uint32_t is predefined in the compiler */ /* #undef HAVE___UINT32_T */ @@ -138,3 +141,6 @@ /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #undef WORDS_BIGENDIAN */ +#if defined(__sparc64__) +#define WORDS_BIGENDIAN +#endif