Page MenuHomeFreeBSD

brand_info on MIPS
ClosedPublic

Authored by br on Sep 15 2016, 3:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 12:59 AM
Unknown Object (File)
Nov 2 2024, 1:38 PM
Unknown Object (File)
Oct 29 2024, 9:16 AM
Unknown Object (File)
Oct 15 2024, 12:21 AM
Unknown Object (File)
Sep 23 2024, 7:20 AM
Unknown Object (File)
Sep 22 2024, 4:14 PM
Unknown Object (File)
Sep 17 2024, 10:25 AM
Unknown Object (File)
Sep 16 2024, 10:17 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.