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)
Sep 28 2024, 11:59 AM
Unknown Object (File)
Sep 24 2024, 10:16 PM
Unknown Object (File)
Sep 24 2024, 8:47 AM
Unknown Object (File)
Sep 23 2024, 6:08 PM
Unknown Object (File)
Sep 20 2024, 8:48 PM
Unknown Object (File)
Sep 19 2024, 8:14 PM
Unknown Object (File)
Sep 19 2024, 5:05 PM
Unknown Object (File)
Sep 16 2024, 10:24 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.