Skip to content

Commit

Permalink
stand: remove CLANG_NO_IAS from btx and gptboot
Browse files Browse the repository at this point in the history
Many components under stand/ had CLANG_NO_IAS added when Clang's
Integrated Assembler (IAS) did not handle .codeNN directives.  Clang
gained support quite some time ago, and we can now build stand/ with
IAS.

Note that in some cases there are small differences in the generated
output, so CLANG_NO_IAS should be removed only after testing (or after
finding no differences in the output).

PR:		205250, 233094
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 02c4bf4)
  • Loading branch information
emaste authored and DimitryAndric committed Sep 2, 2021
1 parent 2abf37d commit 76a6b4a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions stand/i386/btx/btx/Makefile
Expand Up @@ -29,6 +29,3 @@ ORG= 0x9000
LDFLAGS+=${LDFLAGS_BIN}

.include <bsd.prog.mk>

# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS.btx.S= ${CLANG_NO_IAS}
3 changes: 0 additions & 3 deletions stand/i386/btx/btxldr/Makefile
Expand Up @@ -17,6 +17,3 @@ ORG=${LOADER_ADDRESS}
LDFLAGS+=${LDFLAGS_BIN}

.include <bsd.prog.mk>

# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS.btxldr.S= ${CLANG_NO_IAS}
3 changes: 0 additions & 3 deletions stand/i386/gptboot/Makefile
Expand Up @@ -63,6 +63,3 @@ gptboot.out: ${BTXCRT} gptboot.o sio.o crc32.o drv.o cons.o ${OPENCRYPTO_XTS}
${LD} ${LD_FLAGS} --defsym ORG=${ORG2} -T ${LDSCRIPT} -o ${.TARGET} ${.ALLSRC} ${LIBSA32}

.include <bsd.prog.mk>

# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS.gptldr.S= ${CLANG_NO_IAS}

0 comments on commit 76a6b4a

Please sign in to comment.