HomeFreeBSD

kern/CTF: link_elf_ctf_get() on big endian platforms

Description

kern/CTF: link_elf_ctf_get() on big endian platforms

Check the CTF magic number in big endian platforms. This lets DTrace FBT
handle types correctly on these platforms.

Submitted by: Brandon Bergren
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20413

Details

Provenance
jhibbitsAuthored on
Differential Revision
D20413: Fix link_elf_ctf_get() on big endian platforms
Parents
rS348298: powerpc/dtrace: Fix fbt function probing for ELFv2
Branches
Unknown
Tags
Unknown