summaryrefslogtreecommitdiff
path: root/crt/i386
diff options
context:
space:
mode:
Diffstat (limited to 'crt/i386')
-rw-r--r--crt/i386/Scrt1.s24
-rw-r--r--crt/i386/crt1.s19
2 files changed, 0 insertions, 43 deletions
diff --git a/crt/i386/Scrt1.s b/crt/i386/Scrt1.s
deleted file mode 100644
index 161ee8e8..00000000
--- a/crt/i386/Scrt1.s
+++ /dev/null
@@ -1,24 +0,0 @@
-.weak _init
-.weak _fini
-.text
-.global _start
-_start:
- xor %ebp,%ebp
- pop %ecx
- mov %esp,%eax
- and $-16,%esp
- push %esp
- push %esp
- push %edx
- call 1f
-1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
- pop %ebx
- call 1f
-1: addl $[_fini-.],(%esp)
- call 1f
-1: addl $[_init-.],(%esp)
- push %eax
- push %ecx
- push main@GOT(%ebx)
- call __libc_start_main@plt
-1: jmp 1b
diff --git a/crt/i386/crt1.s b/crt/i386/crt1.s
deleted file mode 100644
index f5b4f4fd..00000000
--- a/crt/i386/crt1.s
+++ /dev/null
@@ -1,19 +0,0 @@
-.weak _init
-.weak _fini
-.text
-.global _start
-_start:
- xor %ebp,%ebp
- pop %ecx
- mov %esp,%eax
- and $-16,%esp
- push %esp
- push %esp
- push %edx
- push $_fini
- push $_init
- push %eax
- push %ecx
- push $main
- call __libc_start_main
-1: jmp 1b