This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/bfd ChangeLog elf32-cris.c
- From: hp at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 22 Mar 2004 04:19:10 -0000
- Subject: src/bfd ChangeLog elf32-cris.c
CVSROOT: /cvs/src
Module name: src
Branch: binutils-2_15-branch
Changes by: hp@sourceware.org 2004-03-22 04:19:10
Modified files:
bfd : ChangeLog elf32-cris.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.2423.2.11&r2=1.2423.2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-cris.c.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.47&r2=1.47.6.1