Date: Fri, 14 Apr 2006 21:36:42 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95280 for review Message-ID: <200604142136.k3ELag4R040583@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95280 Change 95280 by jb@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604142136.k3ELag4R040583>