musl/arch/sh/bits
Rich Felker 321f4fa906 add max_align_t definition for C11 and C++11
unfortunately this needs to be able to vary by arch, because of a huge
mess GCC made: the GCC definition, which became the ABI, depends on
quirks in GCC's definition of __alignof__, which does not match the
formal alignment of the type.

GCC's __alignof__ unexpectedly exposes the an implementation detail,
its "preferred alignment" for the type, rather than the formal/ABI
alignment of the type, which it only actually uses in structures. on
most archs the two values are the same, but on some (at least i386)
the preferred alignment is greater than the ABI alignment.

I considered using _Alignas(8) unconditionally, but on at least one
arch (or1k), the alignment of max_align_t with GCC's definition is
only 4 (even the "preferred alignment" for these types is only 4).
2014-08-20 17:20:14 -04:00
..
alltypes.h.in add max_align_t definition for C11 and C++11 2014-08-20 17:20:14 -04:00
endian.h fix endian subarchs for sh arch 2014-02-27 22:20:44 -05:00
errno.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
fcntl.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
fenv.h add nofpu subarchs to the sh arch, and properly detect compiler's fpu config 2014-02-27 23:18:42 -05:00
float.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
io.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
ioctl.h fix terminal control ioctl constants for sh 2014-07-29 16:40:51 -04:00
ipc.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
limits.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
mman.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
msg.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
posix.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
resource.h fix RLIMIT_ constants for mips 2014-04-15 19:17:52 -04:00
sem.h move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
setjmp.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
shm.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
signal.h fix signal.h breakage from moving stack_t to arch-specific bits 2014-03-18 23:27:45 -04:00
socket.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
stat.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
statfs.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
stdarg.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
stdint.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
syscall.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
termios.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
user.h add bits/user.h for sh port 2014-03-08 00:14:33 -05:00