mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
This commit is contained in:
16
sysdeps/unix/sysv/linux/mips/bits/endian.h
Normal file
16
sysdeps/unix/sysv/linux/mips/bits/endian.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/* The MIPS architecture has selectable endianness.
|
||||
Linux/MIPS exists in two both little and big endian flavours and we
|
||||
want to be able to share the installed headerfiles between both,
|
||||
so we define __BYTE_ORDER based on GCC's predefines. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
#ifdef __MIPSEB__
|
||||
# define __BYTE_ORDER __BIG_ENDIAN
|
||||
#else
|
||||
# ifdef __MIPSEL__
|
||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
# endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user