diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-03-22 04:08:39 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-03-22 04:08:39 +0000 |
commit | e4a2175c7dfddf7ef4c44814939c9b3fb443f514 (patch) | |
tree | 94eebb642399dd8bd7de6c1684ae3e3532928b66 /src-release | |
parent | 2d4b84b0f53f24bf26abe1ebd4a4bbfbf33527aa (diff) | |
download | gdb-e4a2175c7dfddf7ef4c44814939c9b3fb443f514.zip gdb-e4a2175c7dfddf7ef4c44814939c9b3fb443f514.tar.gz gdb-e4a2175c7dfddf7ef4c44814939c9b3fb443f514.tar.bz2 |
* 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.
Diffstat (limited to 'src-release')
0 files changed, 0 insertions, 0 deletions