libelftc: Fix a typo - FreeBSD's riscv port is little-endian.
This change brings the descriptor for target "elf64-riscv-freebsd"
in line with its documentation.
I missed this somehow when reviewing https://reviews.freebsd.org/D20768.
Reported by: Haowu Ge (on elftoolchain-developers)
Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D48271
(cherry picked from commit aac74b708b)
This commit is contained in:
parent
0e4f9db00d
commit
2dd706b9c4
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ struct _Elftc_Bfd_Target _libelftc_targets[] = {
|
|||
{
|
||||
.bt_name = "elf64-riscv-freebsd",
|
||||
.bt_type = ETF_ELF,
|
||||
.bt_byteorder = ELFDATA2MSB,
|
||||
.bt_byteorder = ELFDATA2LSB,
|
||||
.bt_elfclass = ELFCLASS64,
|
||||
.bt_machine = EM_RISCV,
|
||||
.bt_osabi = ELFOSABI_FREEBSD,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue