summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-04 11:45:38 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-05 16:50:49 +0100
commit1006906dc27621b942f6094a5d8409aa0ef45a67 (patch)
treeb9f710c92f37da20fc8265e9e760f94729276092
parentcea2bc962d7c6bdbfff0a753443c4151d721c0a3 (diff)
downloadOSELAS.Toolchain-1006906dc27621b942f6094a5d8409aa0ef45a67.tar.gz
uClibc-0.9.33.2 patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/uClibc-0.9.33.2/0001-fix-building-for-thumb2.patch42
-rw-r--r--patches/uClibc-0.9.33.2/series4
2 files changed, 46 insertions, 0 deletions
diff --git a/patches/uClibc-0.9.33.2/0001-fix-building-for-thumb2.patch b/patches/uClibc-0.9.33.2/0001-fix-building-for-thumb2.patch
new file mode 100644
index 0000000..2b76e93
--- /dev/null
+++ b/patches/uClibc-0.9.33.2/0001-fix-building-for-thumb2.patch
@@ -0,0 +1,42 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Mon, 3 Dec 2012 19:55:51 +0100
+Subject: [PATCH] fix building for thumb2
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ libc/sysdeps/linux/arm/bits/arm_asm.h | 4 ++++
+ libc/sysdeps/linux/arm/clone.S | 1 +
+ 2 files changed, 5 insertions(+)
+
+diff --git a/libc/sysdeps/linux/arm/bits/arm_asm.h b/libc/sysdeps/linux/arm/bits/arm_asm.h
+index 921c9a3..57cf778 100644
+--- a/libc/sysdeps/linux/arm/bits/arm_asm.h
++++ b/libc/sysdeps/linux/arm/bits/arm_asm.h
+@@ -2,6 +2,8 @@
+ #ifndef _ARM_ASM_H
+ #define _ARM_ASM_H
+
++#ifdef __ASSEMBLER__
++
+ #ifdef __thumb2__
+ .thumb
+ .syntax unified
+@@ -32,4 +34,6 @@
+ # endif /* ARCH level */
+ #endif /* __USE_BX__ */
+
++#endif /* __ASSEMBLER__ */
++
+ #endif /* _ARM_ASM_H */
+diff --git a/libc/sysdeps/linux/arm/clone.S b/libc/sysdeps/linux/arm/clone.S
+index fdc05b8..6ec84a2 100644
+--- a/libc/sysdeps/linux/arm/clone.S
++++ b/libc/sysdeps/linux/arm/clone.S
+@@ -112,6 +112,7 @@ __clone:
+ DO_CALL (clone)
+ movs a1, a1
+ blt __error
++ IT(t, ne)
+ ldmnefd sp!, {r4}
+ IT(t, ne)
+ #if defined(__USE_BX__)
diff --git a/patches/uClibc-0.9.33.2/series b/patches/uClibc-0.9.33.2/series
new file mode 100644
index 0000000..96bed5f
--- /dev/null
+++ b/patches/uClibc-0.9.33.2/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-fix-building-for-thumb2.patch
+# 8123b9b2cc5fcff8a5d5a01f6fa0db04 - git-ptx-patches magic