Please review the attached patch. LLD doesn't have the option "-Ttext-segment" but "--image-base". So first try using "-Ttext-segment". If it fails, try the lld option "--image-base" before failing. Thanks, vigneshbalu