diff options
author | Alan Modra <amodra@gmail.com> | 2010-09-23 11:40:06 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-09-23 11:40:06 +0000 |
commit | 0814be7d69f8c15cdb3f9c441f0367b52fb1320e (patch) | |
tree | 7958c2bc31e3c375bd3daa29f71686dd82402580 /bfd/elf.c | |
parent | b7cf0db702d127af30530aa751f8ccb09d1954d8 (diff) | |
download | binutils-0814be7d69f8c15cdb3f9c441f0367b52fb1320e.zip binutils-0814be7d69f8c15cdb3f9c441f0367b52fb1320e.tar.gz binutils-0814be7d69f8c15cdb3f9c441f0367b52fb1320e.tar.bz2 |
ld/
* ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
to output section on a final link.
bfd/
* elf.c (_bfd_elf_init_private_section_data): Allow for SEC_RELOC
difference between input and output section.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6110,7 +6110,7 @@ _bfd_elf_init_private_section_data (bfd *ibfd, && (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? */ |