summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-06-08 13:22:08 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-06-08 13:22:08 +0000
commit0134f308ff7f5a5b9b0c34274c48c9f5f960d8d7 (patch)
tree5d7165122f70cdf4880a8e96fb4b87c7d51a8748
parentadd 2.2.0 (diff)
downloadmisc-0134f308ff7f5a5b9b0c34274c48c9f5f960d8d7.tar.gz
misc-0134f308ff7f5a5b9b0c34274c48c9f5f960d8d7.tar.bz2
misc-0134f308ff7f5a5b9b0c34274c48c9f5f960d8d7.zip
fix #179408 and #181261
svn path=/; revision=550
-rw-r--r--dietlibc/patches/0.30-r2/156_ppc64_dot-suckage.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/dietlibc/patches/0.30-r2/156_ppc64_dot-suckage.patch b/dietlibc/patches/0.30-r2/156_ppc64_dot-suckage.patch
new file mode 100644
index 0000000..5b6bf4f
--- /dev/null
+++ b/dietlibc/patches/0.30-r2/156_ppc64_dot-suckage.patch
@@ -0,0 +1,61 @@
+Index: dietlibc-0.30/powerpc64/__longjmp.S
+===================================================================
+--- dietlibc-0.30.orig/powerpc64/__longjmp.S
++++ dietlibc-0.30/powerpc64/__longjmp.S
+@@ -1,12 +1,12 @@
+ #include <setjmp.h>
+
+- .quad .__longjmp,.TOC.@tocbase,0
++ .quad __longjmp,.TOC.@tocbase,0
+ .text
+ .size __longjmp,24
+- .type .__longjmp,@function
+- .globl .__longjmp
++ .type __longjmp,@function
++ .globl __longjmp
+ .align 2
+-.__longjmp:
++__longjmp:
+ ld 1,(JB_GPR1*8)(3)
+ ld 2,(JB_GPR2*8)(3)
+ ld 0,(JB_LR*8)(3)
+@@ -51,7 +51,7 @@
+ lfd 31,((JB_FPRS+17)*8)(3)
+ mr 3,4
+ blr
+-.size .__longjmp,.-.__longjmp
++.size __longjmp,.-__longjmp
+
+ #ifdef __ELF__
+ .section .note.GNU-stack,"",%progbits
+Index: dietlibc-0.30/powerpc64/setjmp.S
+===================================================================
+--- dietlibc-0.30.orig/powerpc64/setjmp.S
++++ dietlibc-0.30/powerpc64/setjmp.S
+@@ -6,13 +6,13 @@
+ #define JUMPTARGET(name) .name
+ #endif
+
+- .quad .__sigsetjmp,.TOC.@tocbase,0
++ .quad __sigsetjmp,.TOC.@tocbase,0
+ .text
+ .size __sigsetjmp,24
+- .type .__sigsetjmp,@function
+- .globl .__sigsetjmp
++ .type __sigsetjmp,@function
++ .globl __sigsetjmp
+ .align 2
+-.__sigsetjmp:
++__sigsetjmp:
+ std 1,(JB_GPR1*8)(3)
+ mflr 0
+ std 2,(JB_GPR2*8)(3)
+@@ -56,7 +56,7 @@
+ std 31,((JB_GPRS+17)*8)(3)
+ stfd 31,((JB_FPRS+17)*8)(3)
+ b JUMPTARGET (__sigjmp_save)
+-.size .__sigsetjmp,.-.__sigsetjmp
++.size __sigsetjmp,.-__sigsetjmp
+
+ #ifdef __ELF__
+ .section .note.GNU-stack,"",%progbits