ia64: Set DF_TEXTREL instead of reltext
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 11 Jun 2020 01:15:13 +0000 (18:15 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 11 Jun 2020 01:20:36 +0000 (18:20 -0700)
commit447f6d86275aa5790109c2dfd85f3a11919fff8f
tree9ac9f7d0e1fd117730892f0cf289f266a8137bf1
parent6cff1eab4d7dbb44f0a6a2cd65cc5e55cad28f2f
ia64: Set DF_TEXTREL instead of reltext

Update ia64 ELF backend to set DF_TEXTREL for dynamic relocs against
readonly sections like other backends.

* elfnn-ia64.c (elfNN_ia64_link_hash_table): Remove reltext.
(allocate_dynrel_entries): Set DF_TEXTREL instead of reltext.
(elfNN_ia64_size_dynamic_sections): Check DF_TEXTREL instead
of reltext.
bfd/ChangeLog
bfd/elfnn-ia64.c