Forums - Purpose of link-files

1 post / 0 new
Purpose of link-files
martip
Join Date: 17 Jan 17
Posts: 4
Posted: Thu, 2017-03-16 02:15

Hi,

I use hexagon-gcc from Hexagon SDK 2.0 to compile for a standalone application for the simulator provided.
When running hexagon-gcc with the -v flag the following object files gets linked in to the final executable:
-crt0_standalone.o
-crt0.o
-init.o
-fini.o

What is the purpose of each of the these files and is there any documentation explaining them?

Best Regards
Martin Persson

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.