! fix ldflag for custom ld command
* support ldfirst/as/asflag/link diagnose msg