From d2ac3a6b3a2d2369bec4bf9f0555ebbe72e7bdf5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 14 Feb 2015 23:11:05 -0600 Subject: good bye vax I mailed with Jan-Benedict Glaw, it seems VAX on Linux is really a lot of work todo and uClibc support didn't work ever. --- libc/sysdeps/linux/vax/__longjmp.S | 47 -------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 libc/sysdeps/linux/vax/__longjmp.S (limited to 'libc/sysdeps/linux/vax/__longjmp.S') diff --git a/libc/sysdeps/linux/vax/__longjmp.S b/libc/sysdeps/linux/vax/__longjmp.S deleted file mode 100644 index 61b37a3b9..000000000 --- a/libc/sysdeps/linux/vax/__longjmp.S +++ /dev/null @@ -1,47 +0,0 @@ -#include - -/* - * longjmp.S atp sept 2001 - * Jan-Benedict Glaw 2006 - * - * Restore regs and info and jmp back to a previous setjmp - */ - -.globl __longjmp -.align 4 -__longjmp: - .word 0x0040 /* This matches setjmp and PLT */ - movl 0x4(%ap), %r0 /* Our scratch reg */ -/* movl $0, %r0 */ -/* movl (%r0), %r0 */ - /* We are going to modify our stack frame */ - /* to the same as that of the setjmp we called earlier */ - movl (%r0), (%fp) /* cond handler */ - movl 0x4(%r0), 0x4(%fp) /* psw */ - movl 0x8(%r0), 0x8(%fp) /* ap */ - movl 0xc(%r0), 0xc(%fp) /* fp */ - movl 0x10(%r0), 0x10(%fp) /* pc */ - - /* Restore the regs */ - movl 0x14(%r0), %r1 - movl 0x18(%r0), %r2 - movl 0x1c(%r0), %r3 - movl 0x20(%r0), %r4 - movl 0x24(%r0), %r5 - movl 0x28(%r0), %r6 - movl 0x2c(%r0), %r7 - movl 0x30(%r0), %r8 - movl 0x34(%r0), %r9 - movl 0x38(%r0), %r10 - movl 0x3c(%r0), %r11 - - /* Check val and set to 1 if set to zero */ - movl 0x8(%ap), %r0 - tstl %r0 - bneq exit_ok - movl $0x1, %r0 -exit_ok: - ret -.size __longjmp,.-__longjmp -libc_hidden_def(__longjmp) - -- cgit v1.2.3