This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 9f19ab6dfa13c3971423624d18f20d90ab70c9cc
- From: willnewton at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 16 Jun 2014 14:51:47 -0000
- Subject: gdb and binutils branch master updated. 9f19ab6dfa13c3971423624d18f20d90ab70c9cc
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 9f19ab6dfa13c3971423624d18f20d90ab70c9cc (commit)
from d03de42190b3b55fb195340dde8e595714a35090 (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=9f19ab6dfa13c3971423624d18f20d90ab70c9cc
commit 9f19ab6dfa13c3971423624d18f20d90ab70c9cc
Author: Will Newton <will.newton@linaro.org>
Date: Mon Jun 16 15:49:07 2014 +0100
ld/ARM: Fix IFUNC and TLS descriptors in the same shared object
Combining TLS descriptors and GNU indirect functions in the same
object could lead to assertions or multiple dynamic relocations
for the same GOT slot. Fix the bookkeeping so this doesn't happen.
This allows building and make checking glibc with -mtls-dialect=gnu2.
bfd/ChangeLog:
2014-06-16 Will Newton <will.newton@linaro.org>
* elf32-arm.c (elf32_arm_allocate_plt_entry): Increment
htab->next_tls_desc_index in the non-IPLT case.
Calculate GOT offset correctly for the non-IPLT case.
(allocate_dynrelocs_for_symbol): Don't increment
htab->next_tls_desc_index here.
ld/testsuite/ChangeLog:
2014-06-16 Will Newton <will.newton@linaro.org>
* ld-arm/arm-elf.exp: Add ifunc-gdesc test.
* ld-arm/ifunc-gdesc.r: New file.
* ld-arm/ifunc-gdesc.s: Likewise.
* ld-arm/ifunc-gdesc.ver: Likewise.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 8 ++++++++
bfd/elf32-arm.c | 9 ++++++---
ld/testsuite/ChangeLog | 7 +++++++
ld/testsuite/ld-arm/arm-elf.exp | 3 +++
ld/testsuite/ld-arm/ifunc-gdesc.r | 6 ++++++
ld/testsuite/ld-arm/ifunc-gdesc.s | 29 +++++++++++++++++++++++++++++
ld/testsuite/ld-arm/ifunc-gdesc.ver | 4 ++++
7 files changed, 63 insertions(+), 3 deletions(-)
create mode 100644 ld/testsuite/ld-arm/ifunc-gdesc.r
create mode 100644 ld/testsuite/ld-arm/ifunc-gdesc.s
create mode 100644 ld/testsuite/ld-arm/ifunc-gdesc.ver
hooks/post-receive
--
gdb and binutils