Page MenuHomeFreeBSD

Fix link_elf_ctf_get() on big endian platforms
ClosedPublic

Authored by bdragon on May 26 2019, 5:39 PM.
Referenced Files
Unknown Object (File)
Sun, Apr 7, 8:56 PM
Unknown Object (File)
Sun, Apr 7, 4:31 PM
Unknown Object (File)
Sat, Apr 6, 3:03 AM
Unknown Object (File)
Sat, Apr 6, 3:03 AM
Unknown Object (File)
Sat, Apr 6, 3:03 AM
Unknown Object (File)
Sat, Apr 6, 1:56 AM
Unknown Object (File)
Feb 23 2024, 9:51 PM
Unknown Object (File)
Feb 13 2024, 8:03 PM
Subscribers

Details

Summary

Looking through the function, as far as I can see, the only bit that needed fixing was the magic number check.

On an llvm elfv2 kernel (with the llvm patchset, etc), combined with the D20367 and D20346 changes, and this change, I seem to have functioning dtrace.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good. A trivial fix.

This revision is now accepted and ready to land.May 27 2019, 3:00 AM
This revision was automatically updated to reflect the committed changes.