This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: gas .incbin pseudo-op
- To: Nick Clifton <nickc at cambridge dot redhat dot com>
- Subject: Re: PATCH: gas .incbin pseudo-op
- From: Anders Norlander <anorland at synergenix dot se>
- Date: 09 Jul 2001 19:40:38 +0200
- Cc: Binutils List <binutils at sources dot redhat dot com>
- References: <993829827.23471.10.camel@localhost> <m37kxiy0nd.fsf@north-pole.nickc.cambridge.redhat.com>
On 09 Jul 2001 09:20:06 +0100, Nick Clifton wrote:
> Hi Anders,
>
> > this patch adds a .incbin directive to gas to include files
> > verbatim at the current location, as found in many other assemblers.
>
> Thanks very much for submitting this patch. I have approved it and
> applied to the sources. I did tweak the code slightly to fix the
> formatting of the comments and to catch the case where both skip and
> count are specified, but together they are longer than the file that
> is being included.
Great,
please apply this as well.
gas/ChangeLog:
* doc/as.texinfo: Fix grammatical errors.
-Anders
Index: as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.42
diff -u -r1.42 as.texinfo
--- as.texinfo 2001/07/09 08:19:18 1.42
+++ as.texinfo 2001/07/09 17:30:24
@@ -4135,10 +4135,10 @@
option (@pxref{Invoking,,Command-Line Options}). Quotation marks are required
around @var{file}.
-The @var{skip} argument skips a number of bytes from the start of the
-@var{file}. The @var{count} argument indicates the maximum number of bytes to
-read. Note that the data from is not aligned in any way, make sure to proper
-alignment is provided before and after the @code{incbin} directive.
+The @var{skip} argument skips a number of bytes from the start of @var{file}.
+The @var{count} argument indicates the maximum number of bytes to read. Note
+that the data is not aligned in any way, make sure that proper alignment is
+provided before and after the @code{incbin} directive.
@node Include
@section @code{.include "@var{file}"}