mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
m68k: remove __STDC__ conditionals
This commit is contained in:
parent
2aee894935
commit
53bce1b5f9
@ -1,3 +1,9 @@
|
||||
2012-01-29 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* sysdeps/m68k/asm-syntax.h: Remove __STDC__ conditionals.
|
||||
* sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
|
||||
|
||||
2012-01-08 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* sysdeps/m68k/fpu/bits/fenv.h (FE_DFL_ENV, FE_NOMASK_ENV): Use
|
||||
|
@ -52,15 +52,10 @@
|
||||
#define MEM_DISP(base,displacement)(displacement,R(base))
|
||||
#define MEM_PREDEC(memory_base)-(R(memory_base))
|
||||
#define MEM_POSTINC(memory_base)(R(memory_base))+
|
||||
#ifdef __STDC__
|
||||
#define MEM_INDX_(base,idx,size_suffix)(R(base),R(idx##.##size_suffix))
|
||||
#define MEM_INDX(base,idx,size_suffix)MEM_INDX_(base,idx,size_suffix)
|
||||
#define MEM_INDX1_(base,idx,size_suffix,scale)(R(base),R(idx##.##size_suffix*scale))
|
||||
#define MEM_INDX1(base,idx,size_suffix,scale)MEM_INDX1_(base,idx,size_suffix,scale)
|
||||
#else
|
||||
#define MEM_INDX(base,idx,size_suffix)(R(base),R(idx).size_suffix)
|
||||
#define MEM_INDX1(base,idx,size_suffix,scale)(R(base),R(idx).size_suffix*scale)
|
||||
#endif
|
||||
#define TEXT .text
|
||||
#define ALIGN .align ALIGNARG(2)
|
||||
#define GLOBL .globl
|
||||
|
@ -29,12 +29,7 @@ static char rcsid[] = "$NetBSD: $";
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
long double __nextafterl(long double x, long double y)
|
||||
#else
|
||||
long double __nextafterl(x,y)
|
||||
long double x,y;
|
||||
#endif
|
||||
{
|
||||
int32_t ix,iy,esx,esy;
|
||||
u_int32_t hx,hy,lx,ly;
|
||||
|
@ -29,11 +29,7 @@
|
||||
of the kernel. But these symbols do not follow the SYS_* syntax
|
||||
so we have to redefine the `SYS_ify' macro here. */
|
||||
#undef SYS_ify
|
||||
#ifdef __STDC__
|
||||
#define SYS_ify(syscall_name) __NR_##syscall_name
|
||||
#else
|
||||
# define SYS_ify(syscall_name) __NR_/**/syscall_name
|
||||
#endif
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user