Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330487

Summary: C++ ELF targets get linker warning for non-placed ".init_array" section
Product: [Technology] RTSC Reporter: Alan DeMars <ademars>
Component: TargetsAssignee: Sasha Slijepcevic <sascha>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: d-russo, karl
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.20.06

Description Alan DeMars CLA 2010-11-17 12:27:16 EST
Build Identifier: 3.20.05.73

It appears that C++ applications built with the ELF targets have a ".init_array" section that needs to be placed:

cppea8f bigtime.cpp ...
lnkea8f debug/bigtime.xea8f ...
warning: creating output section ".init_array" without a SECTIONS
   specification


Reproducible: Always

Steps to Reproduce:
1.build the "bigtime" example application for any ELF target
2.
3.
Comment 1 Sasha Slijepcevic CLA 2010-12-01 23:14:24 EST
- fixed in xdctargets-c35 and xdctargets-d10

.init_array is a non-splittable section with the same properties as .pinit.
Comment 2 Karl Wechsler CLA 2010-12-08 13:09:42 EST
verify pass by Karl.

I installed 3.20.06.80_eng and built and ran stairstep for both Arm and DSP on OMAPL138.  Used 7.2.0B2.  The .init_array error is resolved for 674x/ELF.  And Arm is working too.

RTA and ROV for stairstep are OK for Arm and 674x.
Comment 3 Dave Russo CLA 2011-06-20 14:37:39 EDT
Shipped in XDCtools 3.20.06