changes for compatibility with Pathscale compiler
This commit is contained in:
parent
067e8417fd
commit
6e679266f8
13
common_x86.h
13
common_x86.h
|
@ -301,12 +301,25 @@ REALNAME:
|
||||||
#define PROFCODE
|
#define PROFCODE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(C_PATHSCALE) || defined(OS_DARWIN)
|
||||||
|
|
||||||
|
#define EPILOGUE \
|
||||||
|
.size REALNAME, .-REALNAME; \
|
||||||
|
.section .note.GNU-stack,"",@progbits
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#define EPILOGUE \
|
#define EPILOGUE \
|
||||||
.size REALNAME, .-REALNAME; \
|
.size REALNAME, .-REALNAME; \
|
||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef XDOUBLE
|
#ifdef XDOUBLE
|
||||||
#define FLD fldt
|
#define FLD fldt
|
||||||
#define FST fstpt
|
#define FST fstpt
|
||||||
|
|
|
@ -372,10 +372,20 @@ REALNAME:
|
||||||
#define PROFCODE
|
#define PROFCODE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(C_PATHSCALE) || defined(OS_DARWIN)
|
||||||
|
|
||||||
|
#define EPILOGUE \
|
||||||
|
.size REALNAME, .-REALNAME; \
|
||||||
|
.section .note.GNU-stack,"",@progbits
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#define EPILOGUE \
|
#define EPILOGUE \
|
||||||
.size REALNAME, .-REALNAME; \
|
.size REALNAME, .-REALNAME; \
|
||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue