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
F132700426: D27603.id.diff
Sun, Oct 19, 4:05 AM
F132700419: D27603.id80675.diff
Sun, Oct 19, 4:05 AM
F132700415: D27603.id80683.diff
Sun, Oct 19, 4:05 AM
F132639065: D27603.diff
Sat, Oct 18, 4:08 PM
Unknown Object (File)
Fri, Sep 26, 2:12 AM
Unknown Object (File)
Sep 13 2025, 4:11 AM
Unknown Object (File)
Sep 12 2025, 6:59 PM
Unknown Object (File)
Sep 10 2025, 8:33 AM
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