Re: msp430-elf-g++ optimizing out main()
Grant Edwards <[email protected]> Wed, 24 Sep 2014 14:27:01 +0000 (UTC)
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.user |
|---|---|
| Message-ID | <[email protected]> |
On 2014-09-23, Wylder Keane <[email protected]> wrote: > Interesting that main() is not considered a root with gcc. The crt0.S start > code which references main is in the binary that is generated event with > the nodefaultlibs call. So you end up with an uresolved reference to main when using --gc-sections et al? -- Grant Edwards grant.b.edwards Yow! Your CHEEKS sit like at twin NECTARINES above gmail.com a MOUTH that knows no BOUNDS -- ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk