PERFORCE change 95280 for review

John Birrell jb at FreeBSD.org
Fri Apr 14 21:36:43 UTC 2006


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

Change 95280 by jb at jb_freebsd2 on 2006/04/14 21:36:40

	Define _ELF32 or _ELF64 (which the Solaris code tests for) in terms of
	our __ELF_WORD_SIZE. I'm trying to use as many of our headers as possible.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/intel/sys/machelf.h#4 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/intel/sys/machelf.h#4 (text) ====

@@ -52,6 +52,11 @@
 #include <opensolaris/compat/sys/types.h>
 #include <opensolaris/compat/sys/elf.h>
 #include <opensolaris/compat/sys/link.h>
+#if __ELF_WORD_SIZE == 32
+#define _ELF32
+#else
+#define _ELF64
+#endif
 #endif
 #endif	/* _ASM */
 


More information about the p4-projects mailing list