Page MenuHomeFreeBSD

linuxulator: rename .s files to .S/.asm to use Clang IAS

Authored by emaste on Nov 26 2018, 7:45 PM.



As part of the migration away from obsolete binutils we want to retire GNU as. Most assembly files used on amd64 have a .S extension and are assembled with Clang's integrated assembler. We also have a rule for .asm files, which pass -x assembler-with-cpp to the Clang driver.

The Linuxulator has bespoke rules for invoking the compiler driver to assemble .s files and was already using Clang's IAS, but rename the assembly files for consistency.

Diff Detail

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

Event Timeline

emaste created this revision.Nov 26 2018, 7:45 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 30 2019, 5:18 PM
This revision was automatically updated to reflect the committed changes.