mirror of git://sourceware.org/git/glibc.git
m68k: rename s_ilogb* to e_ilogb*
This commit is contained in:
parent
c325f0f226
commit
860d60c138
|
@ -1,3 +1,12 @@
|
||||||
|
2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_ilogb.c: Renamed from s_ilogb.c.
|
||||||
|
Define __ieee754_ilogb instead of __ilogb.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_ilogbf.c: Renamed from s_ilogbf.c and
|
||||||
|
adjusted.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_ilogbl.c: Renamed from s_ilogbl.c and
|
||||||
|
adjusted.
|
||||||
|
|
||||||
2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
|
2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MAP_STACK)
|
* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MAP_STACK)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
#define m81(func) __m81_u(s(func))
|
#define m81(func) __m81_u(s(func))
|
||||||
|
|
||||||
int
|
int
|
||||||
s(__ilogb) (float_type x)
|
s(__ieee754_ilogb) (float_type x)
|
||||||
{
|
{
|
||||||
float_type result;
|
float_type result;
|
||||||
unsigned long x_cond;
|
unsigned long x_cond;
|
||||||
|
@ -45,6 +45,3 @@ s(__ilogb) (float_type x)
|
||||||
__asm ("fgetexp%.x %1, %0" : "=f" (result) : "f" (x));
|
__asm ("fgetexp%.x %1, %0" : "=f" (result) : "f" (x));
|
||||||
return (int) result;
|
return (int) result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define weak_aliasx(a,b) weak_alias(a,b)
|
|
||||||
weak_aliasx (s(__ilogb), s(ilogb))
|
|
|
@ -1,3 +1,3 @@
|
||||||
#define SUFF f
|
#define SUFF f
|
||||||
#define float_type float
|
#define float_type float
|
||||||
#include <s_ilogb.c>
|
#include <e_ilogb.c>
|
|
@ -1,3 +1,3 @@
|
||||||
#define SUFF l
|
#define SUFF l
|
||||||
#define float_type long double
|
#define float_type long double
|
||||||
#include <s_ilogb.c>
|
#include <e_ilogb.c>
|
Loading…
Reference in New Issue