getopt: fix null pointer arithmetic ub
[musl] / crt / arm / crti.s
index 0d479cd..18dc1e4 100644 (file)
@@ -1,9 +1,13 @@
+.syntax unified
+
 .section .init
 .global _init
+.type _init,%function
 _init:
        push {r0,lr}
 
 .section .fini
 .global _fini
+.type _fini,%function
 _fini:
        push {r0,lr}