* libc/stdio/findfp.c (std): Don't inline when optimizing for code size.

This commit is contained in:
Corinna Vinschen 2014-08-14 08:33:00 +00:00
parent 12a8027532
commit f703e6aa08
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-08-14 Bin Cheng <bin.cheng@arm.com>
* libc/stdio/findfp.c (std): Don't inline when optimizing for code size.
2014-08-04 Jon TURNEY <jon.turney@dronecode.org.uk>
* libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is

View File

@ -35,7 +35,11 @@ const struct __sFILE_fake __sf_fake_stderr =
{_NULL, 0, 0, 0, 0, {_NULL, 0}, 0, _NULL};
#endif
#if (defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED))
_NOINLINE_STATIC _VOID
#else
static _VOID
#endif
_DEFUN(std, (ptr, flags, file, data),
FILE *ptr _AND
int flags _AND