[lld] r257023 - [ELF] Add AMDGPU support

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 13:47:15 PST 2016


On Wed, Jan 20, 2016 at 12:18 AM, Rafael EspĂ­ndola
<llvm-commits at lists.llvm.org> wrote:
> A thought that has been growing in my mind for some time: There has to
> be a limit to how odd a system we support on trunk. If someone
> proposes a backend that use PDP endian, 9 bit bytes and cray floats I
> think we should just reject it.
>
> The main thing that started me thinking was MIPS, were there seems to
> be an endless series of differences to compensate for some other
> difference. IMHO it and LLVM would be better served by having by
> having a clean V2 ABI on trunk and all of odd st_info, relocation
> packing, hi/lo mapping in a vendor branch.

I agree that MIPS is unusual architecture from the linker point of
view. But other linkers like gold and mclinker have not too
complicated design, fast and support MIPS together with other targets.
I do not have ready solution for LLD but maybe ability to create
target specific GOT sections, override iteration over relocations etc
allow to isolate unusual MIPS code and does not pollute common code.

Sure that does not mean that I like current MIPS ABI :)

-- 
Simon Atanasyan


More information about the llvm-commits mailing list