Page MenuHomeFreeBSD

Define 'lr' as x30 on aarch64
ClosedPublic

Authored by kan on Apr 7 2017, 3:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 3 2024, 8:22 AM
Unknown Object (File)
Jan 5 2024, 12:10 PM
Unknown Object (File)
Dec 20 2023, 3:43 AM
Unknown Object (File)
Aug 1 2023, 12:07 AM
Unknown Object (File)
Jun 5 2023, 3:14 PM
Unknown Object (File)
May 14 2023, 1:52 AM
Unknown Object (File)
Mar 3 2023, 5:28 AM
Unknown Object (File)
Jan 29 2023, 2:31 PM
Subscribers

Details

Summary

GNU toolchain does not recognize LR as standard register alias,
but clang does. Use of #define will work on both. Place the
definition into central machine/asm.h instead of patching every
affected file, as requested by plaftorm maintainers.

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.Apr 7 2017, 3:38 PM

No objection from me. I am a bit puzzled by us having a mix of lr and x30 in our .S sources though.

This revision was automatically updated to reflect the committed changes.