Refs #262. Fixed compatibility issues of GNU stack markings with PathScale EKOPath...
authorZhang Xianyi <traits.zhang@gmail.com>
Sun, 22 Sep 2013 01:37:59 +0000 (09:37 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Sun, 22 Sep 2013 01:37:59 +0000 (09:37 +0800)
common_alpha.h
common_ia64.h
common_mips64.h
common_sparc.h
common_x86.h
common_x86_64.h

index 3b46c74..845fb31 100644 (file)
@@ -151,7 +151,7 @@ REALNAME:
 #endif
 
 #if defined(__linux__) && defined(__ELF__)
-#define GNUSTACK .section .note.GNU-stack,"",%progbits
+#define GNUSTACK .section .note.GNU-stack,"",@progbits
 #else
 #define GNUSTACK
 #endif
index 3530e0b..79b3c81 100644 (file)
@@ -380,7 +380,7 @@ REALNAME:
 #endif
 
 #if defined(__linux__) && defined(__ELF__)
-#define GNUSTACK .section .note.GNU-stack,"",%progbits
+#define GNUSTACK .section .note.GNU-stack,"",@progbits
 #else
 #define GNUSTACK
 #endif
index c08fb2c..d9cdc49 100644 (file)
@@ -236,7 +236,7 @@ REALNAME: ;\
        .set    nomacro
 
 #if defined(__linux__) && defined(__ELF__)
-#define GNUSTACK .section .note.GNU-stack,"",%progbits
+#define GNUSTACK .section .note.GNU-stack,"",@progbits
 #else
 #define GNUSTACK
 #endif
index cfd27f7..daa2e49 100644 (file)
@@ -201,7 +201,7 @@ static __inline int blas_quickdivide(blasint x, blasint y){
 REALNAME:;
 
 #if defined(__linux__) && defined(__ELF__)
-#define GNUSTACK .section .note.GNU-stack,"",%progbits
+#define GNUSTACK .section .note.GNU-stack,"",@progbits
 #else
 #define GNUSTACK
 #endif
index 48517d9..5f42843 100644 (file)
@@ -303,7 +303,7 @@ REALNAME:
 
 #define EPILOGUE \
         .size   REALNAME, .-REALNAME; \
-        .section .note.GNU-stack,"",%progbits
+        .section .note.GNU-stack,"",@progbits
 
 #endif
 
index 1889038..39e5a5e 100644 (file)
@@ -374,7 +374,7 @@ REALNAME:
 
 #define EPILOGUE \
         .size   REALNAME, .-REALNAME; \
-        .section .note.GNU-stack,"",%progbits
+        .section .note.GNU-stack,"",@progbits
 
 
 #endif