From: Daniel Jacobowitz Date: Thu, 4 Mar 2010 17:16:08 +0000 (+0000) Subject: * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7dd8c79635c8e576cf5138a9ea5b068732cf044;p=binutils-gdb.git * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program sections. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0d0316ec083..98e14e7a804 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-03-04 Daniel Jacobowitz + + * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program + sections. + 2010-03-04 Alan Modra PR 11302 diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index c2a9987b83b..cc9ce59f3b0 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -13172,6 +13172,8 @@ elf32_arm_output_arch_local_syms (bfd *output_bfd, osi.sec = osi.sec->next) { if (osi.sec->output_section != NULL + && ((osi.sec->output_section->flags & (SEC_ALLOC | SEC_CODE)) + != 0) && (osi.sec->flags & (SEC_HAS_CONTENTS | SEC_LINKER_CREATED)) == SEC_HAS_CONTENTS && get_arm_elf_section_data (osi.sec) != NULL