74 lines
2.3 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../dietlibc/powerpc64-2.patch.disabled
# Copyright (C) 2010 The OpenSDE Project
# Copyright (C) 2005 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
With leading dots I get unresolved symbols ...
- Rene Rebe <rene@exactcode.de>
diff -ur dietlibc-0.29/ppc64/__longjmp.S dietlibc-0.29-fixed/ppc64/__longjmp.S
--- dietlibc-0.29/ppc64/__longjmp.S 2005-12-08 11:49:28.000000000 +0100
+++ dietlibc-0.29-fixed/ppc64/__longjmp.S 2005-12-08 11:48:51.000000000 +0100
@@ -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,4 +51,4 @@
lfd 31,((JB_FPRS+17)*8)(3)
mr 3,4
blr
-.size .__longjmp,.-.__longjmp
+.size __longjmp,.-__longjmp
diff -ur dietlibc-0.29/ppc64/setjmp.S dietlibc-0.29-fixed/ppc64/setjmp.S
--- dietlibc-0.29/ppc64/setjmp.S 2005-12-08 11:49:28.000000000 +0100
+++ dietlibc-0.29-fixed/ppc64/setjmp.S 2005-12-08 11:52:14.000000000 +0100
@@ -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,4 +56,4 @@
std 31,((JB_GPRS+17)*8)(3)
stfd 31,((JB_FPRS+17)*8)(3)
b JUMPTARGET (__sigjmp_save)
-.size .__sigsetjmp,.-.__sigsetjmp
+.size __sigsetjmp,.-__sigsetjmp