Browse Source

changes for compatibility with Pathscale compiler

tags/v0.2.9.rc1
wernsaar 12 years ago
parent
commit
6e679266f8
2 changed files with 24 additions and 1 deletions
  1. +14
    -1
      common_x86.h
  2. +10
    -0
      common_x86_64.h

+ 14
- 1
common_x86.h View File

@@ -301,12 +301,25 @@ 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; \
.size REALNAME, .-REALNAME; \
.section .note.GNU-stack,"",%progbits

#endif



#endif

#ifdef XDOUBLE
#define FLD fldt
#define FST fstpt


+ 10
- 0
common_x86_64.h View File

@@ -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…
Cancel
Save