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)
Tue, Apr 2, 11:39 PM
Unknown Object (File)
Feb 15 2024, 2:40 AM
Unknown Object (File)
Dec 19 2023, 6:55 PM
Unknown Object (File)
Dec 5 2023, 5:41 AM
Unknown Object (File)
Nov 6 2023, 11:13 AM
Unknown Object (File)
Nov 6 2023, 3:47 AM
Unknown Object (File)
Nov 3 2023, 5:30 AM
Unknown Object (File)
Oct 5 2023, 10:11 AM
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.