2001-06-17 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 17 Jun 2001 16:14:42 +0000 (16:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 17 Jun 2001 16:14:42 +0000 (16:14 +0000)
commit439170543464e184f1fb369bc2b1e010ce9d2fef
treefcf0e6577dd5a600d0726449352c1765ac525df4
parent0d70f41b681cdefc33b28cf2e6745daaa49d7d25
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
This page took 0.024592 seconds and 4 git commands to generate.