Skip to content

Commit 835293c

Browse files
committed
Merge branch 'hotfix-v0.2.8'
2 parents f26b7a0 + b736aa8 commit 835293c

29 files changed

+202
-82
lines changed

CONTRIBUTORS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,9 @@ In chronological order:
7979
* [2013-07-11] create openblas_get_parallel to retrieve information which parallelization
8080
model is used by OpenBLAS.
8181

82+
* Sébastien Fabbro <[email protected]>
83+
* [2013-07-24] Modify makefile to respect user's LDFLAGS
84+
* [2013-07-24] Add stack markings for GNU as arch-independent for assembler files
85+
8286
* [Your name or handle] <[email or website]>
8387
* [Date] [Brief summary of your changes]

Changelog.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
OpenBLAS ChangeLog
2+
====================================================================
3+
Version 0.2.8
4+
01-Aug-2013
5+
common:
6+
* Support Open64 5.0. (#266)
7+
* Add executable stack markings. (#262, Thank Sébastien Fabbro)
8+
* Respect user's LDFLAGS (Thank Sébastien Fabbro)
9+
10+
x86/x86-64:
11+
* Rollback bulldozer and piledriver kernels to barcelona kernels (#263)
12+
We will fix the compuational error bug in bulldozer and piledriver kernels.
13+
214
====================================================================
315
Version 0.2.7
416
20-Jul-2013

Makefile.generic

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
11
COPT = -Wall -O2 # -DGEMMTEST
2-
ifdef BINARY64
3-
else
4-
# LDFLAGS = -m elf32ppc
5-
LDFLAGS = -m elf_i386
6-
endif

Makefile.power

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@ endif
1717
endif
1818

1919
ifdef BINARY64
20-
ifeq ($(OSNAME), Linux)
21-
LDFLAGS = -m elf64ppc
22-
endif
2320

24-
ifeq ($(OSNAME), Darwin)
25-
LDFLAGS = -arch ppc64
26-
endif
2721

2822
ifeq ($(OSNAME), AIX)
2923
CCOMMON_OPT += -mpowerpc64 -maix64
@@ -34,17 +28,12 @@ ifeq ($(COMPILER_F77), xlf)
3428
FCOMMON_OPT += -q64
3529
endif
3630
ARFLAGS = -X 64
37-
LDFLAGS = -b64
3831
ASFLAGS = -a64
3932
endif
4033
else
41-
ifeq ($(OSNAME), Linux)
42-
LDFLAGS = -m elf32ppc
43-
endif
4434
ifeq ($(OSNAME), AIX)
4535
CCOMMON_OPT += -Wa,-a32
4636
ARFLAGS = -X 32
47-
LDFLAGS = -b32
4837
ASFLAGS = -a32
4938
endif
5039
endif

Makefile.rule

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
# This library's version
6-
VERSION = 0.2.7
6+
VERSION = 0.2.8
77

88
# If you set the suffix, the library name will be libopenblas_$(LIBNAMESUFFIX).a
99
# and libopenblas_$(LIBNAMESUFFIX).so. Meanwhile, the soname in shared library

Makefile.sparc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ endif
1010
ifeq ($(COMPILER_F77), f90)
1111
FCOMMON_OPT += -xarch=v9
1212
endif
13-
LDFLAGS = -64
1413
else
1514

1615
CCOMMON_OPT += -mcpu=v9

Makefile.system

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,14 +324,16 @@ ifeq ($(ARCH), x86)
324324
DYNAMIC_CORE = KATMAI COPPERMINE NORTHWOOD PRESCOTT BANIAS \
325325
CORE2 PENRYN DUNNINGTON NEHALEM ATHLON OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO
326326
ifneq ($(NO_AVX), 1)
327-
DYNAMIC_CORE += SANDYBRIDGE BULLDOZER PILEDRIVER
327+
DYNAMIC_CORE += SANDYBRIDGE
328+
#BULLDOZER PILEDRIVER
328329
endif
329330
endif
330331

331332
ifeq ($(ARCH), x86_64)
332333
DYNAMIC_CORE = PRESCOTT CORE2 PENRYN DUNNINGTON NEHALEM OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO
333334
ifneq ($(NO_AVX), 1)
334-
DYNAMIC_CORE += SANDYBRIDGE BULLDOZER PILEDRIVER
335+
DYNAMIC_CORE += SANDYBRIDGE
336+
#BULLDOZER PILEDRIVER
335337
endif
336338
endif
337339

@@ -895,6 +897,7 @@ export CC
895897
export FC
896898
export BU
897899
export FU
900+
export NEED2UNDERSCORES
898901
export USE_THREAD
899902
export NUM_THREADS
900903
export NUM_CORES

Makefile.x86

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# COMPILER_PREFIX = mingw32-
22

3-
ifeq ($(OSNAME), Linux)
4-
LDFLAGS = -melf_i386
5-
endif
63

74
ifeq ($(OSNAME), Interix)
85
ARFLAGS = -m x86

Makefile.x86_64

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,12 @@
22

33
ifeq ($(OSNAME), SunOS)
44
ifdef BINARY64
5-
LDFLAGS = -64
65
ifeq ($(F_COMPILER), SUN)
76
FCOMMON_OPT += -m64
87
endif
98
endif
109
endif
1110

12-
ifeq ($(OSNAME), FreeBSD)
13-
LDFLAGS = -m elf_x86_64_fbsd
14-
endif
15-
16-
ifeq ($(OSNAME), Linux)
17-
LDFLAGS = -m elf_x86_64
18-
endif
19-
20-
ifeq ($(OSNAME), Darwin)
21-
LDFLAGS =
22-
endif
23-
2411
ifeq ($(OSNAME), Interix)
2512
ARFLAGS = -m x64
2613
endif

common_alpha.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,17 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){
150150
#define PROFCODE .prologue 0
151151
#endif
152152

153+
#if defined(__linux__) && defined(__ELF__)
154+
#define GNUSTACK .section .note.GNU-stack,"",%progbits
155+
#else
156+
#define GNUSTACK
157+
#endif
158+
153159
#define EPILOGUE \
154160
.end REALNAME; \
155-
.ident VERSION
161+
.ident VERSION; \
162+
GNUSTACK
163+
156164
#endif
157165

158166
#ifdef DOUBLE

0 commit comments

Comments
 (0)