Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2008 14:08:51 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134546 for review
Message-ID:  <200801311408.m0VE8pQY041065@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134546

Change 134546 by cognet@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801311408.m0VE8pQY041065>