This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 88b8e63904fda25c029deaf25d7b4e489b351470
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 4 Nov 2013 05:30:38 -0000
- Subject: gdb and binutils branch master updated. 88b8e63904fda25c029deaf25d7b4e489b351470
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 88b8e63904fda25c029deaf25d7b4e489b351470 (commit)
from 25153ba0870289c6b5f26e9552c5501a33571570 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=88b8e63904fda25c029deaf25d7b4e489b351470
commit 88b8e63904fda25c029deaf25d7b4e489b351470
Author: Alan Modra <amodra@gmail.com>
Date: Fri Nov 1 16:09:56 2013 +1030
Remove powerpc.cc copy of use_plt_offset
This adds an extra flag for needs_dynamic_reloc() in order to remove
the copy of this function and use_plt_offset() in powerpc.cc, and
tweaks the powerpc get_reference_flags() to return the flag as
appropriate. ELFv2 does not want ELFv1 behaviour here.
* symtab.h (Symbol::Reference_flags): Add FUNC_DESC_ABI.
(Symbol::needs_dynamic_reloc): Test new flag.
* powerpc.cc (needs_dynamic_reloc, use_plt_offset): Delete.
(Target_powerpc::Scan::get_reference_flags): Add target param.
Return FUNC_DESC_ABI for 64-bit ELFv1.
(Target_powerpc::Branch_info::make_stub): Adjust get_reference_flags
call.
(Target_powerpc::Scan::global): Use Symbol::needs_dynamic_reloc.
(Target_powerpc::Relocate::relocate): Use Symbol::use_plt_offset.
-----------------------------------------------------------------------
Summary of changes:
gold/powerpc.cc | 144 ++++++++++++-------------------------------------------
gold/symtab.h | 8 ++-
2 files changed, 37 insertions(+), 115 deletions(-)
hooks/post-receive
--
gdb and binutils