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)
Tue, Sep 29, 6:12 AM
Unknown Object (File)
Sat, Sep 12, 4:29 PM
Unknown Object (File)
Aug 16 2026, 10:50 AM
Unknown Object (File)
Aug 16 2026, 10:47 AM
Unknown Object (File)
Aug 13 2026, 7:47 AM
Unknown Object (File)
Aug 11 2026, 8:01 PM
Unknown Object (File)
Aug 8 2026, 8:47 AM
Unknown Object (File)
Jul 22 2026, 11:57 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