Date: Mon, 3 Jul 2006 09:39:33 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100475 for review Message-ID: <200607030939.k639dXBD065243@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100475 Change 100475 by jb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607030939.k639dXBD065243>