summaryrefslogtreecommitdiff
path: root/ld/emulparams/shlelf_fd.sh
blob: 2b51245773746beb74be7a72574ecf7c4e12b672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# If you change this file, please also look at files which source this one:
# shelf_fd.sh

source_sh ${srcdir}/emulparams/shlelf_linux.sh
OUTPUT_FORMAT="elf32-sh-fdpic"
GOT=".got          ${RELOCATING-0} : {${RELOCATING+ *(.got.funcdesc) *(.got.plt)} *(.got) }"
OTHER_GOT_RELOC_SECTIONS="
  .rela.got.funcdesc      ${RELOCATING-0} : { *(.rela.got.funcdesc) }
"
OTHER_READONLY_SECTIONS="
  .rofixup        : {
    ${RELOCATING+__ROFIXUP_LIST__ = .;}
    *(.rofixup)
    ${RELOCATING+__ROFIXUP_END__ = .;}
  }
"