AnsweredAssumed Answered

Duplicate Addresses in Elf generated from S32DS/PPC

Question asked by Ron Lewis on Jan 30, 2017
Latest reply on Feb 7, 2017 by stanish

There seems to be a error in the elf file generation in S32DS power-pc.  A dump of an elf generated for the S32DS has duplicate entries for the same address:

 

<1><3f1>: Abbrev Number: 9 (DW_TAG_subprogram)
<3f2> DW_AT_external : 1
<3f2> DW_AT_name : (indirect string, offset: 0x2f9): app_init
<3f6> DW_AT_decl_file : 1
<3f7> DW_AT_decl_line : 40
<3f8> DW_AT_prototyped : 1
<3f8> DW_AT_low_pc : 0x5300
<3fc> DW_AT_high_pc : 0x148
<400> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
<402> DW_AT_GNU_all_tail_call_sites: 1
<402> DW_AT_sibling : <0x469>

 

This exerpt is from an dump using the readelf utility:

 

readelf.exe --debug-dump=info MyApp.elf

Original Attachment has been moved to: 5644_Test.elf.zip

Outcomes