OSDN Git Service

2001-06-17 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl@lucon.org>
Sun, 17 Jun 2001 16:14:42 +0000 (16:14 +0000)
committerH.J. Lu <hjl@lucon.org>
Sun, 17 Jun 2001 16:14:42 +0000 (16:14 +0000)
commit14555fd4dbf5548cf5eb5e7c6770f9ad30197072
treeb37ddcee748be2b7adc22a15dafa5bba0b7dd8ed
parent55c3099bcc49c55dc6fbe4c6736d3f72c83e7151
2001-06-17  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_link_hash_entry): Add a new field,
readonly_reloc, to record if a relocation in the .rel.dyn
section is against a read-only section.
(mips_elf_link_hash_newfunc): Initialize the readonly_reloc
field to false.
(_bfd_mips_elf_check_relocs): Record if there is a relocation
in the .rel.dyn section against a read-only section by setting
DF_TEXTREL or readonly_reloc.
(_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if
it is true.
(_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if
there is a relocation in the .rel.dyn section against a
read-only section.
(_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if
DF_TEXTREL is set.
bfd/ChangeLog
bfd/elf32-mips.c