diff options
author | uwe <uwe> | 2007-06-11 18:28:38 +0000 |
---|---|---|
committer | uwe <uwe> | 2007-06-11 18:28:38 +0000 |
commit | 4e42575bf316bd0eea181f38e327a39b7341b8e4 (patch) | |
tree | c1f4f45c4fca75edd3b97688d87f0c26ccb5a944 /lang | |
parent | 470350ed41db86428cbc934d060fa3e88afcbcdb (diff) | |
download | pkgsrc-4e42575bf316bd0eea181f38e327a39b7341b8e4.tar.gz |
clisp 2.41 supports NetBSD/powerpc out of the box now, thanks to
Magnus Henoch mange()freemail.hu who sent fixes upstream.
Nuke post-patch target and files/* that we no longer need. Tested on
my macppc.
ok agc@
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clisp/Makefile | 6 | ||||
-rw-r--r-- | lang/clisp/files/tramp-rs6000-netbsd.o | bin | 487 -> 0 bytes | |||
-rw-r--r-- | lang/clisp/files/tramp-rs6000-netbsd.s | 29 | ||||
-rw-r--r-- | lang/clisp/files/vacall-rs6000-netbsd.s | 159 |
4 files changed, 1 insertions, 193 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile index 95d65210027..5d4258ff273 100644 --- a/lang/clisp/Makefile +++ b/lang/clisp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2007/06/09 06:10:31 obache Exp $ +# $NetBSD: Makefile,v 1.63 2007/06/11 18:28:38 uwe Exp $ DISTNAME= clisp-2.41 CATEGORIES= lang @@ -38,10 +38,6 @@ TEST_TARGET= check MAKE_ENV+= TOOLS_PLATFORM.install=${TOOLS_PLATFORM.install:Q} MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} -post-patch: - ${CP} files/vacall-rs6000-netbsd.s \ - ${WRKSRC}/ffcall/callback/vacall_r/vacall-powerpc-netbsd.s - post-configure: cd ${WRKSRC}/src && \ ./makemake --prefix=${PREFIX} --with-readline --with-gettext \ diff --git a/lang/clisp/files/tramp-rs6000-netbsd.o b/lang/clisp/files/tramp-rs6000-netbsd.o Binary files differdeleted file mode 100644 index ef578f6b491..00000000000 --- a/lang/clisp/files/tramp-rs6000-netbsd.o +++ /dev/null diff --git a/lang/clisp/files/tramp-rs6000-netbsd.s b/lang/clisp/files/tramp-rs6000-netbsd.s deleted file mode 100644 index 758fe31f916..00000000000 --- a/lang/clisp/files/tramp-rs6000-netbsd.s +++ /dev/null @@ -1,29 +0,0 @@ -/* Trampoline for rs6000 CPU with SysV.4 ABI */ - -/* - * Copyright 1995-1999 Bruno Haible, <haible@clisp.cons.org> - * - * This is free software distributed under the GNU General Public Licence - * described in the file COPYING. Contact the author if you don't have this - * or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied, - * on this software. - */ - -/* Available registers: r0, r12, r11, r10, r9, r8, r7, r6, r5, r4, r3. */ -/* However, r0 is special in that it cannot be used as a base register. */ -/* And r3...r10 should not be clobbered because they contain the first 8 - * integer arguments to the function being called. - * Use r13 as it's the last possible register allocated with gcc and r11/12 - * get used during dynamic linkage. - */ - - .globl tramp -tramp: -/* Move <data> into register r13 */ - lis 13,0x7355 - ori 13,13,0x4711 -/* Get <function> */ - lis 0,0xbabe - ori 0,0,0xbec0 - mtctr 0 - bctr diff --git a/lang/clisp/files/vacall-rs6000-netbsd.s b/lang/clisp/files/vacall-rs6000-netbsd.s deleted file mode 100644 index 3486025a314..00000000000 --- a/lang/clisp/files/vacall-rs6000-netbsd.s +++ /dev/null @@ -1,159 +0,0 @@ - .file "vacall-rs6000.c" -gcc2_compiled.: - .section ".text" - .align 2 - .globl __vacall_r - .type __vacall_r,@function -__vacall_r: - stwu 1,-208(1) - mflr 0 - stw 0,212(1) - stw 3,152(1) - stw 4,156(1) - stw 5,160(1) - stw 6,164(1) - stw 7,168(1) - stw 8,172(1) - stw 9,176(1) - stw 10,180(1) - stfd 1,48(1) - stfd 2,56(1) - stfd 3,64(1) - stfd 4,72(1) - stfd 5,80(1) - stfd 6,88(1) - stfd 7,96(1) - stfd 8,104(1) - li 9,0 - stw 9,8(1) - addi 0,1,152 - stw 0,12(1) - addi 0,1,216 - stw 0,184(1) - stw 9,188(1) - stw 9,16(1) - stw 9,20(1) - addi 0,1,48 - stw 0,40(1) - lwz 9,0(13) - lwz 3,4(13) - addi 4,1,8 - mtlr 9 - blrl - lwz 0,20(1) - cmpwi 0,0,0 - bc 12,2,.L4 - cmpwi 0,0,1 - bc 12,2,.L42 - lwz 0,20(1) - cmpwi 0,0,2 - bc 4,2,.L7 - lbz 0,32(1) - extsb 3,0 - b .L4 -.L7: - lwz 0,20(1) - cmpwi 0,0,3 - bc 4,2,.L9 -.L42: - lbz 3,32(1) - b .L4 -.L9: - lwz 0,20(1) - cmpwi 0,0,4 - bc 4,2,.L11 - lha 3,32(1) - b .L4 -.L11: - lwz 0,20(1) - cmpwi 0,0,5 - bc 4,2,.L13 - lhz 3,32(1) - b .L4 -.L13: - lwz 0,20(1) - cmpwi 0,0,6 - bc 12,2,.L43 - lwz 0,20(1) - cmpwi 0,0,7 - bc 12,2,.L43 - lwz 0,20(1) - cmpwi 0,0,8 - bc 12,2,.L43 - lwz 0,20(1) - cmpwi 0,0,9 - bc 12,2,.L43 - lwz 9,20(1) - addi 9,9,-10 - cmplwi 0,9,1 - bc 12,1,.L23 - lwz 3,32(1) - lwz 4,36(1) - b .L4 -.L23: - lwz 0,20(1) - cmpwi 0,0,12 - bc 4,2,.L25 - lfs 1,32(1) - b .L4 -.L25: - lwz 0,20(1) - cmpwi 0,0,13 - bc 4,2,.L27 - lfd 1,32(1) - b .L4 -.L27: - lwz 0,20(1) - cmpwi 0,0,14 - bc 4,2,.L29 -.L43: - lwz 3,32(1) - b .L4 -.L29: - lwz 0,20(1) - cmpwi 0,0,15 - bc 4,2,.L4 - lwz 0,8(1) - andi. 9,0,1 - bc 12,2,.L32 - lwz 3,16(1) - b .L4 -.L32: - lwz 0,8(1) - andi. 9,0,1024 - bc 12,2,.L4 - lwz 0,24(1) - cmpwi 0,0,1 - bc 4,2,.L35 - lwz 9,16(1) - lbz 3,0(9) - b .L4 -.L35: - lwz 0,24(1) - cmpwi 0,0,2 - bc 4,2,.L37 - lwz 9,16(1) - lhz 3,0(9) - b .L4 -.L37: - lwz 0,24(1) - cmpwi 0,0,4 - bc 4,2,.L39 - lwz 9,16(1) - lwz 3,0(9) - b .L4 -.L39: - lwz 0,24(1) - cmpwi 0,0,8 - bc 4,2,.L4 - lwz 9,16(1) - lwz 3,0(9) - lwz 4,4(9) -.L4: - lwz 0,212(1) - mtlr 0 - la 1,208(1) - blr -.Lfe1: - .size __vacall_r,.Lfe1-__vacall_r - .ident "GCC: (GNU) 2.95.2 19991024 (release/franzo)" |