This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] gas: texi2pod warning fixes
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- To: binutils at sources dot redhat dot com
- Date: Mon, 22 Dec 2003 21:26:43 +0100 (CET)
- Subject: [patch] gas: texi2pod warning fixes
- Organization: Technical University of Gdansk
Hello,
I've noticed texi2pod complains about undefined symbols "GCC and "LD"
when builing in gas/doc. Investigating the reason, I discovered all
necessary symbols are defined in asconfig.texi (but the file is configured
not to be read by texi2pod) included from as.texinfo and then repeated
inline in as.texinfo, with entries for "GCC and "LD" missing. Is there
any reason to disable parsing asconfig.texi and duplicating definitions?
This is error prone. I propose parsing asconfig.texi and removing the
superfluous inline information.
The following patch works for me just fine.
2003-12-22 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* doc/as.texinfo: Let texi2pod parse asconfig.texi and
gasver.texi. Remove duplicate symbol definitions for texi2pod.
OK to apply?
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
binutils-2.14.90-20031211-gas-man.patch
diff -up --recursive --new-file binutils-2.14.90-20031211.macro/gas/doc/as.texinfo binutils-2.14.90-20031211/gas/doc/as.texinfo
--- binutils-2.14.90-20031211.macro/gas/doc/as.texinfo 2003-12-11 04:25:21.000000000 +0000
+++ binutils-2.14.90-20031211/gas/doc/as.texinfo 2003-12-22 00:32:02.000000000 +0000
@@ -19,49 +19,13 @@
@c defaults, config file may override:
@set have-stabs
@c ---
+@c man begin NAME
+@c ---
@include asconfig.texi
@include gasver.texi
@c ---
-@c man begin NAME
-@ifset man
-@c Configure for the generation of man pages
-@set AS as
-@set TARGET TARGET
-@set GENERIC
-@set A29K
-@set ALPHA
-@set ARC
-@set ARM
-@set CRIS
-@set D10V
-@set D30V
-@set H8/300
-@set H8/500
-@set HPPA
-@set I370
-@set I80386
-@set I860
-@set I960
-@set IA-64
-@set IP2K
-@set M32R
-@set M68HC11
-@set M680X0
-@set M880X0
-@set MCORE
-@set MIPS
-@set MMIX
-@set PDP11
-@set PJ
-@set PPC
-@set SH
-@set SPARC
-@set TIC54X
-@set V850
-@set VAX
-@set XTENSA
-@end ifset
@c man end
+@c ---
@c common OR combinations of conditions
@ifset COFF
@set COFF-ELF