Pass --no-entry instead of --relocatable to lld. Both stop a reference to the _start() entry point from being emitted but --relocatable also prevents public symbols from being exported when creating an executable.
Ben Noordhuis committed on 10/2/2018, 10:31:21 AMparentcd211bc
1 file changedLine totals unavailable