fgets: avoid arithmetic overflow when n==INT_MIN is passed
[musl] / crt / mips / crti.s
index cbc6e3e..39dee38 100644 (file)
@@ -2,6 +2,8 @@
 
 .section .init
 .global _init
+.type _init,@function
+.align 2
 _init:
        subu $sp,$sp,32
        sw $gp,24($sp)
@@ -9,6 +11,8 @@ _init:
 
 .section .fini
 .global _fini
+.type _fini,@function
+.align 2
 _fini:
        subu $sp,$sp,32
        sw $gp,24($sp)