Add support for ASM_LINE_SEP.
This commit is contained in:
parent
acc97172a1
commit
1ca92d75ff
|
@ -20,6 +20,11 @@
|
||||||
|
|
||||||
#include <sysdeps/generic/sysdep.h>
|
#include <sysdeps/generic/sysdep.h>
|
||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#ifndef ASM_LINE_SEP
|
||||||
|
#define ASM_LINE_SEP ;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __ASSEMBLER__
|
#ifdef __ASSEMBLER__
|
||||||
|
|
||||||
|
@ -34,13 +39,12 @@
|
||||||
incomplete stabs information. Fake some entries here which specify
|
incomplete stabs information. Fake some entries here which specify
|
||||||
the current source file. */
|
the current source file. */
|
||||||
#define ENTRY(name) \
|
#define ENTRY(name) \
|
||||||
.SPACE $TEXT$; \
|
.SPACE $TEXT$ ASM_LINE_SEP \
|
||||||
.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY; \
|
.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY ASM_LINE_SEP \
|
||||||
.align ALIGNARG(4); \
|
.align ALIGNARG(4) ASM_LINE_SEP \
|
||||||
.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY; \
|
.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY ASM_LINE_SEP \
|
||||||
.EXPORT C_SYMBOL_NAME(name),ENTRY,PRIV_LEV=3,ARGW0=GR,RTNVAL=GR; \
|
.EXPORT C_SYMBOL_NAME(name),ENTRY,PRIV_LEV=3,ARGW0=GR,RTNVAL=GR ASM_LINE_SEP\
|
||||||
C_LABEL(name) \
|
C_LABEL(name) \
|
||||||
|
|
||||||
CALL_MCOUNT
|
CALL_MCOUNT
|
||||||
|
|
||||||
#undef END
|
#undef END
|
||||||
|
@ -53,7 +57,7 @@
|
||||||
/* The mcount code relies on a normal frame pointer being on the stack
|
/* The mcount code relies on a normal frame pointer being on the stack
|
||||||
to locate our caller, so push one just for its benefit. */
|
to locate our caller, so push one just for its benefit. */
|
||||||
#define CALL_MCOUNT \
|
#define CALL_MCOUNT \
|
||||||
XXX
|
XXX ASM_LINE_SEP
|
||||||
#else
|
#else
|
||||||
#define CALL_MCOUNT /* Do nothing. */
|
#define CALL_MCOUNT /* Do nothing. */
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue