Use C99 compatible ASM statements.
This commit is contained in:
parent
4fb18559fe
commit
fff6062717
@ -54,9 +54,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include "libc_private.h"
|
||||
|
||||
#if defined(__i386__) || defined(__sparc64__) || defined(__amd64__)
|
||||
extern char *minbrk asm (".minbrk");
|
||||
extern char *minbrk __asm (".minbrk");
|
||||
#else
|
||||
extern char *minbrk asm ("minbrk");
|
||||
extern char *minbrk __asm ("minbrk");
|
||||
#endif
|
||||
|
||||
struct gmonparam _gmonparam = { GMON_PROF_OFF };
|
||||
|
@ -59,7 +59,7 @@ ldexp (double value, int exp)
|
||||
texp = exp;
|
||||
#ifdef __GNUC__
|
||||
#if __GNUC__ >= 2
|
||||
asm ("fscale "
|
||||
__asm ("fscale "
|
||||
: "=u" (temp2), "=t" (temp)
|
||||
: "0" (texp), "1" (value));
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user