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