OSDN Git Service

[llvm-objcopy] Fix sparc target endianness
authorSeiya Nuta <nuta@seiya.me>
Thu, 13 Jun 2019 23:24:12 +0000 (23:24 +0000)
committerSeiya Nuta <nuta@seiya.me>
Thu, 13 Jun 2019 23:24:12 +0000 (23:24 +0000)
commitbfbea497c97de24e4a12cb86aa75b423dd82bc4f
tree1bb39314ad3e23c9a0806c8fc7e87e8eab1b2cb4
parent20f2420fc6039d25f78b6a535b71021608e4def9
[llvm-objcopy] Fix sparc target endianness

Summary: AFAIK, the "sparc" target is big endian and the target for 32-bit little-endian SPARC is denoted as "sparcel". This patch fixes the endianness of "sparc" target and adds "sparcel" target for 32-bit little-endian SPARC.

Reviewers: espindola, alexshap, rupprecht, jhenderson

Reviewed By: jhenderson

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

Tags: #llvm

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

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