Revert "RISC-V: Disable shared library support for embedded elf."

This reverts commit be1dce2625.

To enable --eh-frame-hdr option back
This commit is contained in:
Anton Maklakov
2021-01-11 18:50:39 +07:00
committed by Alexey Lapshin
parent 07808b279b
commit 5dd1c5aadc

View File

@@ -16,15 +16,8 @@ if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
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