sifive / cinco

Port of Arduino environment for Freedom E 300 Dev Kit & HiFive Board
31 stars 21 forks source link

Use start.S and entry.S in freedom-e-sdk #10

Closed a0u closed 7 years ago

a0u commented 7 years ago

Note the minor changes to the linker command. Without -nostdlib, g++ removes -lc from the --start-group/--end-group sequence with core.a, which results in _init/_fini not being resolved since core.a is not searched again.