ref: 435e07d3136a39d28016e829142b70315d059719
parent: 63290180d8a5737eff403eddb6a28620ca1e2af5
parent: 93e952103c3fc01315d95cab32530624d18089ce
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Sep 26 02:44:07 EDT 2018
Merge remote-tracking branch 'simple-cc/master'
--- a/lib/c/atoi.c
+++ b/lib/c/atoi.c
@@ -23,4 +23,3 @@
return sign * n;
}
-
--- a/lib/c/atoll.c
+++ b/lib/c/atoll.c
@@ -24,4 +24,3 @@
return sign * n;
}
-
--- a/lib/c/memcmp.c
+++ b/lib/c/memcmp.c
@@ -9,6 +9,6 @@
for ( ; n > 0 && *s == *t; --n)
++s, ++t;
-
+
return (n > 0) ? *(unsigned char *) s - *(unsigned char *) t : 0;
}
--- a/lib/crt/amd64-sysv-netbsd/crt.s
+++ b/lib/crt/amd64-sysv-netbsd/crt.s
@@ -17,8 +17,8 @@
.align 8
.global _start
_start:
- movq %rsp,%rbp
andq $-16,%rsp
+ movq %rsp,%rbp
movq (%rbp),%rdi # rdi = argc
leaq 8(%rbp),%rsi # rsi = argv