Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections
[binutils-gdb.git] / binutils / embedspu.sh
index 5f9d20cb5b49cb6f0339b2eeed86ba863b65b919..8b19e766e924b38866dc65e907ab283f26c5da5c 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__: