ENABLE_CHECKING in bfd, opcodes, binutils, ld
[binutils-gdb.git] / ld / emulparams / shlelf_fd.sh
index f1f410718549b8297c168fed1196d394446bcf5d..2b51245773746beb74be7a72574ecf7c4e12b672 100644 (file)
@@ -1,9 +1,9 @@
 # If you change this file, please also look at files which source this one:
 # shelf_fd.sh
 
-. ${srcdir}/emulparams/shlelf_linux.sh
+source_sh ${srcdir}/emulparams/shlelf_linux.sh
 OUTPUT_FORMAT="elf32-sh-fdpic"
-GOT=".got          ${RELOCATING-0} : { *(.got.funcdesc) *(.got.plt) *(.got) }"
+GOT=".got          ${RELOCATING-0} : {${RELOCATING+ *(.got.funcdesc) *(.got.plt)} *(.got) }"
 OTHER_GOT_RELOC_SECTIONS="
   .rela.got.funcdesc      ${RELOCATING-0} : { *(.rela.got.funcdesc) }
 "