diff options
author | emaste <emaste@FreeBSD.org> | 2016-09-15 17:24:11 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-09-15 17:24:11 +0000 |
commit | fa33625a69e572e10bc278b9c2f9415d60cb6d95 (patch) | |
tree | d15f67b221a28d46133754e90d94e36a93a466a9 /contrib/elftoolchain | |
parent | af01810d64c0c75c5ef8b40d9e9d4c68cc6f2c13 (diff) | |
download | FreeBSD-src-fa33625a69e572e10bc278b9c2f9415d60cb6d95.zip FreeBSD-src-fa33625a69e572e10bc278b9c2f9415d60cb6d95.tar.gz |
MFC r304160: elfcopy: add elf64-littleaarch64 output target support
Diffstat (limited to 'contrib/elftoolchain')
-rw-r--r-- | contrib/elftoolchain/libelftc/elftc_bfd_find_target.3 | 1 | ||||
-rw-r--r-- | contrib/elftoolchain/libelftc/libelftc_bfdtarget.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/contrib/elftoolchain/libelftc/elftc_bfd_find_target.3 b/contrib/elftoolchain/libelftc/elftc_bfd_find_target.3 index 20dea3c..c340c0c 100644 --- a/contrib/elftoolchain/libelftc/elftc_bfd_find_target.3 +++ b/contrib/elftoolchain/libelftc/elftc_bfd_find_target.3 @@ -89,6 +89,7 @@ Known descriptor names and their properties include: .It Li elf64-ia64-big Ta ELF Ta MSB Ta 64 .It Li elf64-ia64-little Ta ELF Ta LSB Ta 64 .It Li elf64-little Ta ELF Ta LSB Ta 64 +.It Li elf64-littleaarch64 Ta ELF Ta LSB Ta 64 .It Li elf64-littlemips Ta ELF Ta LSB Ta 64 .It Li elf64-powerpc Ta ELF Ta MSB Ta 64 .It Li elf64-powerpcle Ta ELF Ta LSB Ta 64 diff --git a/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c b/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c index 88f3220..d6a031e 100644 --- a/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c +++ b/contrib/elftoolchain/libelftc/libelftc_bfdtarget.c @@ -250,6 +250,14 @@ struct _Elftc_Bfd_Target _libelftc_targets[] = { }, { + .bt_name = "elf64-littleaarch64", + .bt_type = ETF_ELF, + .bt_byteorder = ELFDATA2LSB, + .bt_elfclass = ELFCLASS64, + .bt_machine = EM_AARCH64, + }, + + { .bt_name = "elf64-littlemips", .bt_type = ETF_ELF, .bt_byteorder = ELFDATA2LSB, |