added free (BSD-source) tiny-printf to support better diagnostic messages
This commit is contained in:
8
sources/printf_helper.S
Normal file
8
sources/printf_helper.S
Normal 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
|
||||
Reference in New Issue
Block a user