This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
musl
mirror of
git://git.musl-libc.org/musl
Watch
1
Star
0
Fork
You've already forked musl
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4b43f05f3c
musl
/
arch
/
arm
/
bits
/
endian.h
6 lines
98 B
C
Raw
Normal View
History
Unescape
Escape
better support for reverse-endian variants of arm/mips/microblaze these macros are supported by more compilers
2012-10-19 01:50:55 +00:00
#
if __ARMEB__
#
define __BYTE_ORDER __BIG_ENDIAN
#
else
initial commit of the arm port this port assumes eabi calling conventions, eabi linux syscall convention, and presence of the kernel helpers at 0xffff0f?0 needed for threads support. otherwise it makes very few assumptions, and the code should work even on armv4 without thumb support, as well as on systems with thumb interworking. the bits headers declare this a little endian system, but as far as i can tell the code should work equally well on big endian. some small details are probably broken; so far, testing has been limited to qemu/aboriginal linux.
2011-09-18 20:44:54 +00:00
#
define __BYTE_ORDER __LITTLE_ENDIAN
better support for reverse-endian variants of arm/mips/microblaze these macros are supported by more compilers
2012-10-19 01:50:55 +00:00
#
endif