added free (BSD-source) tiny-printf to support better diagnostic messages

This commit is contained in:
Markus Fröschle
2012-10-25 12:01:48 +00:00
parent 437d0b9998
commit 55e6937179
7 changed files with 444 additions and 23 deletions

8
sources/printf_helper.S Normal file
View File

@@ -0,0 +1,8 @@
// assembler trampoline to let printf (compiled -mpcrel) indirectly reference __MBAR
.global printf_helper
printf_helper:
.extern __MBAR
lea __MBAR+0x860C,a0
move.b d0,(a0)
rts