On zarch don't produce objects from assembler with a writable stack s…tags/v0.3.30
| @@ -103,9 +103,16 @@ static inline int blas_quickdivide(blasint x, blasint y){ | |||||
| .global REALNAME ;\ | .global REALNAME ;\ | ||||
| .type REALNAME, %function ;\ | .type REALNAME, %function ;\ | ||||
| REALNAME: | REALNAME: | ||||
| #define EPILOGUE | |||||
| #if defined(__ELF__) && defined(__linux__) | |||||
| # define GNUSTACK .section .note.GNU-stack,"",@progbits | |||||
| #else | |||||
| # define GNUSTACK | |||||
| #endif | |||||
| #define EPILOGUE \ | |||||
| .size REALNAME, .-REALNAME; \ | |||||
| GNUSTACK | |||||
| #define PROFCODE | #define PROFCODE | ||||
| @@ -65,3 +65,6 @@ _cpuid: | |||||
| .subsections_via_symbols | .subsections_via_symbols | ||||
| #endif | #endif | ||||
| #if defined(__ELF__) && defined(__linux__) | |||||
| .section .note.GNU-stack,"",@progbits | |||||
| #endif | |||||
| @@ -714,6 +714,8 @@ ld %f10,136(%r15) | |||||
| ld %f11,144(%r15) | ld %f11,144(%r15) | ||||
| ld %f12,152(%r15) | ld %f12,152(%r15) | ||||
| br %r14 | br %r14 | ||||
| EPILOGUE | |||||
| .end | .end | ||||
| @@ -604,6 +604,8 @@ ALIGN_2 | |||||
| /*end*/ | /*end*/ | ||||
| lmg %r6,%r12,48(%r15) | lmg %r6,%r12,48(%r15) | ||||
| br %r14 | br %r14 | ||||
| EPILOGUE | |||||
| .end | .end | ||||
| @@ -845,6 +845,8 @@ ALIGN_2 | |||||
| lmg %r6,%r12,48(%r15) | lmg %r6,%r12,48(%r15) | ||||
| #endif | #endif | ||||
| br %r14 | br %r14 | ||||
| EPILOGUE | |||||
| .end | .end | ||||
| @@ -864,6 +864,8 @@ ALIGN_2 | |||||
| lmg %r6,%r12,48(%r15) | lmg %r6,%r12,48(%r15) | ||||
| #endif | #endif | ||||
| br %r14 | br %r14 | ||||
| EPILOGUE | |||||
| .end | .end | ||||
| @@ -719,6 +719,8 @@ ld %f10,136(%r15) | |||||
| ld %f11,144(%r15) | ld %f11,144(%r15) | ||||
| ld %f12,152(%r15) | ld %f12,152(%r15) | ||||
| br %r14 | br %r14 | ||||
| EPILOGUE | |||||
| .end | .end | ||||