ld: Add -Bsymbolic-functions tests
[deliverable/binutils-gdb.git] / ld / emulparams / elf32_spu.sh
index bfeabb8c67d88d2c1512d4c18ece45391d442fd8..523f32330266dd3b627bf5d0b99b4b2259a7eab0 100644 (file)
@@ -1,7 +1,8 @@
 SCRIPT_NAME=elf
-TEMPLATE_NAME=elf32
+TEMPLATE_NAME=elf
 EXTRA_EM_FILE=spuelf
 OUTPUT_FORMAT="elf32-spu"
+NO_REL_RELOCS=yes
 ARCH=spu
 MACHINE=
 ALIGNMENT=16
@@ -17,3 +18,10 @@ EMBEDDED=true
 MAXPAGESIZE=0x80
 DATA_ADDR="ALIGN(${MAXPAGESIZE})"
 OTHER_BSS_SECTIONS=".toe ALIGN(128) : { *(.toe) } = 0"
+OTHER_SECTIONS=".note.spu_name 0 : { KEEP(*(.note.spu_name)) }
+  ._ea 0 : { KEEP(*(._ea))${RELOCATING+ KEEP(*(._ea.*))} }"
+OTHER_READONLY_SECTIONS="
+  .fixup ${RELOCATING-0} : {
+    ${RELOCATING+PROVIDE (__fixup_start = .);}
+    KEEP(*(.fixup))
+  }"
This page took 0.024863 seconds and 4 git commands to generate.