[git] Updated (1.5.5.1 -> 1.5.5.4)
[opensde-package-nopast.git] / base / dietlibc / powerpc64-2.patch
blob25a50d6806e27a47c6cc454cc45db18dee31f24b
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../dietlibc/powerpc64-2.patch
5 # Copyright (C) 2005 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- SDE-COPYRIGHT-NOTE-END ---
17 With leading dots I get unresolved symbols ...
19 - Rene Rebe <rene@exactcode.de>
21 diff -ur dietlibc-0.29/ppc64/__longjmp.S dietlibc-0.29-fixed/ppc64/__longjmp.S
22 --- dietlibc-0.29/ppc64/__longjmp.S 2005-12-08 11:49:28.000000000 +0100
23 +++ dietlibc-0.29-fixed/ppc64/__longjmp.S 2005-12-08 11:48:51.000000000 +0100
24 @@ -1,12 +1,12 @@
25 #include <setjmp.h>
27 - .quad .__longjmp,.TOC.@tocbase,0
28 + .quad __longjmp,.TOC.@tocbase,0
29 .text
30 .size __longjmp,24
31 - .type .__longjmp,@function
32 - .globl .__longjmp
33 + .type __longjmp,@function
34 + .globl __longjmp
35 .align 2
36 -.__longjmp:
37 +__longjmp:
38 ld 1,(JB_GPR1*8)(3)
39 ld 2,(JB_GPR2*8)(3)
40 ld 0,(JB_LR*8)(3)
41 @@ -51,4 +51,4 @@
42 lfd 31,((JB_FPRS+17)*8)(3)
43 mr 3,4
44 blr
45 -.size .__longjmp,.-.__longjmp
46 +.size __longjmp,.-__longjmp
47 diff -ur dietlibc-0.29/ppc64/setjmp.S dietlibc-0.29-fixed/ppc64/setjmp.S
48 --- dietlibc-0.29/ppc64/setjmp.S 2005-12-08 11:49:28.000000000 +0100
49 +++ dietlibc-0.29-fixed/ppc64/setjmp.S 2005-12-08 11:52:14.000000000 +0100
50 @@ -6,13 +6,13 @@
51 #define JUMPTARGET(name) .name
52 #endif
54 - .quad .__sigsetjmp,.TOC.@tocbase,0
55 + .quad __sigsetjmp,.TOC.@tocbase,0
56 .text
57 .size __sigsetjmp,24
58 - .type .__sigsetjmp,@function
59 - .globl .__sigsetjmp
60 + .type __sigsetjmp,@function
61 + .globl __sigsetjmp
62 .align 2
63 -.__sigsetjmp:
64 +__sigsetjmp:
65 std 1,(JB_GPR1*8)(3)
66 mflr 0
67 std 2,(JB_GPR2*8)(3)
68 @@ -56,4 +56,4 @@
69 std 31,((JB_GPRS+17)*8)(3)
70 stfd 31,((JB_FPRS+17)*8)(3)
71 b JUMPTARGET (__sigjmp_save)
72 -.size .__sigsetjmp,.-.__sigsetjmp
73 +.size __sigsetjmp,.-__sigsetjmp