diff options
Diffstat (limited to 'patches/newlib/1.17.0')
-rw-r--r-- | patches/newlib/1.17.0/110-fix-eabihf.patch | 24 | ||||
-rw-r--r-- | patches/newlib/1.17.0/200-fix-mt-cflags.patch | 26 | ||||
-rw-r--r-- | patches/newlib/1.17.0/999-fix-arm-build.patch | 62 |
3 files changed, 0 insertions, 112 deletions
diff --git a/patches/newlib/1.17.0/110-fix-eabihf.patch b/patches/newlib/1.17.0/110-fix-eabihf.patch deleted file mode 100644 index d896ad0..0000000 --- a/patches/newlib/1.17.0/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-1.17.0.orig/libgloss/arm/configure newlib-1.17.0/libgloss/arm/configure ---- newlib-1.17.0.orig/libgloss/arm/configure 2017-04-11 00:41:23.720866007 -0700 -+++ newlib-1.17.0/libgloss/arm/configure 2017-04-11 00:43:12.265788484 -0700 -@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-1.17.0.orig/libgloss/arm/configure.in newlib-1.17.0/libgloss/arm/configure.in ---- newlib-1.17.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:23.720866007 -0700 -+++ newlib-1.17.0/libgloss/arm/configure.in 2017-04-11 00:43:12.265788484 -0700 -@@ -49,7 +49,7 @@ AC_PROG_RANLIB - LIB_AM_PROG_AS - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) diff --git a/patches/newlib/1.17.0/200-fix-mt-cflags.patch b/patches/newlib/1.17.0/200-fix-mt-cflags.patch deleted file mode 100644 index f97ba15..0000000 --- a/patches/newlib/1.17.0/200-fix-mt-cflags.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -urpN newlib-1.17.0.orig/config/mt-d30v newlib-1.17.0/config/mt-d30v ---- newlib-1.17.0.orig/config/mt-d30v 2017-04-11 00:51:26.572757941 -0700 -+++ newlib-1.17.0/config/mt-d30v 2017-04-11 00:55:51.110626527 -0700 -@@ -1,4 +1,4 @@ - # Build libraries optimizing for space, not speed. - # Turn off warnings about symbols named the same as registers -- CFLAGS_FOR_TARGET = -g -Os -Wa,-C -- CXXFLAGS_FOR_TARGET = -g -Os -Wa,-C -+ CFLAGS_FOR_TARGET += -g -Os -Wa,-C -+ CXXFLAGS_FOR_TARGET += -g -Os -Wa,-C -diff -urpN newlib-1.17.0.orig/config/mt-gnu newlib-1.17.0/config/mt-gnu ---- newlib-1.17.0.orig/config/mt-gnu 2017-04-11 00:51:26.572757941 -0700 -+++ newlib-1.17.0/config/mt-gnu 2017-04-11 00:55:51.110626527 -0700 -@@ -1,2 +1,2 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \ -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \ - $(DEBUG_PREFIX_CFLAGS_FOR_TARGET) -D_GNU_SOURCE -diff -urpN newlib-1.17.0.orig/config/mt-ospace newlib-1.17.0/config/mt-ospace ---- newlib-1.17.0.orig/config/mt-ospace 2017-04-11 00:51:26.572757941 -0700 -+++ newlib-1.17.0/config/mt-ospace 2017-04-11 00:55:51.110626527 -0700 -@@ -1,3 +1,3 @@ - # Build libraries optimizing for space, not speed. -- CFLAGS_FOR_TARGET = -g -Os -- CXXFLAGS_FOR_TARGET = -g -Os -+ CFLAGS_FOR_TARGET += -g -Os -+ CXXFLAGS_FOR_TARGET += -g -Os diff --git a/patches/newlib/1.17.0/999-fix-arm-build.patch b/patches/newlib/1.17.0/999-fix-arm-build.patch deleted file mode 100644 index 154a92f..0000000 --- a/patches/newlib/1.17.0/999-fix-arm-build.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff -urpN newlib-1.17.0.orig/libgloss/arm/linux-syscalls0.S newlib-1.17.0/libgloss/arm/linux-syscalls0.S ---- newlib-1.17.0.orig/libgloss/arm/linux-syscalls0.S 2017-04-10 23:18:30.559142019 -0700 -+++ newlib-1.17.0/libgloss/arm/linux-syscalls0.S 2017-04-10 23:35:06.422568832 -0700 -@@ -19,47 +19,6 @@ - #define GLOBAL(name) .global name; FUNC(name) - #define SIZE(name) .size name, .-name - --#if __thumb__ -- --# define SYSCALL0(name) \ -- GLOBAL(_ ## name); \ -- mov r12, r7; \ -- mov r7, #SYS_ ## name; \ -- swi; \ -- mov r7, r12; \ -- b _set_errno; \ -- SIZE(_ ## name) -- --/* static int _syscall3(int a, int b, int c, int number); */ --FUNC(_syscall3) -- push { r7 } -- mov r7, r3 -- swi -- pop { r7 } -- b _set_errno -- SIZE(_syscall3) -- --# define SYSCALL3(name) \ -- GLOBAL(_ ## name); \ -- mov r3, #SYS_ ## name; \ -- b _syscall3; \ -- SIZE(_ ## name) -- --# define SYSCALL6(name) \ -- GLOBAL(_ ## name); \ -- push { r4 - r5, r7 }; \ -- ldr r4, [sp, #12]; \ -- ldr r5, [sp, #16]; \ -- mov r7, #SYS_ ## name; \ -- swi; \ -- pop { r4 - r5, r7 }; \ -- b _set_errno; \ -- SIZE(_ ## name) -- --# define SYSCALL4(name) SYSCALL6(name) -- --#else /* __thumb__ */ -- - # define SYSCALL4(name) \ - GLOBAL(_ ## name); \ - swi #SYS_ ## name; \ -@@ -78,9 +37,6 @@ FUNC(_syscall3) - - #define SYSCALL0(name) SYSCALL3(name) - #define SYSCALL3(name) SYSCALL4(name) -- --#endif /* __thumb__ */ -- - #define SYSCALL1(name) SYSCALL3(name) - #define SYSCALL2(name) SYSCALL3(name) - #define SYSCALL5(name) SYSCALL6(name) -Binary files newlib-1.17.0.orig/libgloss/arm/.linux-syscalls0.S.swp and newlib-1.17.0/libgloss/arm/.linux-syscalls0.S.swp differ |