diff components/libsys_fl @ 95:a23e6e011264

closer to passing link with abort, exit and __assert_func stubbed out
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 21 Jul 2018 01:12:48 +0000
parents 727aad1c308f
children 1155be085fc1
line wrap: on
line diff
--- a/components/libsys_fl	Sat Jul 21 01:03:53 2018 +0000
+++ b/components/libsys_fl	Sat Jul 21 01:12:48 2018 +0000
@@ -1,5 +1,6 @@
 # gcc-only component: libsys (selective libc replacement) for flash
 
+ASMFLAGS=-mthumb-interwork
 CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb"
 CPPFLAGS=
 
@@ -11,3 +12,5 @@
 c_file $SRCDIR/sprintf/integer.c
 c_file $SRCDIR/sprintf/sprintf.c
 c_file $SRCDIR/sprintf/vspcore.c
+
+asm_file $SRCDIR/exitstub.S