mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
[toolchain] eliminate the root cause of the uClibc problems on the powerpc platform
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10346 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
829c17fac9
commit
8c34357d5b
@ -3671,15 +3671,6 @@ diff -Nrup binutils-2.17/bfd/configure binutils-2.17.atmel.1.3.0/bfd/configure
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
AMDEPBACKSLASH='\'
|
||||
@@ -2836,7 +3321,7 @@ fi
|
||||
|
||||
# Define the identity of the package.
|
||||
PACKAGE=bfd
|
||||
- VERSION=2.17
|
||||
+ VERSION=2.17.atmel.0.0.99
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
@@ -2874,8 +3359,8 @@ if test "$cross_compiling" != no; then
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
||||
|
@ -1,78 +0,0 @@
|
||||
--- uclibc-0.9.29.orig/libc/sysdeps/linux/powerpc/syscall.S 2005-06-10 20:25:35.000000000 +0200
|
||||
+++ uclibc-0.9.29/libc/sysdeps/linux/powerpc/syscall.S 2008-01-27 20:57:15.000000000 +0100
|
||||
@@ -33,6 +33,6 @@
|
||||
sc
|
||||
bnslr;
|
||||
|
||||
- b __syscall_error
|
||||
+ b __syscall_error@local
|
||||
|
||||
.size syscall,.-syscall
|
||||
--- uclibc-0.9.29.orig/libc/sysdeps/linux/powerpc/clone.S 2006-01-14 02:57:45.000000000 +0100
|
||||
+++ uclibc-0.9.29/libc/sysdeps/linux/powerpc/clone.S 2008-01-27 20:58:43.000000000 +0100
|
||||
@@ -79,7 +79,7 @@
|
||||
mr r3,r31
|
||||
bctrl
|
||||
/* Call _exit with result from procedure. */
|
||||
- b HIDDEN_JUMPTARGET(_exit)
|
||||
+ b HIDDEN_JUMPTARGET(_exit@local)
|
||||
|
||||
.Lparent:
|
||||
/* Parent. Restore registers & return. */
|
||||
@@ -87,12 +87,12 @@
|
||||
addi r1,r1,32
|
||||
bnslr+
|
||||
|
||||
- b __syscall_error
|
||||
+ b __syscall_error@local
|
||||
|
||||
.Lbadargs:
|
||||
li r3,EINVAL
|
||||
|
||||
- b __syscall_error
|
||||
+ b __syscall_error@local
|
||||
|
||||
.size clone,.-clone
|
||||
#endif
|
||||
--- uclibc-0.9.29.orig/libc/sysdeps/linux/powerpc/brk.S 2007-01-05 11:20:37.000000000 +0100
|
||||
+++ uclibc-0.9.29/libc/sysdeps/linux/powerpc/brk.S 2008-01-27 20:59:25.000000000 +0100
|
||||
@@ -72,7 +72,7 @@
|
||||
blelr+
|
||||
li r3,ENOMEM
|
||||
|
||||
- b __syscall_error
|
||||
+ b __syscall_error@local
|
||||
|
||||
.size brk,.-brk
|
||||
|
||||
--- uclibc-0.9.29.orig/libc/sysdeps/linux/powerpc/vfork.S 2006-02-13 09:44:48.000000000 +0100
|
||||
+++ uclibc-0.9.29/libc/sysdeps/linux/powerpc/vfork.S 2008-01-27 20:42:08.000000000 +0100
|
||||
@@ -15,7 +15,6 @@
|
||||
.global __vfork
|
||||
.hidden __vfork
|
||||
.type __vfork,@function
|
||||
-.type __syscall_error,@function
|
||||
|
||||
__vfork:
|
||||
li 0, __NR_vfork
|
||||
--- uclibc-0.9.29.orig/libc/sysdeps/linux/powerpc/vfork.S 2006-02-13 09:44:48.000000000 +0100
|
||||
+++ uclibc-0.9.29/libc/sysdeps/linux/powerpc/vfork.S 2008-01-27 20:42:08.000000000 +0100
|
||||
@@ -20,7 +20,7 @@
|
||||
li 0, __NR_vfork
|
||||
sc
|
||||
bnslr+
|
||||
- b __syscall_error
|
||||
+ b __syscall_error@local
|
||||
|
||||
.size __vfork,.-__vfork
|
||||
|
||||
--- uclibc-0.9.29.orig/libc/sysdeps/linux/powerpc/__uClibc_syscall.S 2005-06-10 20:25:35.000000000 +0200
|
||||
+++ uclibc-0.9.29/libc/sysdeps/linux/powerpc/__uClibc_syscall.S 2008-01-27 21:09:33.000000000 +0100
|
||||
@@ -7,6 +7,6 @@
|
||||
sc
|
||||
bnslr
|
||||
|
||||
- b __syscall_error
|
||||
+ b __syscall_error@local
|
||||
|
||||
.size __uClibc_syscall,.Lsize-__uClibc_syscall
|
Loading…
Reference in New Issue
Block a user