diff options
author | eb <eb@221aa14e-8319-0410-a670-987f0aec2ac5> | 2007-08-29 04:26:04 +0000 |
---|---|---|
committer | eb <eb@221aa14e-8319-0410-a670-987f0aec2ac5> | 2007-08-29 04:26:04 +0000 |
commit | 0d4c64424578f537c47320e8893f7a9cf5e7e80a (patch) | |
tree | 68895067df20eb576e87559949d705f0051d42c9 | |
parent | 29576322fe8ef81e1f5b7cbafe62f413ccc2c911 (diff) |
Fixes ticket:169. Tell assembler that our hand-coded assembly code
does not require an executable stack.
Merged eb/xstack -r6203:6204 into trunk.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6205 221aa14e-8319-0410-a670-987f0aec2ac5
26 files changed, 104 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/filter/3dnow_float_dotprod_really_simple.S b/gnuradio-core/src/lib/filter/3dnow_float_dotprod_really_simple.S index 52f427051a..11fc88e3e1 100644 --- a/gnuradio-core/src/lib/filter/3dnow_float_dotprod_really_simple.S +++ b/gnuradio-core/src/lib/filter/3dnow_float_dotprod_really_simple.S @@ -93,3 +93,7 @@ sse_float_dotprod: .Lfe1: .size sse_float_dotprod,.Lfe1-sse_float_dotprod .ident "Hand coded x86 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/3dnow_float_dotprod_simple.S b/gnuradio-core/src/lib/filter/3dnow_float_dotprod_simple.S index 70f09b383f..505071bbb7 100644 --- a/gnuradio-core/src/lib/filter/3dnow_float_dotprod_simple.S +++ b/gnuradio-core/src/lib/filter/3dnow_float_dotprod_simple.S @@ -100,3 +100,7 @@ sse_float_dotprod: .Lfe1: .size sse_float_dotprod,.Lfe1-sse_float_dotprod .ident "Hand coded x86 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow.S b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow.S index 9a1d33cac2..9c6903cdf2 100644 --- a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow.S +++ b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow.S @@ -214,3 +214,7 @@ GLOB_SYMB(ccomplex_dotprod_3dnow): FUNC_TAIL(ccomplex_dotprod_3dnow) .ident "Hand coded x86 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow64.S b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow64.S index 70b06b21e6..c18fe2355f 100644 --- a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow64.S +++ b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnow64.S @@ -211,3 +211,7 @@ GLOB_SYMB(ccomplex_dotprod_3dnow): FUNC_TAIL(ccomplex_dotprod_3dnow) .ident "Hand coded x86_64 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext.S b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext.S index 51493194ca..8a441b7a6e 100644 --- a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext.S +++ b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext.S @@ -189,3 +189,7 @@ GLOB_SYMB(ccomplex_dotprod_3dnowext): FUNC_TAIL(ccomplex_dotprod_3dnowext) .ident "Hand coded x86 3DNow!Ext assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext64.S b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext64.S index 65f5ca55d3..943223725c 100644 --- a/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext64.S +++ b/gnuradio-core/src/lib/filter/ccomplex_dotprod_3dnowext64.S @@ -186,3 +186,7 @@ GLOB_SYMB(ccomplex_dotprod_3dnowext): FUNC_TAIL(ccomplex_dotprod_3dnowext) .ident "Hand coded x86_64 3DNow!Ext assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse.S b/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse.S index 2fc26fbd35..1989a6ac06 100644 --- a/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse.S +++ b/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse.S @@ -192,3 +192,7 @@ GLOB_SYMB(ccomplex_dotprod_sse): FUNC_TAIL(ccomplex_dotprod_sse) .ident "Hand coded x86 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse64.S b/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse64.S index f234888694..b674e6ff20 100644 --- a/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse64.S +++ b/gnuradio-core/src/lib/filter/ccomplex_dotprod_sse64.S @@ -189,3 +189,7 @@ GLOB_SYMB(ccomplex_dotprod_sse): FUNC_TAIL(ccomplex_dotprod_sse) .ident "Hand coded x86_64 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/complex_dotprod_3dnow.S b/gnuradio-core/src/lib/filter/complex_dotprod_3dnow.S index 09c9982d32..55bf5b6c32 100644 --- a/gnuradio-core/src/lib/filter/complex_dotprod_3dnow.S +++ b/gnuradio-core/src/lib/filter/complex_dotprod_3dnow.S @@ -186,3 +186,7 @@ GLOB_SYMB(complex_dotprod_3dnow): FUNC_TAIL(complex_dotprod_3dnow) .ident "Hand coded x86 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/complex_dotprod_3dnow64.S b/gnuradio-core/src/lib/filter/complex_dotprod_3dnow64.S index bec2672729..a4b492c762 100644 --- a/gnuradio-core/src/lib/filter/complex_dotprod_3dnow64.S +++ b/gnuradio-core/src/lib/filter/complex_dotprod_3dnow64.S @@ -181,3 +181,7 @@ GLOB_SYMB(complex_dotprod_3dnow): FUNC_TAIL(complex_dotprod_3dnow) .ident "Hand coded x86_64 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext.S b/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext.S index 3a5792bc17..30b9a417e3 100644 --- a/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext.S +++ b/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext.S @@ -165,3 +165,7 @@ GLOB_SYMB(complex_dotprod_3dnowext): FUNC_TAIL(complex_dotprod_3dnowext) .ident "Hand coded x86 3DNow!Ext assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext64.S b/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext64.S index f35853d79a..162e830aee 100644 --- a/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext64.S +++ b/gnuradio-core/src/lib/filter/complex_dotprod_3dnowext64.S @@ -162,3 +162,7 @@ GLOB_SYMB(complex_dotprod_3dnowext): FUNC_TAIL(complex_dotprod_3dnowext) .ident "Hand coded x86_64 3DNow!Ext assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/complex_dotprod_sse.S b/gnuradio-core/src/lib/filter/complex_dotprod_sse.S index 97ad9b665f..6ac805bce6 100644 --- a/gnuradio-core/src/lib/filter/complex_dotprod_sse.S +++ b/gnuradio-core/src/lib/filter/complex_dotprod_sse.S @@ -200,3 +200,7 @@ GLOB_SYMB(complex_dotprod_sse): FUNC_TAIL(complex_dotprod_sse) .ident "Hand coded x86 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/complex_dotprod_sse64.S b/gnuradio-core/src/lib/filter/complex_dotprod_sse64.S index acbff61aef..4ce2bc4fe7 100644 --- a/gnuradio-core/src/lib/filter/complex_dotprod_sse64.S +++ b/gnuradio-core/src/lib/filter/complex_dotprod_sse64.S @@ -196,3 +196,7 @@ GLOB_SYMB(complex_dotprod_sse): FUNC_TAIL(complex_dotprod_sse) .ident "Hand coded x86_64 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/cpuid_x86.S b/gnuradio-core/src/lib/filter/cpuid_x86.S index ba4d66a0ee..4e1a9404f5 100644 --- a/gnuradio-core/src/lib/filter/cpuid_x86.S +++ b/gnuradio-core/src/lib/filter/cpuid_x86.S @@ -54,3 +54,7 @@ GLOB_SYMB(cpuid_x86): FUNC_TAIL(cpuid_x86) .ident "Hand coded cpuid assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/cpuid_x86_64.S b/gnuradio-core/src/lib/filter/cpuid_x86_64.S index c2775b8d5d..32b1847cd2 100644 --- a/gnuradio-core/src/lib/filter/cpuid_x86_64.S +++ b/gnuradio-core/src/lib/filter/cpuid_x86_64.S @@ -48,3 +48,7 @@ GLOB_SYMB(cpuid_x86): FUNC_TAIL(cpuid_x86) .ident "Hand coded cpuid64 assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow.S b/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow.S index 6afc386136..9acd95a1d1 100644 --- a/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow.S +++ b/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow.S @@ -170,3 +170,7 @@ GLOB_SYMB(fcomplex_dotprod_3dnow): FUNC_TAIL(fcomplex_dotprod_3dnow) .ident "Hand coded x86 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow64.S b/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow64.S index 1fc4a2478a..453dc93193 100644 --- a/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow64.S +++ b/gnuradio-core/src/lib/filter/fcomplex_dotprod_3dnow64.S @@ -164,3 +164,7 @@ GLOB_SYMB(fcomplex_dotprod_3dnow): FUNC_TAIL(fcomplex_dotprod_3dnow) .ident "Hand coded x86_64 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse.S b/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse.S index 722656bdf1..d67b047b81 100644 --- a/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse.S +++ b/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse.S @@ -182,3 +182,7 @@ GLOB_SYMB(fcomplex_dotprod_sse): FUNC_TAIL(fcomplex_dotprod_sse) .ident "Hand coded x86 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse64.S b/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse64.S index cb96438f19..10e7372e60 100644 --- a/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse64.S +++ b/gnuradio-core/src/lib/filter/fcomplex_dotprod_sse64.S @@ -177,3 +177,7 @@ GLOB_SYMB(fcomplex_dotprod_sse): FUNC_TAIL(fcomplex_dotprod_sse) .ident "Hand coded x86_64 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/float_dotprod_3dnow.S b/gnuradio-core/src/lib/filter/float_dotprod_3dnow.S index e665146078..ed625bd6bb 100644 --- a/gnuradio-core/src/lib/filter/float_dotprod_3dnow.S +++ b/gnuradio-core/src/lib/filter/float_dotprod_3dnow.S @@ -146,3 +146,7 @@ GLOB_SYMB(float_dotprod_3dnow): FUNC_TAIL(float_dotprod_3dnow) .ident "Hand coded x86 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/float_dotprod_3dnow64.S b/gnuradio-core/src/lib/filter/float_dotprod_3dnow64.S index 2754dd46d2..17ecd90599 100644 --- a/gnuradio-core/src/lib/filter/float_dotprod_3dnow64.S +++ b/gnuradio-core/src/lib/filter/float_dotprod_3dnow64.S @@ -143,3 +143,7 @@ GLOB_SYMB(float_dotprod_3dnow): FUNC_TAIL(float_dotprod_3dnow) .ident "Hand coded x86_64 3DNow! assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/float_dotprod_sse.S b/gnuradio-core/src/lib/filter/float_dotprod_sse.S index a3a2df399b..9444dd6ddb 100644 --- a/gnuradio-core/src/lib/filter/float_dotprod_sse.S +++ b/gnuradio-core/src/lib/filter/float_dotprod_sse.S @@ -165,3 +165,7 @@ GLOB_SYMB(float_dotprod_sse): FUNC_TAIL(float_dotprod_sse) .ident "Hand coded x86 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/float_dotprod_sse64.S b/gnuradio-core/src/lib/filter/float_dotprod_sse64.S index c5e56f368e..3ba20acab9 100644 --- a/gnuradio-core/src/lib/filter/float_dotprod_sse64.S +++ b/gnuradio-core/src/lib/filter/float_dotprod_sse64.S @@ -159,3 +159,7 @@ GLOB_SYMB(float_dotprod_sse): FUNC_TAIL(float_dotprod_sse) .ident "Hand coded x86_64 SSE assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/short_dotprod_mmx.S b/gnuradio-core/src/lib/filter/short_dotprod_mmx.S index f864d08a81..1830a1a945 100644 --- a/gnuradio-core/src/lib/filter/short_dotprod_mmx.S +++ b/gnuradio-core/src/lib/filter/short_dotprod_mmx.S @@ -111,3 +111,7 @@ GLOB_SYMB(short_dotprod_mmx): FUNC_TAIL(short_dotprod_mmx) .ident "Hand coded x86 MMX assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif diff --git a/gnuradio-core/src/lib/filter/short_dotprod_mmx64.S b/gnuradio-core/src/lib/filter/short_dotprod_mmx64.S index 02b910e949..7d9b25cb22 100644 --- a/gnuradio-core/src/lib/filter/short_dotprod_mmx64.S +++ b/gnuradio-core/src/lib/filter/short_dotprod_mmx64.S @@ -99,3 +99,7 @@ GLOB_SYMB(short_dotprod_mmx): FUNC_TAIL(short_dotprod_mmx) .ident "Hand coded x86_64 MMX assembly" + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif |