+2010-09-23 Alan Modra <amodra@gmail.com>
+
+ * elf.c (_bfd_elf_init_private_section_data): Allow for SEC_RELOC
+ difference between input and output section.
+
2010-09-22 Kai Tietz <kai.tietz@onevision.com>
* coffcode.h (sec_to_styp_flags): Adjust debug
and avoid marking them as excluded.
(styp_to_sec_flags): Doing reverse mapping.
- * peXXigen.c (_bfd_XXi_final_link_postscript):
- Add handling for setting IAT directory entry.
+ * peXXigen.c (_bfd_XXi_final_link_postscript): Add handling for
+ setting IAT directory entry.
2010-09-20 Richard Henderson <rth@redhat.com>
&& (osec->flags == isec->flags
|| (final_link
&& ((osec->flags ^ isec->flags)
- & ~ (SEC_LINK_ONCE | SEC_LINK_DUPLICATES)) == 0)))
+ & ~(SEC_LINK_ONCE | SEC_LINK_DUPLICATES | SEC_RELOC)) == 0)))
elf_section_type (osec) = elf_section_type (isec);
/* FIXME: Is this correct for all OS/PROC specific flags? */
+2010-09-23 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
+ to output section on a final link.
+
2010-09-22 Kai Tietz <kai.tietz@onevision.com>
* ldlang.c (lang_add_section): Allow for debugging
to see .text with SEC_LINK_ONCE set. */
if (!link_info.relocatable)
- flags &= ~ (SEC_LINK_ONCE | SEC_LINK_DUPLICATES);
+ flags &= ~(SEC_LINK_ONCE | SEC_LINK_DUPLICATES | SEC_RELOC);
switch (output->sectype)
{