Page MenuHomeFreeBSD

Fix linking OCTEON1 kernel with LLD
ClosedPublic

Authored by arichardson on Mar 16 2020, 10:30 PM.

Details

Reviewers
imp
Group Reviewers
MIPS
Commits
rS359230: Fix linking OCTEON1 kernel with LLD
Summary

LLD complains that the type of .dynamic was changed. Fix this by copying
the approach used in the mips64 ldscript.

Test Plan

Compiles and links, did not try booting.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arichardson created this revision.Mar 16 2020, 10:30 PM
emaste added a subscriber: emaste.Mar 21 2020, 12:04 AM

I think this is fine; IMO we should just commit and send a request for testing once it's in the tree.

imp accepted this revision.Mar 21 2020, 12:08 AM
This revision is now accepted and ready to land.Mar 21 2020, 12:08 AM
This revision was automatically updated to reflect the committed changes.