summaryrefslogtreecommitdiff
path: root/patches/gcc/4.9.3/920-libgcc-remove-unistd-header.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-11 04:35:14 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-13 05:44:44 (GMT)
commit5e16edbea89280561952def323c82af7d1911cfb (patch)
tree455398fbdf4aaa8fe9b9c03e1cceefd50976d579 /patches/gcc/4.9.3/920-libgcc-remove-unistd-header.patch
parent972c03d7f1f39fa6161ba83a90d2b347acf9b352 (diff)
gcc: Sync patches with buildroot
This commit sync gcc patches with buildroot. I found this useful for fixing a few uClibc related issues. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'patches/gcc/4.9.3/920-libgcc-remove-unistd-header.patch')
-rw-r--r--patches/gcc/4.9.3/920-libgcc-remove-unistd-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/gcc/4.9.3/920-libgcc-remove-unistd-header.patch b/patches/gcc/4.9.3/920-libgcc-remove-unistd-header.patch
new file mode 100644
index 0000000..df5372b
--- /dev/null
+++ b/patches/gcc/4.9.3/920-libgcc-remove-unistd-header.patch
@@ -0,0 +1,12 @@
+Upstream status: In progress
+
+--- a/libgcc/config/nios2/linux-atomic.c
++++ b/libgcc/config/nios2/linux-atomic.c
+@@ -20,7 +20,6 @@
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+-#include <asm/unistd.h>
+ #define EFAULT 14
+ #define EBUSY 16
+ #define ENOSYS 38