PERFORCE change 100424 for review

John Birrell jb at FreeBSD.org
Sun Jul 2 04:45:30 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100424

Change 100424 by jb at 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


More information about the p4-projects mailing list