/[vps]/dietlibc/patches/0.30_pre20060621-r0/03_all_ppc-rename.patch
Gentoo

Diff of /dietlibc/patches/0.30_pre20060621-r0/03_all_ppc-rename.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

dietlibc/patches/0.30_pre20060501-r1/03_all_ppc-rename.patch Revision 379 dietlibc/patches/0.30_pre20060621-r0/03_all_ppc-rename.patch Revision 388
1Index: dietlibc-0.30_pre20060501/diet.c 1diff -Nurp dietlibc.orig/diet.c dietlibc/diet.c
2=================================================================== 2--- dietlibc.orig/diet.c 2006-06-21 21:44:44.287916500 +0200
3--- dietlibc-0.30_pre20060501.orig/diet.c 3+++ dietlibc/diet.c 2006-06-21 21:39:49.665503750 +0200
4+++ dietlibc-0.30_pre20060501/diet.c
5@@ -35,8 +35,8 @@ static const char* Os[] = { 4@@ -35,8 +35,8 @@ static const char* Os[] = {
6 "arm","-Os","-fomit-frame-pointer",0, 5 "arm","-Os","-fomit-frame-pointer",0,
7 "mips","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0, 6 "mips","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0,
8 "mipsel","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0, 7 "mipsel","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0,
9- "ppc","-Os","-fomit-frame-pointer","-mpowerpc-gpopt","-mpowerpc-gfxopt",0, 8- "ppc","-Os","-fomit-frame-pointer","-mpowerpc-gpopt","-mpowerpc-gfxopt",0,
24- shortplatform="ppc64"; 23- shortplatform="ppc64";
25+ shortplatform="powerpc64"; 24+ shortplatform="powerpc64";
26 #endif 25 #endif
27 #ifdef __i386__ 26 #ifdef __i386__
28 shortplatform="i386"; 27 shortplatform="i386";
29Index: dietlibc-0.30_pre20060501/Makefile 28diff -Nurp dietlibc.orig/Makefile dietlibc/Makefile
30=================================================================== 29--- dietlibc.orig/Makefile 2006-06-21 21:44:44.283916250 +0200
31--- dietlibc-0.30_pre20060501.orig/Makefile 30+++ dietlibc/Makefile 2006-06-21 21:42:07.314106250 +0200
32+++ dietlibc-0.30_pre20060501/Makefile 31@@ -23,11 +23,11 @@ else
33@@ -24,10 +24,10 @@ ifeq ($(MYARCH),alpha) 32 ifeq ($(MYARCH),alpha)
34 ARCH=alpha 33 ARCH=alpha
35 else 34 else
36 ifeq ($(MYARCH),ppc) 35-ifeq ($(MYARCH),ppc)
37-ARCH=ppc 36-ARCH=ppc
37+ifeq ($(MYARCH),powerpc)
38+ARCH=powerpc 38+ARCH=powerpc
39 else 39 else
40 ifeq ($(MYARCH),ppc64) 40-ifeq ($(MYARCH),ppc64)
41-ARCH=ppc64 41-ARCH=ppc64
42+ifeq ($(MYARCH),powerpc64)
42+ARCH=powerpc64 43+ARCH=powerpc64
43 else 44 else
44 ifeq ($(MYARCH),arm) 45 ifeq ($(MYARCH),arm)
45 ARCH=arm 46 ARCH=arm
46@@ -285,10 +285,10 @@ $(PICODIR)/libm.so: $(DYN_LIBMATH_OBJS) 47@@ -296,10 +296,10 @@ $(PICODIR)/libm.so: $(DYN_LIBMATH_OBJS)
47 $(SYSCALLOBJ): syscalls.h 48 $(SYSCALLOBJ): syscalls.h
48 49
49 $(OBJDIR)/elftrunc: $(OBJDIR)/diet contrib/elftrunc.c 50 $(OBJDIR)/elftrunc: $(OBJDIR)/diet contrib/elftrunc.c
50- bin-$(MYARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/elftrunc.c 51- bin-$(MYARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/elftrunc.c
51+ bin-$(ARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/elftrunc.c 52+ bin-$(ARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/elftrunc.c
54- bin-$(MYARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/dnsd.c 55- bin-$(MYARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/dnsd.c
55+ bin-$(ARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/dnsd.c 56+ bin-$(ARCH)/diet $(CROSS)$(CC) $(CFLAGS) -o $@ contrib/dnsd.c
56 57
57 VERSION=dietlibc-$(shell head -n 1 CHANGES|sed 's/://') 58 VERSION=dietlibc-$(shell head -n 1 CHANGES|sed 's/://')
58 CURNAME=$(notdir $(shell pwd)) 59 CURNAME=$(notdir $(shell pwd))
59@@ -370,10 +370,10 @@ uninstall: 60@@ -385,10 +385,10 @@ uninstall:
60 for i in `find include -name \*.h`; do rm -f $(DESTDIR)$(prefix)/$$i; done 61 for i in `find include -name \*.h`; do rm -f $(DESTDIR)$(prefix)/$$i; done
61 -rmdir $(DESTDIR)$(ILIBDIR) $(DESTDIR)$(MAN1DIR) $(DESTDIR)$(BINDIR) 62 -rmdir $(DESTDIR)$(ILIBDIR) $(DESTDIR)$(MAN1DIR) $(DESTDIR)$(BINDIR)
62 63
63-.PHONY: sparc ppc mips arm alpha i386 parisc mipsel powerpc s390 sparc64 64-.PHONY: sparc ppc mips arm alpha i386 parisc mipsel powerpc s390 sparc64
64-.PHONY: x86_64 ia64 ppc64 s390x 65-.PHONY: x86_64 ia64 ppc64 s390x
65+.PHONY: sparc powerpc mips arm alpha i386 parisc mipsel powerpc s390 sparc64 66+.PHONY: sparc powerpc mips arm alpha i386 parisc mipsel powerpc s390 sparc64
66+.PHONY: x86_64 ia64 powerpc64 s390x 67+.PHONY: x86_64 ia64 powerpc64 s390x
67 68
68-arm sparc ppc alpha mips parisc s390 sparc64 x86_64 ia64 ppc64 s390x: 69-arm sparc alpha mips parisc s390 sparc64 x86_64 ia64 ppc64 s390x:
69+arm sparc powerpc alpha mips parisc s390 sparc64 x86_64 ia64 powerpc64 s390x: 70+arm sparc alpha mips parisc s390 sparc64 x86_64 ia64 powerpc64 s390x:
70 $(MAKE) ARCH=$@ CROSS=$@-linux- all 71 $(MAKE) ARCH=$@ CROSS=$@-linux- all
71 72
72 i386: 73 i386:
74@@ -398,8 +398,8 @@ else
75 $(MAKE) ARCH=$@ CROSS=$@-linux- all
76 endif
77
78-ppc:
79-ifeq ($(MYARCH),ppc64)
80+powerpc:
81+ifeq ($(MYARCH),powerpc64)
82 $(MAKE) ARCH=$@ CC="$(CC) -m32" all
83 else
84 $(MAKE) ARCH=$@ CROSS=$@-linux- all
73@@ -390,15 +390,11 @@ mipsel: 85@@ -412,15 +412,11 @@ mipsel:
74 mips-gnu: 86 mips-gnu:
75 $(MAKE) ARCH=$@ CROSS=$@-linux-gnu- all 87 $(MAKE) ARCH=$@ CROSS=$@-linux-gnu- all
76 88
77-# Some people named their cross compiler toolchain powerpc-linux-gcc 89-# Some people named their cross compiler toolchain powerpc-linux-gcc
78-powerpc: 90-powerpc:
85-CROSS_ARCH=arm sparc ppc alpha i386 mips sparc64 x86_64 s390 parisc 97-CROSS_ARCH=arm sparc ppc alpha i386 mips sparc64 x86_64 s390 parisc
86+CROSS_ARCH=arm sparc powerpc alpha i386 mips sparc64 x86_64 s390 parisc 98+CROSS_ARCH=arm sparc powerpc alpha i386 mips sparc64 x86_64 s390 parisc
87 cross: 99 cross:
88 $(MAKE) $(subst $(ARCH),,$(CROSS_ARCH)) 100 $(MAKE) $(subst $(ARCH),,$(CROSS_ARCH))
89 101
90Index: dietlibc-0.30_pre20060501/powerpc/clone.S 102diff -Nurp dietlibc.orig/powerpc/clone.S dietlibc/powerpc/clone.S
91=================================================================== 103--- dietlibc.orig/powerpc/clone.S 1970-01-01 01:00:00.000000000 +0100
92--- /dev/null 104+++ dietlibc/powerpc/clone.S 2001-12-13 17:05:03.000000000 +0100
93+++ dietlibc-0.30_pre20060501/powerpc/clone.S
94@@ -0,0 +1,48 @@ 105@@ -0,0 +1,48 @@
95+#include <dietfeatures.h> 106+#include <dietfeatures.h>
96+#include "syscalls.h" 107+#include "syscalls.h"
97+#include <errno.h> 108+#include <errno.h>
98+ 109+
138+ b error_unified_syscall 149+ b error_unified_syscall
139+ 150+
140+.Lclone_error: 151+.Lclone_error:
141+ li 3, EINVAL 152+ li 3, EINVAL
142+ b error_unified_syscall 153+ b error_unified_syscall
143Index: dietlibc-0.30_pre20060501/powerpc/__longjmp.S 154diff -Nurp dietlibc.orig/powerpc/__longjmp.S dietlibc/powerpc/__longjmp.S
144=================================================================== 155--- dietlibc.orig/powerpc/__longjmp.S 1970-01-01 01:00:00.000000000 +0100
145--- /dev/null 156+++ dietlibc/powerpc/__longjmp.S 2001-01-25 18:23:36.000000000 +0100
146+++ dietlibc-0.30_pre20060501/powerpc/__longjmp.S
147@@ -0,0 +1,59 @@ 157@@ -0,0 +1,59 @@
148+#include <setjmp.h> 158+#include <setjmp.h>
149+ 159+
150+ 160+
151+#ifdef PIC 161+#ifdef PIC
202+ lfd 31,((JB_FPRS+17*2)*4)(3) 212+ lfd 31,((JB_FPRS+17*2)*4)(3)
203+ mr 3,4 213+ mr 3,4
204+ blr 214+ blr
205+.size __longjmp,.-__longjmp 215+.size __longjmp,.-__longjmp
206+ 216+
207Index: dietlibc-0.30_pre20060501/powerpc/Makefile.add 217diff -Nurp dietlibc.orig/powerpc/Makefile.add dietlibc/powerpc/Makefile.add
208=================================================================== 218--- dietlibc.orig/powerpc/Makefile.add 1970-01-01 01:00:00.000000000 +0100
209--- /dev/null 219+++ dietlibc/powerpc/Makefile.add 2001-01-30 16:01:20.000000000 +0100
210+++ dietlibc-0.30_pre20060501/powerpc/Makefile.add
211@@ -0,0 +1,3 @@ 220@@ -0,0 +1,3 @@
212+ 221+
213+CFLAGS+=-mpowerpc-gpopt -mpowerpc-gfxopt -Os 222+CFLAGS+=-mpowerpc-gpopt -mpowerpc-gfxopt -Os
214+VPATH:=powerpc:syscalls.s:$(VPATH) 223+VPATH:=ppc:syscalls.s:$(VPATH)
215Index: dietlibc-0.30_pre20060501/powerpc/mmap.c 224diff -Nurp dietlibc.orig/powerpc/mmap.c dietlibc/powerpc/mmap.c
216=================================================================== 225--- dietlibc.orig/powerpc/mmap.c 1970-01-01 01:00:00.000000000 +0100
217--- /dev/null 226+++ dietlibc/powerpc/mmap.c 2001-06-18 23:08:07.000000000 +0200
218+++ dietlibc-0.30_pre20060501/powerpc/mmap.c
219@@ -0,0 +1,40 @@ 227@@ -0,0 +1,40 @@
220+#include "dietfeatures.h" 228+#include "dietfeatures.h"
221+#include <sys/types.h> 229+#include <sys/types.h>
222+#include <errno.h> 230+#include <errno.h>
223+#include "syscalls.h" 231+#include "syscalls.h"
255+ __sc_err = __sc_0; 263+ __sc_err = __sc_0;
256+ } 264+ }
257+ return (__sc_err & 0x10000000 ? errno = __sc_ret, __sc_ret = -1 : 0), 265+ return (__sc_err & 0x10000000 ? errno = __sc_ret, __sc_ret = -1 : 0),
258+ (int) __sc_ret; 266+ (int) __sc_ret;
259+} 267+}
260Index: dietlibc-0.30_pre20060501/powerpc/setjmp.S 268diff -Nurp dietlibc.orig/powerpc/setjmp.S dietlibc/powerpc/setjmp.S
261=================================================================== 269--- dietlibc.orig/powerpc/setjmp.S 1970-01-01 01:00:00.000000000 +0100
262--- /dev/null 270+++ dietlibc/powerpc/setjmp.S 2001-01-09 18:57:44.000000000 +0100
263+++ dietlibc-0.30_pre20060501/powerpc/setjmp.S
264@@ -0,0 +1,56 @@ 271@@ -0,0 +1,56 @@
265+#include <setjmp.h> 272+#include <setjmp.h>
266+ 273+
267+#ifdef PIC 274+#ifdef PIC
268+#define JUMPTARGET(name) name##@plt 275+#define JUMPTARGET(name) name##@plt
316+ stfd 30,((JB_FPRS+16*2)*4)(3) 323+ stfd 30,((JB_FPRS+16*2)*4)(3)
317+ stw 31,((JB_GPRS+17)*4)(3) 324+ stw 31,((JB_GPRS+17)*4)(3)
318+ stfd 31,((JB_FPRS+17*2)*4)(3) 325+ stfd 31,((JB_FPRS+17*2)*4)(3)
319+ b JUMPTARGET (__sigjmp_save) 326+ b JUMPTARGET (__sigjmp_save)
320+.size __sigsetjmp,.-__sigsetjmp 327+.size __sigsetjmp,.-__sigsetjmp
321Index: dietlibc-0.30_pre20060501/powerpc/start.S 328diff -Nurp dietlibc.orig/powerpc/start.S dietlibc/powerpc/start.S
322=================================================================== 329--- dietlibc.orig/powerpc/start.S 1970-01-01 01:00:00.000000000 +0100
323--- /dev/null 330+++ dietlibc/powerpc/start.S 2006-04-04 07:35:14.000000000 +0200
324+++ dietlibc-0.30_pre20060501/powerpc/start.S
325@@ -0,0 +1,52 @@ 331@@ -0,0 +1,52 @@
326+#include "dietfeatures.h" 332+#include "dietfeatures.h"
327+ 333+
328+.text 334+.text
329+.global _start 335+.global _start
373+/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */ 379+/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */
374+ .weak __libc_stack_end 380+ .weak __libc_stack_end
375+ .lcomm __libc_stack_end,4,4 381+ .lcomm __libc_stack_end,4,4
376+ .type __libc_stack_end,@object 382+ .type __libc_stack_end,@object
377+ 383+
378Index: dietlibc-0.30_pre20060501/powerpc/syscalls.h 384diff -Nurp dietlibc.orig/powerpc/syscalls.h dietlibc/powerpc/syscalls.h
379=================================================================== 385--- dietlibc.orig/powerpc/syscalls.h 1970-01-01 01:00:00.000000000 +0100
380--- /dev/null 386+++ dietlibc/powerpc/syscalls.h 2005-09-21 09:33:08.000000000 +0200
381+++ dietlibc-0.30_pre20060501/powerpc/syscalls.h
382@@ -0,0 +1,299 @@ 387@@ -0,0 +1,299 @@
383+ 388+
384+#define __NR_exit 1 389+#define __NR_exit 1
385+#define __NR_fork 2 390+#define __NR_fork 2
386+#define __NR_read 3 391+#define __NR_read 3
677+.global sym; \ 682+.global sym; \
678+sym: \ 683+sym: \
679+ li 0,__NR_##name; \ 684+ li 0,__NR_##name; \
680+ b __unified_syscall 685+ b __unified_syscall
681+ 686+
682Index: dietlibc-0.30_pre20060501/powerpc/__testandset.S 687diff -Nurp dietlibc.orig/powerpc/__testandset.S dietlibc/powerpc/__testandset.S
683=================================================================== 688--- dietlibc.orig/powerpc/__testandset.S 1970-01-01 01:00:00.000000000 +0100
684--- /dev/null 689+++ dietlibc/powerpc/__testandset.S 2002-09-16 13:17:01.000000000 +0200
685+++ dietlibc-0.30_pre20060501/powerpc/__testandset.S
686@@ -0,0 +1,12 @@ 690@@ -0,0 +1,12 @@
687+.global __testandset 691+.global __testandset
688+.type __testandset,@function 692+.type __testandset,@function
689+.align 2 693+.align 2
690+__testandset: 694+__testandset:
694+ bne- 1b 698+ bne- 1b
695+ mr 3,5 699+ mr 3,5
696+ blr 700+ blr
697+.size __testandset,.-__testandset 701+.size __testandset,.-__testandset
698+ 702+
699Index: dietlibc-0.30_pre20060501/powerpc/unified.S 703diff -Nurp dietlibc.orig/powerpc/unified.S dietlibc/powerpc/unified.S
700=================================================================== 704--- dietlibc.orig/powerpc/unified.S 1970-01-01 01:00:00.000000000 +0100
701--- /dev/null 705+++ dietlibc/powerpc/unified.S 2002-01-21 16:55:19.000000000 +0100
702+++ dietlibc-0.30_pre20060501/powerpc/unified.S
703@@ -0,0 +1,40 @@ 706@@ -0,0 +1,40 @@
704+#include <dietfeatures.h> 707+#include <dietfeatures.h>
705+#include "syscalls.h" 708+#include "syscalls.h"
706+ 709+
707+.text 710+.text
739+/* here we go and "reuse" the return for weak-void functions */ 742+/* here we go and "reuse" the return for weak-void functions */
740+#include "dietuglyweaks.h" 743+#include "dietuglyweaks.h"
741+ 744+
742+ blr 745+ blr
743+ 746+
744Index: dietlibc-0.30_pre20060501/powerpc64/clone.S 747diff -Nurp dietlibc.orig/powerpc64/clone.S dietlibc/powerpc64/clone.S
745=================================================================== 748--- dietlibc.orig/powerpc64/clone.S 1970-01-01 01:00:00.000000000 +0100
746--- /dev/null 749+++ dietlibc/powerpc64/clone.S 2005-05-13 20:39:32.000000000 +0200
747+++ dietlibc-0.30_pre20060501/powerpc64/clone.S
748@@ -0,0 +1,52 @@ 750@@ -0,0 +1,52 @@
749+#include <dietfeatures.h> 751+#include <dietfeatures.h>
750+#include "syscalls.h" 752+#include "syscalls.h"
751+#include <errno.h> 753+#include <errno.h>
752+ 754+
796+ b error_unified_syscall 798+ b error_unified_syscall
797+ 799+
798+.Lclone_error: 800+.Lclone_error:
799+ li 3, EINVAL 801+ li 3, EINVAL
800+ b error_unified_syscall 802+ b error_unified_syscall
801Index: dietlibc-0.30_pre20060501/powerpc64/__longjmp.S 803diff -Nurp dietlibc.orig/powerpc64/__longjmp.S dietlibc/powerpc64/__longjmp.S
802=================================================================== 804--- dietlibc.orig/powerpc64/__longjmp.S 1970-01-01 01:00:00.000000000 +0100
803--- /dev/null 805+++ dietlibc/powerpc64/__longjmp.S 2005-09-21 09:33:08.000000000 +0200
804+++ dietlibc-0.30_pre20060501/powerpc64/__longjmp.S
805@@ -0,0 +1,54 @@ 806@@ -0,0 +1,54 @@
806+#include <setjmp.h> 807+#include <setjmp.h>
807+ 808+
808+ .quad .__longjmp,.TOC.@tocbase,0 809+ .quad .__longjmp,.TOC.@tocbase,0
809+ .text 810+ .text
855+ ld 31,((JB_GPRS+17)*8)(3) 856+ ld 31,((JB_GPRS+17)*8)(3)
856+ lfd 31,((JB_FPRS+17)*8)(3) 857+ lfd 31,((JB_FPRS+17)*8)(3)
857+ mr 3,4 858+ mr 3,4
858+ blr 859+ blr
859+.size .__longjmp,.-.__longjmp 860+.size .__longjmp,.-.__longjmp
860Index: dietlibc-0.30_pre20060501/powerpc64/Makefile.add 861diff -Nurp dietlibc.orig/powerpc64/Makefile.add dietlibc/powerpc64/Makefile.add
861=================================================================== 862--- dietlibc.orig/powerpc64/Makefile.add 1970-01-01 01:00:00.000000000 +0100
862--- /dev/null 863+++ dietlibc/powerpc64/Makefile.add 2006-06-21 21:18:13.787790750 +0200
863+++ dietlibc-0.30_pre20060501/powerpc64/Makefile.add
864@@ -0,0 +1,3 @@ 864@@ -0,0 +1,5 @@
865+ 865+
866+CFLAGS+=-Os -mpowerpc64 866+CFLAGS+=-Os -mpowerpc64
867+VPATH:=powerpc64:syscalls.s:$(VPATH) 867+VPATH:=ppc64:syscalls.s:$(VPATH)
868Index: dietlibc-0.30_pre20060501/powerpc64/setjmp.S 868+
869=================================================================== 869+CC+=-m64
870--- /dev/null 870diff -Nurp dietlibc.orig/powerpc64/setjmp.S dietlibc/powerpc64/setjmp.S
871+++ dietlibc-0.30_pre20060501/powerpc64/setjmp.S 871--- dietlibc.orig/powerpc64/setjmp.S 1970-01-01 01:00:00.000000000 +0100
872+++ dietlibc/powerpc64/setjmp.S 2005-09-21 09:33:08.000000000 +0200
872@@ -0,0 +1,59 @@ 873@@ -0,0 +1,59 @@
873+#include <setjmp.h> 874+#include <setjmp.h>
874+ 875+
875+#ifdef PIC 876+#ifdef PIC
876+#define JUMPTARGET(name) name##@plt 877+#define JUMPTARGET(name) name##@plt
927+ stfd 30,((JB_FPRS+16)*8)(3) 928+ stfd 30,((JB_FPRS+16)*8)(3)
928+ std 31,((JB_GPRS+17)*8)(3) 929+ std 31,((JB_GPRS+17)*8)(3)
929+ stfd 31,((JB_FPRS+17)*8)(3) 930+ stfd 31,((JB_FPRS+17)*8)(3)
930+ b JUMPTARGET (__sigjmp_save) 931+ b JUMPTARGET (__sigjmp_save)
931+.size .__sigsetjmp,.-.__sigsetjmp 932+.size .__sigsetjmp,.-.__sigsetjmp
932Index: dietlibc-0.30_pre20060501/powerpc64/start.S 933diff -Nurp dietlibc.orig/powerpc64/start.S dietlibc/powerpc64/start.S
933=================================================================== 934--- dietlibc.orig/powerpc64/start.S 1970-01-01 01:00:00.000000000 +0100
934--- /dev/null 935+++ dietlibc/powerpc64/start.S 2006-04-04 07:35:14.000000000 +0200
935+++ dietlibc-0.30_pre20060501/powerpc64/start.S
936@@ -0,0 +1,91 @@ 936@@ -0,0 +1,91 @@
937+#include "dietfeatures.h" 937+#include "dietfeatures.h"
938+ 938+
939+ .section ".text" 939+ .section ".text"
940+ .align 2 940+ .align 2
1023+/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */ 1023+/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */
1024+ .weak __libc_stack_end 1024+ .weak __libc_stack_end
1025+ .lcomm __libc_stack_end,8,8 1025+ .lcomm __libc_stack_end,8,8
1026+ .type __libc_stack_end,@object 1026+ .type __libc_stack_end,@object
1027+ 1027+
1028Index: dietlibc-0.30_pre20060501/powerpc64/syscalls.h 1028diff -Nurp dietlibc.orig/powerpc64/syscalls.h dietlibc/powerpc64/syscalls.h
1029=================================================================== 1029--- dietlibc.orig/powerpc64/syscalls.h 1970-01-01 01:00:00.000000000 +0100
1030--- /dev/null 1030+++ dietlibc/powerpc64/syscalls.h 2005-09-21 09:33:08.000000000 +0200
1031+++ dietlibc-0.30_pre20060501/powerpc64/syscalls.h
1032@@ -0,0 +1,317 @@ 1031@@ -0,0 +1,317 @@
1033+ 1032+
1034+#define __NR_exit 1 1033+#define __NR_exit 1
1035+#define __NR_fork 2 1034+#define __NR_fork 2
1036+#define __NR_read 3 1035+#define __NR_read 3
1345+diet_proto(sym); \ 1344+diet_proto(sym); \
1346+.sym: \ 1345+.sym: \
1347+ li 0,__NR_##name; \ 1346+ li 0,__NR_##name; \
1348+ b __unified_syscall 1347+ b __unified_syscall
1349+ 1348+
1350Index: dietlibc-0.30_pre20060501/powerpc64/__testandset.S 1349diff -Nurp dietlibc.orig/powerpc64/__testandset.S dietlibc/powerpc64/__testandset.S
1351=================================================================== 1350--- dietlibc.orig/powerpc64/__testandset.S 1970-01-01 01:00:00.000000000 +0100
1352--- /dev/null 1351+++ dietlibc/powerpc64/__testandset.S 2003-10-10 15:37:34.000000000 +0200
1353+++ dietlibc-0.30_pre20060501/powerpc64/__testandset.S
1354@@ -0,0 +1,12 @@ 1352@@ -0,0 +1,12 @@
1355+.global __testandset 1353+.global __testandset
1356+.type __testandset,@function 1354+.type __testandset,@function
1357+.align 2 1355+.align 2
1358+__testandset: 1356+__testandset:
1362+ bne- 1b 1360+ bne- 1b
1363+ mr 3,5 1361+ mr 3,5
1364+ blr 1362+ blr
1365+.size __testandset,.-__testandset 1363+.size __testandset,.-__testandset
1366+ 1364+
1367Index: dietlibc-0.30_pre20060501/powerpc64/umount.S 1365diff -Nurp dietlibc.orig/powerpc64/umount.S dietlibc/powerpc64/umount.S
1368=================================================================== 1366--- dietlibc.orig/powerpc64/umount.S 1970-01-01 01:00:00.000000000 +0100
1369--- /dev/null 1367+++ dietlibc/powerpc64/umount.S 2004-12-17 19:47:59.000000000 +0100
1370+++ dietlibc-0.30_pre20060501/powerpc64/umount.S
1371@@ -0,0 +1,8 @@ 1368@@ -0,0 +1,8 @@
1372+#include "syscalls.h" 1369+#include "syscalls.h"
1373+ 1370+
1374+ .text 1371+ .text
1375+diet_proto(umount) 1372+diet_proto(umount)
1376+.umount: 1373+.umount:
1377+ li 0, __NR_umount2 1374+ li 0, __NR_umount2
1378+ li 4, 0 1375+ li 4, 0
1379+ b __unified_syscall 1376+ b __unified_syscall
1380Index: dietlibc-0.30_pre20060501/powerpc64/unified.S 1377diff -Nurp dietlibc.orig/powerpc64/unified.S dietlibc/powerpc64/unified.S
1381=================================================================== 1378--- dietlibc.orig/powerpc64/unified.S 1970-01-01 01:00:00.000000000 +0100
1382--- /dev/null 1379+++ dietlibc/powerpc64/unified.S 2005-05-13 20:39:32.000000000 +0200
1383+++ dietlibc-0.30_pre20060501/powerpc64/unified.S
1384@@ -0,0 +1,71 @@ 1380@@ -0,0 +1,71 @@
1385+#include <dietfeatures.h> 1381+#include <dietfeatures.h>
1386+#include "syscalls.h" 1382+#include "syscalls.h"
1387+ 1383+
1388+ .text 1384+ .text
1451+diet_proto_weak(funlockfile) 1447+diet_proto_weak(funlockfile)
1452+diet_proto_weak(__nop) 1448+diet_proto_weak(__nop)
1453+diet_proto_weak(__you_tried_to_link_a_dietlibc_object_against_glibc) 1449+diet_proto_weak(__you_tried_to_link_a_dietlibc_object_against_glibc)
1454+diet_proto_weak(exit) 1450+diet_proto_weak(exit)
1455+diet_proto(_exit) 1451+diet_proto(_exit)
1456Index: dietlibc-0.30_pre20060501/ppc/clone.S 1452diff -Nurp dietlibc.orig/ppc/clone.S dietlibc/ppc/clone.S
1457=================================================================== 1453--- dietlibc.orig/ppc/clone.S 2001-12-13 17:05:03.000000000 +0100
1458--- dietlibc-0.30_pre20060501.orig/ppc/clone.S 1454+++ dietlibc/ppc/clone.S 1970-01-01 01:00:00.000000000 +0100
1459+++ /dev/null
1460@@ -1,48 +0,0 @@ 1455@@ -1,48 +0,0 @@
1461-#include <dietfeatures.h> 1456-#include <dietfeatures.h>
1462-#include "syscalls.h" 1457-#include "syscalls.h"
1463-#include <errno.h> 1458-#include <errno.h>
1464- 1459-
1504- b error_unified_syscall 1499- b error_unified_syscall
1505- 1500-
1506-.Lclone_error: 1501-.Lclone_error:
1507- li 3, EINVAL 1502- li 3, EINVAL
1508- b error_unified_syscall 1503- b error_unified_syscall
1509Index: dietlibc-0.30_pre20060501/ppc/__longjmp.S 1504diff -Nurp dietlibc.orig/ppc/__longjmp.S dietlibc/ppc/__longjmp.S
1510=================================================================== 1505--- dietlibc.orig/ppc/__longjmp.S 2001-01-25 18:23:36.000000000 +0100
1511--- dietlibc-0.30_pre20060501.orig/ppc/__longjmp.S 1506+++ dietlibc/ppc/__longjmp.S 1970-01-01 01:00:00.000000000 +0100
1512+++ /dev/null
1513@@ -1,59 +0,0 @@ 1507@@ -1,59 +0,0 @@
1514-#include <setjmp.h> 1508-#include <setjmp.h>
1515- 1509-
1516- 1510-
1517-#ifdef PIC 1511-#ifdef PIC
1568- lfd 31,((JB_FPRS+17*2)*4)(3) 1562- lfd 31,((JB_FPRS+17*2)*4)(3)
1569- mr 3,4 1563- mr 3,4
1570- blr 1564- blr
1571-.size __longjmp,.-__longjmp 1565-.size __longjmp,.-__longjmp
1572- 1566-
1573Index: dietlibc-0.30_pre20060501/ppc/Makefile.add 1567diff -Nurp dietlibc.orig/ppc/Makefile.add dietlibc/ppc/Makefile.add
1574=================================================================== 1568--- dietlibc.orig/ppc/Makefile.add 2001-01-30 16:01:20.000000000 +0100
1575--- dietlibc-0.30_pre20060501.orig/ppc/Makefile.add 1569+++ dietlibc/ppc/Makefile.add 1970-01-01 01:00:00.000000000 +0100
1576+++ /dev/null
1577@@ -1,3 +0,0 @@ 1570@@ -1,3 +0,0 @@
1578- 1571-
1579-CFLAGS+=-mpowerpc-gpopt -mpowerpc-gfxopt -Os 1572-CFLAGS+=-mpowerpc-gpopt -mpowerpc-gfxopt -Os
1580-VPATH:=ppc:syscalls.s:$(VPATH) 1573-VPATH:=ppc:syscalls.s:$(VPATH)
1581Index: dietlibc-0.30_pre20060501/ppc/mmap.c 1574diff -Nurp dietlibc.orig/ppc/mmap.c dietlibc/ppc/mmap.c
1582=================================================================== 1575--- dietlibc.orig/ppc/mmap.c 2001-06-18 23:08:07.000000000 +0200
1583--- dietlibc-0.30_pre20060501.orig/ppc/mmap.c 1576+++ dietlibc/ppc/mmap.c 1970-01-01 01:00:00.000000000 +0100
1584+++ /dev/null
1585@@ -1,40 +0,0 @@ 1577@@ -1,40 +0,0 @@
1586-#include "dietfeatures.h" 1578-#include "dietfeatures.h"
1587-#include <sys/types.h> 1579-#include <sys/types.h>
1588-#include <errno.h> 1580-#include <errno.h>
1589-#include "syscalls.h" 1581-#include "syscalls.h"
1621- __sc_err = __sc_0; 1613- __sc_err = __sc_0;
1622- } 1614- }
1623- return (__sc_err & 0x10000000 ? errno = __sc_ret, __sc_ret = -1 : 0), 1615- return (__sc_err & 0x10000000 ? errno = __sc_ret, __sc_ret = -1 : 0),
1624- (int) __sc_ret; 1616- (int) __sc_ret;
1625-} 1617-}
1626Index: dietlibc-0.30_pre20060501/ppc/setjmp.S 1618diff -Nurp dietlibc.orig/ppc/setjmp.S dietlibc/ppc/setjmp.S
1627=================================================================== 1619--- dietlibc.orig/ppc/setjmp.S 2001-01-09 18:57:44.000000000 +0100
1628--- dietlibc-0.30_pre20060501.orig/ppc/setjmp.S 1620+++ dietlibc/ppc/setjmp.S 1970-01-01 01:00:00.000000000 +0100
1629+++ /dev/null
1630@@ -1,56 +0,0 @@ 1621@@ -1,56 +0,0 @@
1631-#include <setjmp.h> 1622-#include <setjmp.h>
1632- 1623-
1633-#ifdef PIC 1624-#ifdef PIC
1634-#define JUMPTARGET(name) name##@plt 1625-#define JUMPTARGET(name) name##@plt
1682- stfd 30,((JB_FPRS+16*2)*4)(3) 1673- stfd 30,((JB_FPRS+16*2)*4)(3)
1683- stw 31,((JB_GPRS+17)*4)(3) 1674- stw 31,((JB_GPRS+17)*4)(3)
1684- stfd 31,((JB_FPRS+17*2)*4)(3) 1675- stfd 31,((JB_FPRS+17*2)*4)(3)
1685- b JUMPTARGET (__sigjmp_save) 1676- b JUMPTARGET (__sigjmp_save)
1686-.size __sigsetjmp,.-__sigsetjmp 1677-.size __sigsetjmp,.-__sigsetjmp
1687Index: dietlibc-0.30_pre20060501/ppc/start.S 1678diff -Nurp dietlibc.orig/ppc/start.S dietlibc/ppc/start.S
1688=================================================================== 1679--- dietlibc.orig/ppc/start.S 2006-04-04 07:35:14.000000000 +0200
1689--- dietlibc-0.30_pre20060501.orig/ppc/start.S 1680+++ dietlibc/ppc/start.S 1970-01-01 01:00:00.000000000 +0100
1690+++ /dev/null
1691@@ -1,52 +0,0 @@ 1681@@ -1,52 +0,0 @@
1692-#include "dietfeatures.h" 1682-#include "dietfeatures.h"
1693- 1683-
1694-.text 1684-.text
1695-.global _start 1685-.global _start
1739-/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */ 1729-/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */
1740- .weak __libc_stack_end 1730- .weak __libc_stack_end
1741- .lcomm __libc_stack_end,4,4 1731- .lcomm __libc_stack_end,4,4
1742- .type __libc_stack_end,@object 1732- .type __libc_stack_end,@object
1743- 1733-
1744Index: dietlibc-0.30_pre20060501/ppc/syscalls.h 1734diff -Nurp dietlibc.orig/ppc/syscalls.h dietlibc/ppc/syscalls.h
1745=================================================================== 1735--- dietlibc.orig/ppc/syscalls.h 2005-09-21 09:33:08.000000000 +0200
1746--- dietlibc-0.30_pre20060501.orig/ppc/syscalls.h 1736+++ dietlibc/ppc/syscalls.h 1970-01-01 01:00:00.000000000 +0100
1747+++ /dev/null
1748@@ -1,299 +0,0 @@ 1737@@ -1,299 +0,0 @@
1749- 1738-
1750-#define __NR_exit 1 1739-#define __NR_exit 1
1751-#define __NR_fork 2 1740-#define __NR_fork 2
1752-#define __NR_read 3 1741-#define __NR_read 3
2043-.global sym; \ 2032-.global sym; \
2044-sym: \ 2033-sym: \
2045- li 0,__NR_##name; \ 2034- li 0,__NR_##name; \
2046- b __unified_syscall 2035- b __unified_syscall
2047- 2036-
2048Index: dietlibc-0.30_pre20060501/ppc/__testandset.S 2037diff -Nurp dietlibc.orig/ppc/__testandset.S dietlibc/ppc/__testandset.S
2049=================================================================== 2038--- dietlibc.orig/ppc/__testandset.S 2002-09-16 13:17:01.000000000 +0200
2050--- dietlibc-0.30_pre20060501.orig/ppc/__testandset.S 2039+++ dietlibc/ppc/__testandset.S 1970-01-01 01:00:00.000000000 +0100
2051+++ /dev/null
2052@@ -1,12 +0,0 @@ 2040@@ -1,12 +0,0 @@
2053-.global __testandset 2041-.global __testandset
2054-.type __testandset,@function 2042-.type __testandset,@function
2055-.align 2 2043-.align 2
2056-__testandset: 2044-__testandset:
2060- bne- 1b 2048- bne- 1b
2061- mr 3,5 2049- mr 3,5
2062- blr 2050- blr
2063-.size __testandset,.-__testandset 2051-.size __testandset,.-__testandset
2064- 2052-
2065Index: dietlibc-0.30_pre20060501/ppc/unified.S 2053diff -Nurp dietlibc.orig/ppc/unified.S dietlibc/ppc/unified.S
2066=================================================================== 2054--- dietlibc.orig/ppc/unified.S 2002-01-21 16:55:19.000000000 +0100
2067--- dietlibc-0.30_pre20060501.orig/ppc/unified.S 2055+++ dietlibc/ppc/unified.S 1970-01-01 01:00:00.000000000 +0100
2068+++ /dev/null
2069@@ -1,40 +0,0 @@ 2056@@ -1,40 +0,0 @@
2070-#include <dietfeatures.h> 2057-#include <dietfeatures.h>
2071-#include "syscalls.h" 2058-#include "syscalls.h"
2072- 2059-
2073-.text 2060-.text
2105-/* here we go and "reuse" the return for weak-void functions */ 2092-/* here we go and "reuse" the return for weak-void functions */
2106-#include "dietuglyweaks.h" 2093-#include "dietuglyweaks.h"
2107- 2094-
2108- blr 2095- blr
2109- 2096-
2110Index: dietlibc-0.30_pre20060501/ppc64/clone.S 2097diff -Nurp dietlibc.orig/ppc64/clone.S dietlibc/ppc64/clone.S
2111=================================================================== 2098--- dietlibc.orig/ppc64/clone.S 2005-05-13 20:39:32.000000000 +0200
2112--- dietlibc-0.30_pre20060501.orig/ppc64/clone.S 2099+++ dietlibc/ppc64/clone.S 1970-01-01 01:00:00.000000000 +0100
2113+++ /dev/null
2114@@ -1,52 +0,0 @@ 2100@@ -1,52 +0,0 @@
2115-#include <dietfeatures.h> 2101-#include <dietfeatures.h>
2116-#include "syscalls.h" 2102-#include "syscalls.h"
2117-#include <errno.h> 2103-#include <errno.h>
2118- 2104-
2162- b error_unified_syscall 2148- b error_unified_syscall
2163- 2149-
2164-.Lclone_error: 2150-.Lclone_error:
2165- li 3, EINVAL 2151- li 3, EINVAL
2166- b error_unified_syscall 2152- b error_unified_syscall
2167Index: dietlibc-0.30_pre20060501/ppc64/__longjmp.S 2153diff -Nurp dietlibc.orig/ppc64/__longjmp.S dietlibc/ppc64/__longjmp.S
2168=================================================================== 2154--- dietlibc.orig/ppc64/__longjmp.S 2005-09-21 09:33:08.000000000 +0200
2169--- dietlibc-0.30_pre20060501.orig/ppc64/__longjmp.S 2155+++ dietlibc/ppc64/__longjmp.S 1970-01-01 01:00:00.000000000 +0100
2170+++ /dev/null
2171@@ -1,54 +0,0 @@ 2156@@ -1,54 +0,0 @@
2172-#include <setjmp.h> 2157-#include <setjmp.h>
2173- 2158-
2174- .quad .__longjmp,.TOC.@tocbase,0 2159- .quad .__longjmp,.TOC.@tocbase,0
2175- .text 2160- .text
2221- ld 31,((JB_GPRS+17)*8)(3) 2206- ld 31,((JB_GPRS+17)*8)(3)
2222- lfd 31,((JB_FPRS+17)*8)(3) 2207- lfd 31,((JB_FPRS+17)*8)(3)
2223- mr 3,4 2208- mr 3,4
2224- blr 2209- blr
2225-.size .__longjmp,.-.__longjmp 2210-.size .__longjmp,.-.__longjmp
2226Index: dietlibc-0.30_pre20060501/ppc64/Makefile.add 2211diff -Nurp dietlibc.orig/ppc64/Makefile.add dietlibc/ppc64/Makefile.add
2227=================================================================== 2212--- dietlibc.orig/ppc64/Makefile.add 2006-06-21 21:18:13.787790000 +0200
2228--- dietlibc-0.30_pre20060501.orig/ppc64/Makefile.add 2213+++ dietlibc/ppc64/Makefile.add 1970-01-01 01:00:00.000000000 +0100
2229+++ /dev/null
2230@@ -1,3 +0,0 @@ 2214@@ -1,5 +0,0 @@
2231- 2215-
2232-CFLAGS+=-Os -mpowerpc64 2216-CFLAGS+=-Os -mpowerpc64
2233-VPATH:=ppc64:syscalls.s:$(VPATH) 2217-VPATH:=ppc64:syscalls.s:$(VPATH)
2234Index: dietlibc-0.30_pre20060501/ppc64/setjmp.S 2218-
2235=================================================================== 2219-CC+=-m64
2236--- dietlibc-0.30_pre20060501.orig/ppc64/setjmp.S 2220diff -Nurp dietlibc.orig/ppc64/setjmp.S dietlibc/ppc64/setjmp.S
2237+++ /dev/null 2221--- dietlibc.orig/ppc64/setjmp.S 2005-09-21 09:33:08.000000000 +0200
2222+++ dietlibc/ppc64/setjmp.S 1970-01-01 01:00:00.000000000 +0100
2238@@ -1,59 +0,0 @@ 2223@@ -1,59 +0,0 @@
2239-#include <setjmp.h> 2224-#include <setjmp.h>
2240- 2225-
2241-#ifdef PIC 2226-#ifdef PIC
2242-#define JUMPTARGET(name) name##@plt 2227-#define JUMPTARGET(name) name##@plt
2293- stfd 30,((JB_FPRS+16)*8)(3) 2278- stfd 30,((JB_FPRS+16)*8)(3)
2294- std 31,((JB_GPRS+17)*8)(3) 2279- std 31,((JB_GPRS+17)*8)(3)
2295- stfd 31,((JB_FPRS+17)*8)(3) 2280- stfd 31,((JB_FPRS+17)*8)(3)
2296- b JUMPTARGET (__sigjmp_save) 2281- b JUMPTARGET (__sigjmp_save)
2297-.size .__sigsetjmp,.-.__sigsetjmp 2282-.size .__sigsetjmp,.-.__sigsetjmp
2298Index: dietlibc-0.30_pre20060501/ppc64/start.S 2283diff -Nurp dietlibc.orig/ppc64/start.S dietlibc/ppc64/start.S
2299=================================================================== 2284--- dietlibc.orig/ppc64/start.S 2006-04-04 07:35:14.000000000 +0200
2300--- dietlibc-0.30_pre20060501.orig/ppc64/start.S 2285+++ dietlibc/ppc64/start.S 1970-01-01 01:00:00.000000000 +0100
2301+++ /dev/null
2302@@ -1,91 +0,0 @@ 2286@@ -1,91 +0,0 @@
2303-#include "dietfeatures.h" 2287-#include "dietfeatures.h"
2304- 2288-
2305- .section ".text" 2289- .section ".text"
2306- .align 2 2290- .align 2
2389-/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */ 2373-/* this is needed for libgcc_eh.a - see gcc-3.4/gcc/config/rs6000/linux-unwind.h */
2390- .weak __libc_stack_end 2374- .weak __libc_stack_end
2391- .lcomm __libc_stack_end,8,8 2375- .lcomm __libc_stack_end,8,8
2392- .type __libc_stack_end,@object 2376- .type __libc_stack_end,@object
2393- 2377-
2394Index: dietlibc-0.30_pre20060501/ppc64/syscalls.h 2378diff -Nurp dietlibc.orig/ppc64/syscalls.h dietlibc/ppc64/syscalls.h
2395=================================================================== 2379--- dietlibc.orig/ppc64/syscalls.h 2005-09-21 09:33:08.000000000 +0200
2396--- dietlibc-0.30_pre20060501.orig/ppc64/syscalls.h 2380+++ dietlibc/ppc64/syscalls.h 1970-01-01 01:00:00.000000000 +0100
2397+++ /dev/null
2398@@ -1,317 +0,0 @@ 2381@@ -1,317 +0,0 @@
2399- 2382-
2400-#define __NR_exit 1 2383-#define __NR_exit 1
2401-#define __NR_fork 2 2384-#define __NR_fork 2
2402-#define __NR_read 3 2385-#define __NR_read 3
2711-diet_proto(sym); \ 2694-diet_proto(sym); \
2712-.sym: \ 2695-.sym: \
2713- li 0,__NR_##name; \ 2696- li 0,__NR_##name; \
2714- b __unified_syscall 2697- b __unified_syscall
2715- 2698-
2716Index: dietlibc-0.30_pre20060501/ppc64/__testandset.S 2699diff -Nurp dietlibc.orig/ppc64/__testandset.S dietlibc/ppc64/__testandset.S
2717=================================================================== 2700--- dietlibc.orig/ppc64/__testandset.S 2003-10-10 15:37:34.000000000 +0200
2718--- dietlibc-0.30_pre20060501.orig/ppc64/__testandset.S 2701+++ dietlibc/ppc64/__testandset.S 1970-01-01 01:00:00.000000000 +0100
2719+++ /dev/null
2720@@ -1,12 +0,0 @@ 2702@@ -1,12 +0,0 @@
2721-.global __testandset 2703-.global __testandset
2722-.type __testandset,@function 2704-.type __testandset,@function
2723-.align 2 2705-.align 2
2724-__testandset: 2706-__testandset:
2728- bne- 1b 2710- bne- 1b
2729- mr 3,5 2711- mr 3,5
2730- blr 2712- blr
2731-.size __testandset,.-__testandset 2713-.size __testandset,.-__testandset
2732- 2714-
2733Index: dietlibc-0.30_pre20060501/ppc64/umount.S 2715diff -Nurp dietlibc.orig/ppc64/umount.S dietlibc/ppc64/umount.S
2734=================================================================== 2716--- dietlibc.orig/ppc64/umount.S 2004-12-17 19:47:59.000000000 +0100
2735--- dietlibc-0.30_pre20060501.orig/ppc64/umount.S 2717+++ dietlibc/ppc64/umount.S 1970-01-01 01:00:00.000000000 +0100
2736+++ /dev/null
2737@@ -1,8 +0,0 @@ 2718@@ -1,8 +0,0 @@
2738-#include "syscalls.h" 2719-#include "syscalls.h"
2739- 2720-
2740- .text 2721- .text
2741-diet_proto(umount) 2722-diet_proto(umount)
2742-.umount: 2723-.umount:
2743- li 0, __NR_umount2 2724- li 0, __NR_umount2
2744- li 4, 0 2725- li 4, 0
2745- b __unified_syscall 2726- b __unified_syscall
2746Index: dietlibc-0.30_pre20060501/ppc64/unified.S 2727diff -Nurp dietlibc.orig/ppc64/unified.S dietlibc/ppc64/unified.S
2747=================================================================== 2728--- dietlibc.orig/ppc64/unified.S 2005-05-13 20:39:32.000000000 +0200
2748--- dietlibc-0.30_pre20060501.orig/ppc64/unified.S 2729+++ dietlibc/ppc64/unified.S 1970-01-01 01:00:00.000000000 +0100
2749+++ /dev/null
2750@@ -1,71 +0,0 @@ 2730@@ -1,71 +0,0 @@
2751-#include <dietfeatures.h> 2731-#include <dietfeatures.h>
2752-#include "syscalls.h" 2732-#include "syscalls.h"
2753- 2733-
2754- .text 2734- .text
2817-diet_proto_weak(funlockfile) 2797-diet_proto_weak(funlockfile)
2818-diet_proto_weak(__nop) 2798-diet_proto_weak(__nop)
2819-diet_proto_weak(__you_tried_to_link_a_dietlibc_object_against_glibc) 2799-diet_proto_weak(__you_tried_to_link_a_dietlibc_object_against_glibc)
2820-diet_proto_weak(exit) 2800-diet_proto_weak(exit)
2821-diet_proto(_exit) 2801-diet_proto(_exit)
2822Index: dietlibc-0.30_pre20060501/syscalls.h 2802diff -Nurp dietlibc.orig/syscalls.h dietlibc/syscalls.h
2823=================================================================== 2803--- dietlibc.orig/syscalls.h 2006-06-21 21:44:44.287916500 +0200
2824--- dietlibc-0.30_pre20060501.orig/syscalls.h 2804+++ dietlibc/syscalls.h 2006-06-21 21:42:27.891392250 +0200
2825+++ dietlibc-0.30_pre20060501/syscalls.h
2826@@ -12,10 +12,10 @@ 2805@@ -12,10 +12,10 @@
2827 #endif 2806 #endif
2828 2807
2829 #elif defined(__powerpc64__) 2808 #elif defined(__powerpc64__)
2830-#include "ppc64/syscalls.h" 2809-#include "ppc64/syscalls.h"

Legend:
Removed from v.379  
changed lines
  Added in v.388

  ViewVC Help
Powered by ViewVC 1.1.20