* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
authorHans-Peter Nilsson <hp@axis.com>
Mon, 22 Mar 2004 04:08:39 +0000 (04:08 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 22 Mar 2004 04:08:39 +0000 (04:08 +0000)
commite4a2175c7dfddf7ef4c44814939c9b3fb443f514
tree94eebb642399dd8bd7de6c1684ae3e3532928b66
parent2d4b84b0f53f24bf26abe1ebd4a4bbfbf33527aa
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
R_CRIS_16_GOTPLT>: Also error if there's no PLT for a symbol
not defined by the executable, or defined in a DSO.
<eliding run-time relocation of .got>: Initialize GOT entry for a
function symbol or ELF_LINK_HASH_NEEDS_PLT statically in an
executable.
(cris_elf_gc_sweep_hook): Improve fallthrough marking.
(elf_cris_try_fold_plt_to_got): Improve head comment.  Do not fold
a PLT reloc to GOT for an executable.
(elf_cris_adjust_dynamic_symbol): Only fold a .got.plt entry with
.got for a DSO and explain why.
(elf_cris_discard_excess_program_dynamics): Also lose GOT-relocs
and unreferenced symbols for which a PLT is defined.  Adjust
dynamic-symbol pruning correspondingly, to make sure we don't lose
a dynamic symbol also defined by a DSO.
bfd/ChangeLog
bfd/elf32-cris.c
This page took 0.027067 seconds and 4 git commands to generate.