does not (always) work from flash since variables get allocated in BSS which is not reachable with -mpcrel

This commit is contained in:
Markus Fröschle
2012-12-12 05:57:12 +00:00
parent 874d6ff434
commit b03e68f898

View File

@@ -100,7 +100,7 @@ size_t strlen(const char *s)
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;
const char *f;
long l;