Page MenuHomeFreeBSD

Correct longjmp in sys/powerpc/aim/trap_subr64.S
ClosedPublic

Authored by swills on Feb 1 2018, 6:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jun 8 2025, 5:17 PM
Unknown Object (File)
Jun 6 2025, 3:08 PM
Unknown Object (File)
Jun 3 2025, 11:21 AM
Unknown Object (File)
May 31 2025, 6:18 PM
Unknown Object (File)
May 29 2025, 11:34 AM
Unknown Object (File)
May 25 2025, 11:37 AM
Unknown Object (File)
May 6 2025, 12:45 PM
Unknown Object (File)
Apr 1 2025, 7:39 PM
Subscribers

Details

Summary

Failed to build head on powerpc64 using gcc 6.3.0 with error:

/usr/src/sys/powerpc/aim/trap_subr64.S:350:(.text+0x1f0): call to `longjmp' lacks nop, can't restore toc; (-mcmodel=small toc adjust stub)

Nathan suggested this change which seems to fix it for me.

Test Plan

Build and boot with change

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Feb 1 2018, 9:43 PM
This revision was automatically updated to reflect the committed changes.