riscv: remove DL_RO_DYN_SECTION
commitdeacca0054a1c42151ac027171ef3c2aba6bc566
authorDavid Abdurachmanov <david.abdurachmanov@gmail.com>
Tue, 9 Apr 2019 11:25:29 +0000 (9 13:25 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 25 Apr 2019 17:53:08 +0000 (25 10:53 -0700)
treecd725f2c60bafcd8ebe21f6b62b7718cadff819d
parentb5ffdc48c20ae865b197b67e5a9068a528fbc198
riscv: remove DL_RO_DYN_SECTION

While working on enabling D front-end (GDC) in GCC we noticed that
druntime was segfaulting if it is linked dynamically. This was tracked
to DL_RO_DYN_SECTION.

DL_RO_DYN_SECTION lines seem to be copied from MIPS file (which is the
only user of it), but the comment doesn't apply to RISC-V. There is no
such requirement in RISC-V ABI.

        [BZ#24484]
* sysdeps/riscv/ldsodefs.h: Remove DL_RO_DYN_SECTION as it is not
required by RISC-V ABI.
ChangeLog
sysdeps/riscv/ldsodefs.h