PERFORCE change 100475 for review
John Birrell
jb at FreeBSD.org
Mon Jul 3 09:39:37 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100475
Change 100475 by jb at jb_freebsd2 on 2006/07/03 09:38:33
Make the Sparc Solaris definitions use FreeBSD's ELF headers where possible.
Affected files ...
.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/sparc/sys/machelf.h#2 edit
Differences ...
==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/sparc/sys/machelf.h#2 (text) ====
@@ -33,12 +33,19 @@
extern "C" {
#endif
+#if defined(sun)
#include <sys/elf_SPARC.h>
#ifndef _ASM
#include <sys/types.h>
#include <sys/elf.h>
#include <sys/link.h> /* for Elf*_Dyn */
#endif /* _ASM */
+#else
+#include <elf.h>
+#include <link.h>
+#include <opensolaris/compat/sys/elf.h>
+#include <opensolaris/compat/sys/link.h>
+#endif
/*
* Make machine class dependent data types transparent to the common code
More information about the p4-projects
mailing list