Other *-elf targets support -shared and -pie modes. There is no
reason to presuppose that riscv64-elf is used for "embedded", nor
for that matter that "embedded" is mutually exclusive with
wanting -shared and -pie functionality available in the linker.
esac
fi
-# Enable shared library support for everything except an embedded elf target.
-case "$target" in
- riscv*-elf)
- ;;
- *)
- GENERATE_SHLIB_SCRIPT=yes
- GENERATE_PIE_SCRIPT=yes
- ;;
-esac
+GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
IREL_IN_PLT=
TEXT_START_ADDR=0x10000