This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Make gas internals doc buildable.
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: binutils at sourceware dot org, Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Date: Tue, 31 Mar 2009 00:13:59 +0100
- Subject: Re: [PATCH] Make gas internals doc buildable.
- References: <49D13274.1090908@gmail.com> <200903301659.43165.vapier@gentoo.org>
Mike Frysinger wrote:
> On Monday 30 March 2009 16:58:28 Dave Korn wrote:
>> Since I'm not proposing to overhaul the GAS internals documentation, I'm
>> not proposing to re-enable it as a target in the makefiles. But for those
>> who want to at least be able to build it to an info or pdf file for their
>> personal reading convenience, this patch fixes a few trivial typos and
>> errors that would otherwise prevent it from being acceptable to texinfo.
>>
>> Tested (on i686-pc-cygwin) by running "make info pdf" in the gas/doc
>> subdir, then copy-and-pasting the command-lines with "as.texinfo" ->
>> "internals.texi" and likewise for the output files. Ok?
>
> forgot the patch ? :)
> -mike
:) Sure did! Attached.
cheers,
DaveK
Index: gas/doc/internals.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/internals.texi,v
retrieving revision 1.62
diff -p -u -r1.62 internals.texi
--- gas/doc/internals.texi 7 Oct 2008 14:21:59 -0000 1.62
+++ gas/doc/internals.texi 30 Mar 2009 20:43:53 -0000
@@ -1145,7 +1145,7 @@ simple macro.
This function is called to convert an ASCII string into a floating point value
in format used by the CPU. It takes three arguments. The first is @var{type}
which is a byte describing the type of floating point number to be created. It
-is one of the characters defined in the @xref{FLT_CHARS} macro. Possible
+is one of the characters defined in the @code{FLT_CHARS} macro. Possible
values are @var{'f'} or @var{'s'} for single precision, @var{'d'} or @var{'r'}
for double precision and @var{'x'} or @var{'p'} for extended precision. Either
lower or upper case versions of these letters can be used. Note: some targets
@@ -1309,12 +1309,12 @@ the subtrahend will be resolved and @cod
@w{@code{! SEG_NORMAL (@var{seg}) || TC_FORCE_RELOCATION (@var{fix})}} will
be used.
-@item TC_FORCE_RELOCATION_SUB_ABS (@var{fix}, @var{seg)
+@item TC_FORCE_RELOCATION_SUB_ABS (@var{fix}, @var{seg})
@cindex TC_FORCE_RELOCATION_SUB_ABS
Like @code{TC_FORCE_RELOCATION_SUB_SAME}, but used when the subtrahend is an
absolute symbol. If the macro is undefined a default of @code{0} is used.
-@item TC_FORCE_RELOCATION_SUB_LOCAL (@var{fix}, @var{seg)
+@item TC_FORCE_RELOCATION_SUB_LOCAL (@var{fix}, @var{seg})
@cindex TC_FORCE_RELOCATION_SUB_LOCAL
Like @code{TC_FORCE_RELOCATION_SUB_ABS}, but the subtrahend is a symbol in the
same section as the fixup.