Page MenuHomeFreeBSD

Bump MAXSSIZ and create a proper fix-up for MAXDSIZ/MAXSSIZ on powerpc64 running 32-bit binaries
ClosedPublic

Authored by andreast on Jan 3 2018, 8:02 PM.
Referenced Files
Unknown Object (File)
Mon, Jun 17, 10:46 PM
Unknown Object (File)
Tue, Jun 4, 5:26 AM
Unknown Object (File)
May 13 2024, 4:15 AM
Unknown Object (File)
May 3 2024, 3:41 PM
Unknown Object (File)
Apr 30 2024, 8:58 AM
Unknown Object (File)
Apr 30 2024, 8:56 AM
Unknown Object (File)
Apr 30 2024, 8:56 AM
Unknown Object (File)
Apr 30 2024, 5:46 AM
Subscribers

Details

Summary

The recent bump of MAXDSIZ made 32-bit binary execution on 64-bit powerpc fail. The data segement was too big.

Add a fix-up function like on ia32 for MAXDSIZ.

While here, bring also the MAXSSIZ closer to amd64 and add an equal fix-up function for MAXSSIZ.

Test Plan
  • gcc multilib bootstrap succeeded.
  • buildworld/kernel succeeded.
  • tested on 32-bit and 64-bit powerpc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 14094

Event Timeline

Looks good. Sorry for the breakage!

This revision is now accepted and ready to land.Jan 3 2018, 8:04 PM
This revision was automatically updated to reflect the committed changes.