diff --git a/common_alpha.h b/common_alpha.h index 3b46c74ce..845fb316a 100644 --- a/common_alpha.h +++ b/common_alpha.h @@ -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 diff --git a/common_ia64.h b/common_ia64.h index 3530e0b1d..79b3c8167 100644 --- a/common_ia64.h +++ b/common_ia64.h @@ -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 diff --git a/common_mips64.h b/common_mips64.h index c08fb2c75..d9cdc498f 100644 --- a/common_mips64.h +++ b/common_mips64.h @@ -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 diff --git a/common_sparc.h b/common_sparc.h index cfd27f768..daa2e49b0 100644 --- a/common_sparc.h +++ b/common_sparc.h @@ -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 diff --git a/common_x86.h b/common_x86.h index 48517d900..5f42843be 100644 --- a/common_x86.h +++ b/common_x86.h @@ -303,7 +303,7 @@ REALNAME: #define EPILOGUE \ .size REALNAME, .-REALNAME; \ - .section .note.GNU-stack,"",%progbits + .section .note.GNU-stack,"",@progbits #endif diff --git a/common_x86_64.h b/common_x86_64.h index 188903848..39e5a5eb1 100644 --- a/common_x86_64.h +++ b/common_x86_64.h @@ -374,7 +374,7 @@ REALNAME: #define EPILOGUE \ .size REALNAME, .-REALNAME; \ - .section .note.GNU-stack,"",%progbits + .section .note.GNU-stack,"",@progbits #endif diff --git a/exports/Makefile b/exports/Makefile index 1531f3cc1..0bc9ec6e0 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -126,7 +126,7 @@ so : ../$(LIBSONAME) ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ - -Wl,--retain-symbols-file=linux.def -Wl,-soname,$(LIBPREFIX).so.$(MAJOR_VERSION) $(EXTRALIB) + -Wl,-soname,$(LIBPREFIX).so.$(MAJOR_VERSION) $(EXTRALIB) ifneq ($(C_COMPILER), LSB) $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. else @@ -145,7 +145,7 @@ so : ../$(LIBSONAME) ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ - -Wl,--retain-symbols-file=linux.def $(FEXTRALIB) $(EXTRALIB) + $(FEXTRALIB) $(EXTRALIB) $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. rm -f linktest diff --git a/kernel/x86_64/dgemv_t.S b/kernel/x86_64/dgemv_t.S index 48b3f17c4..3d132c3b5 100644 --- a/kernel/x86_64/dgemv_t.S +++ b/kernel/x86_64/dgemv_t.S @@ -171,7 +171,7 @@ .L0x: xorq M,M addq $1,M - salq $22,M + salq $21,M subq M,MMM jge .L00