PERFORCE change 134546 for review
Olivier Houchard
cognet at FreeBSD.org
Thu Jan 31 06:08:52 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134546
Change 134546 by cognet at hulglah on 2008/01/31 14:08:19
Define ELFDATA2LSB or ELFDATA2MSB depending on the target endianness.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/include/elf.h#5 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/include/elf.h#5 (text+ko) ====
@@ -151,7 +151,11 @@
/* Define "machine" characteristics */
#define ELF_TARG_CLASS ELFCLASS32
+#ifdef __MIPSEB__
#define ELF_TARG_DATA ELFDATA2MSB
+#else
+#define ELF_TARG_DATA ELFDATA2LSB
+#endif
#define ELF_TARG_MACH EM_MIPS
#define ELF_TARG_VER 1
More information about the p4-projects
mailing list