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, Nov 12, 3:43 AM
Unknown Object (File)
Sat, Nov 1, 7:28 AM
Unknown Object (File)
Wed, Oct 22, 12:46 AM
Unknown Object (File)
Tue, Oct 21, 7:07 AM
Unknown Object (File)
Oct 19 2025, 4:05 AM
Unknown Object (File)
Oct 19 2025, 4:05 AM
Unknown Object (File)
Oct 19 2025, 4:05 AM
Unknown Object (File)
Oct 18 2025, 4:08 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 Passed
Unit
No Test Coverage
Build Status
Buildable 35389
Build 32306: arc lint + arc unit