]> granicus.if.org Git - llvm/commit
[llvm-objcopy] Add elf32-sparc and elf32-sparcel target
authorSeiya Nuta <nuta@seiya.me>
Mon, 17 Jun 2019 02:03:45 +0000 (02:03 +0000)
committerSeiya Nuta <nuta@seiya.me>
Mon, 17 Jun 2019 02:03:45 +0000 (02:03 +0000)
commitfef0e8cd354dba6d476ff4f199dacdd5df8ee239
tree79d924ebf3615b02826ce5034aee678f6e5965f8
parentb05cc79bff6a66ecc607607604b1b582d352ae45
[llvm-objcopy] Add elf32-sparc and elf32-sparcel target

Summary:
The "sparc"/"sparcel" architectures appears in ArchMap (used by -B option) but not in OutputFormatMap (used by -I/-O option). Add their targets into OutputFormatMap for consistency.

Note that AFAIK there're no targets for 32-bit little-endian SPARC ("elf32-sparcel") in GNU binutils.

Reviewers: espindola, alexshap, rupprecht, jhenderson, compnerd, jakehehrlich

Reviewed By: jhenderson, compnerd, jakehehrlich

Subscribers: jyknight, emaste, arichardson, fedor.sergeev, jakehehrlich, MaskRay, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63238

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363524 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/ELF/cross-arch-headers.test
tools/llvm-objcopy/CopyConfig.cpp