svn commit: r320288 - head/sys/boot/i386/boot0

Roman Divacky rdivacky at freebsd.org
Fri Jun 23 20:56:26 UTC 2017


Nice! What about boot1.S from boot2?

On Fri, Jun 23, 2017 at 06:41:49PM +0000, Ed Maste wrote:
> Author: emaste
> Date: Fri Jun 23 18:41:49 2017
> New Revision: 320288
> URL: https://svnweb.freebsd.org/changeset/base/320288
> 
> Log:
>   Allow Clang's integrated assembler to assemble boot0
>   
>   dim@ compared clang IAS-built and GNU as-built boot0 and found them
>   equivalent.  IAS encoded one instruction using two bytes where GNU as
>   used three, and another instruction using three bytes where GNU as used
>   two.  The net result is equivalent and tested, so there is no need to
>   force IAS off for boot0.
> 
> Modified:
>   head/sys/boot/i386/boot0/Makefile
> 
> Modified: head/sys/boot/i386/boot0/Makefile
> ==============================================================================
> --- head/sys/boot/i386/boot0/Makefile	Fri Jun 23 18:38:27 2017	(r320287)
> +++ head/sys/boot/i386/boot0/Makefile	Fri Jun 23 18:41:49 2017	(r320288)
> @@ -78,6 +78,3 @@ CFLAGS+=-DFLAGS=${BOOT_BOOT0_FLAGS} \
>  LDFLAGS=${LDFLAGS_BIN}
>  
>  .include <bsd.prog.mk>
> -
> -# XXX: clang integrated-as doesn't grok .codeNN directives yet
> -CFLAGS.boot0.S=		${CLANG_NO_IAS}
> _______________________________________________
> svn-src-head at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"


More information about the svn-src-head mailing list