mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-17 02:20:10 +00:00
65074d2311
* sysdeps/sh/Dist: Removed. There is no ieee754.h file. * sysdeps/sh/sh3/dl-machine.h: Moved to... * sysdeps/sh/dl-machine.h: ...here. New file. * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION and include generic SH version. * sysdeps/sh/sh3/bits/endian.h: Move to... * sysdeps/sh/bits/endian.h: ...here. New file. * sysdeps/sh/sh4/bits/endian.h: Removed. * sysdeps/sh/sh3/bits/huge_val.h: Move to... * sysdeps/sh/bits/huge_val.h: ...here. New file. * sysdeps/sh/sh4/bits/huge_val.h: Removed. GAS which warns about changing section attributes. Proposed by Nick Clifton <nickc@redhat.com>. * sysdeps/sh/elf/initfini.c: New file. * sysdeps/sh/elf/start.S: New file. * sysdeps/sh/sys/ucontext.h: New file.
14 lines
343 B
C
14 lines
343 B
C
/* SH is bi-endian but with a big-endian FPU. */
|
|
|
|
#ifndef _ENDIAN_H
|
|
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
|
#endif
|
|
|
|
#ifdef __LITTLE_ENDIAN__
|
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
|
#define __FLOAT_WORD_ORDER __LITTLE_ENDIAN
|
|
#else
|
|
#define __BYTE_ORDER __BIG_ENDIAN
|
|
#define __FLOAT_WORD_ORDER __BIG_ENDIAN
|
|
#endif
|