This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 74fffc39827629fb48c9e24a7d12ebbd5693df4b
- From: jturney at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 8 Sep 2014 16:55:42 -0000
- Subject: gdb and binutils branch master updated. 74fffc39827629fb48c9e24a7d12ebbd5693df4b
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 74fffc39827629fb48c9e24a7d12ebbd5693df4b (commit)
from 2e4bb98a0e52acbb2da4ae441b89a568af26adf8 (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=74fffc39827629fb48c9e24a7d12ebbd5693df4b
commit 74fffc39827629fb48c9e24a7d12ebbd5693df4b
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Sat Aug 30 15:02:49 2014 +0100
Change pe/coff build-id section name to '.buildid'
The section name used to store the build-id on pe/coff is arbitrary, as it's
contents should be located using the pe/coff header's DataDirectory debug data
entry, not by using the section name.
But '.build-id' is not a good choice for that section name, as it is 9
characters long, and hence truncated to 8 characters when
--disable-long-section-names is used (which is the default, when producing an
executable with no dwarf debug sections, e.g. using ld --strip-all --build-id)
This truncation then breaks 'objcopy --only-keep-debug', which does use the
section name, due to concerns that keeping an arbitrary section which contains
the debug directory is not sensible.
binutils/ChangeLog
2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
* objcopy.c (is_nondebug_keep_contents_section): Change pe/coff
build-id section name from '.build-id' to '.buildid'.
ld/ChangeLog
2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
* emultempl/pe.em (write_build_id, setup_build_id): Change pe/coff
build-id section name from '.build-id' to '.buildid'.
* emultempl/pep.em (write_build_id, setup_build_id): Ditto.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-----------------------------------------------------------------------
Summary of changes:
binutils/ChangeLog | 5 +++++
binutils/objcopy.c | 4 ++--
ld/ChangeLog | 6 ++++++
ld/emultempl/pe.em | 10 +++++-----
ld/emultempl/pep.em | 10 +++++-----
5 files changed, 23 insertions(+), 12 deletions(-)
hooks/post-receive
--
gdb and binutils