selective linking of floating point support for *printf / *scanf
Thomas Preud'homme
thomas.preudhomme@arm.com
Thu Oct 23 08:49:00 GMT 2014
Hi all,
I changed the target hook somehow so that more code run in the backend since depending on the target (avr-libc Vs newlib) two different schemes are used: printf -> iprintf renaming or defining _printf_float as a global symbol.
I thus renamed the target hook to match such a usage.
The proposed patch is attached to this email (otherwise it would be mangled).
Joern, would such a scheme be ok for you? You could add another function in targhooks.c for doing the renaming as it could be useful for other targets.
Best regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc32rm-191.4.1.diff
Type: application/octet-stream
Size: 13262 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20141023/cb6dda0c/attachment.obj>
More information about the Newlib
mailing list