does not (always) work from flash since variables get allocated in BSS which is not reachable with -mpcrel
This commit is contained in:
@@ -100,7 +100,7 @@ size_t strlen(const char *s)
|
|||||||
|
|
||||||
static void doprnt(void (*addchar)(int), const char *sfmt, va_list ap)
|
static void doprnt(void (*addchar)(int), const char *sfmt, va_list ap)
|
||||||
{
|
{
|
||||||
char buf[128];
|
char buf[128]; /* FIXME: this gets allocated in BSS which is not reachable in -mpcrel code */
|
||||||
char *bp;
|
char *bp;
|
||||||
const char *f;
|
const char *f;
|
||||||
long l;
|
long l;
|
||||||
|
|||||||
Reference in New Issue
Block a user