This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 8b974ba3e8216b7f6659d2803444e0ddceaeded7
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 2 Nov 2013 01:29:54 -0000
- Subject: gdb and binutils branch master updated. 8b974ba3e8216b7f6659d2803444e0ddceaeded7
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 8b974ba3e8216b7f6659d2803444e0ddceaeded7 (commit)
from eab88b547c358493cd81c5336fa9f296cc5a0483 (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=8b974ba3e8216b7f6659d2803444e0ddceaeded7
commit 8b974ba3e8216b7f6659d2803444e0ddceaeded7
Author: Alan Modra <amodra@gmail.com>
Date: Wed Oct 30 17:30:43 2013 +1030
Simplify ppc64 code setting toc_off.
Every function has a nominal toc pointer value, even if it isn't used,
so set toc_off for every code section to the value used in that object
file. The thinking here was that if a code section didn't use the toc
it could use the previous object file's toc pointer value. It can,
but doing so is only a gain if functions in that section are called
mostly from previous objects sharing the same toc. We lose if the
functions in question are called mostly from the current object or
following objects, and it's a good bet they will probably mostly be
called from the current object.
* elf64-ppc.c (ppc64_elf_next_input_section): Always set toc_off
to value for object file.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 5 +++++
bfd/elf64-ppc.c | 53 ++++++++++++++++++-----------------------------------
2 files changed, 23 insertions(+), 35 deletions(-)
hooks/post-receive
--
gdb and binutils