aboutsummaryrefslogtreecommitdiff
path: root/binutils/binutils.texi
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>2000-07-27 01:39:45 +0000
committerGeoffrey Keating <geoffk@geoffk.org>2000-07-27 01:39:45 +0000
commit6e8008398d2a0f767f9cecc72f4d93e508d9faf8 (patch)
treecc2363c05c2f58254f0c2f24db14048a36f4e709 /binutils/binutils.texi
parent4d3dc5abff34004cdb9ca44de2a0e82501f9e76c (diff)
downloadgdb-6e8008398d2a0f767f9cecc72f4d93e508d9faf8.zip
gdb-6e8008398d2a0f767f9cecc72f4d93e508d9faf8.tar.gz
gdb-6e8008398d2a0f767f9cecc72f4d93e508d9faf8.tar.bz2
* nm.c (main): Ignore '-X32_64' as an option.
* ar.c (main): Likewise. * binutils.texi (nm): Document new option. (ar): Likewise.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r--binutils/binutils.texi18
1 files changed, 15 insertions, 3 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 2cc0c67..36508cd 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -234,7 +234,7 @@ program.
@section Controlling @code{ar} on the command line
@smallexample
-ar [-]@var{p}[@var{mod} [@var{relpos}] [@var{count}]] @var{archive} [@var{member}@dots{}]
+ar [-X32_64] [-]@var{p}[@var{mod} [@var{relpos}] [@var{count}]] @var{archive} [@var{member}@dots{}]
@end smallexample
@cindex Unix compatibility, @code{ar}
@@ -451,6 +451,12 @@ when the modifier @samp{v} is appended.
This modifier shows the version number of @code{ar}.
@end table
+@code{ar} ignores an initial option spelt @code{-X32_64}, for
+compatibility with AIX. The behaviour produced by this option is the
+default for GNU @code{ar}. @code{ar} does not support any of the other
+@code{-X} options; in particular, it does not support @code{-X32}
+which is the default for AIX @code{ar}.
+
@node ar scripts
@section Controlling @code{ar} with a script
@@ -636,8 +642,8 @@ nm [ -a | --debug-syms ] [ -g | --extern-only ]
[ -r | --reverse-sort ] [ --size-sort ] [ -u | --undefined-only ]
[ -t @var{radix} | --radix=@var{radix} ] [ -P | --portability ]
[ --target=@var{bfdname} ] [ -f @var{format} | --format=@var{format} ]
- [ --defined-only ] [-l | --line-numbers ]
- [ --no-demangle ] [ -V | --version ] [ --help ] [ @var{objfile}@dots{} ]
+ [ --defined-only ] [-l | --line-numbers ] [ --no-demangle ]
+ [ -V | --version ] [ -X 32_64 ] [ --help ] [ @var{objfile}@dots{} ]
@end smallexample
@sc{gnu} @code{nm} lists the symbols from object files @var{objfile}@dots{}.
@@ -855,6 +861,12 @@ Display only defined symbols for each object file.
@itemx --version
Show the version number of @code{nm} and exit.
+@item -X
+This option is ignored for compatibility with the AIX version of
+@code{nm}. It takes one parameter which must be the string
+@code{32_64}. The default mode of AIX @code{nm} corresponds
+to @code{-X 32}, which is not supported by @sc{gnu} @code{nm}.
+
@item --help
Show a summary of the options to @code{nm} and exit.
@end table