aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-10-28 17:18:13 +1030
committerAlan Modra <amodra@gmail.com>2015-10-28 17:51:10 +1030
commit199af1503922ce2134d774a78be0d9e2ae055ab1 (patch)
treedd1fcec6689ca3acbd5ef488fc0f5db79581fb1e /ld/ChangeLog
parent26656b1dc6c00f2eea0d329cc2637aebf3da1458 (diff)
downloadgdb-199af1503922ce2134d774a78be0d9e2ae055ab1.zip
gdb-199af1503922ce2134d774a78be0d9e2ae055ab1.tar.gz
gdb-199af1503922ce2134d774a78be0d9e2ae055ab1.tar.bz2
Orphan output section with multiple input sections
If given input sections with differing flags, we'd like to place the section according to the final output section flags. bfd/ PR ld/19162 * elflink.c (_bfd_elf_gc_mark_reloc): Move code iterating over linker input bfds.. * section.c (bfd_get_next_section_by_name): ..to here. Add ibfd param. (bfd_get_linker_section): Adjust bfd_get_next_section_by_name call. * tekhex.c (first_phase): Likewise. * elflink.c (bfd_elf_gc_sections): Likewise. * bfd-in2.h: Regenerate. ld/ PR ld/19162 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check flags before calling _bfd_elf_match_sections_by_type. Merge flags for any other input sections that might match a new output section to decide placement.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 359fc19..5b9ac97 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+2015-10-28 Alan Modra <amodra@gmail.com>
+
+ PR ld/19162
+ * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check flags
+ before calling _bfd_elf_match_sections_by_type. Merge flags for
+ any other input sections that might match a new output section to
+ decide placement.
+
2015-10-27 Laurent Alfonsi <laurent.alfonsi@st.com>
Christophe Monat <christophe.monat@st.com>