Menu

#559 Better MIPS64 support

RELEASE_1_0
new
mips64 (1)
libelf
2019-06-29
2018-07-19
No

The MIPS64 ABI has various quirks that we need to support.

The format of 'Rel' and 'Rela' records is slightly different in this ABI. Instead of a 64 bit r_info field, this ABI uses an Elf64_Word r_sym followed by 4 byte values r_ssym, r_type3, r_type2, and r_type.

We need to adjust the way libelf translates these structures between their memory and file representation.

For users, we may want to consider offering a struct Elf64_Rel_mips and/or accessor macros for the r_info field, that makes programming more convenient.

We also need to add the symbols mentioned in the MIPS Elf64 ABI documentation, e.g. the definition at ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/elf64-2.1.ps.

Related

Tickets: #583
Tickets: #585

Discussion

  • Joseph Koshy

    Joseph Koshy - 2018-07-19

    Related ticket: #532.

     

Log in to post a comment.