libelftc: add elf{32,64}-tradlittlemips target emulation names

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2016-12-10 01:40:10 +00:00
parent 5eabf0ffea
commit 3ca2845d13
2 changed files with 18 additions and 0 deletions

View File

@ -83,6 +83,7 @@ Known descriptor names and their properties include:
.It Li elf32-shl-linux Ta ELF Ta LSB Ta 32
.It Li elf32-sparc Ta ELF Ta MSB Ta 32
.It Li elf32-tradbigmips Ta ELF Ta MSB Ta 32
.It Li elf32-tradlittlemips Ta ELF Ta LSB Ta 32
.It Li elf64-alpha Ta ELF Ta LSB Ta 64
.It Li elf64-alpha-freebsd Ta ELF Ta LSB Ta 64
.It Li elf64-big Ta ELF Ta MSB Ta 64
@ -103,6 +104,7 @@ Known descriptor names and their properties include:
.It Li elf64-sparc Ta ELF Ta MSB Ta 64
.It Li elf64-sparc-freebsd Ta ELF Ta MSB Ta 64
.It Li elf64-tradbigmips Ta ELF Ta MSB Ta 64
.It Li elf64-tradlittlemips Ta ELF Ta LSB Ta 64
.It Li elf64-x86-64 Ta ELF Ta LSB Ta 64
.It Li elf64-x86-64-freebsd Ta ELF Ta LSB Ta 64
.It Li ihex Ta IHEX Ta - Ta -

View File

@ -202,6 +202,14 @@ struct _Elftc_Bfd_Target _libelftc_targets[] = {
.bt_machine = EM_MIPS,
},
{
.bt_name = "elf32-tradlittlemips",
.bt_type = ETF_ELF,
.bt_byteorder = ELFDATA2LSB,
.bt_elfclass = ELFCLASS32,
.bt_machine = EM_MIPS,
},
{
.bt_name = "elf64-alpha",
.bt_type = ETF_ELF,
@ -366,6 +374,14 @@ struct _Elftc_Bfd_Target _libelftc_targets[] = {
.bt_machine = EM_MIPS,
},
{
.bt_name = "elf64-tradlittlemips",
.bt_type = ETF_ELF,
.bt_byteorder = ELFDATA2LSB,
.bt_elfclass = ELFCLASS64,
.bt_machine = EM_MIPS,
},
{
.bt_name = "elf64-x86-64",
.bt_type = ETF_ELF,