[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/16317] strip does not preserve SHF_INFO_LINK bit for SHT_R
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/16317] strip does not preserve SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections |
Date: |
Thu, 19 Dec 2013 19:37:28 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=16317
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
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 9ef5d938819dff73d7640a2654b07df64670d7f9 (commit)
from fa8761a3e0d999ada63194291ddf9b308a8d8276 (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=9ef5d938819dff73d7640a2654b07df64670d7f9
commit 9ef5d938819dff73d7640a2654b07df64670d7f9
Author: H.J. Lu <address@hidden>
Date: Thu Dec 19 11:34:47 2013 -0800
Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections
It is a good pratice to set the SHF_INFO_LINK bit when the sh_info field
represents a section header index.
bfd/
PR binutils/16317
* elf.c (assign_section_numbers): Set the SHF_INFO_LINK bit for
SHT_REL/SHT_RELA sections when setting the sh_info field.
binutils/testsuite/
PR binutils/16317
* binutils-all/readelf.s: Updated.
* binutils-all/readelf.s-64: Likewise.
ld/testsuite/
PR binutils/16317
* ld-elf/linkinfo1.s: New file.
* ld-elf/linkinfo1a.d: Likewise.
* ld-elf/linkinfo1b.d: Likewise.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 6 ++++++
bfd/elf.c | 7 ++++++-
binutils/testsuite/ChangeLog | 6 ++++++
binutils/testsuite/binutils-all/readelf.s | 2 +-
binutils/testsuite/binutils-all/readelf.s-64 | 2 +-
ld/testsuite/ChangeLog | 7 +++++++
ld/testsuite/ld-elf/linkinfo1.s | 2 ++
ld/testsuite/ld-elf/linkinfo1a.d | 8 ++++++++
ld/testsuite/ld-elf/linkinfo1b.d | 9 +++++++++
9 files changed, 46 insertions(+), 3 deletions(-)
create mode 100644 ld/testsuite/ld-elf/linkinfo1.s
create mode 100644 ld/testsuite/ld-elf/linkinfo1a.d
create mode 100644 ld/testsuite/ld-elf/linkinfo1b.d
--
You are receiving this mail because:
You are on the CC list for the bug.