[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17666] ld -r may create reloc sections with unordered relocs
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/17666] ld -r may create reloc sections with unordered relocs |
Date: |
Thu, 04 Dec 2014 07:23:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17666
--- Comment #1 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 53df40a43c968f4d97754226d62775d1fe665459 (commit)
from 621661e3faf809d4f28bb84e94e30c1c8a8cc933 (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=53df40a43c968f4d97754226d62775d1fe665459
commit 53df40a43c968f4d97754226d62775d1fe665459
Author: Alan Modra <address@hidden>
Date: Wed Dec 3 22:00:18 2014 +1030
Sort relocs output by ld -r
bfd/
PR 17666
* elflink.c: Include bfd_stdint.h.
(cmp_ext32l_r_offset, cmp_ext32b_r_offset,
cmp_ext64l_r_offset, cmp_ext64b_r_offset): New functions.
(elf_link_adjust_relocs): Sort relocs. Free reloc hashes after
sorting invalidates.
ld/testsuite/
* ld-powerpc/vxworks-relax.rd: Update for reloc sorting.
* ld-powerpc/vxworks-relax-2.rd: Likewise.
* ld-sh/sh64/reldl32.rd: Likewise.
* ld-sh/sh64/reldl64.rd: Likewise.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 9 ++
bfd/elflink.c | 158 ++++++++++++++++++++++++++++
ld/testsuite/ChangeLog | 7 ++
ld/testsuite/ld-powerpc/vxworks-relax-2.rd | 4 +-
ld/testsuite/ld-powerpc/vxworks-relax.rd | 4 +-
ld/testsuite/ld-sh/sh64/reldl32.rd | 4 +-
ld/testsuite/ld-sh/sh64/reldl64.rd | 4 +-
7 files changed, 182 insertions(+), 8 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.