This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 931b79ccd6cc6ad4d8fe60a9c6de9443322a7cc8
- From: aburgess at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 3 Nov 2014 20:39:56 -0000
- Subject: gdb and binutils branch master updated. 931b79ccd6cc6ad4d8fe60a9c6de9443322a7cc8
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 931b79ccd6cc6ad4d8fe60a9c6de9443322a7cc8 (commit)
via a12d0ffc72ee57f8db8b466fd9032360d8d15e09 (commit)
from 5a3f568b70bdfb91aacdfb66657b56d8c6d242f1 (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=931b79ccd6cc6ad4d8fe60a9c6de9443322a7cc8
commit 931b79ccd6cc6ad4d8fe60a9c6de9443322a7cc8
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Mon Oct 27 10:45:18 2014 +0000
When relaxing, update size of symbols.
When performing linker relaxation, reduce the size of symbols that span
the deleted bytes. This ensures that, for example, function symbols
will have the correct size.
bfd/ChangeLog:
* elf32-avr.c (elf32_avr_relax_delete_bytes): During linker
relaxation, reduce the size of symbols that span the deleted
bytes.
ld/ChangeLog:
* testsuite/ld-avr/relax-02.d: Update to check size of symbols has
changed.
* testsuite/ld-avr/relax-03.d: Likewise.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a12d0ffc72ee57f8db8b466fd9032360d8d15e09
commit a12d0ffc72ee57f8db8b466fd9032360d8d15e09
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Sat Oct 25 15:08:14 2014 +0100
When relaxing, update symbols at the very end of the section.
Symbols at the very end of a section were not being updated correctly
when linker relaxation takes place due to the use of '<' instead of
'<='. Added a couple of tests to cover this behaviour.
bfd/ChangeLog:
* elf32-avr.c (elf32_avr_relax_delete_bytes): Modify symbols
located at the very end of the section.
ld/ChangeLog:
* ld/testsuite/ld-avr/relax-02.d: New file.
* ld/testsuite/ld-avr/relax-02.s: New file.
* ld/testsuite/ld-avr/relax-03.d: New file.
* ld/testsuite/ld-avr/relax-03.s: New file.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 11 +++++++
bfd/elf32-avr.c | 39 +++++++++++++++++++-----
ld/ChangeLog | 13 ++++++++
ld/testsuite/ld-avr/relax-02.d | 64 +++++++++++++++++++++++++++++++++++++++
ld/testsuite/ld-avr/relax-02.s | 65 ++++++++++++++++++++++++++++++++++++++++
ld/testsuite/ld-avr/relax-03.d | 26 ++++++++++++++++
ld/testsuite/ld-avr/relax-03.s | 18 +++++++++++
7 files changed, 228 insertions(+), 8 deletions(-)
create mode 100644 ld/testsuite/ld-avr/relax-02.d
create mode 100644 ld/testsuite/ld-avr/relax-02.s
create mode 100644 ld/testsuite/ld-avr/relax-03.d
create mode 100644 ld/testsuite/ld-avr/relax-03.s
hooks/post-receive
--
gdb and binutils