This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 28dbcedc7b1282b93c3f25c4e42ae71b44e8e2a8
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 9 Dec 2014 23:28:29 -0000
- Subject: gdb and binutils branch master updated. 28dbcedc7b1282b93c3f25c4e42ae71b44e8e2a8
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 28dbcedc7b1282b93c3f25c4e42ae71b44e8e2a8 (commit)
from 4e3272393ff1ab2c07d9fa209d2ae82954f7954c (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=28dbcedc7b1282b93c3f25c4e42ae71b44e8e2a8
commit 28dbcedc7b1282b93c3f25c4e42ae71b44e8e2a8
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 9 14:32:22 2014 +1030
Don't sort ld -r relocs for mips
HI16/LO16 are deliberately put adjacent, which might mean relocs are
then not sorted by r_offset. See tc-mips.c:mips_frob_file. Don't undo
the HI16/LO16 sorting.
PR 17666
* elf-bfd.h (struct elf_backend_data): Add sort_relocs_p.
* elfxx-target.h (elf_backend_sort_relocs_p): Define.
(elfNN_bed): Init new field.
* elflink.c (elf_link_adjust_relocs): Conditionally sort.
(bfd_elf_final_link): Control sorting of relocs.
* elfxx-mips.c (_bfd_mips_elf_sort_relocs_p): New function.
* elfxx-mips.h (_bfd_mips_elf_sort_relocs_p): Declare.
* elf32-mips.c (elf_backend_sort_relocs_p): Define.
* elf64-mips.c (elf_backend_sort_relocs_p): Define.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 13 +++++++++++++
bfd/elf-bfd.h | 5 +++++
bfd/elf32-mips.c | 2 ++
bfd/elf64-mips.c | 1 +
bfd/elflink.c | 51 +++++++++++++++++++++++++++++----------------------
bfd/elfxx-mips.c | 12 ++++++++++++
bfd/elfxx-mips.h | 2 ++
bfd/elfxx-target.h | 4 ++++
8 files changed, 68 insertions(+), 22 deletions(-)
hooks/post-receive
--
gdb and binutils