[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16563] Corrupt .eh-frame section created when linking LTO and no
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects |
Date: |
Thu, 14 Aug 2014 04:51:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16563
--- Comment #7 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 18cd5bce47dc4a33dd1d8e3036b99d2fa7e3234f (commit)
from b879806f2fdd2eca7092d7b854d6cbbbbbd0493b (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=18cd5bce47dc4a33dd1d8e3036b99d2fa7e3234f
commit 18cd5bce47dc4a33dd1d8e3036b99d2fa7e3234f
Author: Alan Modra <address@hidden>
Date: Thu Aug 14 13:49:31 2014 +0930
Linker part of PR16563 fix
Presents .eh_frame input sections to the optimisation machinery in
elf-eh-frame.c in the order they are given by the linker script.
PR 16563
bfd/
* elflink.c (bfd_elf_discard_info): Process .eh_frame and .stab
in the order they are mapped to output sections.
ld/
* ldlang.c (map_head_is_link_order): Rename from
stripped_excluded_sections.
(lang_clear_os_map): New function, extracted from..
(strip_excluded_output_sections): ..here.
* ldlang.h (lang_clear_os_map): Declare.
* ldwrite.c (ldwrite): Call lang_clear_os_map.
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Likewise.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 6 +++
bfd/elflink.c | 109 ++++++++++++++++++++++++++--------------------
ld/ChangeLog | 12 +++++
ld/emultempl/sh64elf.em | 3 +
ld/ldlang.c | 42 +++++++++++++++---
ld/ldlang.h | 2 +
ld/ldwrite.c | 1 +
7 files changed, 121 insertions(+), 54 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects, nickc at redhat dot com, 2014/08/12
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects, nickc at redhat dot com, 2014/08/12
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects, amodra at gmail dot com, 2014/08/13
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects, amodra at gmail dot com, 2014/08/13
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects, amodra at gmail dot com, 2014/08/13
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects, amodra at gmail dot com, 2014/08/14
- [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects, nickc at redhat dot com, 2014/08/15