This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 2edab91c10dcae30a93ce7d9f8088b8b33ee55eb
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 22 Jan 2014 02:13:04 -0000
- Subject: gdb and binutils branch master updated. 2edab91c10dcae30a93ce7d9f8088b8b33ee55eb
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 2edab91c10dcae30a93ce7d9f8088b8b33ee55eb (commit)
from 4584ec12076e088cf36965b88ef8710ca85491f9 (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=2edab91c10dcae30a93ce7d9f8088b8b33ee55eb
commit 2edab91c10dcae30a93ce7d9f8088b8b33ee55eb
Author: Alan Modra <amodra@gmail.com>
Date: Wed Jan 22 11:43:03 2014 +1030
Make assignments to dot keep an empty output section.
An assignment to dot in an output section that allocates space of
course keeps the output section. Here, I'm changing the behaviour for
assignments that don't allocate space. The idea is not so much to
allow people to force output of an empty section with ". = .", but
to fix cases where an otherwise empty section has padding added by an
alignment expression that changes with relaxation or .eh_frame
editing. Such a section might have zero size before relaxation and so
be stripped incorrectly.
ld/
* ld.texinfo (Output Section Discarding): Mention assigning to dot
as a way of keeping otherwise empty sections.
* ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
is_dot_plus_0, is_align_conditional): New predicates.
(exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
output section, except for some special cases.
* scripttempl/elfmicroblaze.sc: Use canonical form to align at
end of .heap and .stack.
ld/testsuite/
* ld-shared/elf-offset.ld: Align end of .bss with canonical form
of ALIGN that allows an empty .bss to be removed.
* ld-arm/arm-dyn.ld: Likewise.
* ld-arm/arm-lib.ld: Likewise.
* ld-elfvsb/elf-offset.ld: Likewise.
* ld-mips-elf/mips-dyn.ld: Likewise.
* ld-mips-elf/mips-lib.ld: Likewise.
* ld-arm/arm-no-rel-plt.ld: Remove duplicate ALIGN.
* ld-powerpc/vle-multiseg-1.ld: Remove ALIGN at start of section.
ALIGN address of section instead.
* ld-powerpc/vle-multiseg-2.ld: Likewise.
* ld-powerpc/vle-multiseg-3.ld: Likewise.
* ld-powerpc/vle-multiseg-4.ld: Likewise.
* ld-powerpc/vle-multiseg-6.ld: Likewise.
* ld-scripts/empty-aligned.d: Check section headers not program
headers. Remove xfail and notarget.
* ld-scripts/empty-aligned.t: Use canonical ALIGN for end of .text2.
-----------------------------------------------------------------------
Summary of changes:
ld/ChangeLog | 11 +++
ld/ld.texinfo | 13 +++-
ld/ldexp.c | 97 +++++++++++++++++++++++++++++
ld/scripttempl/elfmicroblaze.sc | 4 +-
ld/testsuite/ChangeLog | 20 ++++++
ld/testsuite/ld-arm/arm-dyn.ld | 2 +-
ld/testsuite/ld-arm/arm-lib.ld | 2 +-
ld/testsuite/ld-arm/arm-no-rel-plt.ld | 1 -
ld/testsuite/ld-elfvsb/elf-offset.ld | 2 +-
ld/testsuite/ld-mips-elf/mips-dyn.ld | 2 +-
ld/testsuite/ld-mips-elf/mips-lib.ld | 2 +-
ld/testsuite/ld-powerpc/vle-multiseg-1.ld | 3 +-
ld/testsuite/ld-powerpc/vle-multiseg-2.ld | 3 +-
ld/testsuite/ld-powerpc/vle-multiseg-3.ld | 3 +-
ld/testsuite/ld-powerpc/vle-multiseg-4.ld | 3 +-
ld/testsuite/ld-powerpc/vle-multiseg-6.ld | 3 -
ld/testsuite/ld-scripts/empty-aligned.d | 14 +---
ld/testsuite/ld-scripts/empty-aligned.t | 8 +-
ld/testsuite/ld-shared/elf-offset.ld | 2 +-
19 files changed, 157 insertions(+), 38 deletions(-)
hooks/post-receive
--
gdb and binutils