Page MenuHomeFreeBSD

loader: Ignore the .interp section on RISC-V
ClosedPublic

Authored by jrtc27 on Dec 13 2020, 10:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 6, 3:39 PM
Unknown Object (File)
Apr 14 2026, 9:56 PM
Unknown Object (File)
Apr 10 2026, 11:04 AM
Unknown Object (File)
Apr 6 2026, 5:26 PM
Unknown Object (File)
Apr 4 2026, 11:10 PM
Unknown Object (File)
Apr 4 2026, 5:32 AM
Unknown Object (File)
Apr 4 2026, 3:18 AM
Unknown Object (File)
Mar 31 2026, 1:37 PM
Subscribers

Details

Summary

Without this we risk having the .interp section be placed earlier in the
file and mess with section offsets; in particular it has been seen to be
placed at the start of the file and cause the PE/COFF header to not be
at address 0. This is the same fix as was done for arm64 in r365578.

Diff Detail

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