/[vps]/dietlibc/patches/0.30-r2/156_ppc64_dot-suckage.patch
Gentoo

Contents of /dietlibc/patches/0.30-r2/156_ppc64_dot-suckage.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 550 - (show annotations) (download)
Fri Jun 8 13:22:08 2007 UTC (7 years, 3 months ago) by hollow
File size: 1555 byte(s)
fix #179408 and #181261
1 Index: dietlibc-0.30/powerpc64/__longjmp.S
2 ===================================================================
3 --- dietlibc-0.30.orig/powerpc64/__longjmp.S
4 +++ dietlibc-0.30/powerpc64/__longjmp.S
5 @@ -1,12 +1,12 @@
6 #include <setjmp.h>
7
8 - .quad .__longjmp,.TOC.@tocbase,0
9 + .quad __longjmp,.TOC.@tocbase,0
10 .text
11 .size __longjmp,24
12 - .type .__longjmp,@function
13 - .globl .__longjmp
14 + .type __longjmp,@function
15 + .globl __longjmp
16 .align 2
17 -.__longjmp:
18 +__longjmp:
19 ld 1,(JB_GPR1*8)(3)
20 ld 2,(JB_GPR2*8)(3)
21 ld 0,(JB_LR*8)(3)
22 @@ -51,7 +51,7 @@
23 lfd 31,((JB_FPRS+17)*8)(3)
24 mr 3,4
25 blr
26 -.size .__longjmp,.-.__longjmp
27 +.size __longjmp,.-__longjmp
28
29 #ifdef __ELF__
30 .section .note.GNU-stack,"",%progbits
31 Index: dietlibc-0.30/powerpc64/setjmp.S
32 ===================================================================
33 --- dietlibc-0.30.orig/powerpc64/setjmp.S
34 +++ dietlibc-0.30/powerpc64/setjmp.S
35 @@ -6,13 +6,13 @@
36 #define JUMPTARGET(name) .name
37 #endif
38
39 - .quad .__sigsetjmp,.TOC.@tocbase,0
40 + .quad __sigsetjmp,.TOC.@tocbase,0
41 .text
42 .size __sigsetjmp,24
43 - .type .__sigsetjmp,@function
44 - .globl .__sigsetjmp
45 + .type __sigsetjmp,@function
46 + .globl __sigsetjmp
47 .align 2
48 -.__sigsetjmp:
49 +__sigsetjmp:
50 std 1,(JB_GPR1*8)(3)
51 mflr 0
52 std 2,(JB_GPR2*8)(3)
53 @@ -56,7 +56,7 @@
54 std 31,((JB_GPRS+17)*8)(3)
55 stfd 31,((JB_FPRS+17)*8)(3)
56 b JUMPTARGET (__sigjmp_save)
57 -.size .__sigsetjmp,.-.__sigsetjmp
58 +.size __sigsetjmp,.-__sigsetjmp
59
60 #ifdef __ELF__
61 .section .note.GNU-stack,"",%progbits

  ViewVC Help
Powered by ViewVC 1.1.20