mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Use __ASSEMBLER__ test macro not ASSEMBLER.
This commit is contained in:
parent
38843cb976
commit
e0ebc3b2ef
@ -19,7 +19,7 @@
|
||||
|
||||
#include <sysdeps/generic/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
/* Syntactic details of assembler. */
|
||||
|
||||
@ -89,4 +89,4 @@
|
||||
#define mcount _mcount
|
||||
#endif
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <sysdeps/generic/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
/* Syntactic details of assembler. */
|
||||
|
||||
@ -96,4 +96,4 @@
|
||||
#define JUMPTARGET(name) name
|
||||
#endif
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
@ -57,7 +57,7 @@ _start:\n\
|
||||
|
||||
#include <syscall.h>
|
||||
|
||||
#if defined (ASSEMBLER)
|
||||
#if defined (__ASSEMBLER__)
|
||||
|
||||
#define ALIGN 2
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#ifdef __linux__
|
||||
# include <alpha/regdef.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#define POUND #
|
||||
|
||||
@ -53,4 +53,4 @@
|
||||
#define r1 d1
|
||||
#define MOVE(x,y) movel x , y
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <sysdeps/unix/alpha/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#include <machine/pal.h> /* get PAL_callsys */
|
||||
#include <regdef.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <sysdeps/unix/i386/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
/* Get the symbols for system call interrupts. */
|
||||
#include <machine/trap.h>
|
||||
@ -79,4 +79,4 @@
|
||||
#undef scratch
|
||||
#define scratch %edx /* Call-clobbered register for random use. */
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#define POUND #
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#define POUND #
|
||||
|
||||
@ -59,4 +59,4 @@
|
||||
#define r1 d1
|
||||
#define MOVE(x,y) movel x , y
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#ifdef __STDC__
|
||||
#define ENTRY(name) \
|
||||
@ -52,4 +52,4 @@
|
||||
|
||||
#define MOVE(x,y) movl x , y
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#include <regdef.h>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
#include <asm/pal.h>
|
||||
#include <alpha/regdef.h>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#define SYS_ify(syscall_name) (__NR_##syscall_name)
|
||||
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
/* Linux uses a negative return value to indicate syscall errors,
|
||||
unlike most Unices, which use the condition codes' carry flag.
|
||||
@ -104,6 +104,6 @@
|
||||
#define UNDOARGS_4 /* nothing */
|
||||
#define UNDOARGS_5 ldr r4, [sp];
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
#endif /* linux/arm/sysdep.h */
|
||||
|
@ -32,7 +32,7 @@
|
||||
# define SYS_ify(syscall_name) __NR_/**/syscall_name
|
||||
#endif
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
/* Linux uses a negative return value to indicate syscall errors, unlike
|
||||
most Unices, which use the condition codes' carry flag.
|
||||
@ -149,4 +149,4 @@ syscall_error: \
|
||||
#define MOVE(x,y) movel x , y
|
||||
#endif
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <sysdeps/unix/sysdep.h>
|
||||
|
||||
#ifdef ASSEMBLER
|
||||
#ifdef __ASSEMBLER__
|
||||
|
||||
/* As of gcc-2.6.0, it complains about pound signs in front of things
|
||||
that aren't arguments to the macro. So we use this to pull it off
|
||||
@ -51,4 +51,4 @@
|
||||
#define r1 %o1
|
||||
#define MOVE(x,y) mov x, y
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
Loading…
Reference in New Issue
Block a user