[llvm-dev] llvm lld linking relocatable object files (-r option)

George Rimar via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 25 08:20:42 PDT 2016


>Hi,
>
>On AArh64, combining relocatable object files into single object file is not yet supported in lld (-r option).
>Using -r linker option throws below error message.
>"-r option is not supported. Use 'ar' command instead."
>
>Implementation of -r option is deprioritized or is there any reason for not implementing it?
>
>Regards,
>Shridhar Joshi

Hi !
I think youre trying to use some old version of lld. Currently we have support of -r option for all targets.
Try to take newer (ideally the latest) revision.

George.


More information about the llvm-dev mailing list