Page MenuHomeFreeBSD

brand_info on MIPS
ClosedPublic

Authored by br on Sep 15 2016, 3:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 3 2024, 7:33 AM
Unknown Object (File)
Mar 3 2024, 7:06 AM
Unknown Object (File)
Dec 22 2023, 10:32 PM
Unknown Object (File)
Dec 16 2023, 12:28 PM
Unknown Object (File)
Nov 10 2023, 2:26 PM
Unknown Object (File)
Nov 10 2023, 4:43 AM
Unknown Object (File)
Nov 7 2023, 10:59 AM
Unknown Object (File)
Oct 8 2023, 1:13 PM
Subscribers

Details

Summary

set a standard brand info so applications on MIPS will get correct p_osrel

(without this patch p_osrel is 0, which is wrong)

Diff Detail

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

Event Timeline

br retitled this revision from to brand_info on MIPS.
br updated this object.
br edited the test plan for this revision. (Show Details)
br added a reviewer: MIPS.
jhb added a reviewer: jhb.
jhb added a subscriber: jhb.

kib@ is probably the best one to look at this, but this does seem correct.

This revision is now accepted and ready to land.Sep 15 2016, 4:36 PM
andrew added a subscriber: andrew.

Should the BI_CAN_EXEC_DYN flag also be set? It seems to be on the other architectures.

Should the BI_CAN_EXEC_DYN flag also be set? It seems to be on the other architectures.

BI_CAN_EXEC_DYN actual meaning is the support for the PIE binaries. Does mips rtld handle them ? Generally all arches handle PIEs, but mips is the weirdest port with significant bugs in rtld part.

In D7899#163764, @kib wrote:

BI_CAN_EXEC_DYN actual meaning is the support for the PIE binaries. Does mips rtld handle them ? Generally all arches handle PIEs, but mips is the weirdest port with significant bugs in rtld part.

Brooks or Ed might know.

This revision was automatically updated to reflect the committed changes.