This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix libgcc_s.so for noexecstack on alpha
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Sep 2004 12:32:52 -0700
- Subject: fix libgcc_s.so for noexecstack on alpha
Arg! I wish I'd noticed this a long time ago...
r~
* config/alpha/qrnnd.asm: Mark for noexecstack.
Index: config/alpha/qrnnd.asm
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/qrnnd.asm,v
retrieving revision 1.1
diff -c -p -d -r1.1 qrnnd.asm
*** config/alpha/qrnnd.asm 15 Apr 2000 16:34:38 -0000 1.1
--- config/alpha/qrnnd.asm 30 Sep 2004 19:30:44 -0000
***************
*** 26,31 ****
--- 26,35 ----
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.
+ #ifdef __ELF__
+ .section .note.GNU-stack,""
+ #endif
+
.set noreorder
.set noat