summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/machine
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/machine')
-rw-r--r--newlib/libc/include/machine/malloc.h8
-rw-r--r--newlib/libc/include/machine/setjmp.h4
-rw-r--r--newlib/libc/include/machine/stdlib.h8
3 files changed, 20 insertions, 0 deletions
diff --git a/newlib/libc/include/machine/malloc.h b/newlib/libc/include/machine/malloc.h
new file mode 100644
index 000000000..fdada9ed7
--- /dev/null
+++ b/newlib/libc/include/machine/malloc.h
@@ -0,0 +1,8 @@
+#ifndef _MACHMALLOC_H_
+#define _MACHMALLOC_H_
+
+/* place holder so platforms may add malloc.h extensions */
+
+#endif /* _MACHMALLOC_H_ */
+
+
diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h
index c7f146338..e4c788b2f 100644
--- a/newlib/libc/include/machine/setjmp.h
+++ b/newlib/libc/include/machine/setjmp.h
@@ -106,7 +106,11 @@ typedef int jmp_buf[_JBLEN];
#endif
#ifdef __PPC__
+#ifdef __ALTIVEC__
+#define _JBLEN 64
+#else
#define _JBLEN 32
+#endif
#define _JBTYPE double
#endif
diff --git a/newlib/libc/include/machine/stdlib.h b/newlib/libc/include/machine/stdlib.h
new file mode 100644
index 000000000..fa3f3a139
--- /dev/null
+++ b/newlib/libc/include/machine/stdlib.h
@@ -0,0 +1,8 @@
+#ifndef _MACHSTDLIB_H_
+#define _MACHSTDLIB_H_
+
+/* place holder so platforms may add stdlib.h extensions */
+
+#endif /* _MACHSTDLIB_H_ */
+
+