summaryrefslogtreecommitdiff
path: root/boot/sigvec.S
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-10-24 23:07:55 +0200
committerJustus Winter <justus@gnupg.org>2016-10-27 11:52:14 +0200
commit8e499a60837add838647d7319dbd650cc4fb33ab (patch)
tree4867f0abd0e1038734e01a041040fd9c578a85b2 /boot/sigvec.S
parent205952a1dc7305f982049205e1dd39d534558c2c (diff)
boot: Remove hacks for running boot on UX.unprivileged-subhurds-2016-10-27
* boot/Makefile (COMMON-OBJS): Do not build server stubs for the bootstrap protocol. Remove all UX-related variables and targets. * boot/boot.c: Remove all UX-related definitions and includes. * boot/frank1.ld: Delete file. * boot/frankemul.ld: Likewise. * boot/mach-crt0.c: Likewise. * boot/sigvec.S: Likewise. * boot/syscall.S: Likewise. * boot/ux.c: Likewise. * boot/ux.h: Likewise.
Diffstat (limited to 'boot/sigvec.S')
-rw-r--r--boot/sigvec.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/boot/sigvec.S b/boot/sigvec.S
deleted file mode 100644
index cc7bb94e..00000000
--- a/boot/sigvec.S
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <i386/asm.h>
-
-.text
-ENTRY(sigreturn)
- movl $0x67,%eax
- lcall $0x7,$0x0
- jb error
- ret
-ENTRY(_sigreturn)
- addl $0xc,%esp
- call EXT(sigreturn)
- ret
-ENTRY(sigvec)
- movl $0x6c,%eax
- movl $EXT(_sigreturn),%edx
- orl $0x80000000,%edx
- lcall $0x7,$0x0
- jb error
- ret
-error:
- movl %eax,EXT(errno)
- movl $-1,%eax
- ret