summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/arm/crt0.S2
-rw-r--r--newlib/libc/sys/linux/io.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/sys/arm/crt0.S b/newlib/libc/sys/arm/crt0.S
index 9d1de2ec6..067fa890e 100644
--- a/newlib/libc/sys/arm/crt0.S
+++ b/newlib/libc/sys/arm/crt0.S
@@ -55,6 +55,7 @@ _mainCRTStartup:
sub sl, sp, #64 << 10 /* Still assumes 256bytes below sl */
#endif
#endif
+ /* Zero the memory in the .bss section. */
mov a2, #0 /* Second arg: fill value */
mov fp, a2 /* Null frame pointer */
mov r7, a2 /* Null frame pointer for Thumb */
@@ -259,4 +260,3 @@ CommandLine: .space 256,0 /* Maximum length of 255 chars handled. */
.section .idata$3
.long 0,0,0,0,0,0,0,0
#endif
-
diff --git a/newlib/libc/sys/linux/io.c b/newlib/libc/sys/linux/io.c
index 31b9da7cc..11622a861 100644
--- a/newlib/libc/sys/linux/io.c
+++ b/newlib/libc/sys/linux/io.c
@@ -58,4 +58,3 @@ int mkfifo(const char *path, mode_t mode)
dev_t dev = 0;
return __mknod(path, mode | S_IFIFO, &dev);
}
-