* embedspu.sh: Pass -Wa,-noexecstack to $CC.
authorAlan Modra <amodra@gmail.com>
Thu, 9 Oct 2008 13:42:30 +0000 (13:42 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 9 Oct 2008 13:42:30 +0000 (13:42 +0000)
binutils/ChangeLog
binutils/embedspu.sh

index e31605d..bc97118 100644 (file)
@@ -1,3 +1,7 @@
+2008-10-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * embedspu.sh: Pass -Wa,-noexecstack to $CC.
+
 2008-10-09  Kai Tietz  <kai.tietz@onevision.com>
 
        * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
index 5f9d20c..8b19e76 100644 (file)
@@ -146,7 +146,7 @@ main ()
   # 4. Write a struct spe_program_handle to .data.
   # 5. Write a table of _SPUEAR_ symbols.
   ${CC} ${FLAGS} -x assembler-with-cpp -nostartfiles -nostdlib \
-       -Wa,-mbig -Wl,-r -Wl,-x -o ${OUTFILE} - <<EOF
+       -Wa,-mbig -Wa,-noexecstack -Wl,-r -Wl,-x -o ${OUTFILE} - <<EOF
  .section .data.spetoe,"aw",@progbits
  .p2align 7
 __spetoe__: