HomeFreeBSD

elfdump: handle STT_SPARC_REGISTER

Description

elfdump: handle STT_SPARC_REGISTER

STT_SPARC_REGISTER is a SPARC-specific symbol type specified by the
Sparcv9 ABI to provide some information on register use by the object.

Also rework st_info type lookup to avoid out-of-bounds array access.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS294698: Update the Allwinner kernels:
Branches
Unknown
Tags
Unknown