Skip to content

Commit

Permalink
Revert "RISC-V: Disable shared library support for embedded elf."
Browse files Browse the repository at this point in the history
This reverts commit be1dce2.

To enable --eh-frame-hdr option back
  • Loading branch information
antmak committed Jan 11, 2021
1 parent 43ba945 commit 2802c5b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions ld/emulparams/elf32lriscv-defs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

TEXT_START_ADDR=0x10000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
Expand Down

0 comments on commit 2802c5b

Please sign in to comment.