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)
Feb 23 2024, 11:33 AM
Unknown Object (File)
Dec 20 2023, 1:56 AM
Unknown Object (File)
Dec 15 2023, 12:23 AM
Unknown Object (File)
Nov 3 2023, 7:19 PM
Unknown Object (File)
Nov 3 2023, 7:15 PM
Unknown Object (File)
Nov 3 2023, 7:15 PM
Unknown Object (File)
Nov 2 2023, 11:15 AM
Unknown Object (File)
Aug 5 2023, 3: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 Not Applicable
Unit
Tests Not Applicable