summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-27 11:31:26 +0200
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-07-29 12:53:53 -0700
commitf04e46b141cb598747ec69810365753abfbf93e7 (patch)
treeb2b2448ec0b8f11303a6b06e60edd8ab5dcf7679
parent763e0b7bafdd824eb146f635e76523f97e8f3722 (diff)
downloadcygnal-f04e46b141cb598747ec69810365753abfbf93e7.tar.gz
cygnal-f04e46b141cb598747ec69810365753abfbf93e7.tar.bz2
cygnal-f04e46b141cb598747ec69810365753abfbf93e7.zip
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.
-rw-r--r--newlib/ChangeLog19
-rw-r--r--newlib/libc/sys/rtems/include/machine/_types.h (renamed from newlib/libc/sys/rtems/machine/_types.h)0
-rw-r--r--newlib/libc/sys/rtems/include/machine/limits.h (renamed from newlib/libc/sys/rtems/machine/limits.h)1
-rw-r--r--newlib/libc/sys/rtems/include/machine/param.h (renamed from newlib/libc/sys/rtems/machine/param.h)0
-rw-r--r--newlib/libc/sys/rtems/include/sys/cpuset.h (renamed from newlib/libc/sys/rtems/sys/cpuset.h)0
-rw-r--r--newlib/libc/sys/rtems/include/sys/dirent.h (renamed from newlib/libc/sys/rtems/sys/dirent.h)2
-rw-r--r--newlib/libc/sys/rtems/include/sys/param.h (renamed from newlib/libc/sys/rtems/sys/param.h)6
-rw-r--r--newlib/libc/sys/rtems/include/sys/syslimits.h (renamed from newlib/libc/sys/rtems/sys/syslimits.h)0
-rw-r--r--newlib/libc/sys/rtems/include/sys/utime.h (renamed from newlib/libc/sys/rtems/sys/utime.h)0
9 files changed, 23 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 697dc85a0..a9c50467e 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,24 @@
2015-07-28 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.
+
+2015-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
* libc/sys/rtems/include/sys/lock.h: New.
2015-07-21 Corinna Vinschen <corinna@vinschen.de>
diff --git a/newlib/libc/sys/rtems/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index 1711c7ae8..1711c7ae8 100644
--- a/newlib/libc/sys/rtems/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
diff --git a/newlib/libc/sys/rtems/machine/limits.h b/newlib/libc/sys/rtems/include/machine/limits.h
index 5a6ee0337..2b4c47e48 100644
--- a/newlib/libc/sys/rtems/machine/limits.h
+++ b/newlib/libc/sys/rtems/include/machine/limits.h
@@ -3,4 +3,3 @@
*/
/* intentionally empty file */
-
diff --git a/newlib/libc/sys/rtems/machine/param.h b/newlib/libc/sys/rtems/include/machine/param.h
index 74891f504..74891f504 100644
--- a/newlib/libc/sys/rtems/machine/param.h
+++ b/newlib/libc/sys/rtems/include/machine/param.h
diff --git a/newlib/libc/sys/rtems/sys/cpuset.h b/newlib/libc/sys/rtems/include/sys/cpuset.h
index 8fae475a8..8fae475a8 100644
--- a/newlib/libc/sys/rtems/sys/cpuset.h
+++ b/newlib/libc/sys/rtems/include/sys/cpuset.h
diff --git a/newlib/libc/sys/rtems/sys/dirent.h b/newlib/libc/sys/rtems/include/sys/dirent.h
index 8d2aa38cb..5a3a54dbf 100644
--- a/newlib/libc/sys/rtems/sys/dirent.h
+++ b/newlib/libc/sys/rtems/include/sys/dirent.h
@@ -58,7 +58,7 @@ int scandir ( const char *dirname,
#ifdef __cplusplus
}
-#endif
+#endif
#endif
diff --git a/newlib/libc/sys/rtems/sys/param.h b/newlib/libc/sys/rtems/include/sys/param.h
index 808745f85..f1e598c88 100644
--- a/newlib/libc/sys/rtems/sys/param.h
+++ b/newlib/libc/sys/rtems/include/sys/param.h
@@ -131,13 +131,13 @@
*
* BKVASIZE - Nominal buffer space per buffer, in bytes. BKVASIZE is the
* minimum KVM memory reservation the kernel is willing to make.
- * Filesystems can of course request smaller chunks. Actual
+ * Filesystems can of course request smaller chunks. Actual
* backing memory uses a chunk size of a page (PAGE_SIZE).
*
* If you make BKVASIZE too small you risk seriously fragmenting
* the buffer KVM map which may slow things down a bit. If you
- * make it too big the kernel will not be able to optimally use
- * the KVM memory reserved for the buffer cache and will wind
+ * make it too big the kernel will not be able to optimally use
+ * the KVM memory reserved for the buffer cache and will wind
* up with too-few buffers.
*
* The default is 16384, roughly 2x the block size used by a
diff --git a/newlib/libc/sys/rtems/sys/syslimits.h b/newlib/libc/sys/rtems/include/sys/syslimits.h
index 2295afe34..2295afe34 100644
--- a/newlib/libc/sys/rtems/sys/syslimits.h
+++ b/newlib/libc/sys/rtems/include/sys/syslimits.h
diff --git a/newlib/libc/sys/rtems/sys/utime.h b/newlib/libc/sys/rtems/include/sys/utime.h
index 561136bb4..561136bb4 100644
--- a/newlib/libc/sys/rtems/sys/utime.h
+++ b/newlib/libc/sys/rtems/include/sys/utime.h