summaryrefslogtreecommitdiff
path: root/crt
diff options
context:
space:
mode:
Diffstat (limited to 'crt')
-rw-r--r--crt/x86_64/Scrt1.s2
-rw-r--r--crt/x86_64/crt1.s2
2 files changed, 0 insertions, 4 deletions
diff --git a/crt/x86_64/Scrt1.s b/crt/x86_64/Scrt1.s
index d8b71617..ba34e95e 100644
--- a/crt/x86_64/Scrt1.s
+++ b/crt/x86_64/Scrt1.s
@@ -9,8 +9,6 @@ _start:
pop %rsi /* 2nd arg: argc */
mov %rsp,%rdx /* 3rd arg: argv */
andq $-16,%rsp /* align stack pointer */
- push %rax /* 8th arg: glibc ABI compatible */
- push %rsp /* 7th arg: glibc ABI compatible */
lea _fini(%rip),%r8 /* 5th arg: fini/dtors function */
lea _init(%rip),%rcx /* 4th arg: init/ctors function */
mov main@GOTPCREL(%rip),%rdi /* 1st arg: application entry ip */
diff --git a/crt/x86_64/crt1.s b/crt/x86_64/crt1.s
index 50222f1c..40de3bed 100644
--- a/crt/x86_64/crt1.s
+++ b/crt/x86_64/crt1.s
@@ -9,8 +9,6 @@ _start:
pop %rsi /* 2nd arg: argc */
mov %rsp,%rdx /* 3rd arg: argv */
andq $-16,%rsp /* align stack pointer */
- push %rax /* 8th arg: glibc ABI compatible */
- push %rsp /* 7th arg: glibc ABI compatible */
mov $_fini,%r8 /* 5th arg: fini/dtors function */
mov $_init,%rcx /* 4th arg: init/ctors function */
mov $main,%rdi /* 1st arg: application entry ip */