diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2011-09-01 14:10:37 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@st.com> | 2011-09-01 14:10:37 +0000 |
commit | 94c53eb9c0cbbd261c8a47216f5ffbbd82cf46a1 (patch) | |
tree | 70f5f8885fd0352732f1f73386658347718bb119 /bfd/elf32-arm.c | |
parent | 1f63e4dcac1258bdf4358dfbc055d88960ee9f22 (diff) | |
download | binutils-redhat-94c53eb9c0cbbd261c8a47216f5ffbbd82cf46a1.tar.gz |
2011-09-01 Christophe Lyon <christophe.lyon@st.com>sid-snapshot-20110901
bfd/
* elf32-arm.c (elf32_arm_output_arch_local_syms): Skip excluded
sections.
ld/testsuite/
* ld-arm/arm-elf.exp: Add new rodata-merge-map test.
* ld-arm/rodata-merge-map.ld: New file.
* ld-arm/rodata-merge-map.sym: Likewise.
* ld-arm/rodata-merge-map1.s Likewise.
* ld-arm/rodata-merge-map2.s: Likewise.
* ld-arm/rodata-merge-map3.s: Likewise.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 4d407a9b45..12bbc54a33 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -14506,7 +14506,8 @@ elf32_arm_output_arch_local_syms (bfd *output_bfd, == SEC_HAS_CONTENTS && get_arm_elf_section_data (osi.sec) != NULL && get_arm_elf_section_data (osi.sec)->mapcount == 0 - && osi.sec->size > 0) + && osi.sec->size > 0 + && (osi.sec->flags & SEC_EXCLUDE) == 0) { osi.sec_shndx = _bfd_elf_section_from_bfd_section (output_bfd, osi.sec->output_section); |