This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 4b7d1f7fb496267f5ffb08effd1e18a3424eb9d8
- From: willnewton at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 10 Feb 2014 16:46:26 -0000
- Subject: gdb and binutils branch master updated. 4b7d1f7fb496267f5ffb08effd1e18a3424eb9d8
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 4b7d1f7fb496267f5ffb08effd1e18a3424eb9d8 (commit)
from d6f6f455778b10037503bcc39352b5174bba5e45 (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=4b7d1f7fb496267f5ffb08effd1e18a3424eb9d8
commit 4b7d1f7fb496267f5ffb08effd1e18a3424eb9d8
Author: Will Newton <will.newton@linaro.org>
Date: Mon Dec 16 17:45:45 2013 +0000
gdb/elfread.c: Enable ifunc support on ARM.
There are two failures in the gnu-ifunc.exp test on ARM. These are
due to the failure to resolve the correct target function when
attempting to breakpoint a GNU ifunc resolved function:
(gdb) break gnu_ifunc
Breakpoint 4 at gnu-indirect-function resolver at 0x2aacb5a2
when gnu_ifunc has been resolved this should actually be:
(gdb) break gnu_ifunc
Breakpoint 4 at 0x868c
There are two reasons for this. The first is that ARM does not have a
separate .got.plt section so looking this up will always fail. The second
is that the Thumb bit needs to be stripped from the address to allow
it to be reliably compared when inserting into the ifunc cache.
Tested with no regressions on arm-linux-gnueabihf and
x86_64-unknown-linux-gnu.
gdb/ChangeLog:
2014-02-10 Will Newton <will.newton@linaro.org>
* elfread.c (elf_rel_plt_read): Look for a .got section if
looking up .got.plt fails.
(elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
on address passed to elf_gnu_ifunc_record_cache.
(elf_gnu_ifunc_resolve_addr): Likewise.
(elf_gnu_ifunc_resolver_return_stop): Likewise.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 9 +++++++++
gdb/elfread.c | 10 +++++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
hooks/post-receive
--
gdb and binutils