mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program
sections.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-03-04 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program
|
||||||
|
sections.
|
||||||
|
|
||||||
2010-03-04 Alan Modra <amodra@gmail.com>
|
2010-03-04 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 11302
|
PR 11302
|
||||||
|
@ -13172,6 +13172,8 @@ elf32_arm_output_arch_local_syms (bfd *output_bfd,
|
|||||||
osi.sec = osi.sec->next)
|
osi.sec = osi.sec->next)
|
||||||
{
|
{
|
||||||
if (osi.sec->output_section != NULL
|
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))
|
&& (osi.sec->flags & (SEC_HAS_CONTENTS | SEC_LINKER_CREATED))
|
||||||
== SEC_HAS_CONTENTS
|
== SEC_HAS_CONTENTS
|
||||||
&& get_arm_elf_section_data (osi.sec) != NULL
|
&& get_arm_elf_section_data (osi.sec) != NULL
|
||||||
|
Reference in New Issue
Block a user