This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Update docs on filling text with nops.
- From: Nick Clifton <nickc at redhat dot com>
- To: Jim Wilson <jimw at sifive dot com>, binutils at sourceware dot org
- Date: Tue, 21 Nov 2017 11:11:18 +0000
- Subject: Re: [PATCH] Update docs on filling text with nops.
- Authentication-results: sourceware.org; auth=none
- References: <20171120205241.15934-1-jimw@sifive.com>
Hi Jim,
> More fallout from an alignment discussion on the github riscv toolchain mailing
> list. A user asked why riscv was different, because it was filling text with
> nops instead of zeros. I pointed out that this is required to make compilers
> work. I think we should change the docs to say "most" instead of "some"
> targets emits nops when filling the text section.
>
> Comments?
>
> gas/
> * doc/as.texinfo (.align): Change some to most for text nop fill.
> (.balign, .p2align): Likewise.
Makes sense to me - patch approved.
Cheers
Nick