From: pjs Date: Sat, 25 Dec 2004 17:42:35 +0000 (+0000) Subject: Opps, update build so printf_tiny is actually part of the library. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b3e5e495461cb31766fbe479023c1f685b1dfb77;p=fw%2Fsdcc Opps, update build so printf_tiny is actually part of the library. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3612 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 46b6dc2e..22bf509a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-12-25 Paul Stoffregen + + * device/lib/printf_tiny.c: printf for mcs51 in only 267 bytes, + and fully reentrant and register bank neutral. + * device/lib/printf_fast.c: added float (not enabled by default), + added compact/slower integer (also not enabled by default), + improved size/speed of fast integer code, other minor changes + * device/include/stdio.h, device/lib/Makefile.in, + device/lib/libsdcc.lib: integrate printf_tiny into mcs51 build + 2004-12-24 Maarten Brock * src/pic16/pcode.c: declaring variables other than at the start of a diff --git a/device/include/stdio.h b/device/include/stdio.h index 803c1bb0..c601ee8c 100644 --- a/device/include/stdio.h +++ b/device/include/stdio.h @@ -60,6 +60,7 @@ extern void putchar(char); #ifdef __mcs51 extern void printf_fast(code char *fmt, ...) _REENTRANT; +extern void printf_tiny(code char *fmt, ...) _REENTRANT; #endif #endif /* __SDC51_STDIO_H */ diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in index 7f542c83..7786a2ec 100644 --- a/device/lib/Makefile.in +++ b/device/lib/Makefile.in @@ -65,7 +65,7 @@ SOURCES = _atof.c _atoi.c _atol.c _autobaud.c _bp.c _schar2fs.c \ calloc.c malloc.c realloc.c free.c \ serial.c ser_ir.c printfl.c \ printf_large.c sprintf.c vprintf.c puts.c gets.c \ - assert.c time.c printf_fast.c bpx.c \ + assert.c time.c printf_fast.c printf_tiny.c bpx.c \ fabsf.c frexpf.c ldexpf.c expf.c powf.c sincosf.c sinf.c \ cosf.c logf.c log10f.c sqrtf.c tancotf.c tanf.c cotf.c \ asincosf.c asinf.c acosf.c atanf.c atan2f.c sincoshf.c \ diff --git a/device/lib/libsdcc.lib b/device/lib/libsdcc.lib index 30c09e82..00873b43 100644 --- a/device/lib/libsdcc.lib +++ b/device/lib/libsdcc.lib @@ -48,6 +48,7 @@ gets printfl printf_large printf_fast +printf_tiny sprintf vprintf assert