diff options
author | Maurice van der Pot <griffon26@gentoo.org> | 2005-10-17 19:23:17 +0000 |
---|---|---|
committer | Maurice van der Pot <griffon26@gentoo.org> | 2005-10-17 19:23:17 +0000 |
commit | 1465cea3a210224f64fd18fe38210cb640ac5d6b (patch) | |
tree | 2c4247b2ad910935d14ff145e3721d8ca081fdaa /sys-libs/lwp/files | |
parent | version bump thanks to brenden - bug #109232 (diff) | |
download | gentoo-2-1465cea3a210224f64fd18fe38210cb640ac5d6b.tar.gz gentoo-2-1465cea3a210224f64fd18fe38210cb640ac5d6b.tar.bz2 gentoo-2-1465cea3a210224f64fd18fe38210cb640ac5d6b.zip |
Removed old version
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'sys-libs/lwp/files')
-rw-r--r-- | sys-libs/lwp/files/digest-lwp-1.12 | 1 | ||||
-rw-r--r-- | sys-libs/lwp/files/lwp-1.10-amd64.patch | 81 |
2 files changed, 0 insertions, 82 deletions
diff --git a/sys-libs/lwp/files/digest-lwp-1.12 b/sys-libs/lwp/files/digest-lwp-1.12 deleted file mode 100644 index df2dcddca8b4..000000000000 --- a/sys-libs/lwp/files/digest-lwp-1.12 +++ /dev/null @@ -1 +0,0 @@ -MD5 5b4139c9b1ac393de433683ed355425b lwp-1.12.tar.gz 365064 diff --git a/sys-libs/lwp/files/lwp-1.10-amd64.patch b/sys-libs/lwp/files/lwp-1.10-amd64.patch deleted file mode 100644 index acd7c7de10ac..000000000000 --- a/sys-libs/lwp/files/lwp-1.10-amd64.patch +++ /dev/null @@ -1,81 +0,0 @@ ---- lwp-1.9/src/process.S.amd64 2001-10-04 23:14:08.000000000 +0200 -+++ lwp-1.9/src/process.S 2003-09-26 17:18:35.000000000 +0200 -@@ -472,6 +472,61 @@ ENTRY(returnto) - #endif /* i386 */ - - -+#if defined(__x86_64__) -+ -+#ifdef __linux__ -+#include <linux/linkage.h> -+#endif -+ -+#define FRAME_SIZE (8*8) -+ -+/* -+ savecontext(f, area1, newsp) -+ int (*f)(); -+ struct savearea *area1; -+ char *newsp; -+ -+*/ -+ -+#define f rdi -+#define area1 rsi -+#define newsp rdx -+#define topstack 0 -+ -+ .text -+ENTRY(savecontext) -+ sub $FRAME_SIZE, %rsp -+ mov %rbx, (0*8)(%rsp) /* Save registers. */ -+ mov %rbp, (1*8)(%rsp) -+ mov %r12, (2*8)(%rsp) -+ mov %r13, (3*8)(%rsp) -+ mov %r14, (4*8)(%rsp) -+ mov %r15, (5*8)(%rsp) -+ mov %rsp, topstack(%area1) /* Store sp in savearea. */ -+ cmp $0, %newsp -+ cmovne %newsp, %rsp /* Don't change the stack if newsp is zero. */ -+ jmp *%f /* f(); */ -+ -+/* -+ returnto(area2) -+ struct savearea *area2; -+*/ -+ -+#define area2 rdi -+ -+ENTRY(returnto) -+ mov topstack(%area2), %rsp /* Restore stack pointer. */ -+ mov (0*8)(%rsp), %rbx /* Restore registers. */ -+ mov (1*8)(%rsp), %rbp -+ mov (2*8)(%rsp), %r12 -+ mov (3*8)(%rsp), %r13 -+ mov (4*8)(%rsp), %r14 -+ mov (5*8)(%rsp), %r15 -+ add $FRAME_SIZE, %rsp -+ ret -+ -+#endif /* amd64 */ -+ - #ifdef luna88k - /* Luna88K Code from Dan Stodolsky via Brad White */ - ---- lwp-1.9/src/lwp.c.amd64 2001-04-02 14:16:16.000000000 +0200 -+++ lwp-1.9/src/lwp.c 2003-09-26 17:14:30.000000000 +0200 -@@ -565,6 +565,14 @@ int LWP_CreateProcess(PFIC ep, int stack - #else - pagesize = getpagesize(); - -+#if defined(__x86_64__) -+ /* [gb] Ensure minimal stack size. Heuristically determined -+ through tdb test that 2048 is too small when printf() et al. come -+ into action. */ -+ if (stacksize < pagesize) -+ stacksize = pagesize; -+#endif -+ - #ifdef MAP_ANON - stackptr = mmap(lwp_stackbase, stacksize, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_ANON, -1, 0); |