Page MenuHomeFreeBSD

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

Authored by emaste on Nov 26 2018, 7:45 PM.
Tags
None
Referenced Files
F132295624: D18344.id60298.diff
Wed, Oct 15, 3:18 PM
F132295621: D18344.id.diff
Wed, Oct 15, 3:17 PM
F132295611: D18344.id51132.diff
Wed, Oct 15, 3:17 PM
Unknown Object (File)
Wed, Oct 15, 4:24 AM
Unknown Object (File)
Wed, Oct 8, 3:43 AM
Unknown Object (File)
Fri, Sep 26, 10:17 PM
Unknown Object (File)
Thu, Sep 25, 12:09 AM
Unknown Object (File)
Sat, Sep 20, 5:10 PM
Subscribers

Details

Summary

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

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