diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-27 12:31:26 +0300 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-07-29 22:53:53 +0300 |
commit | f04e46b141cb598747ec69810365753abfbf93e7 (patch) | |
tree | b2b2448ec0b8f11303a6b06e60edd8ab5dcf7679 /newlib/libc/sys/rtems/machine/_types.h | |
parent | 763e0b7bafdd824eb146f635e76523f97e8f3722 (diff) |
Move header files
During libgcc build the first include search path for <...> is
"../newlib/libc/sys/rtems/include". Move all RTEMS specific header
files to "libc/sys/rtems/include" so that they can be found. Later
during libc build the header files in the previous location were somehow
present, but for libgcc build they were invisible. This change is
necessary to use <pthread.h> for the GCC thread model implementation.
newlib/ChangeLog
2015-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
libc/sys/rtems/machine/_types.h: Move to ...
libc/sys/rtems/include/machine/_types.h: ... here.
libc/sys/rtems/machine/limits.h: Move to ...
libc/sys/rtems/include/machine/limits.h: ... here.
libc/sys/rtems/machine/param.h: Move to ...
libc/sys/rtems/include/machine/param.h: ... here.
libc/sys/rtems/sys/cpuset.h: Move to ...
libc/sys/rtems/include/sys/cpuset.h: ... here.
libc/sys/rtems/sys/dirent.h: Move to ...
libc/sys/rtems/include/sys/dirent.h: ... here.
libc/sys/rtems/sys/param.h: Move to ...
libc/sys/rtems/include/sys/param.h: ... here.
libc/sys/rtems/sys/syslimits.h: Move to ...
libc/sys/rtems/include/sys/syslimits.h: ... here.
libc/sys/rtems/sys/utime.h: Move to ...
libc/sys/rtems/include/sys/utime.h: ... here.
Diffstat (limited to 'newlib/libc/sys/rtems/machine/_types.h')
-rw-r--r-- | newlib/libc/sys/rtems/machine/_types.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/newlib/libc/sys/rtems/machine/_types.h b/newlib/libc/sys/rtems/machine/_types.h deleted file mode 100644 index 1711c7ae8..000000000 --- a/newlib/libc/sys/rtems/machine/_types.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * $Id$ - */ - -#ifndef _MACHINE__TYPES_H -#define _MACHINE__TYPES_H - -/* This disables some conflicting type definitions in <machine/types.h> */ -#define _HAVE_SYSTYPES - -#include <machine/_default_types.h> - -typedef __int32_t blksize_t; -typedef __int32_t blkcnt_t; - -typedef __uint64_t __dev_t; -#define __dev_t_defined 1 - -#if defined(__arm__) || defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__) -/* Use 64bit types */ -typedef __int64_t _off_t; -#define __off_t_defined 1 - -typedef __int64_t _fpos_t; -#define __fpos_t_defined 1 -#else -/* Use 32bit types */ -typedef __int32_t _off_t; -#define __off_t_defined 1 - -typedef __int32_t _fpos_t; -#define __fpos_t_defined 1 -#endif - -typedef __uint32_t _mode_t; -#define __mode_t_defined 1 - -#endif |