diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2003-02-16 15:09:04 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2003-02-16 15:09:04 +0000 |
commit | 7263c0af94a1d5368e65a57449a0b5b35bf406a7 (patch) | |
tree | e8f9714b9736613b4dfa0e73941796c0cd7cd0b6 /gnu/usr.bin | |
parent | 2cc10da9440e42a701a3a0b1959e122d4e4496d5 (diff) |
Synch cxxfilt man page with reality and arrange for it to get built and
installed.
Noticed by jmc@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/binutils/Makefile.bsd-wrapper | 7 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/binutils/cxxfilt.man | 13 |
2 files changed, 12 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper index 981c1bd4a7f..b3a1735ae98 100644 --- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper +++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.49 2003/02/02 15:20:11 espie Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.50 2003/02/16 15:09:03 espie Exp $ NEW_BINUTILS=alpha mips powerpc hppa sparc64 sparc @@ -14,7 +14,7 @@ PREFIX=/usr MANDIR=${PREFIX}/share/man/cat .endif -MAN= binutils/objdump.1 +MAN= binutils/objdump.1 c++filt.1 .if (${MACHINE_ARCH} != "unknown") SUBDIRS+= gdb mmalloc @@ -96,6 +96,9 @@ prereq: config.status sed -e '/^#include "ansidecl.h"/r${.CURDIR}/include/ansidecl.h' -e '//d' \ bfd/bfd.h >bfd/mybfd.h +c++filt.1: binutils/cxxfilt.man + sed -e 's,@PROGRAM@,c++filt,' <${.CURDIR}/binutils/cxxfilt.man >$@ + includes: install -C -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ ${.CURDIR}/include/bfdlink.h ${DESTDIR}/usr/include diff --git a/gnu/usr.bin/binutils/binutils/cxxfilt.man b/gnu/usr.bin/binutils/binutils/cxxfilt.man index a4d5d45106b..9dd39f23916 100644 --- a/gnu/usr.bin/binutils/binutils/cxxfilt.man +++ b/gnu/usr.bin/binutils/binutils/cxxfilt.man @@ -16,7 +16,7 @@ .TP .B @PROGRAM@ .RB "[\|" \-_ | \-\-strip-underscores "\|]" -.RB "[\|" "\-s {gnu,lucid,arm} " | " \-\-format={gnu,lucid,arm}" "\|]" +.RB "[\|" "\-s {gnu,lucid,arm,hp,edg} " | " \-\-format={gnu,lucid,arm,hp,edg}" "\|]" .RB "[\|" \-\-help "\|]" .RB "[\|" \-\-version "\|]" .RB "[\|" symbol "...\|]" @@ -62,15 +62,16 @@ gets the low-level name This option removes the leading underscore. .TP -.B "\-s {gnu,lucid,arm}" +.B "\-s {gnu,lucid,arm,hp,edg}" .TP -.B \-\-format={gnu,lucid,arm} +.B \-\-format={gnu,lucid,arm,hp,edg} GNU .B nm -can decode three different methods of mangling, used by different C++ +can decode five different methods of mangling, used by different C++ compilers. This option selects which method it uses: the one used by -the GNU compiler, the one used by the Lucid compiler, or the one -specified by the C++ Annotated Reference Manual. The default is the +the GNU compiler, the one used by the Lucid compiler, the one +specified by the C++ Annotated Reference Manual, the one used by the HP +compiler and the one used by the EDG compiler. The default is the GNU style. .TP |