]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/i386: rename .s to .S to use Clang IAS
authoremaste <emaste@FreeBSD.org>
Mon, 3 Dec 2018 19:16:34 +0000 (19:16 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 3 Dec 2018 19:16:34 +0000 (19:16 +0000)
commit8525381779a7e6522d82d7dc70802a689b48aaea
tree56ae94f559a0cbae2a194f6c442b970efb168293
parent644a988acf6d124dcbc264daeaad384d3bc8ca4c
stand/i386: rename .s to .S to use Clang IAS

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
(via rules in share/mk/bsd.suffixes.mk) are assembled with Clang's
Integrated Assembler (IAS).  Rename files in stand/i386 to .S to use
the integrated assembler.

Clang's IAS supports the defsym option (via -Wa,) but only with one
dash, not two.  As both -defsym and --defsym are accepted by GNU as,
use the former.

PR: 233611
Reviewed by: tsoome
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18369
stand/i386/kgzldr/Makefile
stand/i386/kgzldr/crt.S [moved from stand/i386/kgzldr/crt.s with 100% similarity]
stand/i386/kgzldr/sio.S [moved from stand/i386/kgzldr/sio.s with 100% similarity]
stand/i386/kgzldr/start.S [moved from stand/i386/kgzldr/start.s with 100% similarity]
stand/i386/mbr/Makefile
stand/i386/mbr/mbr.S [moved from stand/i386/mbr/mbr.s with 100% similarity]
stand/i386/pmbr/Makefile
stand/i386/pmbr/pmbr.S [moved from stand/i386/pmbr/pmbr.s with 100% similarity]