mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
Remove auot generated man pages
This commit is contained in:
parent
1107dce2cd
commit
c45021f2d2
@ -1,3 +1,30 @@
|
||||
2001-06-19 Nick Clifton <nickc@cambridge.redhat.com>
|
||||
|
||||
* readelf.c: Restore formatting.
|
||||
|
||||
2001-06-18 H.J. Lu <hjl@gnu.org> & Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* Makefile.am: Move documentation into doc subdirectory.
|
||||
* Makefile.in: Regenerated.
|
||||
* binutils.texi: Move into doc subdirectory.
|
||||
* addr2line.1: Removed.
|
||||
* ar.1: Likewise.
|
||||
* dlltool.1: Likewise.
|
||||
* nlmconv.1: Likewise.
|
||||
* nm.1: Likewise.
|
||||
* objcopy.1: Likewise.
|
||||
* objdump.1: Likewise.
|
||||
* ranlib.1: Likewise.
|
||||
* readelf.1: Likewise.
|
||||
* size.1: Likewise.
|
||||
* strings.1: Likewise.
|
||||
* strip.1: Likewise.
|
||||
* windres.1: Likewise.
|
||||
* cxxfilt.man: Likewise.
|
||||
* doc: New Directory.
|
||||
* doc/Makefile.am: New file.
|
||||
* doc/Makefile.in: Generate.
|
||||
|
||||
2001-06-09 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
|
||||
|
@ -5,7 +5,7 @@ INTLLIBS = @INTLLIBS@
|
||||
|
||||
AUTOMAKE_OPTIONS = cygnus dejagnu
|
||||
|
||||
SUBDIRS = po
|
||||
SUBDIRS = doc po
|
||||
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
@ -52,29 +52,6 @@ DLLWRAP_PROG=dllwrap
|
||||
|
||||
SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
|
||||
|
||||
MANCONF = -Dman
|
||||
|
||||
TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
|
||||
|
||||
POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
|
||||
|
||||
# List of man pages generated from binutils.texi
|
||||
man_MANS = \
|
||||
addr2line.1 \
|
||||
ar.1 \
|
||||
dlltool.1 \
|
||||
nlmconv.1 \
|
||||
nm.1 \
|
||||
objcopy.1 \
|
||||
objdump.1 \
|
||||
ranlib.1 \
|
||||
readelf.1 \
|
||||
size.1 \
|
||||
strings.1 \
|
||||
strip.1 \
|
||||
windres.1 \
|
||||
$(DEMANGLER_NAME).1
|
||||
|
||||
PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
|
||||
|
||||
bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
|
||||
@ -171,8 +148,6 @@ check-DEJAGNU: site.exp
|
||||
installcheck:
|
||||
/bin/sh $(srcdir)/sanity.sh $(bindir)
|
||||
|
||||
info_TEXINFOS = binutils.texi
|
||||
|
||||
LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
|
||||
|
||||
size_SOURCES = size.c $(BULIBS)
|
||||
@ -297,10 +272,10 @@ dllwrap_SOURCES = dllwrap.c version.c
|
||||
dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
|
||||
|
||||
|
||||
DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
|
||||
EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
|
||||
syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
|
||||
|
||||
diststuff: $(DISTSTUFF) info
|
||||
diststuff: $(EXTRA_DIST) info
|
||||
|
||||
DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
|
||||
site.exp site.bak
|
||||
@ -350,122 +325,8 @@ dep-am: DEP
|
||||
.PHONY: dep dep-in dep-am
|
||||
|
||||
###
|
||||
# DOCUMENTATION TARGETS
|
||||
config.texi: Makefile
|
||||
rm -f config.texi
|
||||
echo '@set VERSION $(VERSION)' > config.texi
|
||||
|
||||
binutils.dvi: $(srcdir)/binutils.texi config.texi
|
||||
|
||||
binutils.info: $(srcdir)/binutils.texi config.texi
|
||||
|
||||
# Man page generation from texinfo
|
||||
$(srcdir)/addr2line.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/ar.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/dlltool.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/nlmconv.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/nm.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/objcopy.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/objdump.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/ranlib.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/readelf.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/size.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/strings.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/strip.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/windres.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/cxxfilt.man: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
MAINTAINERCLEANFILES = config.texi
|
||||
|
||||
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
|
||||
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
|
||||
> $(DEMANGLER_NAME).1
|
||||
|
||||
MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
|
||||
abcdefgh*
|
||||
MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh*
|
||||
mostlyclean-local:
|
||||
-rm -rf tmpdir
|
||||
|
||||
|
@ -117,7 +117,7 @@ INTLLIBS = @INTLLIBS@
|
||||
|
||||
AUTOMAKE_OPTIONS = cygnus dejagnu
|
||||
|
||||
SUBDIRS = po
|
||||
SUBDIRS = doc po
|
||||
|
||||
tooldir = $(exec_prefix)/$(target_alias)
|
||||
|
||||
@ -161,16 +161,6 @@ DLLWRAP_PROG = dllwrap
|
||||
|
||||
SRCONV_PROG = srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
|
||||
|
||||
MANCONF = -Dman
|
||||
|
||||
TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
|
||||
|
||||
POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
|
||||
|
||||
# List of man pages generated from binutils.texi
|
||||
man_MANS = addr2line.1 ar.1 dlltool.1 nlmconv.1 nm.1 objcopy.1 objdump.1 ranlib.1 readelf.1 size.1 strings.1 strip.1 windres.1 $(DEMANGLER_NAME).1
|
||||
|
||||
|
||||
PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
|
||||
|
||||
bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
|
||||
@ -190,15 +180,24 @@ MKDEP = gcc -MM
|
||||
|
||||
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
|
||||
|
||||
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h windres.h winduni.h
|
||||
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
|
||||
windres.h winduni.h
|
||||
|
||||
|
||||
GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
|
||||
|
||||
CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c stabs.c strings.c sysdump.c version.c wrstabs.c windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c resres.c dllwrap.c rename.c
|
||||
CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
|
||||
dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
|
||||
maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
|
||||
objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
|
||||
stabs.c strings.c sysdump.c version.c wrstabs.c \
|
||||
windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \
|
||||
resres.c dllwrap.c rename.c
|
||||
|
||||
|
||||
GENERATED_CFILES = underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c defparse.c deflex.c nlmheader.c rcparse.c rclex.c
|
||||
GENERATED_CFILES = \
|
||||
underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
|
||||
defparse.c deflex.c nlmheader.c rcparse.c rclex.c
|
||||
|
||||
|
||||
DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
|
||||
@ -215,16 +214,31 @@ LIBIBERTY = ../libiberty/libiberty.a
|
||||
|
||||
POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
|
||||
|
||||
EXPECT = `if [ -f $$r/../expect/expect ] ; then echo $$r/../expect/expect ; else echo expect ; fi`
|
||||
EXPECT = `if [ -f $$r/../expect/expect ] ; then \
|
||||
echo $$r/../expect/expect ; \
|
||||
else echo expect ; fi`
|
||||
|
||||
RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest ; fi`
|
||||
RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
|
||||
echo ${srcdir}/../dejagnu/runtest ; \
|
||||
else echo runtest ; fi`
|
||||
|
||||
|
||||
CC_FOR_TARGET = ` if [ -f $$r/../gcc/xgcc ] ; then if [ -f $$r/../newlib/Makefile ] ; then echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; else echo $$r/../gcc/xgcc -B$$r/../gcc/; fi; else if [ "@host@" = "@target@" ] ; then echo $(CC); else echo gcc | sed '$(transform)'; fi; fi`
|
||||
CC_FOR_TARGET = ` \
|
||||
if [ -f $$r/../gcc/xgcc ] ; then \
|
||||
if [ -f $$r/../newlib/Makefile ] ; then \
|
||||
echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
|
||||
else \
|
||||
echo $$r/../gcc/xgcc -B$$r/../gcc/; \
|
||||
fi; \
|
||||
else \
|
||||
if [ "@host@" = "@target@" ] ; then \
|
||||
echo $(CC); \
|
||||
else \
|
||||
echo gcc | sed '$(transform)'; \
|
||||
fi; \
|
||||
fi`
|
||||
|
||||
|
||||
info_TEXINFOS = binutils.texi
|
||||
|
||||
LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
|
||||
|
||||
size_SOURCES = size.c $(BULIBS)
|
||||
@ -265,23 +279,25 @@ sysdump_SOURCES = sysdump.c $(BULIBS)
|
||||
|
||||
nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
|
||||
|
||||
windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l winduni.c resres.c $(BULIBS)
|
||||
windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
|
||||
winduni.c resres.c $(BULIBS)
|
||||
|
||||
windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
|
||||
|
||||
dllwrap_SOURCES = dllwrap.c version.c
|
||||
dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
|
||||
|
||||
DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
|
||||
EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
|
||||
syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
|
||||
|
||||
|
||||
DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h site.exp site.bak
|
||||
DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
|
||||
site.exp site.bak
|
||||
|
||||
|
||||
MAINTAINERCLEANFILES = config.texi
|
||||
|
||||
MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum abcdefgh*
|
||||
###
|
||||
|
||||
MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh*
|
||||
|
||||
CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
@ -398,15 +414,6 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CF
|
||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
|
||||
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
|
||||
INFO_DEPS = binutils.info
|
||||
DVIS = binutils.dvi
|
||||
TEXINFOS = binutils.texi
|
||||
man1dir = $(mandir)/man1
|
||||
MANS = $(man_MANS)
|
||||
|
||||
NROFF = nroff
|
||||
DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
|
||||
NEWS acinclude.m4 aclocal.m4 arlex.c arparse.c config.in configure \
|
||||
configure.in deflex.c defparse.c nlmheader.c rclex.c rcparse.c
|
||||
@ -421,7 +428,7 @@ OBJECTS = $(nlmconv_OBJECTS) $(srconv_OBJECTS) $(sysdump_OBJECTS) $(coffdump_OBJ
|
||||
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .S .c .dvi .info .l .lo .o .obj .ps .s .texi .texinfo .txi .y
|
||||
.SUFFIXES: .S .c .l .lo .o .obj .s .y
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
||||
|
||||
@ -624,158 +631,6 @@ nlmheader.h: nlmheader.c
|
||||
rcparse.h: rcparse.c
|
||||
|
||||
|
||||
binutils.info: binutils.texi
|
||||
binutils.dvi: binutils.texi
|
||||
|
||||
|
||||
DVIPS = dvips
|
||||
|
||||
.texi.info:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.texi:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texinfo.info:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texinfo:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texinfo.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi.info:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.txi.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
.dvi.ps:
|
||||
$(DVIPS) $< -o $@
|
||||
|
||||
install-info-am: $(INFO_DEPS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
if test -f $$d/$$ifile; then \
|
||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
||||
else : ; fi; \
|
||||
done; \
|
||||
done
|
||||
@$(POST_INSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
||||
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
||||
done; \
|
||||
else : ; fi
|
||||
|
||||
uninstall-info:
|
||||
$(PRE_UNINSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
ii=yes; \
|
||||
else ii=; fi; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
test -z "$ii" \
|
||||
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
||||
done
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
||||
done
|
||||
|
||||
dist-info: $(INFO_DEPS)
|
||||
list='$(INFO_DEPS)'; \
|
||||
for base in $$list; do \
|
||||
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
||||
for file in `cd $$d && eval echo $$base*`; do \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||
done; \
|
||||
done
|
||||
|
||||
mostlyclean-aminfo:
|
||||
-rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
|
||||
binutils.fns binutils.ky binutils.kys binutils.ps \
|
||||
binutils.log binutils.pg binutils.toc binutils.tp \
|
||||
binutils.tps binutils.vr binutils.vrs binutils.op binutils.tr \
|
||||
binutils.cv binutils.cn
|
||||
|
||||
clean-aminfo:
|
||||
|
||||
distclean-aminfo:
|
||||
|
||||
maintainer-clean-aminfo:
|
||||
for i in $(INFO_DEPS); do \
|
||||
rm -f $$i; \
|
||||
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
||||
rm -f $$i-[0-9]*; \
|
||||
fi; \
|
||||
done
|
||||
clean-info: mostlyclean-aminfo
|
||||
|
||||
install-man1:
|
||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
|
||||
uninstall-man1:
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
install-man: $(MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
||||
uninstall-man:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
@ -923,7 +778,6 @@ distdir: $(DISTFILES)
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
||||
|
||||
RUNTESTFLAGS =
|
||||
|
||||
@ -949,9 +803,9 @@ site.exp: Makefile
|
||||
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
|
||||
@test ! -f site.exp || mv site.exp site.bak
|
||||
@mv $@-t site.exp
|
||||
info-am: $(INFO_DEPS)
|
||||
info-am:
|
||||
info: info-recursive
|
||||
dvi-am: $(DVIS)
|
||||
dvi-am:
|
||||
dvi: dvi-recursive
|
||||
check-am:
|
||||
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
|
||||
@ -966,21 +820,21 @@ all-recursive-am: config.h
|
||||
install-exec-am: install-binPROGRAMS install-exec-local
|
||||
install-exec: install-exec-recursive
|
||||
|
||||
install-data-am: install-man
|
||||
install-data-am:
|
||||
install-data: install-data-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-recursive
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-man
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
uninstall: uninstall-recursive
|
||||
all-am: Makefile $(PROGRAMS) $(MANS) config.h
|
||||
all-am: Makefile $(PROGRAMS) config.h
|
||||
all-redirect: all-recursive-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
@ -995,24 +849,24 @@ distclean-generic:
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
-test -z "arlexldeflexlrclexlarparseharparsecdefparsehdefparsecnlmheaderhnlmheadercrcparsehrcparsec$(MAINTAINERCLEANFILES)" || rm -f arlexl deflexl rclexl arparseh arparsec defparseh defparsec nlmheaderh nlmheaderc rcparseh rcparsec $(MAINTAINERCLEANFILES)
|
||||
-test -z "arlexldeflexlrclexlarparseharparsecdefparsehdefparsecnlmheaderhnlmheadercrcparsehrcparsec" || rm -f arlexl deflexl rclexl arparseh arparsec defparseh defparsec nlmheaderh nlmheaderc rcparseh rcparsec
|
||||
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
||||
mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||
mostlyclean-libtool mostlyclean-aminfo mostlyclean-tags \
|
||||
mostlyclean-libtool mostlyclean-tags \
|
||||
mostlyclean-generic mostlyclean-local
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \
|
||||
clean-compile clean-libtool clean-aminfo clean-tags \
|
||||
clean-generic mostlyclean-am
|
||||
clean-compile clean-libtool clean-tags clean-generic \
|
||||
mostlyclean-am
|
||||
|
||||
clean: clean-recursive
|
||||
|
||||
distclean-am: distclean-hdr distclean-binPROGRAMS \
|
||||
distclean-noinstPROGRAMS distclean-compile \
|
||||
distclean-libtool distclean-aminfo distclean-tags \
|
||||
distclean-generic clean-am
|
||||
distclean-libtool distclean-tags distclean-generic \
|
||||
clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-recursive
|
||||
@ -1021,8 +875,8 @@ distclean: distclean-recursive
|
||||
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
||||
maintainer-clean-noinstPROGRAMS \
|
||||
maintainer-clean-compile maintainer-clean-libtool \
|
||||
maintainer-clean-aminfo maintainer-clean-tags \
|
||||
maintainer-clean-generic distclean-am
|
||||
maintainer-clean-tags maintainer-clean-generic \
|
||||
distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
@ -1036,14 +890,11 @@ mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||
mostlyclean-compile distclean-compile clean-compile \
|
||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
||||
clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
|
||||
mostlyclean-aminfo distclean-aminfo clean-aminfo \
|
||||
maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
|
||||
uninstall-man install-data-recursive uninstall-data-recursive \
|
||||
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
|
||||
uninstalldirs-recursive all-recursive check-recursive \
|
||||
installcheck-recursive info-recursive dvi-recursive \
|
||||
mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
clean-libtool maintainer-clean-libtool install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
|
||||
info-am info dvi-am dvi check check-am installcheck-am installcheck \
|
||||
@ -1152,7 +1003,7 @@ nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
|
||||
ldname=`echo ld | sed '$(transform)'`; \
|
||||
$(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
|
||||
|
||||
diststuff: $(DISTSTUFF) info
|
||||
diststuff: $(EXTRA_DIST) info
|
||||
|
||||
# Targets to rebuild dependencies in this Makefile.
|
||||
# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
|
||||
@ -1197,119 +1048,6 @@ dep-am: DEP
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
|
||||
|
||||
.PHONY: dep dep-in dep-am
|
||||
|
||||
###
|
||||
# DOCUMENTATION TARGETS
|
||||
config.texi: Makefile
|
||||
rm -f config.texi
|
||||
echo '@set VERSION $(VERSION)' > config.texi
|
||||
|
||||
binutils.dvi: $(srcdir)/binutils.texi config.texi
|
||||
|
||||
binutils.info: $(srcdir)/binutils.texi config.texi
|
||||
|
||||
# Man page generation from texinfo
|
||||
$(srcdir)/addr2line.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/ar.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/dlltool.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/nlmconv.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/nm.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/objcopy.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/objdump.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/ranlib.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/readelf.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/size.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/strings.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/strip.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/windres.1: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(srcdir)/cxxfilt.man: $(srcdir)/binutils.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
|
||||
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
|
||||
> $(DEMANGLER_NAME).1
|
||||
mostlyclean-local:
|
||||
-rm -rf tmpdir
|
||||
|
||||
|
@ -1,229 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:26 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "ADDR2LINE.1 1"
|
||||
.TH ADDR2LINE.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
addr2line \- convert addresses into file names and line numbers.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
addr2line [ \-b \fIbfdname\fR | \-\-target=\fIbfdname\fR ]
|
||||
[ \-C | \-\-demangle[=\fIstyle\fR ]
|
||||
[ \-e \fIfilename\fR | \-\-exe=\fIfilename\fR ]
|
||||
[ \-f | \-\-functions ] [ \-s | \-\-basename ]
|
||||
[ \-H | \-\-help ] [ \-V | \-\-version ]
|
||||
[ addr addr ... ]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`addr2line\*(C'\fR translates program addresses into file names and line
|
||||
numbers. Given an address and an executable, it uses the debugging
|
||||
information in the executable to figure out which file name and line
|
||||
number are associated with a given address.
|
||||
.PP
|
||||
The executable to use is specified with the \f(CW\*(C`\-e\*(C'\fR option. The
|
||||
default is the file \fIa.out\fR.
|
||||
.PP
|
||||
\&\f(CW\*(C`addr2line\*(C'\fR has two modes of operation.
|
||||
.PP
|
||||
In the first, hexadecimal addresses are specified on the command line,
|
||||
and \f(CW\*(C`addr2line\*(C'\fR displays the file name and line number for each
|
||||
address.
|
||||
.PP
|
||||
In the second, \f(CW\*(C`addr2line\*(C'\fR reads hexadecimal addresses from
|
||||
standard input, and prints the file name and line number for each
|
||||
address on standard output. In this mode, \f(CW\*(C`addr2line\*(C'\fR may be used
|
||||
in a pipe to convert dynamically chosen addresses.
|
||||
.PP
|
||||
The format of the output is \fB\s-1FILENAME:LINENO\s0\fR. The file name and
|
||||
line number for each address is printed on a separate line. If the
|
||||
\&\f(CW\*(C`\-f\*(C'\fR option is used, then each \fB\s-1FILENAME:LINENO\s0\fR line is
|
||||
preceded by a \fB\s-1FUNCTIONNAME\s0\fR line which is the name of the function
|
||||
containing the address.
|
||||
.PP
|
||||
If the file name or function name can not be determined,
|
||||
\&\f(CW\*(C`addr2line\*(C'\fR will print two question marks in their place. If the
|
||||
line number can not be determined, \f(CW\*(C`addr2line\*(C'\fR will print 0.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
The long and short forms of options, shown here as alternatives, are
|
||||
equivalent.
|
||||
.Ip "\f(CW\*(C`\-b \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-b bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target=bfdname"
|
||||
Specify that the object-code format for the object files is
|
||||
\&\fIbfdname\fR.
|
||||
.Ip "\f(CW\*(C`\-C\*(C'\fR" 4
|
||||
.IX Item "-C"
|
||||
.Ip "\f(CW\*(C`\-\-demangle[=\f(CIstyle\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--demangle[=style]"
|
||||
Decode (\fIdemangle\fR) low-level symbol names into user-level names.
|
||||
Besides removing any initial underscore prepended by the system, this
|
||||
makes \*(C+ function names readable. Different compilers have different
|
||||
mangling styles. The optional demangling style argument can be used to
|
||||
choose an appropriate demangling style for your compiler.
|
||||
.Ip "\f(CW\*(C`\-e \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-e filename"
|
||||
.Ip "\f(CW\*(C`\-\-exe=\f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--exe=filename"
|
||||
Specify the name of the executable for which addresses should be
|
||||
translated. The default file is \fIa.out\fR.
|
||||
.Ip "\f(CW\*(C`\-f\*(C'\fR" 4
|
||||
.IX Item "-f"
|
||||
.Ip "\f(CW\*(C`\-\-functions\*(C'\fR" 4
|
||||
.IX Item "--functions"
|
||||
Display function names as well as file and line number information.
|
||||
.Ip "\f(CW\*(C`\-s\*(C'\fR" 4
|
||||
.IX Item "-s"
|
||||
.Ip "\f(CW\*(C`\-\-basenames\*(C'\fR" 4
|
||||
.IX Item "--basenames"
|
||||
Display only the base of each file name.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
386
binutils/ar.1
386
binutils/ar.1
@ -1,386 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:26 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "AR.1 1"
|
||||
.TH AR.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
ar \- create, modify, and extract from archives
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
ar [\-X32_64] [\-]\fIp\fR[\fImod\fR [\fIrelpos\fR] [\fIcount\fR]] \fIarchive\fR [\fImember\fR...]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
The \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR program creates, modifies, and extracts from
|
||||
archives. An \fIarchive\fR is a single file holding a collection of
|
||||
other files in a structure that makes it possible to retrieve
|
||||
the original individual files (called \fImembers\fR of the archive).
|
||||
.PP
|
||||
The original files' contents, mode (permissions), timestamp, owner, and
|
||||
group are preserved in the archive, and can be restored on
|
||||
extraction.
|
||||
.PP
|
||||
\&\s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR can maintain archives whose members have names of any
|
||||
length; however, depending on how \f(CW\*(C`ar\*(C'\fR is configured on your
|
||||
system, a limit on member-name length may be imposed for compatibility
|
||||
with archive formats maintained with other tools. If it exists, the
|
||||
limit is often 15 characters (typical of formats related to a.out) or 16
|
||||
characters (typical of formats related to coff).
|
||||
.PP
|
||||
\&\f(CW\*(C`ar\*(C'\fR is considered a binary utility because archives of this sort
|
||||
are most often used as \fIlibraries\fR holding commonly needed
|
||||
subroutines.
|
||||
.PP
|
||||
\&\f(CW\*(C`ar\*(C'\fR creates an index to the symbols defined in relocatable
|
||||
object modules in the archive when you specify the modifier \fBs\fR.
|
||||
Once created, this index is updated in the archive whenever \f(CW\*(C`ar\*(C'\fR
|
||||
makes a change to its contents (save for the \fBq\fR update operation).
|
||||
An archive with such an index speeds up linking to the library, and
|
||||
allows routines in the library to call each other without regard to
|
||||
their placement in the archive.
|
||||
.PP
|
||||
You may use \fBnm \-s\fR or \fBnm \-\-print-armap\fR to list this index
|
||||
table. If an archive lacks the table, another form of \f(CW\*(C`ar\*(C'\fR called
|
||||
\&\f(CW\*(C`ranlib\*(C'\fR can be used to add just the table.
|
||||
.PP
|
||||
\&\s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR is designed to be compatible with two different
|
||||
facilities. You can control its activity using command-line options,
|
||||
like the different varieties of \f(CW\*(C`ar\*(C'\fR on Unix systems; or, if you
|
||||
specify the single command-line option \fB\-M\fR, you can control it
|
||||
with a script supplied via standard input, like the \s-1MRI\s0 ``librarian''
|
||||
program.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
\&\s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR allows you to mix the operation code \fIp\fR and modifier
|
||||
flags \fImod\fR in any order, within the first command-line argument.
|
||||
.PP
|
||||
If you wish, you may begin the first command-line argument with a
|
||||
dash.
|
||||
.PP
|
||||
The \fIp\fR keyletter specifies what operation to execute; it may be
|
||||
any of the following, but you must specify only one of them:
|
||||
.Ip "\f(CW\*(C`d\*(C'\fR" 4
|
||||
.IX Item "d"
|
||||
\&\fIDelete\fR modules from the archive. Specify the names of modules to
|
||||
be deleted as \fImember\fR...; the archive is untouched if you
|
||||
specify no files to delete.
|
||||
.Sp
|
||||
If you specify the \fBv\fR modifier, \f(CW\*(C`ar\*(C'\fR lists each module
|
||||
as it is deleted.
|
||||
.Ip "\f(CW\*(C`m\*(C'\fR" 4
|
||||
.IX Item "m"
|
||||
Use this operation to \fImove\fR members in an archive.
|
||||
.Sp
|
||||
The ordering of members in an archive can make a difference in how
|
||||
programs are linked using the library, if a symbol is defined in more
|
||||
than one member.
|
||||
.Sp
|
||||
If no modifiers are used with \f(CW\*(C`m\*(C'\fR, any members you name in the
|
||||
\&\fImember\fR arguments are moved to the \fIend\fR of the archive;
|
||||
you can use the \fBa\fR, \fBb\fR, or \fBi\fR modifiers to move them to a
|
||||
specified place instead.
|
||||
.Ip "\f(CW\*(C`p\*(C'\fR" 4
|
||||
.IX Item "p"
|
||||
\&\fIPrint\fR the specified members of the archive, to the standard
|
||||
output file. If the \fBv\fR modifier is specified, show the member
|
||||
name before copying its contents to standard output.
|
||||
.Sp
|
||||
If you specify no \fImember\fR arguments, all the files in the archive are
|
||||
printed.
|
||||
.Ip "\f(CW\*(C`q\*(C'\fR" 4
|
||||
.IX Item "q"
|
||||
\&\fIQuick append\fR; Historically, add the files \fImember\fR... to the end of
|
||||
\&\fIarchive\fR, without checking for replacement.
|
||||
.Sp
|
||||
The modifiers \fBa\fR, \fBb\fR, and \fBi\fR do \fInot\fR affect this
|
||||
operation; new members are always placed at the end of the archive.
|
||||
.Sp
|
||||
The modifier \fBv\fR makes \f(CW\*(C`ar\*(C'\fR list each file as it is appended.
|
||||
.Sp
|
||||
Since the point of this operation is speed, the archive's symbol table
|
||||
index is not updated, even if it already existed; you can use \fBar s\fR or
|
||||
\&\f(CW\*(C`ranlib\*(C'\fR explicitly to update the symbol table index.
|
||||
.Sp
|
||||
However, too many different systems assume quick append rebuilds the
|
||||
index, so \s-1GNU\s0 ar implements \f(CW\*(C`q\*(C'\fR as a synonym for \f(CW\*(C`r\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`r\*(C'\fR" 4
|
||||
.IX Item "r"
|
||||
Insert the files \fImember\fR... into \fIarchive\fR (with
|
||||
\&\fIreplacement\fR). This operation differs from \fBq\fR in that any
|
||||
previously existing members are deleted if their names match those being
|
||||
added.
|
||||
.Sp
|
||||
If one of the files named in \fImember\fR... does not exist, \f(CW\*(C`ar\*(C'\fR
|
||||
displays an error message, and leaves undisturbed any existing members
|
||||
of the archive matching that name.
|
||||
.Sp
|
||||
By default, new members are added at the end of the file; but you may
|
||||
use one of the modifiers \fBa\fR, \fBb\fR, or \fBi\fR to request
|
||||
placement relative to some existing member.
|
||||
.Sp
|
||||
The modifier \fBv\fR used with this operation elicits a line of
|
||||
output for each file inserted, along with one of the letters \fBa\fR or
|
||||
\&\fBr\fR to indicate whether the file was appended (no old member
|
||||
deleted) or replaced.
|
||||
.Ip "\f(CW\*(C`t\*(C'\fR" 4
|
||||
.IX Item "t"
|
||||
Display a \fItable\fR listing the contents of \fIarchive\fR, or those
|
||||
of the files listed in \fImember\fR... that are present in the
|
||||
archive. Normally only the member name is shown; if you also want to
|
||||
see the modes (permissions), timestamp, owner, group, and size, you can
|
||||
request that by also specifying the \fBv\fR modifier.
|
||||
.Sp
|
||||
If you do not specify a \fImember\fR, all files in the archive
|
||||
are listed.
|
||||
.Sp
|
||||
If there is more than one file with the same name (say, \fBfie\fR) in
|
||||
an archive (say \fBb.a\fR), \fBar t b.a fie\fR lists only the
|
||||
first instance; to see them all, you must ask for a complete
|
||||
listing\-\-\-in our example, \fBar t b.a\fR.
|
||||
.Ip "\f(CW\*(C`x\*(C'\fR" 4
|
||||
.IX Item "x"
|
||||
\&\fIExtract\fR members (named \fImember\fR) from the archive. You can
|
||||
use the \fBv\fR modifier with this operation, to request that
|
||||
\&\f(CW\*(C`ar\*(C'\fR list each name as it extracts it.
|
||||
.Sp
|
||||
If you do not specify a \fImember\fR, all files in the archive
|
||||
are extracted.
|
||||
.PP
|
||||
A number of modifiers (\fImod\fR) may immediately follow the \fIp\fR
|
||||
keyletter, to specify variations on an operation's behavior:
|
||||
.Ip "\f(CW\*(C`a\*(C'\fR" 4
|
||||
.IX Item "a"
|
||||
Add new files \fIafter\fR an existing member of the
|
||||
archive. If you use the modifier \fBa\fR, the name of an existing archive
|
||||
member must be present as the \fIrelpos\fR argument, before the
|
||||
\&\fIarchive\fR specification.
|
||||
.Ip "\f(CW\*(C`b\*(C'\fR" 4
|
||||
.IX Item "b"
|
||||
Add new files \fIbefore\fR an existing member of the
|
||||
archive. If you use the modifier \fBb\fR, the name of an existing archive
|
||||
member must be present as the \fIrelpos\fR argument, before the
|
||||
\&\fIarchive\fR specification. (same as \fBi\fR).
|
||||
.Ip "\f(CW\*(C`c\*(C'\fR" 4
|
||||
.IX Item "c"
|
||||
\&\fICreate\fR the archive. The specified \fIarchive\fR is always
|
||||
created if it did not exist, when you request an update. But a warning is
|
||||
issued unless you specify in advance that you expect to create it, by
|
||||
using this modifier.
|
||||
.Ip "\f(CW\*(C`f\*(C'\fR" 4
|
||||
.IX Item "f"
|
||||
Truncate names in the archive. \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR will normally permit file
|
||||
names of any length. This will cause it to create archives which are
|
||||
not compatible with the native \f(CW\*(C`ar\*(C'\fR program on some systems. If
|
||||
this is a concern, the \fBf\fR modifier may be used to truncate file
|
||||
names when putting them in the archive.
|
||||
.Ip "\f(CW\*(C`i\*(C'\fR" 4
|
||||
.IX Item "i"
|
||||
Insert new files \fIbefore\fR an existing member of the
|
||||
archive. If you use the modifier \fBi\fR, the name of an existing archive
|
||||
member must be present as the \fIrelpos\fR argument, before the
|
||||
\&\fIarchive\fR specification. (same as \fBb\fR).
|
||||
.Ip "\f(CW\*(C`l\*(C'\fR" 4
|
||||
.IX Item "l"
|
||||
This modifier is accepted but not used.
|
||||
.Ip "\f(CW\*(C`N\*(C'\fR" 4
|
||||
.IX Item "N"
|
||||
Uses the \fIcount\fR parameter. This is used if there are multiple
|
||||
entries in the archive with the same name. Extract or delete instance
|
||||
\&\fIcount\fR of the given name from the archive.
|
||||
.Ip "\f(CW\*(C`o\*(C'\fR" 4
|
||||
.IX Item "o"
|
||||
Preserve the \fIoriginal\fR dates of members when extracting them. If
|
||||
you do not specify this modifier, files extracted from the archive
|
||||
are stamped with the time of extraction.
|
||||
.Ip "\f(CW\*(C`P\*(C'\fR" 4
|
||||
.IX Item "P"
|
||||
Use the full path name when matching names in the archive. \s-1GNU\s0
|
||||
\&\f(CW\*(C`ar\*(C'\fR can not create an archive with a full path name (such archives
|
||||
are not \s-1POSIX\s0 complaint), but other archive creators can. This option
|
||||
will cause \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR to match file names using a complete path
|
||||
name, which can be convenient when extracting a single file from an
|
||||
archive created by another tool.
|
||||
.Ip "\f(CW\*(C`s\*(C'\fR" 4
|
||||
.IX Item "s"
|
||||
Write an object-file index into the archive, or update an existing one,
|
||||
even if no other change is made to the archive. You may use this modifier
|
||||
flag either with any operation, or alone. Running \fBar s\fR on an
|
||||
archive is equivalent to running \fBranlib\fR on it.
|
||||
.Ip "\f(CW\*(C`S\*(C'\fR" 4
|
||||
.IX Item "S"
|
||||
Do not generate an archive symbol table. This can speed up building a
|
||||
large library in several steps. The resulting archive can not be used
|
||||
with the linker. In order to build a symbol table, you must omit the
|
||||
\&\fBS\fR modifier on the last execution of \fBar\fR, or you must run
|
||||
\&\fBranlib\fR on the archive.
|
||||
.Ip "\f(CW\*(C`u\*(C'\fR" 4
|
||||
.IX Item "u"
|
||||
Normally, \fBar r\fR... inserts all files
|
||||
listed into the archive. If you would like to insert \fIonly\fR those
|
||||
of the files you list that are newer than existing members of the same
|
||||
names, use this modifier. The \fBu\fR modifier is allowed only for the
|
||||
operation \fBr\fR (replace). In particular, the combination \fBqu\fR is
|
||||
not allowed, since checking the timestamps would lose any speed
|
||||
advantage from the operation \fBq\fR.
|
||||
.Ip "\f(CW\*(C`v\*(C'\fR" 4
|
||||
.IX Item "v"
|
||||
This modifier requests the \fIverbose\fR version of an operation. Many
|
||||
operations display additional information, such as filenames processed,
|
||||
when the modifier \fBv\fR is appended.
|
||||
.Ip "\f(CW\*(C`V\*(C'\fR" 4
|
||||
.IX Item "V"
|
||||
This modifier shows the version number of \f(CW\*(C`ar\*(C'\fR.
|
||||
.PP
|
||||
\&\f(CW\*(C`ar\*(C'\fR ignores an initial option spelt \f(CW\*(C`\-X32_64\*(C'\fR, for
|
||||
compatibility with \s-1AIX\s0. The behaviour produced by this option is the
|
||||
default for \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR. \f(CW\*(C`ar\*(C'\fR does not support any of the other
|
||||
\&\f(CW\*(C`\-X\*(C'\fR options; in particular, it does not support \f(CW\*(C`\-X32\*(C'\fR
|
||||
which is the default for \s-1AIX\s0 \f(CW\*(C`ar\*(C'\fR.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fInm\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
4
binutils/configure
vendored
4
binutils/configure
vendored
@ -5605,7 +5605,7 @@ done
|
||||
ac_given_srcdir=$srcdir
|
||||
ac_given_INSTALL="$INSTALL"
|
||||
|
||||
trap 'rm -fr `echo "Makefile po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
||||
trap 'rm -fr `echo "Makefile doc/Makefile po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
||||
EOF
|
||||
cat >> $CONFIG_STATUS <<EOF
|
||||
|
||||
@ -5756,7 +5756,7 @@ EOF
|
||||
|
||||
cat >> $CONFIG_STATUS <<EOF
|
||||
|
||||
CONFIG_FILES=\${CONFIG_FILES-"Makefile po/Makefile.in:po/Make-in"}
|
||||
CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile po/Makefile.in:po/Make-in"}
|
||||
EOF
|
||||
cat >> $CONFIG_STATUS <<\EOF
|
||||
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
||||
|
@ -287,7 +287,7 @@ else
|
||||
fi
|
||||
AC_SUBST(UNDERSCORE)
|
||||
|
||||
AC_OUTPUT(Makefile po/Makefile.in:po/Make-in,
|
||||
AC_OUTPUT(Makefile doc/Makefile po/Makefile.in:po/Make-in,
|
||||
[
|
||||
case "x$CONFIG_FILES" in
|
||||
*) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
|
||||
|
@ -1,249 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:30 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "CXXFILT.MAN 1"
|
||||
.TH CXXFILT.MAN 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
cxxfilt \- Demangle \*(C+ and Java symbols.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
c++filt [ \-_ | \-\-strip-underscores ]
|
||||
[ \-j | \-\-java ]
|
||||
[ \-n | \-\-no-strip-underscores ]
|
||||
[ \-s \fIformat\fR | \-\-format=\fIformat\fR ]
|
||||
[ \-\-help ] [ \-\-version ] [ \fIsymbol\fR... ]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
The \*(C+ and Java languages provides function overloading, which means
|
||||
that you can write many functions with the same name (providing each
|
||||
takes parameters of different types). All \*(C+ and Java function names
|
||||
are encoded into a low-level assembly label (this process is known as
|
||||
\&\fImangling\fR). The \f(CW\*(C`c++filt\*(C'\fR
|
||||
[1]
|
||||
program does the inverse mapping: it decodes (\fIdemangles\fR) low-level
|
||||
names into user-level names so that the linker can keep these overloaded
|
||||
functions from clashing.
|
||||
.PP
|
||||
Every alphanumeric word (consisting of letters, digits, underscores,
|
||||
dollars, or periods) seen in the input is a potential label. If the
|
||||
label decodes into a \*(C+ name, the \*(C+ name replaces the low-level
|
||||
name in the output.
|
||||
.PP
|
||||
You can use \f(CW\*(C`c++filt\*(C'\fR to decipher individual symbols:
|
||||
.PP
|
||||
.Vb 1
|
||||
\& c++filt I<symbol>
|
||||
.Ve
|
||||
If no \fIsymbol\fR arguments are given, \f(CW\*(C`c++filt\*(C'\fR reads symbol
|
||||
names from the standard input and writes the demangled names to the
|
||||
standard output. All results are printed on the standard output.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\-_\*(C'\fR" 4
|
||||
.IX Item "-_"
|
||||
.Ip "\f(CW\*(C`\-\-strip\-underscores\*(C'\fR" 4
|
||||
.IX Item "--strip-underscores"
|
||||
On some systems, both the C and \*(C+ compilers put an underscore in front
|
||||
of every name. For example, the C name \f(CW\*(C`foo\*(C'\fR gets the low-level
|
||||
name \f(CW\*(C`_foo\*(C'\fR. This option removes the initial underscore. Whether
|
||||
\&\f(CW\*(C`c++filt\*(C'\fR removes the underscore by default is target dependent.
|
||||
.Ip "\f(CW\*(C`\-j\*(C'\fR" 4
|
||||
.IX Item "-j"
|
||||
.Ip "\f(CW\*(C`\-\-java\*(C'\fR" 4
|
||||
.IX Item "--java"
|
||||
Prints demangled names using Java syntax. The default is to use \*(C+
|
||||
syntax.
|
||||
.Ip "\f(CW\*(C`\-n\*(C'\fR" 4
|
||||
.IX Item "-n"
|
||||
.Ip "\f(CW\*(C`\-\-no\-strip\-underscores\*(C'\fR" 4
|
||||
.IX Item "--no-strip-underscores"
|
||||
Do not remove the initial underscore.
|
||||
.Ip "\f(CW\*(C`\-s \f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "-s format"
|
||||
.Ip "\f(CW\*(C`\-\-format=\f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "--format=format"
|
||||
\&\s-1GNU\s0 \f(CW\*(C`nm\*(C'\fR can decode three different methods of mangling, used by
|
||||
different \*(C+ compilers. The argument to this option selects which
|
||||
method it uses:
|
||||
.RS 4
|
||||
.Ip "\f(CW\*(C`gnu\*(C'\fR" 4
|
||||
.IX Item "gnu"
|
||||
the one used by the \s-1GNU\s0 compiler (the default method)
|
||||
.Ip "\f(CW\*(C`lucid\*(C'\fR" 4
|
||||
.IX Item "lucid"
|
||||
the one used by the Lucid compiler
|
||||
.Ip "\f(CW\*(C`arm\*(C'\fR" 4
|
||||
.IX Item "arm"
|
||||
the one specified by the \*(C+ Annotated Reference Manual
|
||||
.Ip "\f(CW\*(C`hp\*(C'\fR" 4
|
||||
.IX Item "hp"
|
||||
the one used by the \s-1HP\s0 compiler
|
||||
.Ip "\f(CW\*(C`edg\*(C'\fR" 4
|
||||
.IX Item "edg"
|
||||
the one used by the \s-1EDG\s0 compiler
|
||||
.Ip "\f(CW\*(C`gnu\-new\-abi\*(C'\fR" 4
|
||||
.IX Item "gnu-new-abi"
|
||||
the one used by the \s-1GNU\s0 compiler with the new \s-1ABI\s0.
|
||||
.RE
|
||||
.RS 4
|
||||
.RE
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Print a summary of the options to \f(CW\*(C`c++filt\*(C'\fR and exit.
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Print the version number of \f(CW\*(C`c++filt\*(C'\fR and exit.
|
||||
.SH "FOOTNOTES"
|
||||
.IX Header "FOOTNOTES"
|
||||
.Ip "1." 4
|
||||
\&\s-1MS-DOS\s0 does not allow \f(CW\*(C`+\*(C'\fR characters in file names, so on
|
||||
\&\s-1MS-DOS\s0 this program is named \f(CW\*(C`cxxfilt\*(C'\fR.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,402 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:27 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "DLLTOOL.1 1"
|
||||
.TH DLLTOOL.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
dlltool \- Create files needed to build and use DLLs.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
dlltool [\-d|\-\-input-def \fIdef-file-name\fR]
|
||||
[\-b|\-\-base-file \fIbase-file-name\fR]
|
||||
[\-e|\-\-output-exp \fIexports-file-name\fR]
|
||||
[\-z|\-\-output-def \fIdef-file-name\fR]
|
||||
[\-l|\-\-output-lib \fIlibrary-file-name\fR]
|
||||
[\-\-export-all-symbols] [\-\-no-export-all-symbols]
|
||||
[\-\-exclude-symbols \fIlist\fR]
|
||||
[\-\-no-default-excludes]
|
||||
[\-S|\-\-as \fIpath-to-assembler\fR] [\-f|\-\-as-flags \fIoptions\fR]
|
||||
[\-D|\-\-dllname \fIname\fR] [\-m|\-\-machine \fImachine\fR]
|
||||
[\-a|\-\-add-indirect] [\-U|\-\-add-underscore] [\-k|\-\-kill-at]
|
||||
[\-A|\-\-add-stdcall-alias]
|
||||
[\-x|\-\-no-idata4] [\-c|\-\-no-idata5] [\-i|\-\-interwork]
|
||||
[\-n|\-\-nodelete] [\-v|\-\-verbose] [\-h|\-\-help] [\-V|\-\-version]
|
||||
[object-file ...]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`dlltool\*(C'\fR reads its inputs, which can come from the \fB\-d\fR and
|
||||
\&\fB\-b\fR options as well as object files specified on the command
|
||||
line. It then processes these inputs and if the \fB\-e\fR option has
|
||||
been specified it creates a exports file. If the \fB\-l\fR option
|
||||
has been specified it creates a library file and if the \fB\-z\fR option
|
||||
has been specified it creates a def file. Any or all of the \-e, \-l
|
||||
and \-z options can be present in one invocation of dlltool.
|
||||
.PP
|
||||
When creating a \s-1DLL\s0, along with the source for the \s-1DLL\s0, it is necessary
|
||||
to have three other files. \f(CW\*(C`dlltool\*(C'\fR can help with the creation of
|
||||
these files.
|
||||
.PP
|
||||
The first file is a \fB.def\fR file which specifies which functions are
|
||||
exported from the \s-1DLL\s0, which functions the \s-1DLL\s0 imports, and so on. This
|
||||
is a text file and can be created by hand, or \f(CW\*(C`dlltool\*(C'\fR can be used
|
||||
to create it using the \fB\-z\fR option. In this case \f(CW\*(C`dlltool\*(C'\fR
|
||||
will scan the object files specified on its command line looking for
|
||||
those functions which have been specially marked as being exported and
|
||||
put entries for them in the .def file it creates.
|
||||
.PP
|
||||
In order to mark a function as being exported from a \s-1DLL\s0, it needs to
|
||||
have an \fB\-export:<name_of_function>\fR entry in the \fB.drectve\fR
|
||||
section of the object file. This can be done in C by using the
|
||||
\&\fIasm()\fR operator:
|
||||
.PP
|
||||
.Vb 2
|
||||
\& asm (".section .drectve");
|
||||
\& asm (".ascii \e"-export:my_func\e"");
|
||||
.Ve
|
||||
.Vb 1
|
||||
\& int my_func (void) { ... }
|
||||
.Ve
|
||||
The second file needed for \s-1DLL\s0 creation is an exports file. This file
|
||||
is linked with the object files that make up the body of the \s-1DLL\s0 and it
|
||||
handles the interface between the \s-1DLL\s0 and the outside world. This is a
|
||||
binary file and it can be created by giving the \fB\-e\fR option to
|
||||
\&\f(CW\*(C`dlltool\*(C'\fR when it is creating or reading in a .def file.
|
||||
.PP
|
||||
The third file needed for \s-1DLL\s0 creation is the library file that programs
|
||||
will link with in order to access the functions in the \s-1DLL\s0. This file
|
||||
can be created by giving the \fB\-l\fR option to dlltool when it
|
||||
is creating or reading in a .def file.
|
||||
.PP
|
||||
\&\f(CW\*(C`dlltool\*(C'\fR builds the library file by hand, but it builds the
|
||||
exports file by creating temporary files containing assembler statements
|
||||
and then assembling these. The \fB\-S\fR command line option can be
|
||||
used to specify the path to the assembler that dlltool will use,
|
||||
and the \fB\-f\fR option can be used to pass specific flags to that
|
||||
assembler. The \fB\-n\fR can be used to prevent dlltool from deleting
|
||||
these temporary assembler files when it is done, and if \fB\-n\fR is
|
||||
specified twice then this will prevent dlltool from deleting the
|
||||
temporary object files it used to build the library.
|
||||
.PP
|
||||
Here is an example of creating a \s-1DLL\s0 from a source file \fBdll.c\fR and
|
||||
also creating a program (from an object file called \fBprogram.o\fR)
|
||||
that uses that \s-1DLL:\s0
|
||||
.PP
|
||||
.Vb 4
|
||||
\& gcc -c dll.c
|
||||
\& dlltool -e exports.o -l dll.lib dll.o
|
||||
\& gcc dll.o exports.o -o dll.dll
|
||||
\& gcc program.o dll.lib -o program
|
||||
.Ve
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
The command line options have the following meanings:
|
||||
.Ip "\f(CW\*(C`\-d \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-d filename"
|
||||
.Ip "\f(CW\*(C`\-\-input\-def \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--input-def filename"
|
||||
Specifies the name of a .def file to be read in and processed.
|
||||
.Ip "\f(CW\*(C`\-b \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-b filename"
|
||||
.Ip "\f(CW\*(C`\-\-base\-file \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--base-file filename"
|
||||
Specifies the name of a base file to be read in and processed. The
|
||||
contents of this file will be added to the relocation section in the
|
||||
exports file generated by dlltool.
|
||||
.Ip "\f(CW\*(C`\-e \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-e filename"
|
||||
.Ip "\f(CW\*(C`\-\-output\-exp \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output-exp filename"
|
||||
Specifies the name of the export file to be created by dlltool.
|
||||
.Ip "\f(CW\*(C`\-z \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-z filename"
|
||||
.Ip "\f(CW\*(C`\-\-output\-def \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output-def filename"
|
||||
Specifies the name of the .def file to be created by dlltool.
|
||||
.Ip "\f(CW\*(C`\-l \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-l filename"
|
||||
.Ip "\f(CW\*(C`\-\-output\-lib \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output-lib filename"
|
||||
Specifies the name of the library file to be created by dlltool.
|
||||
.Ip "\f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR" 4
|
||||
.IX Item "--export-all-symbols"
|
||||
Treat all global and weak defined symbols found in the input object
|
||||
files as symbols to be exported. There is a small list of symbols which
|
||||
are not exported by default; see the \f(CW\*(C`\-\-no\-default\-excludes\*(C'\fR
|
||||
option. You may add to the list of symbols to not export by using the
|
||||
\&\f(CW\*(C`\-\-exclude\-symbols\*(C'\fR option.
|
||||
.Ip "\f(CW\*(C`\-\-no\-export\-all\-symbols\*(C'\fR" 4
|
||||
.IX Item "--no-export-all-symbols"
|
||||
Only export symbols explicitly listed in an input .def file or in
|
||||
\&\fB.drectve\fR sections in the input object files. This is the default
|
||||
behaviour. The \fB.drectve\fR sections are created by \fBdllexport\fR
|
||||
attributes in the source code.
|
||||
.Ip "\f(CW\*(C`\-\-exclude\-symbols \f(CIlist\f(CW\*(C'\fR" 4
|
||||
.IX Item "--exclude-symbols list"
|
||||
Do not export the symbols in \fIlist\fR. This is a list of symbol names
|
||||
separated by comma or colon characters. The symbol names should not
|
||||
contain a leading underscore. This is only meaningful when
|
||||
\&\f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR is used.
|
||||
.Ip "\f(CW\*(C`\-\-no\-default\-excludes\*(C'\fR" 4
|
||||
.IX Item "--no-default-excludes"
|
||||
When \f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR is used, it will by default avoid
|
||||
exporting certain special symbols. The current list of symbols to avoid
|
||||
exporting is \fBDllMain@12\fR, \fBDllEntryPoint@0\fR,
|
||||
\&\fBimpure_ptr\fR. You may use the \f(CW\*(C`\-\-no\-default\-excludes\*(C'\fR option
|
||||
to go ahead and export these special symbols. This is only meaningful
|
||||
when \f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR is used.
|
||||
.Ip "\f(CW\*(C`\-S \f(CIpath\f(CW\*(C'\fR" 4
|
||||
.IX Item "-S path"
|
||||
.Ip "\f(CW\*(C`\-\-as \f(CIpath\f(CW\*(C'\fR" 4
|
||||
.IX Item "--as path"
|
||||
Specifies the path, including the filename, of the assembler to be used
|
||||
to create the exports file.
|
||||
.Ip "\f(CW\*(C`\-f \f(CIswitches\f(CW\*(C'\fR" 4
|
||||
.IX Item "-f switches"
|
||||
.Ip "\f(CW\*(C`\-\-as\-flags \f(CIswitches\f(CW\*(C'\fR" 4
|
||||
.IX Item "--as-flags switches"
|
||||
Specifies any specific command line switches to be passed to the
|
||||
assembler when building the exports file. This option will work even if
|
||||
the \fB\-S\fR option is not used. This option only takes one argument,
|
||||
and if it occurs more than once on the command line, then later
|
||||
occurrences will override earlier occurrences. So if it is necessary to
|
||||
pass multiple switches to the assembler they should be enclosed in
|
||||
double quotes.
|
||||
.Ip "\f(CW\*(C`\-D \f(CIname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-D name"
|
||||
.Ip "\f(CW\*(C`\-\-dll\-name \f(CIname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--dll-name name"
|
||||
Specifies the name to be stored in the .def file as the name of the \s-1DLL\s0
|
||||
when the \fB\-e\fR option is used. If this option is not present, then
|
||||
the filename given to the \fB\-e\fR option will be used as the name of
|
||||
the \s-1DLL\s0.
|
||||
.Ip "\f(CW\*(C`\-m \f(CImachine\f(CW\*(C'\fR" 4
|
||||
.IX Item "-m machine"
|
||||
.Ip "\f(CW\*(C`\-machine \f(CImachine\f(CW\*(C'\fR" 4
|
||||
.IX Item "-machine machine"
|
||||
Specifies the type of machine for which the library file should be
|
||||
built. \f(CW\*(C`dlltool\*(C'\fR has a built in default type, depending upon how
|
||||
it was created, but this option can be used to override that. This is
|
||||
normally only useful when creating DLLs for an \s-1ARM\s0 processor, when the
|
||||
contents of the \s-1DLL\s0 are actually encode using \s-1THUMB\s0 instructions.
|
||||
.Ip "\f(CW\*(C`\-a\*(C'\fR" 4
|
||||
.IX Item "-a"
|
||||
.Ip "\f(CW\*(C`\-\-add\-indirect\*(C'\fR" 4
|
||||
.IX Item "--add-indirect"
|
||||
Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it
|
||||
should add a section which allows the exported functions to be
|
||||
referenced without using the import library. Whatever the hell that
|
||||
means!
|
||||
.Ip "\f(CW\*(C`\-U\*(C'\fR" 4
|
||||
.IX Item "-U"
|
||||
.Ip "\f(CW\*(C`\-\-add\-underscore\*(C'\fR" 4
|
||||
.IX Item "--add-underscore"
|
||||
Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it
|
||||
should prepend an underscore to the names of the exported functions.
|
||||
.Ip "\f(CW\*(C`\-k\*(C'\fR" 4
|
||||
.IX Item "-k"
|
||||
.Ip "\f(CW\*(C`\-\-kill\-at\*(C'\fR" 4
|
||||
.IX Item "--kill-at"
|
||||
Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it
|
||||
should not append the string \fB@ <number>\fR. These numbers are
|
||||
called ordinal numbers and they represent another way of accessing the
|
||||
function in a \s-1DLL\s0, other than by name.
|
||||
.Ip "\f(CW\*(C`\-A\*(C'\fR" 4
|
||||
.IX Item "-A"
|
||||
.Ip "\f(CW\*(C`\-\-add\-stdcall\-alias\*(C'\fR" 4
|
||||
.IX Item "--add-stdcall-alias"
|
||||
Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it
|
||||
should add aliases for stdcall symbols without \fB@ <number>\fR
|
||||
in addition to the symbols with \fB@ <number>\fR.
|
||||
.Ip "\f(CW\*(C`\-x\*(C'\fR" 4
|
||||
.IX Item "-x"
|
||||
.Ip "\f(CW\*(C`\-\-no\-idata4\*(C'\fR" 4
|
||||
.IX Item "--no-idata4"
|
||||
Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports and library
|
||||
files it should omit the .idata4 section. This is for compatibility
|
||||
with certain operating systems.
|
||||
.Ip "\f(CW\*(C`\-c\*(C'\fR" 4
|
||||
.IX Item "-c"
|
||||
.Ip "\f(CW\*(C`\-\-no\-idata5\*(C'\fR" 4
|
||||
.IX Item "--no-idata5"
|
||||
Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports and library
|
||||
files it should omit the .idata5 section. This is for compatibility
|
||||
with certain operating systems.
|
||||
.Ip "\f(CW\*(C`\-i\*(C'\fR" 4
|
||||
.IX Item "-i"
|
||||
.Ip "\f(CW\*(C`\-\-interwork\*(C'\fR" 4
|
||||
.IX Item "--interwork"
|
||||
Specifies that \f(CW\*(C`dlltool\*(C'\fR should mark the objects in the library
|
||||
file and exports file that it produces as supporting interworking
|
||||
between \s-1ARM\s0 and \s-1THUMB\s0 code.
|
||||
.Ip "\f(CW\*(C`\-n\*(C'\fR" 4
|
||||
.IX Item "-n"
|
||||
.Ip "\f(CW\*(C`\-\-nodelete\*(C'\fR" 4
|
||||
.IX Item "--nodelete"
|
||||
Makes \f(CW\*(C`dlltool\*(C'\fR preserve the temporary assembler files it used to
|
||||
create the exports file. If this option is repeated then dlltool will
|
||||
also preserve the temporary object files it uses to create the library
|
||||
file.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-\-verbose\*(C'\fR" 4
|
||||
.IX Item "--verbose"
|
||||
Make dlltool describe what it is doing.
|
||||
.Ip "\f(CW\*(C`\-h\*(C'\fR" 4
|
||||
.IX Item "-h"
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Displays a list of command line options and then exits.
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Displays dlltool's version number and then exits.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
166
binutils/doc/Makefile.am
Normal file
166
binutils/doc/Makefile.am
Normal file
@ -0,0 +1,166 @@
|
||||
## Process this file with automake to generate Makefile.in
|
||||
|
||||
AUTOMAKE_OPTIONS = cygnus
|
||||
|
||||
# What version of the manual you want; "all" includes everything
|
||||
CONFIG=all
|
||||
|
||||
# Options to extract the man page from as.texinfo
|
||||
MANCONF = -Dman
|
||||
|
||||
TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
|
||||
|
||||
POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
|
||||
|
||||
# List of man pages generated from binutils.texi
|
||||
man_MANS = \
|
||||
addr2line.1 \
|
||||
ar.1 \
|
||||
dlltool.1 \
|
||||
nlmconv.1 \
|
||||
nm.1 \
|
||||
objcopy.1 \
|
||||
objdump.1 \
|
||||
ranlib.1 \
|
||||
readelf.1 \
|
||||
size.1 \
|
||||
strings.1 \
|
||||
strip.1 \
|
||||
windres.1 \
|
||||
$(DEMANGLER_NAME).1
|
||||
|
||||
info_TEXINFOS = binutils.texi
|
||||
|
||||
config.texi: Makefile
|
||||
rm -f config.texi
|
||||
echo '@set VERSION $(VERSION)' > config.texi
|
||||
|
||||
binutils_TEXI = $(srcdir)/binutils.texi
|
||||
|
||||
binutils.dvi: $(binutils_TEXI) config.texi
|
||||
|
||||
binutils.info: $(binutils_TEXI) config.texi
|
||||
|
||||
# Man page generation from texinfo
|
||||
addr2line.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
ar.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
dlltool.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
nlmconv.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
nm.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
objcopy.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
objdump.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
ranlib.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
readelf.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
size.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
strings.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
strip.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
windres.1: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
cxxfilt.man: $(binutils_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
MAINTAINERCLEANFILES = config.texi
|
||||
DISTCLEANFILES = config.texi
|
||||
MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
|
||||
|
||||
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
|
||||
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < cxxfilt.man \
|
||||
> $(DEMANGLER_NAME).1
|
||||
|
||||
# Maintenance
|
||||
|
||||
# We need it for the taz target in ../../Makefile.in.
|
||||
info: $(MANS)
|
||||
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
as.1: $(srcdir)/as.texinfo
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
||||
-($(POD2MAN) as.pod | \
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f as.pod
|
544
binutils/doc/Makefile.in
Normal file
544
binutils/doc/Makefile.in
Normal file
@ -0,0 +1,544 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
CC = @CC@
|
||||
EXEEXT = @EXEEXT@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
RANLIB = @RANLIB@
|
||||
|
||||
AUTOMAKE_OPTIONS = cygnus
|
||||
|
||||
# What version of the manual you want; "all" includes everything
|
||||
CONFIG = all
|
||||
|
||||
# Options to extract the man page from as.texinfo
|
||||
MANCONF = -Dman
|
||||
|
||||
TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
|
||||
|
||||
POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
|
||||
|
||||
# List of man pages generated from binutils.texi
|
||||
man_MANS = \
|
||||
addr2line.1 \
|
||||
ar.1 \
|
||||
dlltool.1 \
|
||||
nlmconv.1 \
|
||||
nm.1 \
|
||||
objcopy.1 \
|
||||
objdump.1 \
|
||||
ranlib.1 \
|
||||
readelf.1 \
|
||||
size.1 \
|
||||
strings.1 \
|
||||
strip.1 \
|
||||
windres.1 \
|
||||
$(DEMANGLER_NAME).1
|
||||
|
||||
|
||||
info_TEXINFOS = binutils.texi
|
||||
|
||||
BINUTILS_TEXI = $(srcdir)/binutils.texi
|
||||
|
||||
MAINTAINERCLEANFILES = config.texi
|
||||
DISTCLEANFILES = config.texi
|
||||
MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
||||
CONFIG_CLEAN_FILES =
|
||||
MAKEINFO = `if test -f $(top_builddir)/../texinfo/makeinfo/makeinfo; then echo $(top_builddir)/../texinfo/makeinfo/makeinfo; else echo makeinfo; fi`
|
||||
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
|
||||
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
|
||||
INFO_DEPS = binutils.info
|
||||
DVIS = binutils.dvi
|
||||
TEXINFOS = binutils.texi
|
||||
man1dir = $(mandir)/man1
|
||||
MANS = $(man_MANS)
|
||||
|
||||
NROFF = nroff
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --cygnus doc/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
binutils.info: binutils.texi
|
||||
binutils.dvi: binutils.texi
|
||||
|
||||
|
||||
DVIPS = dvips
|
||||
|
||||
.texi.info:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.texi:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texinfo.info:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texinfo:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.texinfo.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi.info:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
|
||||
.txi.dvi:
|
||||
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi:
|
||||
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
$(MAKEINFO) -I $(srcdir) $<
|
||||
.dvi.ps:
|
||||
$(DVIPS) $< -o $@
|
||||
|
||||
install-info-am: $(INFO_DEPS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
if test -f $$d/$$ifile; then \
|
||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
||||
else : ; fi; \
|
||||
done; \
|
||||
done
|
||||
@$(POST_INSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
||||
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
||||
done; \
|
||||
else : ; fi
|
||||
|
||||
uninstall-info:
|
||||
$(PRE_UNINSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
ii=yes; \
|
||||
else ii=; fi; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
test -z "$ii" \
|
||||
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
||||
done
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
||||
done
|
||||
|
||||
dist-info: $(INFO_DEPS)
|
||||
list='$(INFO_DEPS)'; \
|
||||
for base in $$list; do \
|
||||
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
||||
for file in `cd $$d && eval echo $$base*`; do \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||
done; \
|
||||
done
|
||||
|
||||
mostlyclean-aminfo:
|
||||
-rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
|
||||
binutils.fns binutils.ky binutils.kys binutils.ps \
|
||||
binutils.log binutils.pg binutils.toc binutils.tp \
|
||||
binutils.tps binutils.vr binutils.vrs binutils.op binutils.tr \
|
||||
binutils.cv binutils.cn
|
||||
|
||||
clean-aminfo:
|
||||
|
||||
distclean-aminfo:
|
||||
|
||||
maintainer-clean-aminfo:
|
||||
for i in $(INFO_DEPS); do \
|
||||
rm -f $$i; \
|
||||
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
||||
rm -f $$i-[0-9]*; \
|
||||
fi; \
|
||||
done
|
||||
clean-info: mostlyclean-aminfo
|
||||
|
||||
install-man1:
|
||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
|
||||
uninstall-man1:
|
||||
@list='$(man1_MANS)'; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||
done
|
||||
install-man: $(MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
||||
uninstall-man:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = doc
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
-rm -rf $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
||||
mkdir $(distdir)/=build
|
||||
mkdir $(distdir)/=inst
|
||||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||
cd $(distdir)/=build \
|
||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||||
-rm -rf $(distdir)
|
||||
@banner="$(distdir).tar.gz is ready for distribution"; \
|
||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
||||
echo "$$dashes"; \
|
||||
echo "$$banner"; \
|
||||
echo "$$dashes"
|
||||
dist: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
dist-all: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
distdir: $(DISTFILES)
|
||||
-rm -rf $(distdir)
|
||||
mkdir $(distdir)
|
||||
-chmod 777 $(distdir)
|
||||
@for file in $(DISTFILES); do \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
||||
info-am: $(INFO_DEPS)
|
||||
info: info-am
|
||||
dvi-am: $(DVIS)
|
||||
dvi: dvi-am
|
||||
check-am:
|
||||
check: check-am
|
||||
installcheck-am:
|
||||
installcheck: installcheck-am
|
||||
install-info-am:
|
||||
install-info: install-info-am
|
||||
install-exec-am:
|
||||
install-exec: install-exec-am
|
||||
|
||||
install-data-am: install-man
|
||||
install-data: install-data-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
install: install-am
|
||||
uninstall-am: uninstall-man
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile $(MANS)
|
||||
all-redirect: all-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
clean-am: clean-aminfo clean-generic mostlyclean-am
|
||||
|
||||
clean: clean-am
|
||||
|
||||
distclean-am: distclean-aminfo distclean-generic clean-am
|
||||
-rm -f libtool
|
||||
|
||||
distclean: distclean-am
|
||||
|
||||
maintainer-clean-am: maintainer-clean-aminfo maintainer-clean-generic \
|
||||
distclean-am
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
||||
.PHONY: install-info-am uninstall-info mostlyclean-aminfo \
|
||||
distclean-aminfo clean-aminfo maintainer-clean-aminfo install-man1 \
|
||||
uninstall-man1 install-man uninstall-man tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-info-am \
|
||||
install-info install-exec-am install-exec install-data-am install-data \
|
||||
install-am install uninstall-am uninstall all-redirect all-am all \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
config.texi: Makefile
|
||||
rm -f config.texi
|
||||
echo '@set VERSION $(VERSION)' > config.texi
|
||||
|
||||
binutils.dvi: $(BINUTILS_TEXI) config.texi
|
||||
|
||||
binutils.info: $(BINUTILS_TEXI) config.texi
|
||||
|
||||
# Man page generation from texinfo
|
||||
addr2line.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
ar.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
dlltool.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
nlmconv.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
nm.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
objcopy.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
objdump.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
ranlib.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
readelf.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
size.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
strings.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
strip.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
windres.1: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
cxxfilt.man: $(BINUTILS_TEXI)
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
|
||||
-($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
||||
rm -f $@.pod
|
||||
|
||||
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
|
||||
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < cxxfilt.man \
|
||||
> $(DEMANGLER_NAME).1
|
||||
|
||||
# Maintenance
|
||||
|
||||
# We need it for the taz target in ../../Makefile.in.
|
||||
info: $(MANS)
|
||||
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
as.1: $(srcdir)/as.texinfo
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
||||
-($(POD2MAN) as.pod | \
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f as.pod
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
@ -1,225 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:27 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "NLMCONV.1 1"
|
||||
.TH NLMCONV.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
nlmconv \- converts object code into an \s-1NLM\s0.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
nlmconv [ \-I \fIbfdname\fR | \-\-input-target=\fIbfdname\fR ]
|
||||
[ \-O \fIbfdname\fR | \-\-output-target=\fIbfdname\fR ]
|
||||
[ \-T \fIheaderfile\fR | \-\-header-file=\fIheaderfile\fR ]
|
||||
[ \-d | \-\-debug] [ \-l \fIlinker\fR | \-\-linker=\fIlinker\fR ]
|
||||
[ \-h | \-\-help ] [ \-V | \-\-version ]
|
||||
\fIinfile\fR \fIoutfile\fR
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`nlmconv\*(C'\fR converts the relocatable \fBi386\fR object file
|
||||
\&\fIinfile\fR into the NetWare Loadable Module \fIoutfile\fR, optionally
|
||||
reading \fIheaderfile\fR for \s-1NLM\s0 header information. For instructions
|
||||
on writing the \s-1NLM\s0 command file language used in header files, see the
|
||||
\&\fBlinkers\fR section, \fB\s-1NLMLINK\s0\fR in particular, of the \fI\s-1NLM\s0
|
||||
Development and Tools Overview\fR, which is part of the \s-1NLM\s0 Software
|
||||
Developer's Kit (``\s-1NLM\s0 \s-1SDK\s0''), available from Novell, Inc.
|
||||
\&\f(CW\*(C`nlmconv\*(C'\fR uses the \s-1GNU\s0 Binary File Descriptor library to read
|
||||
\&\fIinfile\fR;
|
||||
.PP
|
||||
\&\f(CW\*(C`nlmconv\*(C'\fR can perform a link step. In other words, you can list
|
||||
more than one object file for input if you list them in the definitions
|
||||
file (rather than simply specifying one input file on the command line).
|
||||
In this case, \f(CW\*(C`nlmconv\*(C'\fR calls the linker for you.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\-I \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-I bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-input\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--input-target=bfdname"
|
||||
Object format of the input file. \f(CW\*(C`nlmconv\*(C'\fR can usually determine
|
||||
the format of a given file (so no default is necessary).
|
||||
.Ip "\f(CW\*(C`\-O \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-O bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-output\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output-target=bfdname"
|
||||
Object format of the output file. \f(CW\*(C`nlmconv\*(C'\fR infers the output
|
||||
format based on the input format, e.g. for a \fBi386\fR input file the
|
||||
output format is \fBnlm32\-i386\fR.
|
||||
.Ip "\f(CW\*(C`\-T \f(CIheaderfile\f(CW\*(C'\fR" 4
|
||||
.IX Item "-T headerfile"
|
||||
.Ip "\f(CW\*(C`\-\-header\-file=\f(CIheaderfile\f(CW\*(C'\fR" 4
|
||||
.IX Item "--header-file=headerfile"
|
||||
Reads \fIheaderfile\fR for \s-1NLM\s0 header information. For instructions on
|
||||
writing the \s-1NLM\s0 command file language used in header files, see see the
|
||||
\&\fBlinkers\fR section, of the \fI\s-1NLM\s0 Development and Tools
|
||||
Overview\fR, which is part of the \s-1NLM\s0 Software Developer's Kit, available
|
||||
from Novell, Inc.
|
||||
.Ip "\f(CW\*(C`\-d\*(C'\fR" 4
|
||||
.IX Item "-d"
|
||||
.Ip "\f(CW\*(C`\-\-debug\*(C'\fR" 4
|
||||
.IX Item "--debug"
|
||||
Displays (on standard error) the linker command line used by \f(CW\*(C`nlmconv\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-l \f(CIlinker\f(CW\*(C'\fR" 4
|
||||
.IX Item "-l linker"
|
||||
.Ip "\f(CW\*(C`\-\-linker=\f(CIlinker\f(CW\*(C'\fR" 4
|
||||
.IX Item "--linker=linker"
|
||||
Use \fIlinker\fR for any linking. \fIlinker\fR can be an absolute or a
|
||||
relative pathname.
|
||||
.Ip "\f(CW\*(C`\-h\*(C'\fR" 4
|
||||
.IX Item "-h"
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Prints a usage summary.
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Prints the version number for \f(CW\*(C`nlmconv\*(C'\fR.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
382
binutils/nm.1
382
binutils/nm.1
@ -1,382 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:27 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "NM.1 1"
|
||||
.TH NM.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
nm \- list symbols from object files
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
nm [ \-a | \-\-debug-syms ] [ \-g | \-\-extern-only ]
|
||||
[ \-B ] [ \-C | \-\-demangle[=\fIstyle\fR] ] [ \-D | \-\-dynamic ]
|
||||
[ \-s | \-\-print-armap ] [ \-A | \-o | \-\-print-file-name ]
|
||||
[ \-n | \-v | \-\-numeric-sort ] [ \-p | \-\-no-sort ]
|
||||
[ \-r | \-\-reverse-sort ] [ \-\-size-sort ] [ \-u | \-\-undefined-only ]
|
||||
[ \-t \fIradix\fR | \-\-radix=\fIradix\fR ] [ \-P | \-\-portability ]
|
||||
[ \-\-target=\fIbfdname\fR ] [ \-f \fIformat\fR | \-\-format=\fIformat\fR ]
|
||||
[ \-\-defined-only ] [\-l | \-\-line-numbers ] [ \-\-no-demangle ]
|
||||
[ \-V | \-\-version ] [ \-X 32_64 ] [ \-\-help ] [ \fIobjfile\fR... ]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\s-1GNU\s0 \f(CW\*(C`nm\*(C'\fR lists the symbols from object files \fIobjfile\fR....
|
||||
If no object files are listed as arguments, \f(CW\*(C`nm\*(C'\fR assumes the file
|
||||
\&\fIa.out\fR.
|
||||
.PP
|
||||
For each symbol, \f(CW\*(C`nm\*(C'\fR shows:
|
||||
.Ip "\(bu" 4
|
||||
The symbol value, in the radix selected by options (see below), or
|
||||
hexadecimal by default.
|
||||
.Ip "\(bu" 4
|
||||
The symbol type. At least the following types are used; others are, as
|
||||
well, depending on the object file format. If lowercase, the symbol is
|
||||
local; if uppercase, the symbol is global (external).
|
||||
.RS 4
|
||||
.Ip "\f(CW\*(C`A\*(C'\fR" 4
|
||||
.IX Item "A"
|
||||
The symbol's value is absolute, and will not be changed by further
|
||||
linking.
|
||||
.Ip "\f(CW\*(C`B\*(C'\fR" 4
|
||||
.IX Item "B"
|
||||
The symbol is in the uninitialized data section (known as \s-1BSS\s0).
|
||||
.Ip "\f(CW\*(C`C\*(C'\fR" 4
|
||||
.IX Item "C"
|
||||
The symbol is common. Common symbols are uninitialized data. When
|
||||
linking, multiple common symbols may appear with the same name. If the
|
||||
symbol is defined anywhere, the common symbols are treated as undefined
|
||||
references.
|
||||
.Ip "\f(CW\*(C`D\*(C'\fR" 4
|
||||
.IX Item "D"
|
||||
The symbol is in the initialized data section.
|
||||
.Ip "\f(CW\*(C`G\*(C'\fR" 4
|
||||
.IX Item "G"
|
||||
The symbol is in an initialized data section for small objects. Some
|
||||
object file formats permit more efficient access to small data objects,
|
||||
such as a global int variable as opposed to a large global array.
|
||||
.Ip "\f(CW\*(C`I\*(C'\fR" 4
|
||||
.IX Item "I"
|
||||
The symbol is an indirect reference to another symbol. This is a \s-1GNU\s0
|
||||
extension to the a.out object file format which is rarely used.
|
||||
.Ip "\f(CW\*(C`N\*(C'\fR" 4
|
||||
.IX Item "N"
|
||||
The symbol is a debugging symbol.
|
||||
.Ip "\f(CW\*(C`R\*(C'\fR" 4
|
||||
.IX Item "R"
|
||||
The symbol is in a read only data section.
|
||||
.Ip "\f(CW\*(C`S\*(C'\fR" 4
|
||||
.IX Item "S"
|
||||
The symbol is in an uninitialized data section for small objects.
|
||||
.Ip "\f(CW\*(C`T\*(C'\fR" 4
|
||||
.IX Item "T"
|
||||
The symbol is in the text (code) section.
|
||||
.Ip "\f(CW\*(C`U\*(C'\fR" 4
|
||||
.IX Item "U"
|
||||
The symbol is undefined.
|
||||
.Ip "\f(CW\*(C`V\*(C'\fR" 4
|
||||
.IX Item "V"
|
||||
The symbol is a weak object. When a weak defined symbol is linked with
|
||||
a normal defined symbol, the normal defined symbol is used with no error.
|
||||
When a weak undefined symbol is linked and the symbol is not defined,
|
||||
the value of the weak symbol becomes zero with no error.
|
||||
.Ip "\f(CW\*(C`W\*(C'\fR" 4
|
||||
.IX Item "W"
|
||||
The symbol is a weak symbol that has not been specifically tagged as a
|
||||
weak object symbol. When a weak defined symbol is linked with a normal
|
||||
defined symbol, the normal defined symbol is used with no error.
|
||||
When a weak undefined symbol is linked and the symbol is not defined,
|
||||
the value of the weak symbol becomes zero with no error.
|
||||
.Ip "\f(CW\*(C`\-\*(C'\fR" 4
|
||||
.IX Item "-"
|
||||
The symbol is a stabs symbol in an a.out object file. In this case, the
|
||||
next values printed are the stabs other field, the stabs desc field, and
|
||||
the stab type. Stabs symbols are used to hold debugging information;
|
||||
for more information, see \f(CW@ref\fR{Top,Stabs,Stabs Overview,stabs.info, The
|
||||
``stabs'' debug format}.
|
||||
.Ip "\f(CW\*(C`?\*(C'\fR" 4
|
||||
.IX Item "?"
|
||||
The symbol type is unknown, or object file format specific.
|
||||
.RE
|
||||
.RS 4
|
||||
.RE
|
||||
.Ip "\(bu" 4
|
||||
The symbol name.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
The long and short forms of options, shown here as alternatives, are
|
||||
equivalent.
|
||||
.Ip "\f(CW\*(C`\-A\*(C'\fR" 4
|
||||
.IX Item "-A"
|
||||
.Ip "\f(CW\*(C`\-o\*(C'\fR" 4
|
||||
.IX Item "-o"
|
||||
.Ip "\f(CW\*(C`\-\-print\-file\-name \*(C'\fR" 4
|
||||
.IX Item "--print-file-name "
|
||||
Precede each symbol by the name of the input file (or archive member)
|
||||
in which it was found, rather than identifying the input file once only,
|
||||
before all of its symbols.
|
||||
.Ip "\f(CW\*(C`\-a\*(C'\fR" 4
|
||||
.IX Item "-a"
|
||||
.Ip "\f(CW\*(C`\-\-debug\-syms \*(C'\fR" 4
|
||||
.IX Item "--debug-syms "
|
||||
Display all symbols, even debugger-only symbols; normally these are not
|
||||
listed.
|
||||
.Ip "\f(CW\*(C`\-B\*(C'\fR" 4
|
||||
.IX Item "-B"
|
||||
The same as \fB\*(--format=bsd\fR (for compatibility with the \s-1MIPS\s0 \f(CW\*(C`nm\*(C'\fR).
|
||||
.Ip "\f(CW\*(C`\-C\*(C'\fR" 4
|
||||
.IX Item "-C"
|
||||
.Ip "\f(CW\*(C`\-\-demangle[=\f(CIstyle\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--demangle[=style]"
|
||||
Decode (\fIdemangle\fR) low-level symbol names into user-level names.
|
||||
Besides removing any initial underscore prepended by the system, this
|
||||
makes \*(C+ function names readable. Different compilers have different
|
||||
mangling styles. The optional demangling style argument can be used to
|
||||
choose an appropriate demangling style for your compiler.
|
||||
.Ip "\f(CW\*(C`\-\-no\-demangle\*(C'\fR" 4
|
||||
.IX Item "--no-demangle"
|
||||
Do not demangle low-level symbol names. This is the default.
|
||||
.Ip "\f(CW\*(C`\-D\*(C'\fR" 4
|
||||
.IX Item "-D"
|
||||
.Ip "\f(CW\*(C`\-\-dynamic\*(C'\fR" 4
|
||||
.IX Item "--dynamic"
|
||||
Display the dynamic symbols rather than the normal symbols. This is
|
||||
only meaningful for dynamic objects, such as certain types of shared
|
||||
libraries.
|
||||
.Ip "\f(CW\*(C`\-f \f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "-f format"
|
||||
.Ip "\f(CW\*(C`\-\-format=\f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "--format=format"
|
||||
Use the output format \fIformat\fR, which can be \f(CW\*(C`bsd\*(C'\fR,
|
||||
\&\f(CW\*(C`sysv\*(C'\fR, or \f(CW\*(C`posix\*(C'\fR. The default is \f(CW\*(C`bsd\*(C'\fR.
|
||||
Only the first character of \fIformat\fR is significant; it can be
|
||||
either upper or lower case.
|
||||
.Ip "\f(CW\*(C`\-g\*(C'\fR" 4
|
||||
.IX Item "-g"
|
||||
.Ip "\f(CW\*(C`\-\-extern\-only \*(C'\fR" 4
|
||||
.IX Item "--extern-only "
|
||||
Display only external symbols.
|
||||
.Ip "\f(CW\*(C`\-l\*(C'\fR" 4
|
||||
.IX Item "-l"
|
||||
.Ip "\f(CW\*(C`\-\-line\-numbers\*(C'\fR" 4
|
||||
.IX Item "--line-numbers"
|
||||
For each symbol, use debugging information to try to find a filename and
|
||||
line number. For a defined symbol, look for the line number of the
|
||||
address of the symbol. For an undefined symbol, look for the line
|
||||
number of a relocation entry which refers to the symbol. If line number
|
||||
information can be found, print it after the other symbol information.
|
||||
.Ip "\f(CW\*(C`\-n\*(C'\fR" 4
|
||||
.IX Item "-n"
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-\-numeric\-sort \*(C'\fR" 4
|
||||
.IX Item "--numeric-sort "
|
||||
Sort symbols numerically by their addresses, rather than alphabetically
|
||||
by their names.
|
||||
.Ip "\f(CW\*(C`\-p\*(C'\fR" 4
|
||||
.IX Item "-p"
|
||||
.Ip "\f(CW\*(C`\-\-no\-sort \*(C'\fR" 4
|
||||
.IX Item "--no-sort "
|
||||
Do not bother to sort the symbols in any order; print them in the order
|
||||
encountered.
|
||||
.Ip "\f(CW\*(C`\-P\*(C'\fR" 4
|
||||
.IX Item "-P"
|
||||
.Ip "\f(CW\*(C`\-\-portability\*(C'\fR" 4
|
||||
.IX Item "--portability"
|
||||
Use the \s-1POSIX\s0.2 standard output format instead of the default format.
|
||||
Equivalent to \fB\-f posix\fR.
|
||||
.Ip "\f(CW\*(C`\-s\*(C'\fR" 4
|
||||
.IX Item "-s"
|
||||
.Ip "\f(CW\*(C`\-\-print\-armap\*(C'\fR" 4
|
||||
.IX Item "--print-armap"
|
||||
When listing symbols from archive members, include the index: a mapping
|
||||
(stored in the archive by \f(CW\*(C`ar\*(C'\fR or \f(CW\*(C`ranlib\*(C'\fR) of which modules
|
||||
contain definitions for which names.
|
||||
.Ip "\f(CW\*(C`\-r\*(C'\fR" 4
|
||||
.IX Item "-r"
|
||||
.Ip "\f(CW\*(C`\-\-reverse\-sort \*(C'\fR" 4
|
||||
.IX Item "--reverse-sort "
|
||||
Reverse the order of the sort (whether numeric or alphabetic); let the
|
||||
last come first.
|
||||
.Ip "\f(CW\*(C`\-\-size\-sort\*(C'\fR" 4
|
||||
.IX Item "--size-sort"
|
||||
Sort symbols by size. The size is computed as the difference between
|
||||
the value of the symbol and the value of the symbol with the next higher
|
||||
value. The size of the symbol is printed, rather than the value.
|
||||
.Ip "\f(CW\*(C`\-t \f(CIradix\f(CW\*(C'\fR" 4
|
||||
.IX Item "-t radix"
|
||||
.Ip "\f(CW\*(C`\-\-radix=\f(CIradix\f(CW\*(C'\fR" 4
|
||||
.IX Item "--radix=radix"
|
||||
Use \fIradix\fR as the radix for printing the symbol values. It must be
|
||||
\&\fBd\fR for decimal, \fBo\fR for octal, or \fBx\fR for hexadecimal.
|
||||
.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target=bfdname"
|
||||
Specify an object code format other than your system's default format.
|
||||
.Ip "\f(CW\*(C`\-u\*(C'\fR" 4
|
||||
.IX Item "-u"
|
||||
.Ip "\f(CW\*(C`\-\-undefined\-only \*(C'\fR" 4
|
||||
.IX Item "--undefined-only "
|
||||
Display only undefined symbols (those external to each object file).
|
||||
.Ip "\f(CW\*(C`\-\-defined\-only\*(C'\fR" 4
|
||||
.IX Item "--defined-only"
|
||||
Display only defined symbols for each object file.
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Show the version number of \f(CW\*(C`nm\*(C'\fR and exit.
|
||||
.Ip "\f(CW\*(C`\-X\*(C'\fR" 4
|
||||
.IX Item "-X"
|
||||
This option is ignored for compatibility with the \s-1AIX\s0 version of
|
||||
\&\f(CW\*(C`nm\*(C'\fR. It takes one parameter which must be the string
|
||||
\&\f(CW\*(C`32_64\*(C'\fR. The default mode of \s-1AIX\s0 \f(CW\*(C`nm\*(C'\fR corresponds
|
||||
to \f(CW\*(C`\-X 32\*(C'\fR, which is not supported by \s-1GNU\s0 \f(CW\*(C`nm\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Show a summary of the options to \f(CW\*(C`nm\*(C'\fR and exit.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fIar\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,548 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:28 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "OBJCOPY.1 1"
|
||||
.TH OBJCOPY.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
objcopy \- copy and translate object files
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
objcopy [ \-F \fIbfdname\fR | \-\-target=\fIbfdname\fR ]
|
||||
[ \-I \fIbfdname\fR | \-\-input-target=\fIbfdname\fR ]
|
||||
[ \-O \fIbfdname\fR | \-\-output-target=\fIbfdname\fR ]
|
||||
[ \-B \fIbfdarch\fR | \-\-binary-architecture=\fIbfdarch\fR ]
|
||||
[ \-S | \-\-strip-all ] [ \-g | \-\-strip-debug ]
|
||||
[ \-K \fIsymbolname\fR | \-\-keep-symbol=\fIsymbolname\fR ]
|
||||
[ \-N \fIsymbolname\fR | \-\-strip-symbol=\fIsymbolname\fR ]
|
||||
[ \-G \fIsymbolname\fR | \-\-keep-global-symbol=\fIsymbolname\fR]
|
||||
[ \-L \fIsymbolname\fR | \-\-localize-symbol=\fIsymbolname\fR ]
|
||||
[ \-W \fIsymbolname\fR | \-\-weaken-symbol=\fIsymbolname\fR ]
|
||||
[ \-x | \-\-discard-all ] [ \-X | \-\-discard-locals ]
|
||||
[ \-b \fIbyte\fR | \-\-byte=\fIbyte\fR ]
|
||||
[ \-i \fIinterleave\fR | \-\-interleave=\fIinterleave\fR ]
|
||||
[ \-j \fIsectionname\fR | \-\-only-section=\fIsectionname\fR ]
|
||||
[ \-R \fIsectionname\fR | \-\-remove-section=\fIsectionname\fR ]
|
||||
[ \-p | \-\-preserve-dates ] [ \-\-debugging ]
|
||||
[ \-\-gap-fill=\fIval\fR ] [ \-\-pad-to=\fIaddress\fR ]
|
||||
[ \-\-set-start=\fIval\fR ] [ \-\-adjust-start=\fIincr\fR ]
|
||||
[ \-\-change-addresses=\fIincr\fR ]
|
||||
[ \-\-change-section-address \fIsection\fR{=,+,\-}\fIval\fR ]
|
||||
[ \-\-change-section-lma \fIsection\fR{=,+,\-}\fIval\fR ]
|
||||
[ \-\-change-section-vma \fIsection\fR{=,+,\-}\fIval\fR ]
|
||||
[ \-\-change-warnings ] [ \-\-no-change-warnings ]
|
||||
[ \-\-set-section-flags \fIsection\fR=\fIflags\fR ]
|
||||
[ \-\-add-section \fIsectionname\fR=\fIfilename\fR ]
|
||||
[ \-\-change-leading-char ] [ \-\-remove-leading-char ]
|
||||
[ \-\-srec-len=\fIival\fR ] [ \-\-srec-forceS3 ]
|
||||
[ \-\-redefine-sym \fIold\fR=\fInew\fR ] [ \-\-weaken ]
|
||||
[ \-\-keep-symbols=\fIfilename\fR ]
|
||||
[ \-\-strip-symbols=\fIfilename\fR ]
|
||||
[ \-\-keep-global-symbols=\fIfilename\fR ]
|
||||
[ \-\-localize-symbols=\fIfilename\fR ]
|
||||
[ \-\-weaken-symbols=\fIfilename\fR ]
|
||||
[ \-v | \-\-verbose ] [ \-V | \-\-version ] [ \-\-help ]
|
||||
\fIinfile\fR [\fIoutfile\fR]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
The \s-1GNU\s0 \f(CW\*(C`objcopy\*(C'\fR utility copies the contents of an object
|
||||
file to another. \f(CW\*(C`objcopy\*(C'\fR uses the \s-1GNU\s0 \s-1BFD\s0 Library to
|
||||
read and write the object files. It can write the destination object
|
||||
file in a format different from that of the source object file. The
|
||||
exact behavior of \f(CW\*(C`objcopy\*(C'\fR is controlled by command-line options.
|
||||
Note that \f(CW\*(C`objcopy\*(C'\fR should be able to copy a fully linked file
|
||||
between any two formats. However, copying a relocatable object file
|
||||
between any two formats may not work as expected.
|
||||
.PP
|
||||
\&\f(CW\*(C`objcopy\*(C'\fR creates temporary files to do its translations and
|
||||
deletes them afterward. \f(CW\*(C`objcopy\*(C'\fR uses \s-1BFD\s0 to do all its
|
||||
translation work; it has access to all the formats described in \s-1BFD\s0
|
||||
and thus is able to recognize most formats without being told
|
||||
explicitly.
|
||||
.PP
|
||||
\&\f(CW\*(C`objcopy\*(C'\fR can be used to generate S-records by using an output
|
||||
target of \fBsrec\fR (e.g., use \fB\-O srec\fR).
|
||||
.PP
|
||||
\&\f(CW\*(C`objcopy\*(C'\fR can be used to generate a raw binary file by using an
|
||||
output target of \fBbinary\fR (e.g., use \fB\-O binary\fR). When
|
||||
\&\f(CW\*(C`objcopy\*(C'\fR generates a raw binary file, it will essentially produce
|
||||
a memory dump of the contents of the input object file. All symbols and
|
||||
relocation information will be discarded. The memory dump will start at
|
||||
the load address of the lowest section copied into the output file.
|
||||
.PP
|
||||
When generating an S-record or a raw binary file, it may be helpful to
|
||||
use \fB\-S\fR to remove sections containing debugging information. In
|
||||
some cases \fB\-R\fR will be useful to remove sections which contain
|
||||
information that is not needed by the binary file.
|
||||
.PP
|
||||
Note \- \f(CW\*(C`objcopy\*(C'\fR is not able to change the endianness of its input
|
||||
files. If the input format has an endianness, (some formats do not),
|
||||
\&\f(CW\*(C`objcopy\*(C'\fR can only copy the inputs into file formats that have the
|
||||
same endianness or which have no endianness (eg \fBsrec\fR).
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\f(CIinfile\f(CW\*(C'\fR" 4
|
||||
.IX Item "infile"
|
||||
.Ip "\f(CW\*(C`\f(CIoutfile\f(CW\*(C'\fR" 4
|
||||
.IX Item "outfile"
|
||||
The input and output files, respectively.
|
||||
If you do not specify \fIoutfile\fR, \f(CW\*(C`objcopy\*(C'\fR creates a
|
||||
temporary file and destructively renames the result with
|
||||
the name of \fIinfile\fR.
|
||||
.Ip "\f(CW\*(C`\-I \f(CIbfdname\f(CW \*(C'\fR" 4
|
||||
.IX Item "-I bfdname "
|
||||
.Ip "\f(CW\*(C`\-\-input\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--input-target=bfdname"
|
||||
Consider the source file's object format to be \fIbfdname\fR, rather than
|
||||
attempting to deduce it.
|
||||
.Ip "\f(CW\*(C`\-O \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-O bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-output\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output-target=bfdname"
|
||||
Write the output file using the object format \fIbfdname\fR.
|
||||
.Ip "\f(CW\*(C`\-F \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-F bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target=bfdname"
|
||||
Use \fIbfdname\fR as the object format for both the input and the output
|
||||
file; i.e., simply transfer data from source to destination with no
|
||||
translation.
|
||||
.Ip "\f(CW\*(C`\-B \f(CIbfdarch\f(CW\*(C'\fR" 4
|
||||
.IX Item "-B bfdarch"
|
||||
.Ip "\f(CW\*(C`\-\-binary\-architecture=\f(CIbfdarch\f(CW\*(C'\fR" 4
|
||||
.IX Item "--binary-architecture=bfdarch"
|
||||
Useful when transforming a raw binary input file into an object file.
|
||||
In this case the output architecture can be set to \fIbfdarch\fR. This
|
||||
option will be ignored if the input file has a known \fIbfdarch\fR. You
|
||||
can access this binary data inside a program by referencing the special
|
||||
symbols that are created by the conversion process. These symbols are
|
||||
called _binary_\fIobjfile\fR_start, _binary_\fIobjfile\fR_end and
|
||||
_binary_\fIobjfile\fR_size. e.g. you can transform a picture file into
|
||||
an object file and then access it in your code using these symbols.
|
||||
.Ip "\f(CW\*(C`\-j \f(CIsectionname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-j sectionname"
|
||||
.Ip "\f(CW\*(C`\-\-only\-section=\f(CIsectionname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--only-section=sectionname"
|
||||
Copy only the named section from the input file to the output file.
|
||||
This option may be given more than once. Note that using this option
|
||||
inappropriately may make the output file unusable.
|
||||
.Ip "\f(CW\*(C`\-R \f(CIsectionname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-R sectionname"
|
||||
.Ip "\f(CW\*(C`\-\-remove\-section=\f(CIsectionname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--remove-section=sectionname"
|
||||
Remove any section named \fIsectionname\fR from the output file. This
|
||||
option may be given more than once. Note that using this option
|
||||
inappropriately may make the output file unusable.
|
||||
.Ip "\f(CW\*(C`\-S\*(C'\fR" 4
|
||||
.IX Item "-S"
|
||||
.Ip "\f(CW\*(C`\-\-strip\-all\*(C'\fR" 4
|
||||
.IX Item "--strip-all"
|
||||
Do not copy relocation and symbol information from the source file.
|
||||
.Ip "\f(CW\*(C`\-g\*(C'\fR" 4
|
||||
.IX Item "-g"
|
||||
.Ip "\f(CW\*(C`\-\-strip\-debug\*(C'\fR" 4
|
||||
.IX Item "--strip-debug"
|
||||
Do not copy debugging symbols from the source file.
|
||||
.Ip "\f(CW\*(C`\-\-strip\-unneeded\*(C'\fR" 4
|
||||
.IX Item "--strip-unneeded"
|
||||
Strip all symbols that are not needed for relocation processing.
|
||||
.Ip "\f(CW\*(C`\-K \f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-K symbolname"
|
||||
.Ip "\f(CW\*(C`\-\-keep\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--keep-symbol=symbolname"
|
||||
Copy only symbol \fIsymbolname\fR from the source file. This option may
|
||||
be given more than once.
|
||||
.Ip "\f(CW\*(C`\-N \f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-N symbolname"
|
||||
.Ip "\f(CW\*(C`\-\-strip\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--strip-symbol=symbolname"
|
||||
Do not copy symbol \fIsymbolname\fR from the source file. This option
|
||||
may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-G \f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-G symbolname"
|
||||
.Ip "\f(CW\*(C`\-\-keep\-global\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--keep-global-symbol=symbolname"
|
||||
Keep only symbol \fIsymbolname\fR global. Make all other symbols local
|
||||
to the file, so that they are not visible externally. This option may
|
||||
be given more than once.
|
||||
.Ip "\f(CW\*(C`\-L \f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-L symbolname"
|
||||
.Ip "\f(CW\*(C`\-\-localize\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--localize-symbol=symbolname"
|
||||
Make symbol \fIsymbolname\fR local to the file, so that it is not
|
||||
visible externally. This option may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-W \f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-W symbolname"
|
||||
.Ip "\f(CW\*(C`\-\-weaken\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--weaken-symbol=symbolname"
|
||||
Make symbol \fIsymbolname\fR weak. This option may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-x\*(C'\fR" 4
|
||||
.IX Item "-x"
|
||||
.Ip "\f(CW\*(C`\-\-discard\-all\*(C'\fR" 4
|
||||
.IX Item "--discard-all"
|
||||
Do not copy non-global symbols from the source file.
|
||||
.Ip "\f(CW\*(C`\-X\*(C'\fR" 4
|
||||
.IX Item "-X"
|
||||
.Ip "\f(CW\*(C`\-\-discard\-locals\*(C'\fR" 4
|
||||
.IX Item "--discard-locals"
|
||||
Do not copy compiler-generated local symbols.
|
||||
(These usually start with \fBL\fR or \fB.\fR.)
|
||||
.Ip "\f(CW\*(C`\-b \f(CIbyte\f(CW\*(C'\fR" 4
|
||||
.IX Item "-b byte"
|
||||
.Ip "\f(CW\*(C`\-\-byte=\f(CIbyte\f(CW\*(C'\fR" 4
|
||||
.IX Item "--byte=byte"
|
||||
Keep only every \fIbyte\fRth byte of the input file (header data is not
|
||||
affected). \fIbyte\fR can be in the range from 0 to \fIinterleave\fR\-1,
|
||||
where \fIinterleave\fR is given by the \fB\-i\fR or \fB\*(--interleave\fR
|
||||
option, or the default of 4. This option is useful for creating files
|
||||
to program \s-1ROM\s0. It is typically used with an \f(CW\*(C`srec\*(C'\fR output
|
||||
target.
|
||||
.Ip "\f(CW\*(C`\-i \f(CIinterleave\f(CW\*(C'\fR" 4
|
||||
.IX Item "-i interleave"
|
||||
.Ip "\f(CW\*(C`\-\-interleave=\f(CIinterleave\f(CW\*(C'\fR" 4
|
||||
.IX Item "--interleave=interleave"
|
||||
Only copy one out of every \fIinterleave\fR bytes. Select which byte to
|
||||
copy with the \fI\-b\fR or \fB\*(--byte\fR option. The default is 4.
|
||||
\&\f(CW\*(C`objcopy\*(C'\fR ignores this option if you do not specify either \fB\-b\fR or
|
||||
\&\fB\*(--byte\fR.
|
||||
.Ip "\f(CW\*(C`\-p\*(C'\fR" 4
|
||||
.IX Item "-p"
|
||||
.Ip "\f(CW\*(C`\-\-preserve\-dates\*(C'\fR" 4
|
||||
.IX Item "--preserve-dates"
|
||||
Set the access and modification dates of the output file to be the same
|
||||
as those of the input file.
|
||||
.Ip "\f(CW\*(C`\-\-debugging\*(C'\fR" 4
|
||||
.IX Item "--debugging"
|
||||
Convert debugging information, if possible. This is not the default
|
||||
because only certain debugging formats are supported, and the
|
||||
conversion process can be time consuming.
|
||||
.Ip "\f(CW\*(C`\-\-gap\-fill \f(CIval\f(CW\*(C'\fR" 4
|
||||
.IX Item "--gap-fill val"
|
||||
Fill gaps between sections with \fIval\fR. This operation applies to
|
||||
the \fIload address\fR (\s-1LMA\s0) of the sections. It is done by increasing
|
||||
the size of the section with the lower address, and filling in the extra
|
||||
space created with \fIval\fR.
|
||||
.Ip "\f(CW\*(C`\-\-pad\-to \f(CIaddress\f(CW\*(C'\fR" 4
|
||||
.IX Item "--pad-to address"
|
||||
Pad the output file up to the load address \fIaddress\fR. This is
|
||||
done by increasing the size of the last section. The extra space is
|
||||
filled in with the value specified by \fB\*(--gap-fill\fR (default zero).
|
||||
.Ip "\f(CW\*(C`\-\-set\-start \f(CIval\f(CW\*(C'\fR" 4
|
||||
.IX Item "--set-start val"
|
||||
Set the start address of the new file to \fIval\fR. Not all object file
|
||||
formats support setting the start address.
|
||||
.Ip "\f(CW\*(C`\-\-change\-start \f(CIincr\f(CW\*(C'\fR" 4
|
||||
.IX Item "--change-start incr"
|
||||
.Ip "\f(CW\*(C`\-\-adjust\-start \f(CIincr\f(CW\*(C'\fR" 4
|
||||
.IX Item "--adjust-start incr"
|
||||
Change the start address by adding \fIincr\fR. Not all object file
|
||||
formats support setting the start address.
|
||||
.Ip "\f(CW\*(C`\-\-change\-addresses \f(CIincr\f(CW\*(C'\fR" 4
|
||||
.IX Item "--change-addresses incr"
|
||||
.Ip "\f(CW\*(C`\-\-adjust\-vma \f(CIincr\f(CW\*(C'\fR" 4
|
||||
.IX Item "--adjust-vma incr"
|
||||
Change the \s-1VMA\s0 and \s-1LMA\s0 addresses of all sections, as well as the start
|
||||
address, by adding \fIincr\fR. Some object file formats do not permit
|
||||
section addresses to be changed arbitrarily. Note that this does not
|
||||
relocate the sections; if the program expects sections to be loaded at a
|
||||
certain address, and this option is used to change the sections such
|
||||
that they are loaded at a different address, the program may fail.
|
||||
.Ip "\f(CW\*(C`\-\-change\-section\-address \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4
|
||||
.IX Item "--change-section-address section{=,+,-}val"
|
||||
.Ip "\f(CW\*(C`\-\-adjust\-section\-vma \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4
|
||||
.IX Item "--adjust-section-vma section{=,+,-}val"
|
||||
Set or change both the \s-1VMA\s0 address and the \s-1LMA\s0 address of the named
|
||||
\&\fIsection\fR. If \fB=\fR is used, the section address is set to
|
||||
\&\fIval\fR. Otherwise, \fIval\fR is added to or subtracted from the
|
||||
section address. See the comments under \fB\*(--change-addresses\fR,
|
||||
above. If \fIsection\fR does not exist in the input file, a warning will
|
||||
be issued, unless \fB\*(--no-change-warnings\fR is used.
|
||||
.Ip "\f(CW\*(C`\-\-change\-section\-lma \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4
|
||||
.IX Item "--change-section-lma section{=,+,-}val"
|
||||
Set or change the \s-1LMA\s0 address of the named \fIsection\fR. The \s-1LMA\s0
|
||||
address is the address where the section will be loaded into memory at
|
||||
program load time. Normally this is the same as the \s-1VMA\s0 address, which
|
||||
is the address of the section at program run time, but on some systems,
|
||||
especially those where a program is held in \s-1ROM\s0, the two can be
|
||||
different. If \fB=\fR is used, the section address is set to
|
||||
\&\fIval\fR. Otherwise, \fIval\fR is added to or subtracted from the
|
||||
section address. See the comments under \fB\*(--change-addresses\fR,
|
||||
above. If \fIsection\fR does not exist in the input file, a warning
|
||||
will be issued, unless \fB\*(--no-change-warnings\fR is used.
|
||||
.Ip "\f(CW\*(C`\-\-change\-section\-vma \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4
|
||||
.IX Item "--change-section-vma section{=,+,-}val"
|
||||
Set or change the \s-1VMA\s0 address of the named \fIsection\fR. The \s-1VMA\s0
|
||||
address is the address where the section will be located once the
|
||||
program has started executing. Normally this is the same as the \s-1LMA\s0
|
||||
address, which is the address where the section will be loaded into
|
||||
memory, but on some systems, especially those where a program is held in
|
||||
\&\s-1ROM\s0, the two can be different. If \fB=\fR is used, the section address
|
||||
is set to \fIval\fR. Otherwise, \fIval\fR is added to or subtracted
|
||||
from the section address. See the comments under
|
||||
\&\fB\*(--change-addresses\fR, above. If \fIsection\fR does not exist in
|
||||
the input file, a warning will be issued, unless
|
||||
\&\fB\*(--no-change-warnings\fR is used.
|
||||
.Ip "\f(CW\*(C`\-\-change\-warnings\*(C'\fR" 4
|
||||
.IX Item "--change-warnings"
|
||||
.Ip "\f(CW\*(C`\-\-adjust\-warnings\*(C'\fR" 4
|
||||
.IX Item "--adjust-warnings"
|
||||
If \fB\*(--change-section-address\fR or \fB\*(--change-section-lma\fR or
|
||||
\&\fB\*(--change-section-vma\fR is used, and the named section does not
|
||||
exist, issue a warning. This is the default.
|
||||
.Ip "\f(CW\*(C`\-\-no\-change\-warnings\*(C'\fR" 4
|
||||
.IX Item "--no-change-warnings"
|
||||
.Ip "\f(CW\*(C`\-\-no\-adjust\-warnings\*(C'\fR" 4
|
||||
.IX Item "--no-adjust-warnings"
|
||||
Do not issue a warning if \fB\*(--change-section-address\fR or
|
||||
\&\fB\*(--adjust-section-lma\fR or \fB\*(--adjust-section-vma\fR is used, even
|
||||
if the named section does not exist.
|
||||
.Ip "\f(CW\*(C`\-\-set\-section\-flags \f(CIsection\f(CW=\f(CIflags\f(CW\*(C'\fR" 4
|
||||
.IX Item "--set-section-flags section=flags"
|
||||
Set the flags for the named section. The \fIflags\fR argument is a
|
||||
comma separated string of flag names. The recognized names are
|
||||
\&\fBalloc\fR, \fBcontents\fR, \fBload\fR, \fBnoload\fR,
|
||||
\&\fBreadonly\fR, \fBcode\fR, \fBdata\fR, \fBrom\fR, \fBshare\fR, and
|
||||
\&\fBdebug\fR. You can set the \fBcontents\fR flag for a section which
|
||||
does not have contents, but it is not meaningful to clear the
|
||||
\&\fBcontents\fR flag of a section which does have contents\*(--just remove
|
||||
the section instead. Not all flags are meaningful for all object file
|
||||
formats.
|
||||
.Ip "\f(CW\*(C`\-\-add\-section \f(CIsectionname\f(CW=\f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--add-section sectionname=filename"
|
||||
Add a new section named \fIsectionname\fR while copying the file. The
|
||||
contents of the new section are taken from the file \fIfilename\fR. The
|
||||
size of the section will be the size of the file. This option only
|
||||
works on file formats which can support sections with arbitrary names.
|
||||
.Ip "\f(CW\*(C`\-\-change\-leading\-char\*(C'\fR" 4
|
||||
.IX Item "--change-leading-char"
|
||||
Some object file formats use special characters at the start of
|
||||
symbols. The most common such character is underscore, which compilers
|
||||
often add before every symbol. This option tells \f(CW\*(C`objcopy\*(C'\fR to
|
||||
change the leading character of every symbol when it converts between
|
||||
object file formats. If the object file formats use the same leading
|
||||
character, this option has no effect. Otherwise, it will add a
|
||||
character, or remove a character, or change a character, as
|
||||
appropriate.
|
||||
.Ip "\f(CW\*(C`\-\-remove\-leading\-char\*(C'\fR" 4
|
||||
.IX Item "--remove-leading-char"
|
||||
If the first character of a global symbol is a special symbol leading
|
||||
character used by the object file format, remove the character. The
|
||||
most common symbol leading character is underscore. This option will
|
||||
remove a leading underscore from all global symbols. This can be useful
|
||||
if you want to link together objects of different file formats with
|
||||
different conventions for symbol names. This is different from
|
||||
\&\f(CW\*(C`\-\-change\-leading\-char\*(C'\fR because it always changes the symbol name
|
||||
when appropriate, regardless of the object file format of the output
|
||||
file.
|
||||
.Ip "\f(CW\*(C`\-\-srec\-len=\f(CIival\f(CW\*(C'\fR" 4
|
||||
.IX Item "--srec-len=ival"
|
||||
Meaningful only for srec output. Set the maximum length of the Srecords
|
||||
being produced to \fIival\fR. This length covers both address, data and
|
||||
crc fields.
|
||||
.Ip "\f(CW\*(C`\-\-srec\-forceS3\*(C'\fR" 4
|
||||
.IX Item "--srec-forceS3"
|
||||
Meaningful only for srec output. Avoid generation of S1/S2 records,
|
||||
creating S3\-only record format.
|
||||
.Ip "\f(CW\*(C`\-\-redefine\-sym \f(CIold\f(CW=\f(CInew\f(CW\*(C'\fR" 4
|
||||
.IX Item "--redefine-sym old=new"
|
||||
Change the name of a symbol \fIold\fR, to \fInew\fR. This can be useful
|
||||
when one is trying link two things together for which you have no
|
||||
source, and there are name collisions.
|
||||
.Ip "\f(CW\*(C`\-\-weaken\*(C'\fR" 4
|
||||
.IX Item "--weaken"
|
||||
Change all global symbols in the file to be weak. This can be useful
|
||||
when building an object which will be linked against other objects using
|
||||
the \f(CW\*(C`\-R\*(C'\fR option to the linker. This option is only effective when
|
||||
using an object file format which supports weak symbols.
|
||||
.Ip "\f(CW\*(C`\-\-keep\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--keep-symbols=filename"
|
||||
Apply \fB\*(--keep-symbol\fR option to each symbol listed in the file
|
||||
\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol
|
||||
name per line. Line comments may be introduced by the hash character.
|
||||
This option may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-\-strip\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--strip-symbols=filename"
|
||||
Apply \fB\*(--strip-symbol\fR option to each symbol listed in the file
|
||||
\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol
|
||||
name per line. Line comments may be introduced by the hash character.
|
||||
This option may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-\-keep\-global\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--keep-global-symbols=filename"
|
||||
Apply \fB\*(--keep-global-symbol\fR option to each symbol listed in the
|
||||
file \fIfilename\fR. \fIfilename\fR is simply a flat file, with one
|
||||
symbol name per line. Line comments may be introduced by the hash
|
||||
character. This option may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-\-localize\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--localize-symbols=filename"
|
||||
Apply \fB\*(--localize-symbol\fR option to each symbol listed in the file
|
||||
\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol
|
||||
name per line. Line comments may be introduced by the hash character.
|
||||
This option may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-\-weaken\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--weaken-symbols=filename"
|
||||
Apply \fB\*(--weaken-symbol\fR option to each symbol listed in the file
|
||||
\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol
|
||||
name per line. Line comments may be introduced by the hash character.
|
||||
This option may be given more than once.
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Show the version number of \f(CW\*(C`objcopy\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-\-verbose\*(C'\fR" 4
|
||||
.IX Item "--verbose"
|
||||
Verbose output: list all object files modified. In the case of
|
||||
archives, \fBobjcopy \-V\fR lists all members of the archive.
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Show a summary of the options to \f(CW\*(C`objcopy\*(C'\fR.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fIld\fR\|(1), \fIobjdump\fR\|(1), and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,459 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:28 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "OBJDUMP.1 1"
|
||||
.TH OBJDUMP.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
objdump \- display information from object files.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
objdump [ \-a | \-\-archive-headers ]
|
||||
[ \-b \fIbfdname\fR | \-\-target=\fIbfdname\fR ]
|
||||
[ \-C | \-\-demangle[=\fIstyle\fR] ]
|
||||
[ \-d | \-\-disassemble ]
|
||||
[ \-D | \-\-disassemble-all ]
|
||||
[ \-z | \-\-disassemble-zeroes ]
|
||||
[ \-EB | \-EL | \-\-endian={big | little } ]
|
||||
[ \-f | \-\-file-headers ]
|
||||
[ \-\-file-start-context ]
|
||||
[ \-g | \-\-debugging ]
|
||||
[ \-h | \-\-section-headers | \-\-headers ]
|
||||
[ \-i | \-\-info ]
|
||||
[ \-j \fIsection\fR | \-\-section=\fIsection\fR ]
|
||||
[ \-l | \-\-line-numbers ]
|
||||
[ \-S | \-\-source ]
|
||||
[ \-m \fImachine\fR | \-\-architecture=\fImachine\fR ]
|
||||
[ \-M \fIoptions\fR | \-\-disassembler-options=\fIoptions\fR]
|
||||
[ \-p | \-\-private-headers ]
|
||||
[ \-r | \-\-reloc ]
|
||||
[ \-R | \-\-dynamic-reloc ]
|
||||
[ \-s | \-\-full-contents ]
|
||||
[ \-G | \-\-stabs ]
|
||||
[ \-t | \-\-syms ]
|
||||
[ \-T | \-\-dynamic-syms ]
|
||||
[ \-x | \-\-all-headers ]
|
||||
[ \-w | \-\-wide ]
|
||||
[ \-\-start-address=\fIaddress\fR ]
|
||||
[ \-\-stop-address=\fIaddress\fR ]
|
||||
[ \-\-prefix-addresses]
|
||||
[ \-\-[no-]show-raw-insn ]
|
||||
[ \-\-adjust-vma=\fIoffset\fR ]
|
||||
[ \-V | \-\-version ]
|
||||
[ \-H | \-\-help ]
|
||||
\fIobjfile\fR...
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`objdump\*(C'\fR displays information about one or more object files.
|
||||
The options control what particular information to display. This
|
||||
information is mostly useful to programmers who are working on the
|
||||
compilation tools, as opposed to programmers who just want their
|
||||
program to compile and work.
|
||||
.PP
|
||||
\&\fIobjfile\fR... are the object files to be examined. When you
|
||||
specify archives, \f(CW\*(C`objdump\*(C'\fR shows information on each of the member
|
||||
object files.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
The long and short forms of options, shown here as alternatives, are
|
||||
equivalent. At least one option from the list
|
||||
\&\fB\-a,\-d,\-D,\-f,\-g,\-G,\-h,\-H,\-p,\-r,\-R,\-S,\-t,\-T,\-V,\-x\fR must be given.
|
||||
.Ip "\f(CW\*(C`\-a\*(C'\fR" 4
|
||||
.IX Item "-a"
|
||||
.Ip "\f(CW\*(C`\-\-archive\-header\*(C'\fR" 4
|
||||
.IX Item "--archive-header"
|
||||
If any of the \fIobjfile\fR files are archives, display the archive
|
||||
header information (in a format similar to \fBls \-l\fR). Besides the
|
||||
information you could list with \fBar tv\fR, \fBobjdump \-a\fR shows
|
||||
the object file format of each archive member.
|
||||
.Ip "\f(CW\*(C`\-\-adjust\-vma=\f(CIoffset\f(CW\*(C'\fR" 4
|
||||
.IX Item "--adjust-vma=offset"
|
||||
When dumping information, first add \fIoffset\fR to all the section
|
||||
addresses. This is useful if the section addresses do not correspond to
|
||||
the symbol table, which can happen when putting sections at particular
|
||||
addresses when using a format which can not represent section addresses,
|
||||
such as a.out.
|
||||
.Ip "\f(CW\*(C`\-b \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-b bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target=bfdname"
|
||||
Specify that the object-code format for the object files is
|
||||
\&\fIbfdname\fR. This option may not be necessary; \fIobjdump\fR can
|
||||
automatically recognize many formats.
|
||||
.Sp
|
||||
For example,
|
||||
.Sp
|
||||
.Vb 1
|
||||
\& objdump -b oasys -m vax -h fu.o
|
||||
.Ve
|
||||
displays summary information from the section headers (\fB\-h\fR) of
|
||||
\&\fIfu.o\fR, which is explicitly identified (\fB\-m\fR) as a \s-1VAX\s0 object
|
||||
file in the format produced by Oasys compilers. You can list the
|
||||
formats available with the \fB\-i\fR option.
|
||||
.Ip "\f(CW\*(C`\-C\*(C'\fR" 4
|
||||
.IX Item "-C"
|
||||
.Ip "\f(CW\*(C`\-\-demangle[=\f(CIstyle\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--demangle[=style]"
|
||||
Decode (\fIdemangle\fR) low-level symbol names into user-level names.
|
||||
Besides removing any initial underscore prepended by the system, this
|
||||
makes \*(C+ function names readable. Different compilers have different
|
||||
mangling styles. The optional demangling style argument can be used to
|
||||
choose an appropriate demangling style for your compiler.
|
||||
.Ip "\f(CW\*(C`\-G\*(C'\fR" 4
|
||||
.IX Item "-G"
|
||||
.Ip "\f(CW\*(C`\-\-debugging\*(C'\fR" 4
|
||||
.IX Item "--debugging"
|
||||
Display debugging information. This attempts to parse debugging
|
||||
information stored in the file and print it out using a C like syntax.
|
||||
Only certain types of debugging information have been implemented.
|
||||
.Ip "\f(CW\*(C`\-d\*(C'\fR" 4
|
||||
.IX Item "-d"
|
||||
.Ip "\f(CW\*(C`\-\-disassemble\*(C'\fR" 4
|
||||
.IX Item "--disassemble"
|
||||
Display the assembler mnemonics for the machine instructions from
|
||||
\&\fIobjfile\fR. This option only disassembles those sections which are
|
||||
expected to contain instructions.
|
||||
.Ip "\f(CW\*(C`\-D\*(C'\fR" 4
|
||||
.IX Item "-D"
|
||||
.Ip "\f(CW\*(C`\-\-disassemble\-all\*(C'\fR" 4
|
||||
.IX Item "--disassemble-all"
|
||||
Like \fB\-d\fR, but disassemble the contents of all sections, not just
|
||||
those expected to contain instructions.
|
||||
.Ip "\f(CW\*(C`\-\-prefix\-addresses\*(C'\fR" 4
|
||||
.IX Item "--prefix-addresses"
|
||||
When disassembling, print the complete address on each line. This is
|
||||
the older disassembly format.
|
||||
.Ip "\f(CW\*(C`\-\-disassemble\-zeroes\*(C'\fR" 4
|
||||
.IX Item "--disassemble-zeroes"
|
||||
Normally the disassembly output will skip blocks of zeroes. This
|
||||
option directs the disassembler to disassemble those blocks, just like
|
||||
any other data.
|
||||
.Ip "\f(CW\*(C`\-EB\*(C'\fR" 4
|
||||
.IX Item "-EB"
|
||||
.Ip "\f(CW\*(C`\-EL\*(C'\fR" 4
|
||||
.IX Item "-EL"
|
||||
.Ip "\f(CW\*(C`\-\-endian={big|little}\*(C'\fR" 4
|
||||
.IX Item "--endian={big|little}"
|
||||
Specify the endianness of the object files. This only affects
|
||||
disassembly. This can be useful when disassembling a file format which
|
||||
does not describe endianness information, such as S-records.
|
||||
.Ip "\f(CW\*(C`\-f\*(C'\fR" 4
|
||||
.IX Item "-f"
|
||||
.Ip "\f(CW\*(C`\-\-file\-header\*(C'\fR" 4
|
||||
.IX Item "--file-header"
|
||||
Display summary information from the overall header of
|
||||
each of the \fIobjfile\fR files.
|
||||
.Ip "\f(CW\*(C`\-\-file\-start\-context\*(C'\fR" 4
|
||||
.IX Item "--file-start-context"
|
||||
Specify that when displaying interlisted source code/disassembly
|
||||
(assumes '\-S') from a file that has not yet been displayed, extend the
|
||||
context to the start of the file.
|
||||
.Ip "\f(CW\*(C`\-h\*(C'\fR" 4
|
||||
.IX Item "-h"
|
||||
.Ip "\f(CW\*(C`\-\-section\-header\*(C'\fR" 4
|
||||
.IX Item "--section-header"
|
||||
.Ip "\f(CW\*(C`\-\-header\*(C'\fR" 4
|
||||
.IX Item "--header"
|
||||
Display summary information from the section headers of the
|
||||
object file.
|
||||
.Sp
|
||||
File segments may be relocated to nonstandard addresses, for example by
|
||||
using the \fB\-Ttext\fR, \fB\-Tdata\fR, or \fB\-Tbss\fR options to
|
||||
\&\f(CW\*(C`ld\*(C'\fR. However, some object file formats, such as a.out, do not
|
||||
store the starting address of the file segments. In those situations,
|
||||
although \f(CW\*(C`ld\*(C'\fR relocates the sections correctly, using \fBobjdump
|
||||
\&\-h\fR to list the file section headers cannot show the correct addresses.
|
||||
Instead, it shows the usual addresses, which are implicit for the
|
||||
target.
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Print a summary of the options to \f(CW\*(C`objdump\*(C'\fR and exit.
|
||||
.Ip "\f(CW\*(C`\-i\*(C'\fR" 4
|
||||
.IX Item "-i"
|
||||
.Ip "\f(CW\*(C`\-\-info\*(C'\fR" 4
|
||||
.IX Item "--info"
|
||||
Display a list showing all architectures and object formats available
|
||||
for specification with \fB\-b\fR or \fB\-m\fR.
|
||||
.Ip "\f(CW\*(C`\-j \f(CIname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-j name"
|
||||
.Ip "\f(CW\*(C`\-\-section=\f(CIname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--section=name"
|
||||
Display information only for section \fIname\fR.
|
||||
.Ip "\f(CW\*(C`\-l\*(C'\fR" 4
|
||||
.IX Item "-l"
|
||||
.Ip "\f(CW\*(C`\-\-line\-numbers\*(C'\fR" 4
|
||||
.IX Item "--line-numbers"
|
||||
Label the display (using debugging information) with the filename and
|
||||
source line numbers corresponding to the object code or relocs shown.
|
||||
Only useful with \fB\-d\fR, \fB\-D\fR, or \fB\-r\fR.
|
||||
.Ip "\f(CW\*(C`\-m \f(CImachine\f(CW\*(C'\fR" 4
|
||||
.IX Item "-m machine"
|
||||
.Ip "\f(CW\*(C`\-\-architecture=\f(CImachine\f(CW\*(C'\fR" 4
|
||||
.IX Item "--architecture=machine"
|
||||
Specify the architecture to use when disassembling object files. This
|
||||
can be useful when disassembling object files which do not describe
|
||||
architecture information, such as S-records. You can list the available
|
||||
architectures with the \fB\-i\fR option.
|
||||
.Ip "\f(CW\*(C`\-M \f(CIoptions\f(CW\*(C'\fR" 4
|
||||
.IX Item "-M options"
|
||||
.Ip "\f(CW\*(C`\-\-disassembler\-options=\f(CIoptions\f(CW\*(C'\fR" 4
|
||||
.IX Item "--disassembler-options=options"
|
||||
Pass target specific information to the disassembler. Only supported on
|
||||
some targets.
|
||||
.Sp
|
||||
If the target is an \s-1ARM\s0 architecture then this switch can be used to
|
||||
select which register name set is used during disassembler. Specifying
|
||||
\&\fB\-M reg-name-std\fR (the default) will select the register names as
|
||||
used in \s-1ARM\s0's instruction set documentation, but with register 13 called
|
||||
\&'sp', register 14 called 'lr' and register 15 called 'pc'. Specifying
|
||||
\&\fB\-M reg-names-apcs\fR will select the name set used by the \s-1ARM\s0
|
||||
Procedure Call Standard, whilst specifying \fB\-M reg-names-raw\fR will
|
||||
just use \fBr\fR followed by the register number.
|
||||
.Sp
|
||||
There are also two variants on the \s-1APCS\s0 register naming scheme enabled
|
||||
by \fB\-M reg-names-atpcs\fR and \fB\-M reg-names-special-atpcs\fR which
|
||||
use the ARM/Thumb Procedure Call Standard naming conventions. (Eiuther
|
||||
with the normal register name sor the special register names).
|
||||
.Sp
|
||||
This option can also be used for \s-1ARM\s0 architectures to force the
|
||||
disassembler to interpret all instructions as \s-1THUMB\s0 instructions by
|
||||
using the switch \fB\*(--disassembler-options=force-thumb\fR. This can be
|
||||
useful when attempting to disassemble thumb code produced by other
|
||||
compilers.
|
||||
.Ip "\f(CW\*(C`\-p\*(C'\fR" 4
|
||||
.IX Item "-p"
|
||||
.Ip "\f(CW\*(C`\-\-private\-headers\*(C'\fR" 4
|
||||
.IX Item "--private-headers"
|
||||
Print information that is specific to the object file format. The exact
|
||||
information printed depends upon the object file format. For some
|
||||
object file formats, no additional information is printed.
|
||||
.Ip "\f(CW\*(C`\-r\*(C'\fR" 4
|
||||
.IX Item "-r"
|
||||
.Ip "\f(CW\*(C`\-\-reloc\*(C'\fR" 4
|
||||
.IX Item "--reloc"
|
||||
Print the relocation entries of the file. If used with \fB\-d\fR or
|
||||
\&\fB\-D\fR, the relocations are printed interspersed with the
|
||||
disassembly.
|
||||
.Ip "\f(CW\*(C`\-R\*(C'\fR" 4
|
||||
.IX Item "-R"
|
||||
.Ip "\f(CW\*(C`\-\-dynamic\-reloc\*(C'\fR" 4
|
||||
.IX Item "--dynamic-reloc"
|
||||
Print the dynamic relocation entries of the file. This is only
|
||||
meaningful for dynamic objects, such as certain types of shared
|
||||
libraries.
|
||||
.Ip "\f(CW\*(C`\-s\*(C'\fR" 4
|
||||
.IX Item "-s"
|
||||
.Ip "\f(CW\*(C`\-\-full\-contents\*(C'\fR" 4
|
||||
.IX Item "--full-contents"
|
||||
Display the full contents of any sections requested.
|
||||
.Ip "\f(CW\*(C`\-S\*(C'\fR" 4
|
||||
.IX Item "-S"
|
||||
.Ip "\f(CW\*(C`\-\-source\*(C'\fR" 4
|
||||
.IX Item "--source"
|
||||
Display source code intermixed with disassembly, if possible. Implies
|
||||
\&\fB\-d\fR.
|
||||
.Ip "\f(CW\*(C`\-\-show\-raw\-insn\*(C'\fR" 4
|
||||
.IX Item "--show-raw-insn"
|
||||
When disassembling instructions, print the instruction in hex as well as
|
||||
in symbolic form. This is the default except when
|
||||
\&\f(CW\*(C`\-\-prefix\-addresses\*(C'\fR is used.
|
||||
.Ip "\f(CW\*(C`\-\-no\-show\-raw\-insn\*(C'\fR" 4
|
||||
.IX Item "--no-show-raw-insn"
|
||||
When disassembling instructions, do not print the instruction bytes.
|
||||
This is the default when \f(CW\*(C`\-\-prefix\-addresses\*(C'\fR is used.
|
||||
.Ip "\f(CW\*(C`\-G\*(C'\fR" 4
|
||||
.IX Item "-G"
|
||||
.Ip "\f(CW\*(C`\-\-stabs\*(C'\fR" 4
|
||||
.IX Item "--stabs"
|
||||
Display the full contents of any sections requested. Display the
|
||||
contents of the .stab and .stab.index and .stab.excl sections from an
|
||||
\&\s-1ELF\s0 file. This is only useful on systems (such as Solaris 2.0) in which
|
||||
\&\f(CW\*(C`.stab\*(C'\fR debugging symbol-table entries are carried in an \s-1ELF\s0
|
||||
section. In most other file formats, debugging symbol-table entries are
|
||||
interleaved with linkage symbols, and are visible in the \fB\*(--syms\fR
|
||||
output.
|
||||
.Ip "\f(CW\*(C`\-\-start\-address=\f(CIaddress\f(CW\*(C'\fR" 4
|
||||
.IX Item "--start-address=address"
|
||||
Start displaying data at the specified address. This affects the output
|
||||
of the \f(CW\*(C`\-d\*(C'\fR, \f(CW\*(C`\-r\*(C'\fR and \f(CW\*(C`\-s\*(C'\fR options.
|
||||
.Ip "\f(CW\*(C`\-\-stop\-address=\f(CIaddress\f(CW\*(C'\fR" 4
|
||||
.IX Item "--stop-address=address"
|
||||
Stop displaying data at the specified address. This affects the output
|
||||
of the \f(CW\*(C`\-d\*(C'\fR, \f(CW\*(C`\-r\*(C'\fR and \f(CW\*(C`\-s\*(C'\fR options.
|
||||
.Ip "\f(CW\*(C`\-t\*(C'\fR" 4
|
||||
.IX Item "-t"
|
||||
.Ip "\f(CW\*(C`\-\-syms\*(C'\fR" 4
|
||||
.IX Item "--syms"
|
||||
Print the symbol table entries of the file.
|
||||
This is similar to the information provided by the \fBnm\fR program.
|
||||
.Ip "\f(CW\*(C`\-T\*(C'\fR" 4
|
||||
.IX Item "-T"
|
||||
.Ip "\f(CW\*(C`\-\-dynamic\-syms\*(C'\fR" 4
|
||||
.IX Item "--dynamic-syms"
|
||||
Print the dynamic symbol table entries of the file. This is only
|
||||
meaningful for dynamic objects, such as certain types of shared
|
||||
libraries. This is similar to the information provided by the \fBnm\fR
|
||||
program when given the \fB\-D\fR (\fB\*(--dynamic\fR) option.
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Print the version number of \f(CW\*(C`objdump\*(C'\fR and exit.
|
||||
.Ip "\f(CW\*(C`\-x\*(C'\fR" 4
|
||||
.IX Item "-x"
|
||||
.Ip "\f(CW\*(C`\-\-all\-header\*(C'\fR" 4
|
||||
.IX Item "--all-header"
|
||||
Display all available header information, including the symbol table and
|
||||
relocation entries. Using \fB\-x\fR is equivalent to specifying all of
|
||||
\&\fB\-a \-f \-h \-r \-t\fR.
|
||||
.Ip "\f(CW\*(C`\-w\*(C'\fR" 4
|
||||
.IX Item "-w"
|
||||
.Ip "\f(CW\*(C`\-\-wide\*(C'\fR" 4
|
||||
.IX Item "--wide"
|
||||
Format some lines for output devices that have more than 80 columns.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fInm\fR\|(1), \fIreadelf\fR\|(1), and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2001-05-30 12:04+0100\n"
|
||||
"POT-Creation-Date: 2001-06-13 12:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -185,7 +185,7 @@ msgstr ""
|
||||
msgid "internal error -- this option not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: ar.c:824 ar.c:876 ar.c:1322 objcopy.c:1266
|
||||
#: ar.c:824 ar.c:876 ar.c:1322 objcopy.c:1282
|
||||
#, c-format
|
||||
msgid "internal stat error on %s"
|
||||
msgstr ""
|
||||
@ -1616,167 +1616,172 @@ msgstr ""
|
||||
msgid "supported flags: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:556 objcopy.c:2082
|
||||
#: objcopy.c:558 objcopy.c:2098
|
||||
#, c-format
|
||||
msgid "cannot stat: %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:563 objcopy.c:2100
|
||||
#: objcopy.c:565 objcopy.c:2116
|
||||
#, c-format
|
||||
msgid "cannot open: %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:566 objcopy.c:2104
|
||||
#: objcopy.c:568 objcopy.c:2120
|
||||
#, c-format
|
||||
msgid "%s: fread failed"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:846
|
||||
#: objcopy.c:641
|
||||
#, c-format
|
||||
msgid "Ignoring rubbish found on line %d of %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:862
|
||||
#, c-format
|
||||
msgid "%s: Multiple redefinition of symbol \"%s\""
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:853
|
||||
#: objcopy.c:869
|
||||
#, c-format
|
||||
msgid "%s: Symbol \"%s\" is target of more than one redefinition"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:906
|
||||
#: objcopy.c:922
|
||||
msgid "Unable to change endianness of input file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:914
|
||||
#: objcopy.c:930
|
||||
#, c-format
|
||||
msgid "copy from %s(%s) to %s(%s)\n"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:933
|
||||
#: objcopy.c:949
|
||||
#, c-format
|
||||
msgid "Warning: Output file cannot represent architecture %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:960
|
||||
#: objcopy.c:976
|
||||
#, c-format
|
||||
msgid "can't create section `%s': %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1046
|
||||
#: objcopy.c:1062
|
||||
#, c-format
|
||||
msgid "Can't fill gap after %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1071
|
||||
#: objcopy.c:1087
|
||||
#, c-format
|
||||
msgid "Can't add padding to %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1210
|
||||
#: objcopy.c:1226
|
||||
#, c-format
|
||||
msgid "%s: error copying private BFD data: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1244
|
||||
#: objcopy.c:1260
|
||||
#, c-format
|
||||
msgid "cannot mkdir %s for archive copying (error: %s)"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1433
|
||||
#: objcopy.c:1449
|
||||
msgid "making"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1442
|
||||
#: objcopy.c:1458
|
||||
msgid "size"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1456
|
||||
#: objcopy.c:1472
|
||||
msgid "vma"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1482
|
||||
#: objcopy.c:1498
|
||||
msgid "alignment"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1491
|
||||
#: objcopy.c:1507
|
||||
msgid "flags"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1505
|
||||
#: objcopy.c:1521
|
||||
msgid "private data"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1513
|
||||
#: objcopy.c:1529
|
||||
#, c-format
|
||||
msgid "%s: section `%s': error in %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1787
|
||||
#: objcopy.c:1803
|
||||
#, c-format
|
||||
msgid "%s: can't create debugging section: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1802
|
||||
#: objcopy.c:1818
|
||||
#, c-format
|
||||
msgid "%s: can't set debugging section contents: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1811
|
||||
#: objcopy.c:1827
|
||||
#, c-format
|
||||
msgid "%s: don't know how to write debugging information for %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1917
|
||||
#: objcopy.c:1933
|
||||
#, c-format
|
||||
msgid "%s: cannot stat: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1968
|
||||
#: objcopy.c:1984
|
||||
msgid "byte number must be non-negative"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1978
|
||||
#: objcopy.c:1994
|
||||
msgid "interleave must be positive"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:1998 objcopy.c:2006
|
||||
#: objcopy.c:2014 objcopy.c:2022
|
||||
#, c-format
|
||||
msgid "%s both copied and removed"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2079 objcopy.c:2149 objcopy.c:2250 objcopy.c:2278
|
||||
#: objcopy.c:2095 objcopy.c:2165 objcopy.c:2266 objcopy.c:2294
|
||||
#, c-format
|
||||
msgid "bad format for %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2218
|
||||
#: objcopy.c:2234
|
||||
#, c-format
|
||||
msgid "Warning: truncating gap-fill from 0x%s to 0x%x"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2340
|
||||
#: objcopy.c:2356
|
||||
msgid "byte number must be less than interleave"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2367
|
||||
#: objcopy.c:2383
|
||||
#, c-format
|
||||
msgid "architecture %s unknown"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2371
|
||||
#: objcopy.c:2387
|
||||
msgid ""
|
||||
"Warning: input target 'binary' required for binary architecture parameter."
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2372
|
||||
#: objcopy.c:2388
|
||||
#, c-format
|
||||
msgid " Argument %s ignored"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2378
|
||||
#: objcopy.c:2394
|
||||
#, c-format
|
||||
msgid "Cannot stat: %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: objcopy.c:2417 objcopy.c:2431
|
||||
#: objcopy.c:2433 objcopy.c:2447
|
||||
#, c-format
|
||||
msgid "%s %s%c0x%s never used"
|
||||
msgstr ""
|
||||
|
@ -1,182 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:28 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "RANLIB.1 1"
|
||||
.TH RANLIB.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
ranlib \- generate index to archive.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
ranlib [\-vV] \fIarchive\fR
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`ranlib\*(C'\fR generates an index to the contents of an archive and
|
||||
stores it in the archive. The index lists each symbol defined by a
|
||||
member of an archive that is a relocatable object file.
|
||||
.PP
|
||||
You may use \fBnm \-s\fR or \fBnm \-\-print-armap\fR to list this index.
|
||||
.PP
|
||||
An archive with such an index speeds up linking to the library and
|
||||
allows routines in the library to call each other without regard to
|
||||
their placement in the archive.
|
||||
.PP
|
||||
The \s-1GNU\s0 \f(CW\*(C`ranlib\*(C'\fR program is another form of \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR; running
|
||||
\&\f(CW\*(C`ranlib\*(C'\fR is completely equivalent to executing \fBar \-s\fR.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Show the version number of \f(CW\*(C`ranlib\*(C'\fR.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fIar\fR\|(1), \fInm\fR\|(1), and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,291 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:29 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "READELF.1 1"
|
||||
.TH READELF.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
readelf \- Displays information about \s-1ELF\s0 files.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
readelf [ \-a | \-\-all ]
|
||||
[ \-h | \-\-file-header]
|
||||
[ \-l | \-\-program-headers | \-\-segments]
|
||||
[ \-S | \-\-section-headers | \-\-sections]
|
||||
[ \-e | \-\-headers]
|
||||
[ \-s | \-\-syms | \-\-symbols]
|
||||
[ \-n | \-\-notes]
|
||||
[ \-r | \-\-relocs]
|
||||
[ \-u | \-\-unwind]
|
||||
[ \-d | \-\-dynamic]
|
||||
[ \-V | \-\-version-info]
|
||||
[ \-D | \-\-use-dynamic]
|
||||
[ \-x <number> | \-\-hex-dump=<number>]
|
||||
[ \-w[liaprf] | \-\-debug-dump[=info,=line,=abbrev,=pubnames,=ranges,=frames]]
|
||||
[ \-\-histogram]
|
||||
[ \-v | \-\-version]
|
||||
[ \-H | \-\-help]
|
||||
\fIelffile\fR...
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`readelf\*(C'\fR displays information about one or more \s-1ELF\s0 format object
|
||||
files. The options control what particular information to display.
|
||||
.PP
|
||||
\&\fIelffile\fR... are the object files to be examined. At the
|
||||
moment, \f(CW\*(C`readelf\*(C'\fR does not support examining archives, nor does it
|
||||
support examing 64 bit \s-1ELF\s0 files.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
The long and short forms of options, shown here as alternatives, are
|
||||
equivalent. At least one option besides \fB\-v\fR or \fB\-H\fR must be
|
||||
given.
|
||||
.Ip "\f(CW\*(C`\-a\*(C'\fR" 4
|
||||
.IX Item "-a"
|
||||
.Ip "\f(CW\*(C`\-\-all\*(C'\fR" 4
|
||||
.IX Item "--all"
|
||||
Equivalent to specifiying \fB\*(--file-header\fR,
|
||||
\&\fB\*(--program-headers\fR, \fB\*(--sections\fR, \fB\*(--symbols\fR,
|
||||
\&\fB\*(--relocs\fR, \fB\*(--dynamic\fR, \fB\*(--notes\fR and
|
||||
\&\fB\*(--version-info\fR.
|
||||
.Ip "\f(CW\*(C`\-h\*(C'\fR" 4
|
||||
.IX Item "-h"
|
||||
.Ip "\f(CW\*(C`\-\-file\-header\*(C'\fR" 4
|
||||
.IX Item "--file-header"
|
||||
Displays the information contained in the \s-1ELF\s0 header at the start of the
|
||||
file.
|
||||
.Ip "\f(CW\*(C`\-l\*(C'\fR" 4
|
||||
.IX Item "-l"
|
||||
.Ip "\f(CW\*(C`\-\-program\-headers\*(C'\fR" 4
|
||||
.IX Item "--program-headers"
|
||||
.Ip "\f(CW\*(C`\-\-segments\*(C'\fR" 4
|
||||
.IX Item "--segments"
|
||||
Displays the information contained in the file's segment headers, if it
|
||||
has any.
|
||||
.Ip "\f(CW\*(C`\-S\*(C'\fR" 4
|
||||
.IX Item "-S"
|
||||
.Ip "\f(CW\*(C`\-\-sections\*(C'\fR" 4
|
||||
.IX Item "--sections"
|
||||
.Ip "\f(CW\*(C`\-\-section\-headers\*(C'\fR" 4
|
||||
.IX Item "--section-headers"
|
||||
Displays the information contained in the file's section headers, if it
|
||||
has any.
|
||||
.Ip "\f(CW\*(C`\-s\*(C'\fR" 4
|
||||
.IX Item "-s"
|
||||
.Ip "\f(CW\*(C`\-\-symbols\*(C'\fR" 4
|
||||
.IX Item "--symbols"
|
||||
.Ip "\f(CW\*(C`\-\-syms\*(C'\fR" 4
|
||||
.IX Item "--syms"
|
||||
Displays the entries in symbol table section of the file, if it has one.
|
||||
.Ip "\f(CW\*(C`\-e\*(C'\fR" 4
|
||||
.IX Item "-e"
|
||||
.Ip "\f(CW\*(C`\-\-headers\*(C'\fR" 4
|
||||
.IX Item "--headers"
|
||||
Display all the headers in the file. Equivalent to \fB\-h \-l \-S\fR.
|
||||
.Ip "\f(CW\*(C`\-n\*(C'\fR" 4
|
||||
.IX Item "-n"
|
||||
.Ip "\f(CW\*(C`\-\-notes\*(C'\fR" 4
|
||||
.IX Item "--notes"
|
||||
Displays the contents of the \s-1NOTE\s0 segment, if it exists.
|
||||
.Ip "\f(CW\*(C`\-r\*(C'\fR" 4
|
||||
.IX Item "-r"
|
||||
.Ip "\f(CW\*(C`\-\-relocs\*(C'\fR" 4
|
||||
.IX Item "--relocs"
|
||||
Displays the contents of the file's relocation section, if it has one.
|
||||
.Ip "\f(CW\*(C`\-u\*(C'\fR" 4
|
||||
.IX Item "-u"
|
||||
.Ip "\f(CW\*(C`\-\-unwind\*(C'\fR" 4
|
||||
.IX Item "--unwind"
|
||||
Displays the contents of the file's unwind section, if it has one. Only
|
||||
the unwind sections for \s-1IA64\s0 \s-1ELF\s0 files are currently supported.
|
||||
.Ip "\f(CW\*(C`\-d\*(C'\fR" 4
|
||||
.IX Item "-d"
|
||||
.Ip "\f(CW\*(C`\-\-dynamic\*(C'\fR" 4
|
||||
.IX Item "--dynamic"
|
||||
Displays the contents of the file's dynamic section, if it has one.
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\-info\*(C'\fR" 4
|
||||
.IX Item "--version-info"
|
||||
Displays the contents of the version sections in the file, it they
|
||||
exist.
|
||||
.Ip "\f(CW\*(C`\-D\*(C'\fR" 4
|
||||
.IX Item "-D"
|
||||
.Ip "\f(CW\*(C`\-\-use\-dynamic\*(C'\fR" 4
|
||||
.IX Item "--use-dynamic"
|
||||
When displaying symbols, this option makes \f(CW\*(C`readelf\*(C'\fR use the
|
||||
symbol table in the file's dynamic section, rather than the one in the
|
||||
symbols section.
|
||||
.Ip "\f(CW\*(C`\-x <number>\*(C'\fR" 4
|
||||
.IX Item "-x <number>"
|
||||
.Ip "\f(CW\*(C`\-\-hex\-dump=<number>\*(C'\fR" 4
|
||||
.IX Item "--hex-dump=<number>"
|
||||
Displays the contents of the indicated section as a hexadecimal dump.
|
||||
.Ip "\f(CW\*(C`\-w[liaprf]\*(C'\fR" 4
|
||||
.IX Item "-w[liaprf]"
|
||||
.Ip "\f(CW\*(C`\-\-debug\-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]\*(C'\fR" 4
|
||||
.IX Item "--debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]"
|
||||
Displays the contents of the debug sections in the file, if any are
|
||||
present. If one of the optional letters or words follows the switch
|
||||
then only data found in those specific sections will be dumped.
|
||||
.Ip "\f(CW\*(C`\-\-histogram\*(C'\fR" 4
|
||||
.IX Item "--histogram"
|
||||
Display a histogram of bucket list lengths when displaying the contents
|
||||
of the symbol tables.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Display the version number of readelf.
|
||||
.Ip "\f(CW\*(C`\-H\*(C'\fR" 4
|
||||
.IX Item "-H"
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Display the command line options understood by \f(CW\*(C`readelf\*(C'\fR.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fIobjdump\fR\|(1), and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -79,23 +79,23 @@
|
||||
#include "bucomm.h"
|
||||
#include "getopt.h"
|
||||
|
||||
char * program_name = "readelf";
|
||||
unsigned int dynamic_addr;
|
||||
char * program_name = "readelf";
|
||||
unsigned int dynamic_addr;
|
||||
bfd_size_type dynamic_size;
|
||||
unsigned int rela_addr;
|
||||
unsigned int rela_size;
|
||||
char * dynamic_strings;
|
||||
unsigned int rela_addr;
|
||||
unsigned int rela_size;
|
||||
char * dynamic_strings;
|
||||
char * string_table;
|
||||
unsigned long string_table_length;
|
||||
unsigned long num_dynamic_syms;
|
||||
Elf_Internal_Sym * dynamic_symbols;
|
||||
Elf_Internal_Syminfo * dynamic_syminfo;
|
||||
unsigned long dynamic_syminfo_offset;
|
||||
unsigned long dynamic_syminfo_offset;
|
||||
unsigned int dynamic_syminfo_nent;
|
||||
char program_interpreter [64];
|
||||
int dynamic_info[DT_JMPREL + 1];
|
||||
int version_info[16];
|
||||
int loadaddr = 0;
|
||||
char program_interpreter [64];
|
||||
int dynamic_info[DT_JMPREL + 1];
|
||||
int version_info[16];
|
||||
int loadaddr = 0;
|
||||
Elf_Internal_Ehdr elf_header;
|
||||
Elf_Internal_Shdr * section_headers;
|
||||
Elf_Internal_Dyn * dynamic_segment;
|
||||
@ -1259,32 +1259,32 @@ get_machine_name (e_machine)
|
||||
|
||||
switch (e_machine)
|
||||
{
|
||||
case EM_NONE: return _("None");
|
||||
case EM_M32: return "WE32100";
|
||||
case EM_SPARC: return "Sparc";
|
||||
case EM_386: return "Intel 80386";
|
||||
case EM_68K: return "MC68000";
|
||||
case EM_88K: return "MC88000";
|
||||
case EM_486: return "Intel 80486";
|
||||
case EM_860: return "Intel 80860";
|
||||
case EM_MIPS: return "MIPS R3000";
|
||||
case EM_S370: return "IBM System/370";
|
||||
case EM_NONE: return _("None");
|
||||
case EM_M32: return "WE32100";
|
||||
case EM_SPARC: return "Sparc";
|
||||
case EM_386: return "Intel 80386";
|
||||
case EM_68K: return "MC68000";
|
||||
case EM_88K: return "MC88000";
|
||||
case EM_486: return "Intel 80486";
|
||||
case EM_860: return "Intel 80860";
|
||||
case EM_MIPS: return "MIPS R3000";
|
||||
case EM_S370: return "IBM System/370";
|
||||
case EM_MIPS_RS3_LE: return "MIPS R4000 big-endian";
|
||||
case EM_OLD_SPARCV9: return "Sparc v9 (old)";
|
||||
case EM_PARISC: return "HPPA";
|
||||
case EM_PARISC: return "HPPA";
|
||||
case EM_PPC_OLD: return "Power PC (old)";
|
||||
case EM_SPARC32PLUS: return "Sparc v8+" ;
|
||||
case EM_960: return "Intel 90860";
|
||||
case EM_PPC: return "PowerPC";
|
||||
case EM_V800: return "NEC V800";
|
||||
case EM_FR20: return "Fujitsu FR20";
|
||||
case EM_RH32: return "TRW RH32";
|
||||
case EM_960: return "Intel 90860";
|
||||
case EM_PPC: return "PowerPC";
|
||||
case EM_V800: return "NEC V800";
|
||||
case EM_FR20: return "Fujitsu FR20";
|
||||
case EM_RH32: return "TRW RH32";
|
||||
case EM_MCORE: return "MCORE";
|
||||
case EM_ARM: return "ARM";
|
||||
case EM_OLD_ALPHA: return "Digital Alpha (old)";
|
||||
case EM_SH: return "Hitachi SH";
|
||||
case EM_SPARCV9: return "Sparc v9";
|
||||
case EM_TRICORE: return "Siemens Tricore";
|
||||
case EM_SPARCV9: return "Sparc v9";
|
||||
case EM_TRICORE: return "Siemens Tricore";
|
||||
case EM_ARC: return "ARC";
|
||||
case EM_H8_300: return "Hitachi H8/300";
|
||||
case EM_H8_300H: return "Hitachi H8/300H";
|
||||
@ -1294,7 +1294,7 @@ get_machine_name (e_machine)
|
||||
case EM_MIPS_X: return "Stanford MIPS-X";
|
||||
case EM_COLDFIRE: return "Motorola Coldfire";
|
||||
case EM_68HC12: return "Motorola M68HC12";
|
||||
case EM_ALPHA: return "Alpha";
|
||||
case EM_ALPHA: return "Alpha";
|
||||
case EM_CYGNUS_D10V: return "d10v";
|
||||
case EM_CYGNUS_D30V: return "d30v";
|
||||
case EM_CYGNUS_ARC: return "ARC";
|
||||
@ -1324,12 +1324,12 @@ get_machine_name (e_machine)
|
||||
case EM_VAX: return "Digital VAX";
|
||||
case EM_AVR: return "Atmel AVR 8-bit microcontroller";
|
||||
case EM_CRIS: return "Axis Communications 32-bit embedded processor";
|
||||
case EM_JAVELIN: return "Infineon Technologies 32-bit embedded cpu";
|
||||
case EM_FIREPATH: return "Element 14 64-bit DSP processor";
|
||||
case EM_ZSP: return "LSI Logic's 16-bit DSP processor";
|
||||
case EM_JAVELIN: return "Infineon Technologies 32-bit embedded cpu";
|
||||
case EM_FIREPATH: return "Element 14 64-bit DSP processor";
|
||||
case EM_ZSP: return "LSI Logic's 16-bit DSP processor";
|
||||
case EM_MMIX: return "Donald Knuth's educational 64-bit processor";
|
||||
case EM_HUANY: return "Harvard Universitys's machine-independent object format";
|
||||
case EM_PRISM: return "SiTera Prism";
|
||||
case EM_HUANY: return "Harvard Universitys's machine-independent object format";
|
||||
case EM_PRISM: return "SiTera Prism";
|
||||
case EM_X86_64: return "Advanced Micro Devices X86-64";
|
||||
case EM_S390_OLD:
|
||||
case EM_S390: return "IBM S/390";
|
||||
|
242
binutils/size.1
242
binutils/size.1
@ -1,242 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:29 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "SIZE.1 1"
|
||||
.TH SIZE.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
size \- list section sizes and total size.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
size [ \-A | \-B | \-\-format=\fIcompatibility\fR ]
|
||||
[ \-\-help ] [ \-d | \-o | \-x | \-\-radix=\fInumber\fR ]
|
||||
[ \-\-target=\fIbfdname\fR ] [ \-V | \-\-version ]
|
||||
[ \fIobjfile\fR... ]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
The \s-1GNU\s0 \f(CW\*(C`size\*(C'\fR utility lists the section sizes\-\-\-and the total
|
||||
size\-\-\-for each of the object or archive files \fIobjfile\fR in its
|
||||
argument list. By default, one line of output is generated for each
|
||||
object file or each module in an archive.
|
||||
.PP
|
||||
\&\fIobjfile\fR... are the object files to be examined.
|
||||
If none are specified, the file \f(CW\*(C`a.out\*(C'\fR will be used.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
The command line options have the following meanings:
|
||||
.Ip "\f(CW\*(C`\-A\*(C'\fR" 4
|
||||
.IX Item "-A"
|
||||
.Ip "\f(CW\*(C`\-B\*(C'\fR" 4
|
||||
.IX Item "-B"
|
||||
.Ip "\f(CW\*(C`\-\-format=\f(CIcompatibility\f(CW\*(C'\fR" 4
|
||||
.IX Item "--format=compatibility"
|
||||
Using one of these options, you can choose whether the output from \s-1GNU\s0
|
||||
\&\f(CW\*(C`size\*(C'\fR resembles output from System V \f(CW\*(C`size\*(C'\fR (using \fB\-A\fR,
|
||||
or \fB\*(--format=sysv\fR), or Berkeley \f(CW\*(C`size\*(C'\fR (using \fB\-B\fR, or
|
||||
\&\fB\*(--format=berkeley\fR). The default is the one-line format similar to
|
||||
Berkeley's.
|
||||
.Sp
|
||||
Here is an example of the Berkeley (default) format of output from
|
||||
\&\f(CW\*(C`size\*(C'\fR:
|
||||
.Sp
|
||||
.Vb 4
|
||||
\& $ size --format=Berkeley ranlib size
|
||||
\& text data bss dec hex filename
|
||||
\& 294880 81920 11592 388392 5ed28 ranlib
|
||||
\& 294880 81920 11888 388688 5ee50 size
|
||||
.Ve
|
||||
This is the same data, but displayed closer to System V conventions:
|
||||
.Sp
|
||||
.Vb 7
|
||||
\& $ size --format=SysV ranlib size
|
||||
\& ranlib :
|
||||
\& section size addr
|
||||
\& .text 294880 8192
|
||||
\& .data 81920 303104
|
||||
\& .bss 11592 385024
|
||||
\& Total 388392
|
||||
.Ve
|
||||
.Vb 6
|
||||
\& size :
|
||||
\& section size addr
|
||||
\& .text 294880 8192
|
||||
\& .data 81920 303104
|
||||
\& .bss 11888 385024
|
||||
\& Total 388688
|
||||
.Ve
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Show a summary of acceptable arguments and options.
|
||||
.Ip "\f(CW\*(C`\-d\*(C'\fR" 4
|
||||
.IX Item "-d"
|
||||
.Ip "\f(CW\*(C`\-o\*(C'\fR" 4
|
||||
.IX Item "-o"
|
||||
.Ip "\f(CW\*(C`\-x\*(C'\fR" 4
|
||||
.IX Item "-x"
|
||||
.Ip "\f(CW\*(C`\-\-radix=\f(CInumber\f(CW\*(C'\fR" 4
|
||||
.IX Item "--radix=number"
|
||||
Using one of these options, you can control whether the size of each
|
||||
section is given in decimal (\fB\-d\fR, or \fB\*(--radix=10\fR); octal
|
||||
(\fB\-o\fR, or \fB\*(--radix=8\fR); or hexadecimal (\fB\-x\fR, or
|
||||
\&\fB\*(--radix=16\fR). In \fB\*(--radix=\fR\fInumber\fR, only the three
|
||||
values (8, 10, 16) are supported. The total size is always given in two
|
||||
radices; decimal and hexadecimal for \fB\-d\fR or \fB\-x\fR output, or
|
||||
octal and hexadecimal if you're using \fB\-o\fR.
|
||||
.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target=bfdname"
|
||||
Specify that the object-code format for \fIobjfile\fR is
|
||||
\&\fIbfdname\fR. This option may not be necessary; \f(CW\*(C`size\*(C'\fR can
|
||||
automatically recognize many formats.
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Display the version number of \f(CW\*(C`size\*(C'\fR.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fIar\fR\|(1), \fIobjdump\fR\|(1), \fIreadelf\fR\|(1), and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,220 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:29 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "STRINGS.1 1"
|
||||
.TH STRINGS.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
strings \- print the strings of printable characters in files.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
strings [\-afov] [-\fImin-len\fR] [\-n \fImin-len\fR] [\-t \fIradix\fR] [\-]
|
||||
[\-\-all] [\-\-print-file-name] [\-\-bytes=\fImin-len\fR]
|
||||
[\-\-radix=\fIradix\fR] [\-\-target=\fIbfdname\fR]
|
||||
[\-\-help] [\-\-version] \fIfile\fR...
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
For each \fIfile\fR given, \s-1GNU\s0 \f(CW\*(C`strings\*(C'\fR prints the printable
|
||||
character sequences that are at least 4 characters long (or the number
|
||||
given with the options below) and are followed by an unprintable
|
||||
character. By default, it only prints the strings from the initialized
|
||||
and loaded sections of object files; for other types of files, it prints
|
||||
the strings from the whole file.
|
||||
.PP
|
||||
\&\f(CW\*(C`strings\*(C'\fR is mainly useful for determining the contents of non-text
|
||||
files.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\-a\*(C'\fR" 4
|
||||
.IX Item "-a"
|
||||
.Ip "\f(CW\*(C`\-\-all\*(C'\fR" 4
|
||||
.IX Item "--all"
|
||||
.Ip "\f(CW\*(C`\-\*(C'\fR" 4
|
||||
.IX Item "-"
|
||||
Do not scan only the initialized and loaded sections of object files;
|
||||
scan the whole files.
|
||||
.Ip "\f(CW\*(C`\-f\*(C'\fR" 4
|
||||
.IX Item "-f"
|
||||
.Ip "\f(CW\*(C`\-\-print\-file\-name\*(C'\fR" 4
|
||||
.IX Item "--print-file-name"
|
||||
Print the name of the file before each string.
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Print a summary of the program usage on the standard output and exit.
|
||||
.Ip "\f(CW\*(C`\-\f(CImin\-len\f(CW\*(C'\fR" 4
|
||||
.IX Item "-min-len"
|
||||
.Ip "\f(CW\*(C`\-n \f(CImin\-len\f(CW\*(C'\fR" 4
|
||||
.IX Item "-n min-len"
|
||||
.Ip "\f(CW\*(C`\-\-bytes=\f(CImin\-len\f(CW\*(C'\fR" 4
|
||||
.IX Item "--bytes=min-len"
|
||||
Print sequences of characters that are at least \fImin-len\fR characters
|
||||
long, instead of the default 4.
|
||||
.Ip "\f(CW\*(C`\-o\*(C'\fR" 4
|
||||
.IX Item "-o"
|
||||
Like \fB\-t o\fR. Some other versions of \f(CW\*(C`strings\*(C'\fR have \fB\-o\fR
|
||||
act like \fB\-t d\fR instead. Since we can not be compatible with both
|
||||
ways, we simply chose one.
|
||||
.Ip "\f(CW\*(C`\-t \f(CIradix\f(CW\*(C'\fR" 4
|
||||
.IX Item "-t radix"
|
||||
.Ip "\f(CW\*(C`\-\-radix=\f(CIradix\f(CW\*(C'\fR" 4
|
||||
.IX Item "--radix=radix"
|
||||
Print the offset within the file before each string. The single
|
||||
character argument specifies the radix of the offset\-\--\fBo\fR for
|
||||
octal, \fBx\fR for hexadecimal, or \fBd\fR for decimal.
|
||||
.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target=bfdname"
|
||||
Specify an object code format other than your system's default format.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Print the program version number on the standard output and exit.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fIar\fR\|(1), \fInm\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), \fIreadelf\fR\|(1)
|
||||
and the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
266
binutils/strip.1
266
binutils/strip.1
@ -1,266 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:29 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "STRIP.1 1"
|
||||
.TH STRIP.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
strip \- Discard symbols from object files.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
strip [ \-F \fIbfdname\fR | \-\-target=\fIbfdname\fR ]
|
||||
[ \-I \fIbfdname\fR | \-\-input-target=\fIbfdname\fR ]
|
||||
[ \-O \fIbfdname\fR | \-\-output-target=\fIbfdname\fR ]
|
||||
[ \-s | \-\-strip-all ] [ \-S | \-g | \-\-strip-debug ]
|
||||
[ \-K \fIsymbolname\fR | \-\-keep-symbol=\fIsymbolname\fR ]
|
||||
[ \-N \fIsymbolname\fR | \-\-strip-symbol=\fIsymbolname\fR ]
|
||||
[ \-x | \-\-discard-all ] [ \-X | \-\-discard-locals ]
|
||||
[ \-R \fIsectionname\fR | \-\-remove-section=\fIsectionname\fR ]
|
||||
[ \-o \fIfile\fR ] [ \-p | \-\-preserve-dates ]
|
||||
[ \-v | \-\-verbose ] [ \-V | \-\-version ] [ \-\-help ]
|
||||
\fIobjfile\fR...
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\s-1GNU\s0 \f(CW\*(C`strip\*(C'\fR discards all symbols from object files
|
||||
\&\fIobjfile\fR. The list of object files may include archives.
|
||||
At least one object file must be given.
|
||||
.PP
|
||||
\&\f(CW\*(C`strip\*(C'\fR modifies the files named in its argument,
|
||||
rather than writing modified copies under different names.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\-F \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-F bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target=bfdname"
|
||||
Treat the original \fIobjfile\fR as a file with the object
|
||||
code format \fIbfdname\fR, and rewrite it in the same format.
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Show a summary of the options to \f(CW\*(C`strip\*(C'\fR and exit.
|
||||
.Ip "\f(CW\*(C`\-I \f(CIbfdname\f(CW \*(C'\fR" 4
|
||||
.IX Item "-I bfdname "
|
||||
.Ip "\f(CW\*(C`\-\-input\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--input-target=bfdname"
|
||||
Treat the original \fIobjfile\fR as a file with the object
|
||||
code format \fIbfdname\fR.
|
||||
.Ip "\f(CW\*(C`\-O \f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-O bfdname"
|
||||
.Ip "\f(CW\*(C`\-\-output\-target=\f(CIbfdname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output-target=bfdname"
|
||||
Replace \fIobjfile\fR with a file in the output format \fIbfdname\fR.
|
||||
.Ip "\f(CW\*(C`\-R \f(CIsectionname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-R sectionname"
|
||||
.Ip "\f(CW\*(C`\-\-remove\-section=\f(CIsectionname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--remove-section=sectionname"
|
||||
Remove any section named \fIsectionname\fR from the output file. This
|
||||
option may be given more than once. Note that using this option
|
||||
inappropriately may make the output file unusable.
|
||||
.Ip "\f(CW\*(C`\-s\*(C'\fR" 4
|
||||
.IX Item "-s"
|
||||
.Ip "\f(CW\*(C`\-\-strip\-all\*(C'\fR" 4
|
||||
.IX Item "--strip-all"
|
||||
Remove all symbols.
|
||||
.Ip "\f(CW\*(C`\-g\*(C'\fR" 4
|
||||
.IX Item "-g"
|
||||
.Ip "\f(CW\*(C`\-S\*(C'\fR" 4
|
||||
.IX Item "-S"
|
||||
.Ip "\f(CW\*(C`\-\-strip\-debug\*(C'\fR" 4
|
||||
.IX Item "--strip-debug"
|
||||
Remove debugging symbols only.
|
||||
.Ip "\f(CW\*(C`\-\-strip\-unneeded\*(C'\fR" 4
|
||||
.IX Item "--strip-unneeded"
|
||||
Remove all symbols that are not needed for relocation processing.
|
||||
.Ip "\f(CW\*(C`\-K \f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-K symbolname"
|
||||
.Ip "\f(CW\*(C`\-\-keep\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--keep-symbol=symbolname"
|
||||
Keep only symbol \fIsymbolname\fR from the source file. This option may
|
||||
be given more than once.
|
||||
.Ip "\f(CW\*(C`\-N \f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-N symbolname"
|
||||
.Ip "\f(CW\*(C`\-\-strip\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--strip-symbol=symbolname"
|
||||
Remove symbol \fIsymbolname\fR from the source file. This option may be
|
||||
given more than once, and may be combined with strip options other than
|
||||
\&\f(CW\*(C`\-K\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-o \f(CIfile\f(CW\*(C'\fR" 4
|
||||
.IX Item "-o file"
|
||||
Put the stripped output in \fIfile\fR, rather than replacing the
|
||||
existing file. When this argument is used, only one \fIobjfile\fR
|
||||
argument may be specified.
|
||||
.Ip "\f(CW\*(C`\-p\*(C'\fR" 4
|
||||
.IX Item "-p"
|
||||
.Ip "\f(CW\*(C`\-\-preserve\-dates\*(C'\fR" 4
|
||||
.IX Item "--preserve-dates"
|
||||
Preserve the access and modification dates of the file.
|
||||
.Ip "\f(CW\*(C`\-x\*(C'\fR" 4
|
||||
.IX Item "-x"
|
||||
.Ip "\f(CW\*(C`\-\-discard\-all\*(C'\fR" 4
|
||||
.IX Item "--discard-all"
|
||||
Remove non-global symbols.
|
||||
.Ip "\f(CW\*(C`\-X\*(C'\fR" 4
|
||||
.IX Item "-X"
|
||||
.Ip "\f(CW\*(C`\-\-discard\-locals\*(C'\fR" 4
|
||||
.IX Item "--discard-locals"
|
||||
Remove compiler-generated local symbols.
|
||||
(These usually start with \fBL\fR or \fB.\fR.)
|
||||
.Ip "\f(CW\*(C`\-V\*(C'\fR" 4
|
||||
.IX Item "-V"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Show the version number for \f(CW\*(C`strip\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-\-verbose\*(C'\fR" 4
|
||||
.IX Item "--verbose"
|
||||
Verbose output: list all object files modified. In the case of
|
||||
archives, \fBstrip \-v\fR lists all members of the archive.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,291 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Wed May 30 12:24:30 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "WINDRES.1 1"
|
||||
.TH WINDRES.1 1 "binutils-2.11.90" "2001-05-30" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
windres \- manipulate Windows resources.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
windres [options] [input-file] [output-file]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`windres\*(C'\fR reads resources from an input file and copies them into
|
||||
an output file. Either file may be in one of three formats:
|
||||
.Ip "\f(CW\*(C`rc\*(C'\fR" 4
|
||||
.IX Item "rc"
|
||||
A text format read by the Resource Compiler.
|
||||
.Ip "\f(CW\*(C`res\*(C'\fR" 4
|
||||
.IX Item "res"
|
||||
A binary format generated by the Resource Compiler.
|
||||
.Ip "\f(CW\*(C`coff\*(C'\fR" 4
|
||||
.IX Item "coff"
|
||||
A \s-1COFF\s0 object or executable.
|
||||
.PP
|
||||
The exact description of these different formats is available in
|
||||
documentation from Microsoft.
|
||||
.PP
|
||||
When \f(CW\*(C`windres\*(C'\fR converts from the \f(CW\*(C`rc\*(C'\fR format to the \f(CW\*(C`res\*(C'\fR
|
||||
format, it is acting like the Windows Resource Compiler. When
|
||||
\&\f(CW\*(C`windres\*(C'\fR converts from the \f(CW\*(C`res\*(C'\fR format to the \f(CW\*(C`coff\*(C'\fR
|
||||
format, it is acting like the Windows \f(CW\*(C`CVTRES\*(C'\fR program.
|
||||
.PP
|
||||
When \f(CW\*(C`windres\*(C'\fR generates an \f(CW\*(C`rc\*(C'\fR file, the output is similar
|
||||
but not identical to the format expected for the input. When an input
|
||||
\&\f(CW\*(C`rc\*(C'\fR file refers to an external filename, an output \f(CW\*(C`rc\*(C'\fR file
|
||||
will instead include the file contents.
|
||||
.PP
|
||||
If the input or output format is not specified, \f(CW\*(C`windres\*(C'\fR will
|
||||
guess based on the file name, or, for the input file, the file contents.
|
||||
A file with an extension of \fI.rc\fR will be treated as an \f(CW\*(C`rc\*(C'\fR
|
||||
file, a file with an extension of \fI.res\fR will be treated as a
|
||||
\&\f(CW\*(C`res\*(C'\fR file, and a file with an extension of \fI.o\fR or
|
||||
\&\fI.exe\fR will be treated as a \f(CW\*(C`coff\*(C'\fR file.
|
||||
.PP
|
||||
If no output file is specified, \f(CW\*(C`windres\*(C'\fR will print the resources
|
||||
in \f(CW\*(C`rc\*(C'\fR format to standard output.
|
||||
.PP
|
||||
The normal use is for you to write an \f(CW\*(C`rc\*(C'\fR file, use \f(CW\*(C`windres\*(C'\fR
|
||||
to convert it to a \s-1COFF\s0 object file, and then link the \s-1COFF\s0 file into
|
||||
your application. This will make the resources described in the
|
||||
\&\f(CW\*(C`rc\*(C'\fR file available to Windows.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\-i \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-i filename"
|
||||
.Ip "\f(CW\*(C`\-\-input \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--input filename"
|
||||
The name of the input file. If this option is not used, then
|
||||
\&\f(CW\*(C`windres\*(C'\fR will use the first non-option argument as the input file
|
||||
name. If there are no non-option arguments, then \f(CW\*(C`windres\*(C'\fR will
|
||||
read from standard input. \f(CW\*(C`windres\*(C'\fR can not read a \s-1COFF\s0 file from
|
||||
standard input.
|
||||
.Ip "\f(CW\*(C`\-o \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "-o filename"
|
||||
.Ip "\f(CW\*(C`\-\-output \f(CIfilename\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output filename"
|
||||
The name of the output file. If this option is not used, then
|
||||
\&\f(CW\*(C`windres\*(C'\fR will use the first non-option argument, after any used
|
||||
for the input file name, as the output file name. If there is no
|
||||
non-option argument, then \f(CW\*(C`windres\*(C'\fR will write to standard output.
|
||||
\&\f(CW\*(C`windres\*(C'\fR can not write a \s-1COFF\s0 file to standard output.
|
||||
.Ip "\f(CW\*(C`\-I \f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "-I format"
|
||||
.Ip "\f(CW\*(C`\-\-input\-format \f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "--input-format format"
|
||||
The input format to read. \fIformat\fR may be \fBres\fR, \fBrc\fR, or
|
||||
\&\fBcoff\fR. If no input format is specified, \f(CW\*(C`windres\*(C'\fR will
|
||||
guess, as described above.
|
||||
.Ip "\f(CW\*(C`\-O \f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "-O format"
|
||||
.Ip "\f(CW\*(C`\-\-output\-format \f(CIformat\f(CW\*(C'\fR" 4
|
||||
.IX Item "--output-format format"
|
||||
The output format to generate. \fIformat\fR may be \fBres\fR,
|
||||
\&\fBrc\fR, or \fBcoff\fR. If no output format is specified,
|
||||
\&\f(CW\*(C`windres\*(C'\fR will guess, as described above.
|
||||
.Ip "\f(CW\*(C`\-F \f(CItarget\f(CW\*(C'\fR" 4
|
||||
.IX Item "-F target"
|
||||
.Ip "\f(CW\*(C`\-\-target \f(CItarget\f(CW\*(C'\fR" 4
|
||||
.IX Item "--target target"
|
||||
Specify the \s-1BFD\s0 format to use for a \s-1COFF\s0 file as input or output. This
|
||||
is a \s-1BFD\s0 target name; you can use the \f(CW\*(C`\-\-help\*(C'\fR option to see a list
|
||||
of supported targets. Normally \f(CW\*(C`windres\*(C'\fR will use the default
|
||||
format, which is the first one listed by the \f(CW\*(C`\-\-help\*(C'\fR option.
|
||||
\&\f(CW@ref\fR{Target Selection}.
|
||||
.Ip "\f(CW\*(C`\-\-preprocessor \f(CIprogram\f(CW\*(C'\fR" 4
|
||||
.IX Item "--preprocessor program"
|
||||
When \f(CW\*(C`windres\*(C'\fR reads an \f(CW\*(C`rc\*(C'\fR file, it runs it through the C
|
||||
preprocessor first. This option may be used to specify the preprocessor
|
||||
to use, including any leading arguments. The default preprocessor
|
||||
argument is \f(CW\*(C`gcc \-E \-xc\-header \-DRC_INVOKED\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-\-include\-dir \f(CIdirectory\f(CW\*(C'\fR" 4
|
||||
.IX Item "--include-dir directory"
|
||||
Specify an include directory to use when reading an \f(CW\*(C`rc\*(C'\fR file.
|
||||
\&\f(CW\*(C`windres\*(C'\fR will pass this to the preprocessor as an \f(CW\*(C`\-I\*(C'\fR
|
||||
option. \f(CW\*(C`windres\*(C'\fR will also search this directory when looking for
|
||||
files named in the \f(CW\*(C`rc\*(C'\fR file.
|
||||
.Ip "\f(CW\*(C`\-D \f(CItarget\f(CW\*(C'\fR" 4
|
||||
.IX Item "-D target"
|
||||
.Ip "\f(CW\*(C`\-\-define \f(CIsym\f(CW[=\f(CIval\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--define sym[=val]"
|
||||
Specify a \f(CW\*(C`\-D\*(C'\fR option to pass to the preprocessor when reading an
|
||||
\&\f(CW\*(C`rc\*(C'\fR file.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
Enable verbose mode. This tells you what the preprocessor is if you
|
||||
didn't specify one.
|
||||
.Ip "\f(CW\*(C`\-\-language \f(CIval\f(CW\*(C'\fR" 4
|
||||
.IX Item "--language val"
|
||||
Specify the default language to use when reading an \f(CW\*(C`rc\*(C'\fR file.
|
||||
\&\fIval\fR should be a hexadecimal language code. The low eight bits are
|
||||
the language, and the high eight bits are the sublanguage.
|
||||
.Ip "\f(CW\*(C`\-\-use\-temp\-file\*(C'\fR" 4
|
||||
.IX Item "--use-temp-file"
|
||||
Use a temporary file to instead of using popen to read the output of
|
||||
the preprocessor. Use this option if the popen implementation is buggy
|
||||
on the host (eg., certain non-English language versions of Windows 95 and
|
||||
Windows 98 are known to have buggy popen where the output will instead
|
||||
go the console).
|
||||
.Ip "\f(CW\*(C`\-\-no\-use\-temp\-file\*(C'\fR" 4
|
||||
.IX Item "--no-use-temp-file"
|
||||
Use popen, not a temporary file, to read the output of the preprocessor.
|
||||
This is the default behaviour.
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Prints a usage summary.
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Prints the version number for \f(CW\*(C`windres\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-\-yydebug\*(C'\fR" 4
|
||||
.IX Item "--yydebug"
|
||||
If \f(CW\*(C`windres\*(C'\fR is compiled with \f(CW\*(C`YYDEBUG\*(C'\fR defined as \f(CW\*(C`1\*(C'\fR,
|
||||
this will turn on parser debugging.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
the Info entries for \fIbinutils\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,3 +1,11 @@
|
||||
2001-06-18 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* doc/Makefile.am (info): Depend on $(MANS).
|
||||
(as.1): Remove the prefix `$(srcdir)/'.
|
||||
* doc/Makefile.in: Regenerated.
|
||||
|
||||
* as.1: Removed.
|
||||
|
||||
2001-06-18 Philip Blundell <philb@gnu.org>
|
||||
|
||||
* config/tc-arm.c (do_msr): Remove restriction on usage of
|
||||
|
@ -435,10 +435,8 @@ stamp-mk.com: vmsconf.sh Makefile
|
||||
$(SHELL) $(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com
|
||||
touch stamp-mk.com
|
||||
|
||||
EXTRA_DIST = make-gas.com
|
||||
|
||||
DISTSTUFF = make-gas.com m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c
|
||||
diststuff: $(DISTSTUFF) info
|
||||
EXTRA_DIST = make-gas.com m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c
|
||||
diststuff: $(EXTRA_DIST) info
|
||||
|
||||
DISTCLEANFILES = targ-cpu.h obj-format.h targ-env.h itbl-cpu.h cgen-desc.h
|
||||
|
||||
|
@ -552,9 +552,7 @@ noinst_PROGRAMS = as-new gasp-new
|
||||
noinst_SCRIPTS = $(GDBINIT)
|
||||
EXTRA_SCRIPTS = .gdbinit
|
||||
|
||||
EXTRA_DIST = make-gas.com
|
||||
|
||||
DISTSTUFF = make-gas.com m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c
|
||||
EXTRA_DIST = make-gas.com m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c
|
||||
|
||||
DISTCLEANFILES = targ-cpu.h obj-format.h targ-env.h itbl-cpu.h cgen-desc.h
|
||||
|
||||
@ -2008,7 +2006,7 @@ configure configure.in gdbinit.in itbl-lex.c itbl-parse.c
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
SOURCES = $(itbl_test_SOURCES) $(as_new_SOURCES) $(EXTRA_as_new_SOURCES) $(gasp_new_SOURCES)
|
||||
OBJECTS = $(itbl_test_OBJECTS) $(as_new_OBJECTS) $(gasp_new_OBJECTS)
|
||||
@ -2407,7 +2405,7 @@ stamp-mk.com: vmsconf.sh Makefile
|
||||
sh $(srcdir)/vmsconf.sh $(GENERIC_OBJS) > new-make.com
|
||||
$(SHELL) $(srcdir)/../move-if-change new-make.com $(srcdir)/make-gas.com
|
||||
touch stamp-mk.com
|
||||
diststuff: $(DISTSTUFF) info
|
||||
diststuff: $(EXTRA_DIST) info
|
||||
|
||||
$(OBJS): @ALL_OBJ_DEPS@
|
||||
|
||||
|
8897
gas/config/tc-arm.c
8897
gas/config/tc-arm.c
File diff suppressed because it is too large
Load Diff
@ -65,14 +65,17 @@ MAINTAINERCLEANFILES = gasver.texi
|
||||
|
||||
# Maintenance
|
||||
|
||||
# We need it for the taz target in ../../Makefile.in.
|
||||
info: $(MANS)
|
||||
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
$(srcdir)/as.1: $(srcdir)/as.texinfo
|
||||
touch $(srcdir)/as.1
|
||||
as.1: $(srcdir)/as.texinfo
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
||||
-($(POD2MAN) as.pod | \
|
||||
sed -e '/^.if n .na/d' > $(srcdir)/as.1.T$$$$ && \
|
||||
mv -f $(srcdir)/as.1.T$$$$ $(srcdir)/as.1) || \
|
||||
(rm -f $(srcdir)/as.1.T$$$$ && exit 1)
|
||||
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f as.pod
|
||||
|
@ -183,7 +183,7 @@ DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
@ -457,16 +457,20 @@ as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
||||
|
||||
# Maintenance
|
||||
|
||||
# We need it for the taz target in ../../Makefile.in.
|
||||
info: $(MANS)
|
||||
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
$(srcdir)/as.1: $(srcdir)/as.texinfo
|
||||
touch $(srcdir)/as.1
|
||||
as.1: $(srcdir)/as.texinfo
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
||||
-($(POD2MAN) as.pod | \
|
||||
sed -e '/^.if n .na/d' > $(srcdir)/as.1.T$$$$ && \
|
||||
mv -f $(srcdir)/as.1.T$$$$ $(srcdir)/as.1) || \
|
||||
(rm -f $(srcdir)/as.1.T$$$$ && exit 1)
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f as.pod
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
724
gas/doc/as.1
724
gas/doc/as.1
@ -1,724 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Tue Jun 12 18:27:35 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "AS 1"
|
||||
.TH AS 1 "binutils-2.11.90" "2001-06-12" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
\&\s-1AS\s0 \- the portable \s-1GNU\s0 assembler.
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
as [ \-a[cdhlns][=file] ] [ \-D ] [ \-\-defsym \fIsym\fR=\fIval\fR ]
|
||||
[ \-f ] [ \-\-gstabs ] [ \-\-gdwarf2 ] [ \-\-help ] [ \-I \fIdir\fR ]
|
||||
[ \-J ] [ \-K ] [ \-L ]
|
||||
[ \-\-listing\*(--lhs-width=NUM ][ \-\-listing-lhs-width2=NUM ]
|
||||
[ \-\-listing-rhs-width=NUM ][ \-\-listing-cont-lines=NUM ]
|
||||
[ \-\-keep-locals ] [ \-o \fIobjfile\fR ] [ \-R ] [ \-\-statistics ] [ \-v ]
|
||||
[ \-version ] [ \-\-version ] [ \-W ] [ \-\-warn ] [ \-\-fatal-warnings ]
|
||||
[ \-w ] [ \-x ] [ \-Z ] [ \-\-target-help ]
|
||||
[ \-marc[5|6|7|8] ]
|
||||
[ \-EB | \-EL ]
|
||||
[ \-m[arm]1 | \-m[arm]2 | \-m[arm]250 | \-m[arm]3 |
|
||||
\-m[arm]6 | \-m[arm]60 | \-m[arm]600 | \-m[arm]610 |
|
||||
\-m[arm]620 | \-m[arm]7[t][[d]m[i]][fe] | \-m[arm]70 |
|
||||
\-m[arm]700 | \-m[arm]710[c] | \-m[arm]7100 |
|
||||
\-m[arm]7500 | \-m[arm]8 | \-m[arm]810 | \-m[arm]9 |
|
||||
\-m[arm]920 | \-m[arm]920t | \-m[arm]9tdmi |
|
||||
\-mstrongarm | \-mstrongarm110 | \-mstrongarm1100 ]
|
||||
[ \-m[arm]v2 | \-m[arm]v2a | \-m[arm]v3 | \-m[arm]v3m |
|
||||
\-m[arm]v4 | \-m[arm]v4t | \-m[arm]v5 | \-[arm]v5t |
|
||||
\-[arm]v5te ]
|
||||
[ \-mthumb | \-mall ]
|
||||
[ \-mfpa10 | \-mfpa11 | \-mfpe-old | \-mno-fpu ]
|
||||
[ \-EB | \-EL ]
|
||||
[ \-mapcs-32 | \-mapcs-26 | \-mapcs-float |
|
||||
\-mapcs-reentrant ]
|
||||
[ \-mthumb-interwork ] [ \-moabi ] [ \-k ]
|
||||
[ \-O ]
|
||||
[ \-O | \-n | \-N ]
|
||||
[ \-mb | \-me ]
|
||||
[ \-Av6 | \-Av7 | \-Av8 | \-Asparclet | \-Asparclite
|
||||
\-Av8plus | \-Av8plusa | \-Av9 | \-Av9a ]
|
||||
[ \-xarch=v8plus | \-xarch=v8plusa ] [ \-bump ]
|
||||
[ \-32 | \-64 ]
|
||||
[ \-ACA | \-ACA_A | \-ACB | \-ACC | \-AKA | \-AKB |
|
||||
\-AKC | \-AMC ]
|
||||
[ \-b ] [ \-no-relax ]
|
||||
[ \-\-m32rx | \-\-[no-]warn-explicit-parallel-conflicts |
|
||||
\-\-W[n]p ]
|
||||
[ \-l ] [ \-m68000 | \-m68010 | \-m68020 | ... ]
|
||||
[ \-jsri2bsr ] [ \-sifilter ] [ \-relax ]
|
||||
[ \-mcpu=[210|340] ]
|
||||
[ \-m68hc11 | \-m68hc12 ]
|
||||
[ \-\-force-long-branchs ] [ \-\-short-branchs ]
|
||||
[ \-\-strict-direct-mode ] [ \-\-print-insn-syntax ]
|
||||
[ \-\-print-opcodes ] [ \-\-generate-example ]
|
||||
[ \-nocpp ] [ \-EL ] [ \-EB ] [ \-G \fInum\fR ] [ \-mcpu=\fI\s-1CPU\s0\fR ]
|
||||
[ \-mips1 ] [ \-mips2 ] [ \-mips3 ] [ \-mips4 ] [ \-mips5 ]
|
||||
[ \-mips32 ] [ \-mips64 ]
|
||||
[ \-m4650 ] [ \-no-m4650 ]
|
||||
[ \-\-trap ] [ \-\-break ] [ \-n ]
|
||||
[ \-\-emulation=\fIname\fR ]
|
||||
[ \*(-- | \fIfiles\fR ... ]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\s-1GNU\s0 \f(CW\*(C`as\*(C'\fR is really a family of assemblers.
|
||||
If you use (or have used) the \s-1GNU\s0 assembler on one architecture, you
|
||||
should find a fairly similar environment when you use it on another
|
||||
architecture. Each version has much in common with the others,
|
||||
including object file formats, most assembler directives (often called
|
||||
\&\fIpseudo-ops\fR) and assembler syntax.
|
||||
.PP
|
||||
\&\f(CW\*(C`as\*(C'\fR is primarily intended to assemble the output of the
|
||||
\&\s-1GNU\s0 C compiler for use by the linker
|
||||
\&. Nevertheless, we've tried to make \f(CW\*(C`as\*(C'\fR
|
||||
assemble correctly everything that other assemblers for the same
|
||||
machine would assemble.
|
||||
Any exceptions are documented explicitly.
|
||||
This doesn't mean \f(CW\*(C`as\*(C'\fR always uses the same syntax as another
|
||||
assembler for the same architecture; for example, we know of several
|
||||
incompatible versions of 680x0 assembly language syntax.
|
||||
.PP
|
||||
Each time you run \f(CW\*(C`as\*(C'\fR it assembles exactly one source
|
||||
program. The source program is made up of one or more files.
|
||||
(The standard input is also a file.)
|
||||
.PP
|
||||
You give \f(CW\*(C`as\*(C'\fR a command line that has zero or more input file
|
||||
names. The input files are read (from left file name to right). A
|
||||
command line argument (in any position) that has no special meaning
|
||||
is taken to be an input file name.
|
||||
.PP
|
||||
If you give \f(CW\*(C`as\*(C'\fR no file names it attempts to read one input file
|
||||
from the \f(CW\*(C`as\*(C'\fR standard input, which is normally your terminal. You
|
||||
may have to type \fBctl-D\fR to tell \f(CW\*(C`as\*(C'\fR there is no more program
|
||||
to assemble.
|
||||
.PP
|
||||
Use \fB\--\fR if you need to explicitly name the standard input file
|
||||
in your command line.
|
||||
.PP
|
||||
If the source is empty, \f(CW\*(C`as\*(C'\fR produces a small, empty object
|
||||
file.
|
||||
.PP
|
||||
\&\f(CW\*(C`as\*(C'\fR may write warnings and error messages to the standard error
|
||||
file (usually your terminal). This should not happen when a compiler
|
||||
runs \f(CW\*(C`as\*(C'\fR automatically. Warnings report an assumption made so
|
||||
that \f(CW\*(C`as\*(C'\fR could keep assembling a flawed program; errors report a
|
||||
grave problem that stops the assembly.
|
||||
.PP
|
||||
If you are invoking \f(CW\*(C`as\*(C'\fR via the \s-1GNU\s0 C compiler (version 2),
|
||||
you can use the \fB\-Wa\fR option to pass arguments through to the assembler.
|
||||
The assembler arguments must be separated from each other (and the \fB\-Wa\fR)
|
||||
by commas. For example:
|
||||
.PP
|
||||
.Vb 1
|
||||
\& gcc -c -g -O -Wa,-alh,-L file.c
|
||||
.Ve
|
||||
This passes two options to the assembler: \fB\-alh\fR (emit a listing to
|
||||
standard output with with high-level and assembly source) and \fB\-L\fR (retain
|
||||
local symbols in the symbol table).
|
||||
.PP
|
||||
Usually you do not need to use this \fB\-Wa\fR mechanism, since many compiler
|
||||
command-line options are automatically passed to the assembler by the compiler.
|
||||
(You can call the \s-1GNU\s0 compiler driver with the \fB\-v\fR option to see
|
||||
precisely what options it passes to each compilation pass, including the
|
||||
assembler.)
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
.Ip "\f(CW\*(C`\-a[cdhlmns]\*(C'\fR" 4
|
||||
.IX Item "-a[cdhlmns]"
|
||||
Turn on listings, in any of a variety of ways:
|
||||
.RS 4
|
||||
.Ip "\f(CW\*(C`\-ac\*(C'\fR" 4
|
||||
.IX Item "-ac"
|
||||
omit false conditionals
|
||||
.Ip "\f(CW\*(C`\-ad\*(C'\fR" 4
|
||||
.IX Item "-ad"
|
||||
omit debugging directives
|
||||
.Ip "\f(CW\*(C`\-ah\*(C'\fR" 4
|
||||
.IX Item "-ah"
|
||||
include high-level source
|
||||
.Ip "\f(CW\*(C`\-al\*(C'\fR" 4
|
||||
.IX Item "-al"
|
||||
include assembly
|
||||
.Ip "\f(CW\*(C`\-am\*(C'\fR" 4
|
||||
.IX Item "-am"
|
||||
include macro expansions
|
||||
.Ip "\f(CW\*(C`\-an\*(C'\fR" 4
|
||||
.IX Item "-an"
|
||||
omit forms processing
|
||||
.Ip "\f(CW\*(C`\-as\*(C'\fR" 4
|
||||
.IX Item "-as"
|
||||
include symbols
|
||||
.Ip "\f(CW\*(C`=file\*(C'\fR" 4
|
||||
.IX Item "=file"
|
||||
set the name of the listing file
|
||||
.RE
|
||||
.RS 4
|
||||
.Sp
|
||||
You may combine these options; for example, use \fB\-aln\fR for assembly
|
||||
listing without forms processing. The \fB=file\fR option, if used, must be
|
||||
the last one. By itself, \fB\-a\fR defaults to \fB\-ahls\fR.
|
||||
.RE
|
||||
.Ip "\f(CW\*(C`\-D\*(C'\fR" 4
|
||||
.IX Item "-D"
|
||||
Ignored. This option is accepted for script compatibility with calls to
|
||||
other assemblers.
|
||||
.Ip "\f(CW\*(C`\-\-defsym \f(CIsym\f(CW=\f(CIvalue\f(CW\*(C'\fR" 4
|
||||
.IX Item "--defsym sym=value"
|
||||
Define the symbol \fIsym\fR to be \fIvalue\fR before assembling the input file.
|
||||
\&\fIvalue\fR must be an integer constant. As in C, a leading \fB0x\fR
|
||||
indicates a hexadecimal value, and a leading \fB0\fR indicates an octal value.
|
||||
.Ip "\f(CW\*(C`\-f\*(C'\fR" 4
|
||||
.IX Item "-f"
|
||||
``fast''\-\-\-skip whitespace and comment preprocessing (assume source is
|
||||
compiler output).
|
||||
.Ip "\f(CW\*(C`\-\-gstabs\*(C'\fR" 4
|
||||
.IX Item "--gstabs"
|
||||
Generate stabs debugging information for each assembler line. This
|
||||
may help debugging assembler code, if the debugger can handle it.
|
||||
.Ip "\f(CW\*(C`\-\-gdwarf2\*(C'\fR" 4
|
||||
.IX Item "--gdwarf2"
|
||||
Generate \s-1DWARF2\s0 debugging information for each assembler line. This
|
||||
may help debugging assembler code, if the debugger can handle it. Note \- this
|
||||
option is only supported by some targets, not all of them.
|
||||
.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4
|
||||
.IX Item "--help"
|
||||
Print a summary of the command line options and exit.
|
||||
.Ip "\f(CW\*(C`\-\-target\-help\*(C'\fR" 4
|
||||
.IX Item "--target-help"
|
||||
Print a summary of all target specific options and exit.
|
||||
.Ip "\f(CW\*(C`\-I \f(CIdir\f(CW\*(C'\fR" 4
|
||||
.IX Item "-I dir"
|
||||
Add directory \fIdir\fR to the search list for \f(CW\*(C`.include\*(C'\fR directives.
|
||||
.Ip "\f(CW\*(C`\-J\*(C'\fR" 4
|
||||
.IX Item "-J"
|
||||
Don't warn about signed overflow.
|
||||
.Ip "\f(CW\*(C`\-K\*(C'\fR" 4
|
||||
.IX Item "-K"
|
||||
This option is accepted but has no effect on the \s-1TARGET\s0 family.
|
||||
.Ip "\f(CW\*(C`\-L\*(C'\fR" 4
|
||||
.IX Item "-L"
|
||||
.Ip "\f(CW\*(C`\-\-keep\-locals\*(C'\fR" 4
|
||||
.IX Item "--keep-locals"
|
||||
Keep (in the symbol table) local symbols. On traditional a.out systems
|
||||
these start with \fBL\fR, but different systems have different local
|
||||
label prefixes.
|
||||
.Ip "\f(CW\*(C`\-\-listing\-lhs\-width=\f(CInumber\f(CW\*(C'\fR" 4
|
||||
.IX Item "--listing-lhs-width=number"
|
||||
Set the maximum width, in words, of the output data column for an assembler
|
||||
listing to \fInumber\fR.
|
||||
.Ip "\f(CW\*(C`\-\-listing\-lhs\-width2=\f(CInumber\f(CW\*(C'\fR" 4
|
||||
.IX Item "--listing-lhs-width2=number"
|
||||
Set the maximum width, in words, of the output data column for continuation
|
||||
lines in an assembler listing to \fInumber\fR.
|
||||
.Ip "\f(CW\*(C`\-\-listing\-rhs\-width=\f(CInumber\f(CW\*(C'\fR" 4
|
||||
.IX Item "--listing-rhs-width=number"
|
||||
Set the maximum width of an input source line, as displayed in a listing, to
|
||||
\&\fInumber\fR bytes.
|
||||
.Ip "\f(CW\*(C`\-\-listing\-cont\-lines=\f(CInumber\f(CW\*(C'\fR" 4
|
||||
.IX Item "--listing-cont-lines=number"
|
||||
Set the maximum number of lines printed in a listing for a single line of input
|
||||
to \fInumber\fR + 1.
|
||||
.Ip "\f(CW\*(C`\-o \f(CIobjfile\f(CW\*(C'\fR" 4
|
||||
.IX Item "-o objfile"
|
||||
Name the object-file output from \f(CW\*(C`as\*(C'\fR \fIobjfile\fR.
|
||||
.Ip "\f(CW\*(C`\-R\*(C'\fR" 4
|
||||
.IX Item "-R"
|
||||
Fold the data section into the text section.
|
||||
.Ip "\f(CW\*(C`\-\-statistics\*(C'\fR" 4
|
||||
.IX Item "--statistics"
|
||||
Print the maximum space (in bytes) and total time (in seconds) used by
|
||||
assembly.
|
||||
.Ip "\f(CW\*(C`\-\-strip\-local\-absolute\*(C'\fR" 4
|
||||
.IX Item "--strip-local-absolute"
|
||||
Remove local absolute symbols from the outgoing symbol table.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-version\*(C'\fR" 4
|
||||
.IX Item "-version"
|
||||
Print the \f(CW\*(C`as\*(C'\fR version.
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
Print the \f(CW\*(C`as\*(C'\fR version and exit.
|
||||
.Ip "\f(CW\*(C`\-W\*(C'\fR" 4
|
||||
.IX Item "-W"
|
||||
.Ip "\f(CW\*(C`\-\-no\-warn\*(C'\fR" 4
|
||||
.IX Item "--no-warn"
|
||||
Suppress warning messages.
|
||||
.Ip "\f(CW\*(C`\-\-fatal\-warnings\*(C'\fR" 4
|
||||
.IX Item "--fatal-warnings"
|
||||
Treat warnings as errors.
|
||||
.Ip "\f(CW\*(C`\-\-warn\*(C'\fR" 4
|
||||
.IX Item "--warn"
|
||||
Don't suppress warning messages or treat them as errors.
|
||||
.Ip "\f(CW\*(C`\-w\*(C'\fR" 4
|
||||
.IX Item "-w"
|
||||
Ignored.
|
||||
.Ip "\f(CW\*(C`\-x\*(C'\fR" 4
|
||||
.IX Item "-x"
|
||||
Ignored.
|
||||
.Ip "\f(CW\*(C`\-Z\*(C'\fR" 4
|
||||
.IX Item "-Z"
|
||||
Generate an object file even after errors.
|
||||
.Ip "\f(CW\*(C`\-\- | \f(CIfiles\f(CW ...\*(C'\fR" 4
|
||||
.IX Item "-- | files ..."
|
||||
Standard input, or source files to assemble.
|
||||
.PP
|
||||
The following options are available when as is configured for
|
||||
an \s-1ARC\s0 processor.
|
||||
.Ip "\f(CW\*(C`\-marc[5|6|7|8]\*(C'\fR" 4
|
||||
.IX Item "-marc[5|6|7|8]"
|
||||
This option selects the core processor variant.
|
||||
.Ip "\f(CW\*(C`\-EB | \-EL\*(C'\fR" 4
|
||||
.IX Item "-EB | -EL"
|
||||
Select either big-endian (\-EB) or little-endian (\-EL) output.
|
||||
.PP
|
||||
The following options are available when as is configured for the \s-1ARM\s0
|
||||
processor family.
|
||||
.Ip "\f(CW\*(C`\-m[arm][1|2|3|6|7|8|9][...] \*(C'\fR" 4
|
||||
.IX Item "-m[arm][1|2|3|6|7|8|9][...] "
|
||||
Specify which \s-1ARM\s0 processor variant is the target.
|
||||
.Ip "\f(CW\*(C`\-m[arm]v[2|2a|3|3m|4|4t|5|5t]\*(C'\fR" 4
|
||||
.IX Item "-m[arm]v[2|2a|3|3m|4|4t|5|5t]"
|
||||
Specify which \s-1ARM\s0 architecture variant is used by the target.
|
||||
.Ip "\f(CW\*(C`\-mthumb | \-mall\*(C'\fR" 4
|
||||
.IX Item "-mthumb | -mall"
|
||||
Enable or disable Thumb only instruction decoding.
|
||||
.Ip "\f(CW\*(C`\-mfpa10 | \-mfpa11 | \-mfpe\-old | \-mno\-fpu\*(C'\fR" 4
|
||||
.IX Item "-mfpa10 | -mfpa11 | -mfpe-old | -mno-fpu"
|
||||
Select which Floating Point architecture is the target.
|
||||
.Ip "\f(CW\*(C`\-mapcs\-32 | \-mapcs\-26 | \-mapcs\-float | \-mapcs\-reentrant | \-moabi\*(C'\fR" 4
|
||||
.IX Item "-mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrant | -moabi"
|
||||
Select which procedure calling convention is in use.
|
||||
.Ip "\f(CW\*(C`\-EB | \-EL\*(C'\fR" 4
|
||||
.IX Item "-EB | -EL"
|
||||
Select either big-endian (\-EB) or little-endian (\-EL) output.
|
||||
.Ip "\f(CW\*(C`\-mthumb\-interwork\*(C'\fR" 4
|
||||
.IX Item "-mthumb-interwork"
|
||||
Specify that the code has been generated with interworking between Thumb and
|
||||
\&\s-1ARM\s0 code in mind.
|
||||
.Ip "\f(CW\*(C`\-k\*(C'\fR" 4
|
||||
.IX Item "-k"
|
||||
Specify that \s-1PIC\s0 code has been generated.
|
||||
.PP
|
||||
The following options are available when as is configured for
|
||||
a D10V processor.
|
||||
.Ip "\f(CW\*(C`\-O\*(C'\fR" 4
|
||||
.IX Item "-O"
|
||||
Optimize output by parallelizing instructions.
|
||||
.PP
|
||||
The following options are available when as is configured for a D30V
|
||||
processor.
|
||||
.Ip "\f(CW\*(C`\-O\*(C'\fR" 4
|
||||
.IX Item "-O"
|
||||
Optimize output by parallelizing instructions.
|
||||
.Ip "\f(CW\*(C`\-n\*(C'\fR" 4
|
||||
.IX Item "-n"
|
||||
Warn when nops are generated.
|
||||
.Ip "\f(CW\*(C`\-N\*(C'\fR" 4
|
||||
.IX Item "-N"
|
||||
Warn when a nop after a 32\-bit multiply instruction is generated.
|
||||
.PP
|
||||
The following options are available when as is configured for the
|
||||
Intel 80960 processor.
|
||||
.Ip "\f(CW\*(C`\-ACA | \-ACA_A | \-ACB | \-ACC | \-AKA | \-AKB | \-AKC | \-AMC\*(C'\fR" 4
|
||||
.IX Item "-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC"
|
||||
Specify which variant of the 960 architecture is the target.
|
||||
.Ip "\f(CW\*(C`\-b\*(C'\fR" 4
|
||||
.IX Item "-b"
|
||||
Add code to collect statistics about branches taken.
|
||||
.Ip "\f(CW\*(C`\-no\-relax\*(C'\fR" 4
|
||||
.IX Item "-no-relax"
|
||||
Do not alter compare-and-branch instructions for long displacements;
|
||||
error if necessary.
|
||||
.PP
|
||||
The following options are available when as is configured for the
|
||||
Mitsubishi M32R series.
|
||||
.Ip "\f(CW\*(C`\-\-m32rx\*(C'\fR" 4
|
||||
.IX Item "--m32rx"
|
||||
Specify which processor in the M32R family is the target. The default
|
||||
is normally the M32R, but this option changes it to the M32RX.
|
||||
.Ip "\f(CW\*(C`\-\-warn\-explicit\-parallel\-conflicts or \-\-Wp\*(C'\fR" 4
|
||||
.IX Item "--warn-explicit-parallel-conflicts or --Wp"
|
||||
Produce warning messages when questionable parallel constructs are
|
||||
encountered.
|
||||
.Ip "\f(CW\*(C`\-\-no\-warn\-explicit\-parallel\-conflicts or \-\-Wnp\*(C'\fR" 4
|
||||
.IX Item "--no-warn-explicit-parallel-conflicts or --Wnp"
|
||||
Do not produce warning messages when questionable parallel constructs are
|
||||
encountered.
|
||||
.PP
|
||||
The following options are available when as is configured for the
|
||||
Motorola 68000 series.
|
||||
.Ip "\f(CW\*(C`\-l\*(C'\fR" 4
|
||||
.IX Item "-l"
|
||||
Shorten references to undefined symbols, to one word instead of two.
|
||||
.Ip "\f(CW\*(C`\-m68000 | \-m68008 | \-m68010 | \-m68020 | \-m68030\*(C'\fR" 4
|
||||
.IX Item "-m68000 | -m68008 | -m68010 | -m68020 | -m68030"
|
||||
.Ip "\f(CW\*(C`| \-m68040 | \-m68060 | \-m68302 | \-m68331 | \-m68332\*(C'\fR" 4
|
||||
.IX Item "| -m68040 | -m68060 | -m68302 | -m68331 | -m68332"
|
||||
.Ip "\f(CW\*(C`| \-m68333 | \-m68340 | \-mcpu32 | \-m5200\*(C'\fR" 4
|
||||
.IX Item "| -m68333 | -m68340 | -mcpu32 | -m5200"
|
||||
Specify what processor in the 68000 family is the target. The default
|
||||
is normally the 68020, but this can be changed at configuration time.
|
||||
.Ip "\f(CW\*(C`\-m68881 | \-m68882 | \-mno\-68881 | \-mno\-68882\*(C'\fR" 4
|
||||
.IX Item "-m68881 | -m68882 | -mno-68881 | -mno-68882"
|
||||
The target machine does (or does not) have a floating-point coprocessor.
|
||||
The default is to assume a coprocessor for 68020, 68030, and cpu32. Although
|
||||
the basic 68000 is not compatible with the 68881, a combination of the
|
||||
two can be specified, since it's possible to do emulation of the
|
||||
coprocessor instructions with the main processor.
|
||||
.Ip "\f(CW\*(C`\-m68851 | \-mno\-68851\*(C'\fR" 4
|
||||
.IX Item "-m68851 | -mno-68851"
|
||||
The target machine does (or does not) have a memory-management
|
||||
unit coprocessor. The default is to assume an \s-1MMU\s0 for 68020 and up.
|
||||
.PP
|
||||
For details about the \s-1PDP-11\s0 machine dependent features options,
|
||||
see \f(CW@ref\fR{PDP-11\-Options}.
|
||||
.Ip "\f(CW\*(C`\-mpic | \-mno\-pic\*(C'\fR" 4
|
||||
.IX Item "-mpic | -mno-pic"
|
||||
Generate position-independent (or position-dependent) code. The
|
||||
default is \f(CW\*(C`\-mpic\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-mall\*(C'\fR" 4
|
||||
.IX Item "-mall"
|
||||
.Ip "\f(CW\*(C`\-mall\-extensions\*(C'\fR" 4
|
||||
.IX Item "-mall-extensions"
|
||||
Enable all instruction set extensions. This is the default.
|
||||
.Ip "\f(CW\*(C`\-mno\-extensions\*(C'\fR" 4
|
||||
.IX Item "-mno-extensions"
|
||||
Disable all instruction set extensions.
|
||||
.Ip "\f(CW\*(C`\-m\f(CIextension\f(CW | \-mno\-\f(CIextension\f(CW\*(C'\fR" 4
|
||||
.IX Item "-mextension | -mno-extension"
|
||||
Enable (or disable) a particular instruction set extension.
|
||||
.Ip "\f(CW\*(C`\-m\f(CIcpu\f(CW\*(C'\fR" 4
|
||||
.IX Item "-mcpu"
|
||||
Enable the instruction set extensions supported by a particular \s-1CPU\s0, and
|
||||
disable all other extensions.
|
||||
.Ip "\f(CW\*(C`\-m\f(CImachine\f(CW\*(C'\fR" 4
|
||||
.IX Item "-mmachine"
|
||||
Enable the instruction set extensions supported by a particular machine
|
||||
model, and disable all other extensions.
|
||||
.PP
|
||||
The following options are available when as is configured for
|
||||
a picoJava processor.
|
||||
.Ip "\f(CW\*(C`\-mb\*(C'\fR" 4
|
||||
.IX Item "-mb"
|
||||
Generate ``big endian'' format output.
|
||||
.Ip "\f(CW\*(C`\-ml\*(C'\fR" 4
|
||||
.IX Item "-ml"
|
||||
Generate ``little endian'' format output.
|
||||
.PP
|
||||
The following options are available when as is configured for the
|
||||
Motorola 68HC11 or 68HC12 series.
|
||||
.Ip "\f(CW\*(C`\-m68hc11 | \-m68hc12\*(C'\fR" 4
|
||||
.IX Item "-m68hc11 | -m68hc12"
|
||||
Specify what processor is the target. The default is
|
||||
defined by the configuration option when building the assembler.
|
||||
.Ip "\f(CW\*(C`\-\-force\-long\-branchs\*(C'\fR" 4
|
||||
.IX Item "--force-long-branchs"
|
||||
Relative branches are turned into absolute ones. This concerns
|
||||
conditional branches, unconditional branches and branches to a
|
||||
sub routine.
|
||||
.Ip "\f(CW\*(C`\-S | \-\-short\-branchs\*(C'\fR" 4
|
||||
.IX Item "-S | --short-branchs"
|
||||
Do not turn relative branchs into absolute ones
|
||||
when the offset is out of range.
|
||||
.Ip "\f(CW\*(C`\-\-strict\-direct\-mode\*(C'\fR" 4
|
||||
.IX Item "--strict-direct-mode"
|
||||
Do not turn the direct addressing mode into extended addressing mode
|
||||
when the instruction does not support direct addressing mode.
|
||||
.Ip "\f(CW\*(C`\-\-print\-insn\-syntax\*(C'\fR" 4
|
||||
.IX Item "--print-insn-syntax"
|
||||
Print the syntax of instruction in case of error.
|
||||
.Ip "\f(CW\*(C`\-\-print\-opcodes\*(C'\fR" 4
|
||||
.IX Item "--print-opcodes"
|
||||
print the list of instructions with syntax and then exit.
|
||||
.Ip "\f(CW\*(C`\-\-generate\-example\*(C'\fR" 4
|
||||
.IX Item "--generate-example"
|
||||
print an example of instruction for each possible instruction and then exit.
|
||||
This option is only useful for testing \f(CW\*(C`as\*(C'\fR.
|
||||
.PP
|
||||
The following options are available when \f(CW\*(C`as\*(C'\fR is configured
|
||||
for the \s-1SPARC\s0 architecture:
|
||||
.Ip "\f(CW\*(C`\-Av6 | \-Av7 | \-Av8 | \-Asparclet | \-Asparclite\*(C'\fR" 4
|
||||
.IX Item "-Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite"
|
||||
.Ip "\f(CW\*(C`\-Av8plus | \-Av8plusa | \-Av9 | \-Av9a\*(C'\fR" 4
|
||||
.IX Item "-Av8plus | -Av8plusa | -Av9 | -Av9a"
|
||||
Explicitly select a variant of the \s-1SPARC\s0 architecture.
|
||||
.Sp
|
||||
\&\fB\-Av8plus\fR and \fB\-Av8plusa\fR select a 32 bit environment.
|
||||
\&\fB\-Av9\fR and \fB\-Av9a\fR select a 64 bit environment.
|
||||
.Sp
|
||||
\&\fB\-Av8plusa\fR and \fB\-Av9a\fR enable the \s-1SPARC\s0 V9 instruction set with
|
||||
UltraSPARC extensions.
|
||||
.Ip "\f(CW\*(C`\-xarch=v8plus | \-xarch=v8plusa\*(C'\fR" 4
|
||||
.IX Item "-xarch=v8plus | -xarch=v8plusa"
|
||||
For compatibility with the Solaris v9 assembler. These options are
|
||||
equivalent to \-Av8plus and \-Av8plusa, respectively.
|
||||
.Ip "\f(CW\*(C`\-bump\*(C'\fR" 4
|
||||
.IX Item "-bump"
|
||||
Warn when the assembler switches to another architecture.
|
||||
.PP
|
||||
The following options are available when as is configured for
|
||||
a \s-1MIPS\s0 processor.
|
||||
.Ip "\f(CW\*(C`\-G \f(CInum\f(CW\*(C'\fR" 4
|
||||
.IX Item "-G num"
|
||||
This option sets the largest size of an object that can be referenced
|
||||
implicitly with the \f(CW\*(C`gp\*(C'\fR register. It is only accepted for targets that
|
||||
use \s-1ECOFF\s0 format, such as a DECstation running Ultrix. The default value is 8.
|
||||
.Ip "\f(CW\*(C`\-EB\*(C'\fR" 4
|
||||
.IX Item "-EB"
|
||||
Generate ``big endian'' format output.
|
||||
.Ip "\f(CW\*(C`\-EL\*(C'\fR" 4
|
||||
.IX Item "-EL"
|
||||
Generate ``little endian'' format output.
|
||||
.Ip "\f(CW\*(C`\-mips1\*(C'\fR" 4
|
||||
.IX Item "-mips1"
|
||||
.Ip "\f(CW\*(C`\-mips2\*(C'\fR" 4
|
||||
.IX Item "-mips2"
|
||||
.Ip "\f(CW\*(C`\-mips3\*(C'\fR" 4
|
||||
.IX Item "-mips3"
|
||||
.Ip "\f(CW\*(C`\-mips4\*(C'\fR" 4
|
||||
.IX Item "-mips4"
|
||||
.Ip "\f(CW\*(C`\-mips32\*(C'\fR" 4
|
||||
.IX Item "-mips32"
|
||||
Generate code for a particular \s-1MIPS\s0 Instruction Set Architecture level.
|
||||
\&\fB\-mips1\fR corresponds to the R2000 and R3000 processors,
|
||||
\&\fB\-mips2\fR to the R6000 processor, and \fB\-mips3\fR to the R4000
|
||||
processor.
|
||||
\&\fB\-mips5\fR, \fB\-mips32\fR, and \fB\-mips64\fR correspond
|
||||
to generic \s-1MIPS\s0 V, \s-1MIPS32\s0, and \s-1MIPS64\s0 \s-1ISA\s0
|
||||
processors, respectively.
|
||||
.Ip "\f(CW\*(C`\-m4650\*(C'\fR" 4
|
||||
.IX Item "-m4650"
|
||||
.Ip "\f(CW\*(C`\-no\-m4650\*(C'\fR" 4
|
||||
.IX Item "-no-m4650"
|
||||
Generate code for the \s-1MIPS\s0 R4650 chip. This tells the assembler to accept
|
||||
the \fBmad\fR and \fBmadu\fR instruction, and to not schedule \fBnop\fR
|
||||
instructions around accesses to the \fB\s-1HI\s0\fR and \fB\s-1LO\s0\fR registers.
|
||||
\&\fB\-no-m4650\fR turns off this option.
|
||||
.Ip "\f(CW\*(C`\-mcpu=\f(CI\s\-1CPU\s0\f(CW\*(C'\fR" 4
|
||||
.IX Item "-mcpu=CPU"
|
||||
Generate code for a particular \s-1MIPS\s0 cpu. It is exactly equivalent to
|
||||
\&\fB\-m\fR\fIcpu\fR, except that there are more value of \fIcpu\fR
|
||||
understood.
|
||||
.Ip "\f(CW\*(C`\-\-emulation=\f(CIname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--emulation=name"
|
||||
This option causes \f(CW\*(C`as\*(C'\fR to emulate \f(CW\*(C`as\*(C'\fR configured
|
||||
for some other target, in all respects, including output format (choosing
|
||||
between \s-1ELF\s0 and \s-1ECOFF\s0 only), handling of pseudo-opcodes which may generate
|
||||
debugging information or store symbol table information, and default
|
||||
endianness. The available configuration names are: \fBmipsecoff\fR,
|
||||
\&\fBmipself\fR, \fBmipslecoff\fR, \fBmipsbecoff\fR, \fBmipslelf\fR,
|
||||
\&\fBmipsbelf\fR. The first two do not alter the default endianness from that
|
||||
of the primary target for which the assembler was configured; the others change
|
||||
the default to little- or big-endian as indicated by the \fBb\fR or \fBl\fR
|
||||
in the name. Using \fB\-EB\fR or \fB\-EL\fR will override the endianness
|
||||
selection in any case.
|
||||
.Sp
|
||||
This option is currently supported only when the primary target
|
||||
\&\f(CW\*(C`as\*(C'\fR is configured for is a \s-1MIPS\s0 \s-1ELF\s0 or \s-1ECOFF\s0 target.
|
||||
Furthermore, the primary target or others specified with
|
||||
\&\fB\*(--enable-targets=...\fR at configuration time must include support for
|
||||
the other format, if both are to be available. For example, the Irix 5
|
||||
configuration includes support for both.
|
||||
.Sp
|
||||
Eventually, this option will support more configurations, with more
|
||||
fine-grained control over the assembler's behavior, and will be supported for
|
||||
more processors.
|
||||
.Ip "\f(CW\*(C`\-nocpp\*(C'\fR" 4
|
||||
.IX Item "-nocpp"
|
||||
\&\f(CW\*(C`as\*(C'\fR ignores this option. It is accepted for compatibility with
|
||||
the native tools.
|
||||
.Ip "\f(CW\*(C`\-\-trap\*(C'\fR" 4
|
||||
.IX Item "--trap"
|
||||
.Ip "\f(CW\*(C`\-\-no\-trap\*(C'\fR" 4
|
||||
.IX Item "--no-trap"
|
||||
.Ip "\f(CW\*(C`\-\-break\*(C'\fR" 4
|
||||
.IX Item "--break"
|
||||
.Ip "\f(CW\*(C`\-\-no\-break\*(C'\fR" 4
|
||||
.IX Item "--no-break"
|
||||
Control how to deal with multiplication overflow and division by zero.
|
||||
\&\fB\*(--trap\fR or \fB\*(--no-break\fR (which are synonyms) take a trap exception
|
||||
(and only work for Instruction Set Architecture level 2 and higher);
|
||||
\&\fB\*(--break\fR or \fB\*(--no-trap\fR (also synonyms, and the default) take a
|
||||
break exception.
|
||||
.Ip "\f(CW\*(C`\-n\*(C'\fR" 4
|
||||
.IX Item "-n"
|
||||
When this option is used, \f(CW\*(C`as\*(C'\fR will issue a warning every
|
||||
time it generates a nop instruction from a macro.
|
||||
.PP
|
||||
The following options are available when as is configured for
|
||||
an MCore processor.
|
||||
.Ip "\f(CW\*(C`\-jsri2bsr\*(C'\fR" 4
|
||||
.IX Item "-jsri2bsr"
|
||||
.Ip "\f(CW\*(C`\-nojsri2bsr\*(C'\fR" 4
|
||||
.IX Item "-nojsri2bsr"
|
||||
Enable or disable the \s-1JSRI\s0 to \s-1BSR\s0 transformation. By default this is enabled.
|
||||
The command line option \fB\-nojsri2bsr\fR can be used to disable it.
|
||||
.Ip "\f(CW\*(C`\-sifilter\*(C'\fR" 4
|
||||
.IX Item "-sifilter"
|
||||
.Ip "\f(CW\*(C`\-nosifilter\*(C'\fR" 4
|
||||
.IX Item "-nosifilter"
|
||||
Enable or disable the silicon filter behaviour. By default this is disabled.
|
||||
The default can be overridden by the \fB\-sifilter\fR command line option.
|
||||
.Ip "\f(CW\*(C`\-relax\*(C'\fR" 4
|
||||
.IX Item "-relax"
|
||||
Alter jump instructions for long displacements.
|
||||
.Ip "\f(CW\*(C`\-mcpu=[210|340]\*(C'\fR" 4
|
||||
.IX Item "-mcpu=[210|340]"
|
||||
Select the cpu type on the target hardware. This controls which instructions
|
||||
can be assembled.
|
||||
.Ip "\f(CW\*(C`\-EB\*(C'\fR" 4
|
||||
.IX Item "-EB"
|
||||
Assemble for a big endian target.
|
||||
.Ip "\f(CW\*(C`\-EL\*(C'\fR" 4
|
||||
.IX Item "-EL"
|
||||
Assemble for a little endian target.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fIgcc\fR\|(1), \fIld\fR\|(1), and the Info entries for \fIbinutils\fR and \fIld\fR.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -92,6 +92,8 @@ config/tc-mn10300.c
|
||||
config/tc-mn10300.h
|
||||
config/tc-ns32k.c
|
||||
config/tc-ns32k.h
|
||||
config/tc-openrisc.c
|
||||
config/tc-openrisc.h
|
||||
config/tc-pdp11.c
|
||||
config/tc-pdp11.h
|
||||
config/tc-pj.c
|
||||
|
1947
gas/po/gas.pot
1947
gas/po/gas.pot
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,11 @@
|
||||
2001-06-18 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* Makefile.am (diststuff): Add $(MANS).
|
||||
(gprof.1): Remove the prefix `$(srcdir)/'.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
* gprof.1: Removed.
|
||||
|
||||
2001-06-12 Ben Elliston <bje@redhat.com>
|
||||
|
||||
* gprof.texi (File Format): Profile data files are stored in
|
||||
|
@ -33,11 +33,10 @@ noinst_HEADERS = \
|
||||
corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
|
||||
search_list.h source.h sym_ids.h symtab.h utils.h
|
||||
|
||||
EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
|
||||
|
||||
BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
|
||||
EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
|
||||
|
||||
diststuff: $(BUILT_SOURCES) info
|
||||
diststuff: $(BUILT_SOURCES) info $(man_MANS)
|
||||
|
||||
.m.c:
|
||||
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
|
||||
@ -61,13 +60,13 @@ man_MANS = gprof.1
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
$(srcdir)/gprof.1: $(srcdir)/gprof.texi
|
||||
touch $(srcdir)/gprof.1
|
||||
gprof.1: $(srcdir)/gprof.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
|
||||
-($(POD2MAN) gprof.pod | \
|
||||
sed -e '/^.if n .na/d' > $(srcdir)/gprof.1.T$$$$ && \
|
||||
mv -f $(srcdir)/gprof.1.T$$$$ $(srcdir)/gprof.1) || \
|
||||
(rm -f $(srcdir)/gprof.1.T$$$$ && exit 1)
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f gprof.pod
|
||||
|
||||
# Targets to rebuild dependencies in this Makefile.
|
||||
|
@ -135,9 +135,8 @@ noinst_HEADERS = \
|
||||
search_list.h source.h sym_ids.h symtab.h utils.h
|
||||
|
||||
|
||||
EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
|
||||
|
||||
BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
|
||||
EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
|
||||
|
||||
POTFILES = $(sources) $(noinst_HEADERS)
|
||||
|
||||
@ -193,7 +192,7 @@ acconfig.h acinclude.m4 aclocal.m4 configure configure.in gconfig.in
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
SOURCES = $(gprof_SOURCES)
|
||||
OBJECTS = $(gprof_OBJECTS)
|
||||
@ -712,7 +711,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
|
||||
mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
diststuff: $(BUILT_SOURCES) info
|
||||
diststuff: $(BUILT_SOURCES) info $(man_MANS)
|
||||
|
||||
.m.c:
|
||||
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
|
||||
@ -725,13 +724,13 @@ po/POTFILES.in: @MAINT@ Makefile
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
$(srcdir)/gprof.1: $(srcdir)/gprof.texi
|
||||
touch $(srcdir)/gprof.1
|
||||
gprof.1: $(srcdir)/gprof.texi
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
|
||||
-($(POD2MAN) gprof.pod | \
|
||||
sed -e '/^.if n .na/d' > $(srcdir)/gprof.1.T$$$$ && \
|
||||
mv -f $(srcdir)/gprof.1.T$$$$ $(srcdir)/gprof.1) || \
|
||||
(rm -f $(srcdir)/gprof.1.T$$$$ && exit 1)
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f gprof.pod
|
||||
|
||||
# Targets to rebuild dependencies in this Makefile.
|
||||
|
593
gprof/gprof.1
593
gprof/gprof.1
@ -1,593 +0,0 @@
|
||||
.\" Automatically generated by Pod::Man version 1.02
|
||||
.\" Tue Jun 12 14:06:00 2001
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ======================================================================
|
||||
.de Sh \" Subsection heading
|
||||
.br
|
||||
.if t .Sp
|
||||
.ne 5
|
||||
.PP
|
||||
\fB\\$1\fR
|
||||
.PP
|
||||
..
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Ip \" List item
|
||||
.br
|
||||
.ie \\n(.$>=3 .ne \\$3
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. | will give a
|
||||
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
|
||||
.\" to do unbreakable dashes and therefore won't be available. \*(C` and
|
||||
.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
|
||||
.tr \(*W-|\(bv\*(Tr
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` `
|
||||
. ds C' '
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr
|
||||
.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
|
||||
.\" index entries marked with X<> in POD. Of course, you'll have to process
|
||||
.\" the output yourself in some meaningful fashion.
|
||||
.if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
. .
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.\"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it
|
||||
.\" makes way too many mistakes in technical documents.
|
||||
.hy 0
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
.bd B 3
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ======================================================================
|
||||
.\"
|
||||
.IX Title "GPROF 1"
|
||||
.TH GPROF 1 "binutils-2.11.90" "2001-06-12" "GNU"
|
||||
.UC
|
||||
.SH "NAME"
|
||||
gprof \- display call graph profile data
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
gprof [ \-[abcDhilLsTvwxyz] ] [ \-[ACeEfFJnNOpPqQZ][\fIname\fR] ]
|
||||
[ \-I \fIdirs\fR ] [ \-d[\fInum\fR] ] [ \-k \fIfrom/to\fR ]
|
||||
[ \-m \fImin-count\fR ] [ \-t \fItable-length\fR ]
|
||||
[ \-\-[no-]annotated-source[=\fIname\fR] ]
|
||||
[ \-\-[no-]exec-counts[=\fIname\fR] ]
|
||||
[ \-\-[no-]flat-profile[=\fIname\fR] ] [ \-\-[no-]graph[=\fIname\fR] ]
|
||||
[ \-\-[no-]time=\fIname\fR] [ \-\-all-lines ] [ \-\-brief ]
|
||||
[ \-\-debug[=\fIlevel\fR] ] [ \-\-function-ordering ]
|
||||
[ \-\-file-ordering ] [ \-\-directory-path=\fIdirs\fR ]
|
||||
[ \-\-display-unused-functions ] [ \-\-file-format=\fIname\fR ]
|
||||
[ \-\-file-info ] [ \-\-help ] [ \-\-line ] [ \-\-min-count=\fIn\fR ]
|
||||
[ \-\-no-static ] [ \-\-print-path ] [ \-\-separate-files ]
|
||||
[ \-\-static-call-graph ] [ \-\-sum ] [ \-\-table-length=\fIlen\fR ]
|
||||
[ \-\-traditional ] [ \-\-version ] [ \-\-width=\fIn\fR ]
|
||||
[ \-\-ignore-non-functions ] [ \-\-demangle[=\fI\s-1STYLE\s0\fR] ]
|
||||
[ \-\-no-demangle ] [ \fIimage-file\fR ] [ \fIprofile-file\fR ... ]
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
\&\f(CW\*(C`gprof\*(C'\fR produces an execution profile of C, Pascal, or Fortran77
|
||||
programs. The effect of called routines is incorporated in the profile
|
||||
of each caller. The profile data is taken from the call graph profile file
|
||||
(\fIgmon.out\fR default) which is created by programs
|
||||
that are compiled with the \fB\-pg\fR option of
|
||||
\&\f(CW\*(C`cc\*(C'\fR, \f(CW\*(C`pc\*(C'\fR, and \f(CW\*(C`f77\*(C'\fR.
|
||||
The \fB\-pg\fR option also links in versions of the library routines
|
||||
that are compiled for profiling. \f(CW\*(C`Gprof\*(C'\fR reads the given object
|
||||
file (the default is \f(CW\*(C`a.out\*(C'\fR) and establishes the relation between
|
||||
its symbol table and the call graph profile from \fIgmon.out\fR.
|
||||
If more than one profile file is specified, the \f(CW\*(C`gprof\*(C'\fR
|
||||
output shows the sum of the profile information in the given profile files.
|
||||
.PP
|
||||
\&\f(CW\*(C`Gprof\*(C'\fR calculates the amount of time spent in each routine.
|
||||
Next, these times are propagated along the edges of the call graph.
|
||||
Cycles are discovered, and calls into a cycle are made to share the time
|
||||
of the cycle.
|
||||
.PP
|
||||
Several forms of output are available from the analysis.
|
||||
.PP
|
||||
The \fIflat profile\fR shows how much time your program spent in each function,
|
||||
and how many times that function was called. If you simply want to know
|
||||
which functions burn most of the cycles, it is stated concisely here.
|
||||
.PP
|
||||
The \fIcall graph\fR shows, for each function, which functions called it, which
|
||||
other functions it called, and how many times. There is also an estimate
|
||||
of how much time was spent in the subroutines of each function. This can
|
||||
suggest places where you might try to eliminate function calls that use a
|
||||
lot of time.
|
||||
.PP
|
||||
The \fIannotated source\fR listing is a copy of the program's
|
||||
source code, labeled with the number of times each line of the
|
||||
program was executed.
|
||||
.SH "OPTIONS"
|
||||
.IX Header "OPTIONS"
|
||||
These options specify which of several output formats
|
||||
\&\f(CW\*(C`gprof\*(C'\fR should produce.
|
||||
.PP
|
||||
Many of these options take an optional \fIsymspec\fR to specify
|
||||
functions to be included or excluded. These options can be
|
||||
specified multiple times, with different symspecs, to include
|
||||
or exclude sets of symbols.
|
||||
.PP
|
||||
Specifying any of these options overrides the default (\fB\-p \-q\fR),
|
||||
which prints a flat profile and call graph analysis
|
||||
for all functions.
|
||||
.Ip "\f(CW\*(C`\-A[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-A[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-annotated\-source[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--annotated-source[=symspec]"
|
||||
The \fB\-A\fR option causes \f(CW\*(C`gprof\*(C'\fR to print annotated source code.
|
||||
If \fIsymspec\fR is specified, print output only for matching symbols.
|
||||
.Ip "\f(CW\*(C`\-b\*(C'\fR" 4
|
||||
.IX Item "-b"
|
||||
.Ip "\f(CW\*(C`\-\-brief\*(C'\fR" 4
|
||||
.IX Item "--brief"
|
||||
If the \fB\-b\fR option is given, \f(CW\*(C`gprof\*(C'\fR doesn't print the
|
||||
verbose blurbs that try to explain the meaning of all of the fields in
|
||||
the tables. This is useful if you intend to print out the output, or
|
||||
are tired of seeing the blurbs.
|
||||
.Ip "\f(CW\*(C`\-C[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-C[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-exec\-counts[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--exec-counts[=symspec]"
|
||||
The \fB\-C\fR option causes \f(CW\*(C`gprof\*(C'\fR to
|
||||
print a tally of functions and the number of times each was called.
|
||||
If \fIsymspec\fR is specified, print tally only for matching symbols.
|
||||
.Sp
|
||||
If the profile data file contains basic-block count records, specifying
|
||||
the \fB\-l\fR option, along with \fB\-C\fR, will cause basic-block
|
||||
execution counts to be tallied and displayed.
|
||||
.Ip "\f(CW\*(C`\-i\*(C'\fR" 4
|
||||
.IX Item "-i"
|
||||
.Ip "\f(CW\*(C`\-\-file\-info\*(C'\fR" 4
|
||||
.IX Item "--file-info"
|
||||
The \fB\-i\fR option causes \f(CW\*(C`gprof\*(C'\fR to display summary information
|
||||
about the profile data \fIfile\fR\|(s) and then exit. The number of histogram,
|
||||
call graph, and basic-block count records is displayed.
|
||||
.Ip "\f(CW\*(C`\-I \f(CIdirs\f(CW\*(C'\fR" 4
|
||||
.IX Item "-I dirs"
|
||||
.Ip "\f(CW\*(C`\-\-directory\-path=\f(CIdirs\f(CW\*(C'\fR" 4
|
||||
.IX Item "--directory-path=dirs"
|
||||
The \fB\-I\fR option specifies a list of search directories in
|
||||
which to find source files. Environment variable \fI\s-1GPROF_PATH\s0\fR
|
||||
can also be used to convey this information.
|
||||
Used mostly for annotated source output.
|
||||
.Ip "\f(CW\*(C`\-J[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-J[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-no\-annotated\-source[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--no-annotated-source[=symspec]"
|
||||
The \fB\-J\fR option causes \f(CW\*(C`gprof\*(C'\fR not to
|
||||
print annotated source code.
|
||||
If \fIsymspec\fR is specified, \f(CW\*(C`gprof\*(C'\fR prints annotated source,
|
||||
but excludes matching symbols.
|
||||
.Ip "\f(CW\*(C`\-L\*(C'\fR" 4
|
||||
.IX Item "-L"
|
||||
.Ip "\f(CW\*(C`\-\-print\-path\*(C'\fR" 4
|
||||
.IX Item "--print-path"
|
||||
Normally, source filenames are printed with the path
|
||||
component suppressed. The \fB\-L\fR option causes \f(CW\*(C`gprof\*(C'\fR
|
||||
to print the full pathname of
|
||||
source filenames, which is determined
|
||||
from symbolic debugging information in the image file
|
||||
and is relative to the directory in which the compiler
|
||||
was invoked.
|
||||
.Ip "\f(CW\*(C`\-p[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-p[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-flat\-profile[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--flat-profile[=symspec]"
|
||||
The \fB\-p\fR option causes \f(CW\*(C`gprof\*(C'\fR to print a flat profile.
|
||||
If \fIsymspec\fR is specified, print flat profile only for matching symbols.
|
||||
.Ip "\f(CW\*(C`\-P[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-P[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-no\-flat\-profile[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--no-flat-profile[=symspec]"
|
||||
The \fB\-P\fR option causes \f(CW\*(C`gprof\*(C'\fR to suppress printing a flat profile.
|
||||
If \fIsymspec\fR is specified, \f(CW\*(C`gprof\*(C'\fR prints a flat profile,
|
||||
but excludes matching symbols.
|
||||
.Ip "\f(CW\*(C`\-q[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-q[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-graph[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--graph[=symspec]"
|
||||
The \fB\-q\fR option causes \f(CW\*(C`gprof\*(C'\fR to print the call graph analysis.
|
||||
If \fIsymspec\fR is specified, print call graph only for matching symbols
|
||||
and their children.
|
||||
.Ip "\f(CW\*(C`\-Q[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-Q[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-no\-graph[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--no-graph[=symspec]"
|
||||
The \fB\-Q\fR option causes \f(CW\*(C`gprof\*(C'\fR to suppress printing the
|
||||
call graph.
|
||||
If \fIsymspec\fR is specified, \f(CW\*(C`gprof\*(C'\fR prints a call graph,
|
||||
but excludes matching symbols.
|
||||
.Ip "\f(CW\*(C`\-y\*(C'\fR" 4
|
||||
.IX Item "-y"
|
||||
.Ip "\f(CW\*(C`\-\-separate\-files\*(C'\fR" 4
|
||||
.IX Item "--separate-files"
|
||||
This option affects annotated source output only.
|
||||
Normally, \f(CW\*(C`gprof\*(C'\fR prints annotated source files
|
||||
to standard-output. If this option is specified,
|
||||
annotated source for a file named \fIpath/\fIfilename\fI\fR
|
||||
is generated in the file \fI\fIfilename\fI\-ann\fR. If the underlying
|
||||
filesystem would truncate \fI\fIfilename\fI\-ann\fR so that it
|
||||
overwrites the original \fI\fIfilename\fI\fR, \f(CW\*(C`gprof\*(C'\fR generates
|
||||
annotated source in the file \fI\fIfilename\fI.ann\fR instead (if the
|
||||
original file name has an extension, that extension is \fIreplaced\fR
|
||||
with \fI.ann\fR).
|
||||
.Ip "\f(CW\*(C`\-Z[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-Z[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-no\-exec\-counts[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--no-exec-counts[=symspec]"
|
||||
The \fB\-Z\fR option causes \f(CW\*(C`gprof\*(C'\fR not to
|
||||
print a tally of functions and the number of times each was called.
|
||||
If \fIsymspec\fR is specified, print tally, but exclude matching symbols.
|
||||
.Ip "\f(CW\*(C`\-\-function\-ordering\*(C'\fR" 4
|
||||
.IX Item "--function-ordering"
|
||||
The \fB\*(--function-ordering\fR option causes \f(CW\*(C`gprof\*(C'\fR to print a
|
||||
suggested function ordering for the program based on profiling data.
|
||||
This option suggests an ordering which may improve paging, tlb and
|
||||
cache behavior for the program on systems which support arbitrary
|
||||
ordering of functions in an executable.
|
||||
.Sp
|
||||
The exact details of how to force the linker to place functions
|
||||
in a particular order is system dependent and out of the scope of this
|
||||
manual.
|
||||
.Ip "\f(CW\*(C`\-\-file\-ordering \f(CImap_file\f(CW\*(C'\fR" 4
|
||||
.IX Item "--file-ordering map_file"
|
||||
The \fB\*(--file-ordering\fR option causes \f(CW\*(C`gprof\*(C'\fR to print a
|
||||
suggested .o link line ordering for the program based on profiling data.
|
||||
This option suggests an ordering which may improve paging, tlb and
|
||||
cache behavior for the program on systems which do not support arbitrary
|
||||
ordering of functions in an executable.
|
||||
.Sp
|
||||
Use of the \fB\-a\fR argument is highly recommended with this option.
|
||||
.Sp
|
||||
The \fImap_file\fR argument is a pathname to a file which provides
|
||||
function name to object file mappings. The format of the file is similar to
|
||||
the output of the program \f(CW\*(C`nm\*(C'\fR.
|
||||
.Sp
|
||||
.Vb 8
|
||||
\& c-parse.o:00000000 T yyparse
|
||||
\& c-parse.o:00000004 C yyerrflag
|
||||
\& c-lang.o:00000000 T maybe_objc_method_name
|
||||
\& c-lang.o:00000000 T print_lang_statistics
|
||||
\& c-lang.o:00000000 T recognize_objc_keyword
|
||||
\& c-decl.o:00000000 T print_lang_identifier
|
||||
\& c-decl.o:00000000 T print_lang_type
|
||||
\& ...
|
||||
.Ve
|
||||
To create a \fImap_file\fR with \s-1GNU\s0 \f(CW\*(C`nm\*(C'\fR, type a command like
|
||||
\&\f(CW\*(C`nm \-\-extern\-only \-\-defined\-only \-v \-\-print\-file\-name program\-name\*(C'\fR.
|
||||
.Ip "\f(CW\*(C`\-T\*(C'\fR" 4
|
||||
.IX Item "-T"
|
||||
.Ip "\f(CW\*(C`\-\-traditional\*(C'\fR" 4
|
||||
.IX Item "--traditional"
|
||||
The \fB\-T\fR option causes \f(CW\*(C`gprof\*(C'\fR to print its output in
|
||||
``traditional'' \s-1BSD\s0 style.
|
||||
.Ip "\f(CW\*(C`\-w \f(CIwidth\f(CW\*(C'\fR" 4
|
||||
.IX Item "-w width"
|
||||
.Ip "\f(CW\*(C`\-\-width=\f(CIwidth\f(CW\*(C'\fR" 4
|
||||
.IX Item "--width=width"
|
||||
Sets width of output lines to \fIwidth\fR.
|
||||
Currently only used when printing the function index at the bottom
|
||||
of the call graph.
|
||||
.Ip "\f(CW\*(C`\-x\*(C'\fR" 4
|
||||
.IX Item "-x"
|
||||
.Ip "\f(CW\*(C`\-\-all\-lines\*(C'\fR" 4
|
||||
.IX Item "--all-lines"
|
||||
This option affects annotated source output only.
|
||||
By default, only the lines at the beginning of a basic-block
|
||||
are annotated. If this option is specified, every line in
|
||||
a basic-block is annotated by repeating the annotation for the
|
||||
first line. This behavior is similar to \f(CW\*(C`tcov\*(C'\fR's \fB\-a\fR.
|
||||
.Ip "\f(CW\*(C`\-\-demangle[=\f(CIstyle\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--demangle[=style]"
|
||||
.Ip "\f(CW\*(C`\-\-no\-demangle\*(C'\fR" 4
|
||||
.IX Item "--no-demangle"
|
||||
These options control whether \*(C+ symbol names should be demangled when
|
||||
printing output. The default is to demangle symbols. The
|
||||
\&\f(CW\*(C`\-\-no\-demangle\*(C'\fR option may be used to turn off demangling. Different
|
||||
compilers have different mangling styles. The optional demangling style
|
||||
argument can be used to choose an appropriate demangling style for your
|
||||
compiler.
|
||||
.Sh "Analysis Options"
|
||||
.IX Subsection "Analysis Options"
|
||||
.Ip "\f(CW\*(C`\-a\*(C'\fR" 4
|
||||
.IX Item "-a"
|
||||
.Ip "\f(CW\*(C`\-\-no\-static\*(C'\fR" 4
|
||||
.IX Item "--no-static"
|
||||
The \fB\-a\fR option causes \f(CW\*(C`gprof\*(C'\fR to suppress the printing of
|
||||
statically declared (private) functions. (These are functions whose
|
||||
names are not listed as global, and which are not visible outside the
|
||||
file/function/block where they were defined.) Time spent in these
|
||||
functions, calls to/from them, etc, will all be attributed to the
|
||||
function that was loaded directly before it in the executable file.
|
||||
This option affects both the flat profile and the call graph.
|
||||
.Ip "\f(CW\*(C`\-c\*(C'\fR" 4
|
||||
.IX Item "-c"
|
||||
.Ip "\f(CW\*(C`\-\-static\-call\-graph\*(C'\fR" 4
|
||||
.IX Item "--static-call-graph"
|
||||
The \fB\-c\fR option causes the call graph of the program to be
|
||||
augmented by a heuristic which examines the text space of the object
|
||||
file and identifies function calls in the binary machine code.
|
||||
Since normal call graph records are only generated when functions are
|
||||
entered, this option identifies children that could have been called,
|
||||
but never were. Calls to functions that were not compiled with
|
||||
profiling enabled are also identified, but only if symbol table
|
||||
entries are present for them.
|
||||
Calls to dynamic library routines are typically \fInot\fR found
|
||||
by this option.
|
||||
Parents or children identified via this heuristic
|
||||
are indicated in the call graph with call counts of \fB0\fR.
|
||||
.Ip "\f(CW\*(C`\-D\*(C'\fR" 4
|
||||
.IX Item "-D"
|
||||
.Ip "\f(CW\*(C`\-\-ignore\-non\-functions\*(C'\fR" 4
|
||||
.IX Item "--ignore-non-functions"
|
||||
The \fB\-D\fR option causes \f(CW\*(C`gprof\*(C'\fR to ignore symbols which
|
||||
are not known to be functions. This option will give more accurate
|
||||
profile data on systems where it is supported (Solaris and \s-1HPUX\s0 for
|
||||
example).
|
||||
.Ip "\f(CW\*(C`\-k \f(CIfrom\f(CW/\f(CIto\f(CW\*(C'\fR" 4
|
||||
.IX Item "-k from/to"
|
||||
The \fB\-k\fR option allows you to delete from the call graph any arcs from
|
||||
symbols matching symspec \fIfrom\fR to those matching symspec \fIto\fR.
|
||||
.Ip "\f(CW\*(C`\-l\*(C'\fR" 4
|
||||
.IX Item "-l"
|
||||
.Ip "\f(CW\*(C`\-\-line\*(C'\fR" 4
|
||||
.IX Item "--line"
|
||||
The \fB\-l\fR option enables line-by-line profiling, which causes
|
||||
histogram hits to be charged to individual source code lines,
|
||||
instead of functions.
|
||||
If the program was compiled with basic-block counting enabled,
|
||||
this option will also identify how many times each line of
|
||||
code was executed.
|
||||
While line-by-line profiling can help isolate where in a large function
|
||||
a program is spending its time, it also significantly increases
|
||||
the running time of \f(CW\*(C`gprof\*(C'\fR, and magnifies statistical
|
||||
inaccuracies.
|
||||
.Ip "\f(CW\*(C`\-m \f(CInum\f(CW\*(C'\fR" 4
|
||||
.IX Item "-m num"
|
||||
.Ip "\f(CW\*(C`\-\-min\-count=\f(CInum\f(CW\*(C'\fR" 4
|
||||
.IX Item "--min-count=num"
|
||||
This option affects execution count output only.
|
||||
Symbols that are executed less than \fInum\fR times are suppressed.
|
||||
.Ip "\f(CW\*(C`\-n[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-n[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-time[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--time[=symspec]"
|
||||
The \fB\-n\fR option causes \f(CW\*(C`gprof\*(C'\fR, in its call graph analysis,
|
||||
to only propagate times for symbols matching \fIsymspec\fR.
|
||||
.Ip "\f(CW\*(C`\-N[\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-N[symspec]"
|
||||
.Ip "\f(CW\*(C`\-\-no\-time[=\f(CIsymspec\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--no-time[=symspec]"
|
||||
The \fB\-n\fR option causes \f(CW\*(C`gprof\*(C'\fR, in its call graph analysis,
|
||||
not to propagate times for symbols matching \fIsymspec\fR.
|
||||
.Ip "\f(CW\*(C`\-z\*(C'\fR" 4
|
||||
.IX Item "-z"
|
||||
.Ip "\f(CW\*(C`\-\-display\-unused\-functions\*(C'\fR" 4
|
||||
.IX Item "--display-unused-functions"
|
||||
If you give the \fB\-z\fR option, \f(CW\*(C`gprof\*(C'\fR will mention all
|
||||
functions in the flat profile, even those that were never called, and
|
||||
that had no time spent in them. This is useful in conjunction with the
|
||||
\&\fB\-c\fR option for discovering which routines were never called.
|
||||
.Sh "Miscellaneous Options"
|
||||
.IX Subsection "Miscellaneous Options"
|
||||
.Ip "\f(CW\*(C`\-d[\f(CInum\f(CW]\*(C'\fR" 4
|
||||
.IX Item "-d[num]"
|
||||
.Ip "\f(CW\*(C`\-\-debug[=\f(CInum\f(CW]\*(C'\fR" 4
|
||||
.IX Item "--debug[=num]"
|
||||
The \fB\-d\fR \fInum\fR option specifies debugging options.
|
||||
If \fInum\fR is not specified, enable all debugging.
|
||||
.Ip "\f(CW\*(C`\-O\f(CIname\f(CW\*(C'\fR" 4
|
||||
.IX Item "-Oname"
|
||||
.Ip "\f(CW\*(C`\-\-file\-format=\f(CIname\f(CW\*(C'\fR" 4
|
||||
.IX Item "--file-format=name"
|
||||
Selects the format of the profile data files. Recognized formats are
|
||||
\&\fBauto\fR (the default), \fBbsd\fR, \fB4.4bsd\fR, \fBmagic\fR, and
|
||||
\&\fBprof\fR (not yet supported).
|
||||
.Ip "\f(CW\*(C`\-s\*(C'\fR" 4
|
||||
.IX Item "-s"
|
||||
.Ip "\f(CW\*(C`\-\-sum\*(C'\fR" 4
|
||||
.IX Item "--sum"
|
||||
The \fB\-s\fR option causes \f(CW\*(C`gprof\*(C'\fR to summarize the information
|
||||
in the profile data files it read in, and write out a profile data
|
||||
file called \fIgmon.sum\fR, which contains all the information from
|
||||
the profile data files that \f(CW\*(C`gprof\*(C'\fR read in. The file \fIgmon.sum\fR
|
||||
may be one of the specified input files; the effect of this is to
|
||||
merge the data in the other input files into \fIgmon.sum\fR.
|
||||
.Sp
|
||||
Eventually you can run \f(CW\*(C`gprof\*(C'\fR again without \fB\-s\fR to analyze the
|
||||
cumulative data in the file \fIgmon.sum\fR.
|
||||
.Ip "\f(CW\*(C`\-v\*(C'\fR" 4
|
||||
.IX Item "-v"
|
||||
.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4
|
||||
.IX Item "--version"
|
||||
The \fB\-v\fR flag causes \f(CW\*(C`gprof\*(C'\fR to print the current version
|
||||
number, and then exit.
|
||||
.Sh "Deprecated Options"
|
||||
.IX Subsection "Deprecated Options"
|
||||
These options have been replaced with newer versions that use symspecs.
|
||||
.Ip "\f(CW\*(C`\-e \f(CIfunction_name\f(CW\*(C'\fR" 4
|
||||
.IX Item "-e function_name"
|
||||
The \fB\-e\fR \fIfunction\fR option tells \f(CW\*(C`gprof\*(C'\fR to not print
|
||||
information about the function \fIfunction_name\fR (and its
|
||||
children...) in the call graph. The function will still be listed
|
||||
as a child of any functions that call it, but its index number will be
|
||||
shown as \fB[not printed]\fR. More than one \fB\-e\fR option may be
|
||||
given; only one \fIfunction_name\fR may be indicated with each \fB\-e\fR
|
||||
option.
|
||||
.Ip "\f(CW\*(C`\-E \f(CIfunction_name\f(CW\*(C'\fR" 4
|
||||
.IX Item "-E function_name"
|
||||
The \f(CW\*(C`\-E \f(CIfunction\f(CW\*(C'\fR option works like the \f(CW\*(C`\-e\*(C'\fR option, but
|
||||
time spent in the function (and children who were not called from
|
||||
anywhere else), will not be used to compute the percentages-of-time for
|
||||
the call graph. More than one \fB\-E\fR option may be given; only one
|
||||
\&\fIfunction_name\fR may be indicated with each \fB\-E\fR option.
|
||||
.Ip "\f(CW\*(C`\-f \f(CIfunction_name\f(CW\*(C'\fR" 4
|
||||
.IX Item "-f function_name"
|
||||
The \fB\-f\fR \fIfunction\fR option causes \f(CW\*(C`gprof\*(C'\fR to limit the
|
||||
call graph to the function \fIfunction_name\fR and its children (and
|
||||
their children...). More than one \fB\-f\fR option may be given;
|
||||
only one \fIfunction_name\fR may be indicated with each \fB\-f\fR
|
||||
option.
|
||||
.Ip "\f(CW\*(C`\-F \f(CIfunction_name\f(CW\*(C'\fR" 4
|
||||
.IX Item "-F function_name"
|
||||
The \fB\-F\fR \fIfunction\fR option works like the \f(CW\*(C`\-f\*(C'\fR option, but
|
||||
only time spent in the function and its children (and their
|
||||
children...) will be used to determine total-time and
|
||||
percentages-of-time for the call graph. More than one \fB\-F\fR option
|
||||
may be given; only one \fIfunction_name\fR may be indicated with each
|
||||
\&\fB\-F\fR option. The \fB\-F\fR option overrides the \fB\-E\fR option.
|
||||
.SH "FILES"
|
||||
.IX Header "FILES"
|
||||
.Ip "\f(CW\*(C`\f(CIa.out\f(CW\*(C'\fR" 4
|
||||
.IX Item "a.out"
|
||||
the namelist and text space.
|
||||
.Ip "\f(CW\*(C`\f(CIgmon.out\f(CW\*(C'\fR" 4
|
||||
.IX Item "gmon.out"
|
||||
dynamic call graph and profile.
|
||||
.Ip "\f(CW\*(C`\f(CIgmon.sum\f(CW\*(C'\fR" 4
|
||||
.IX Item "gmon.sum"
|
||||
summarized dynamic call graph and profile.
|
||||
.SH "BUGS"
|
||||
.IX Header "BUGS"
|
||||
The granularity of the sampling is shown, but remains
|
||||
statistical at best.
|
||||
We assume that the time for each execution of a function
|
||||
can be expressed by the total time for the function divided
|
||||
by the number of times the function is called.
|
||||
Thus the time propagated along the call graph arcs to the function's
|
||||
parents is directly proportional to the number of times that
|
||||
arc is traversed.
|
||||
.PP
|
||||
Parents that are not themselves profiled will have the time of
|
||||
their profiled children propagated to them, but they will appear
|
||||
to be spontaneously invoked in the call graph listing, and will
|
||||
not have their time propagated further.
|
||||
Similarly, signal catchers, even though profiled, will appear
|
||||
to be spontaneous (although for more obscure reasons).
|
||||
Any profiled children of signal catchers should have their times
|
||||
propagated properly, unless the signal catcher was invoked during
|
||||
the execution of the profiling routine, in which case all is lost.
|
||||
.PP
|
||||
The profiled program must call \f(CW\*(C`exit\*(C'\fR(2)
|
||||
or return normally for the profiling information to be saved
|
||||
in the \fIgmon.out\fR file.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
\&\fImonitor\fR\|(3), \fIprofil\fR\|(2), \fIcc\fR\|(1), \fIprof\fR\|(1), and the Info entry for \fIgprof\fR.
|
||||
.PP
|
||||
``An Execution Profiler for Modular Programs'',
|
||||
by S. Graham, P. Kessler, M. McKusick;
|
||||
Software \- Practice and Experience,
|
||||
Vol. 13, pp. 671\-685, 1983.
|
||||
.PP
|
||||
``gprof: A Call Graph Execution Profiler'',
|
||||
by S. Graham, P. Kessler, M. McKusick;
|
||||
Proceedings of the \s-1SIGPLAN\s0 '82 Symposium on Compiler Construction,
|
||||
\&\s-1SIGPLAN\s0 Notices, Vol. 17, No 6, pp. 120\-126, June 1982.
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (C) 1988, 92, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, with no Front-Cover Texts, and with no
|
||||
Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
|
@ -1,3 +1,11 @@
|
||||
2001-06-18 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
|
||||
(diststuff): Add $(MANS).
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
* ld.1: Removed.
|
||||
|
||||
2001-06-18 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
|
||||
|
@ -934,13 +934,14 @@ ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
$(srcdir)/ld.1: $(srcdir)/ld.texinfo
|
||||
touch $(srcdir)/ld.1
|
||||
ld.1: $(srcdir)/ld.texinfo
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
|
||||
-($(POD2MAN) ld.pod | \
|
||||
sed -e '/^.if n .na/d' > $(srcdir)/ld.1.T$$$$ && \
|
||||
mv -f $(srcdir)/ld.1.T$$$$ $(srcdir)/ld.1) || \
|
||||
(rm -f $(srcdir)/ld.1.T$$$$ && exit 1)
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f ld.pod
|
||||
|
||||
MAINTAINERCLEANFILES = ldver.texi
|
||||
|
||||
@ -979,8 +980,8 @@ install-data-local:
|
||||
|
||||
# Stuff that should be included in a distribution. The diststuff
|
||||
# target is run by the taz target in ../Makefile.in.
|
||||
LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
|
||||
diststuff: $(LDDISTSTUFF) info
|
||||
EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
|
||||
diststuff: info $(EXTRA_DIST)
|
||||
|
||||
DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
|
||||
distclean-local:
|
||||
|
@ -431,7 +431,7 @@ CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
|
||||
|
||||
# Stuff that should be included in a distribution. The diststuff
|
||||
# target is run by the taz target in ../Makefile.in.
|
||||
LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
|
||||
EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
|
||||
|
||||
DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
@ -475,7 +475,7 @@ deffilep.c ldgram.c ldlex.c
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
|
||||
OBJECTS = $(ld_new_OBJECTS)
|
||||
@ -1637,13 +1637,14 @@ ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
|
||||
# Build the man page from the texinfo file
|
||||
# The sed command removes the no-adjust Nroff command so that
|
||||
# the man output looks standard.
|
||||
$(srcdir)/ld.1: $(srcdir)/ld.texinfo
|
||||
touch $(srcdir)/ld.1
|
||||
ld.1: $(srcdir)/ld.texinfo
|
||||
touch $@
|
||||
-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
|
||||
-($(POD2MAN) ld.pod | \
|
||||
sed -e '/^.if n .na/d' > $(srcdir)/ld.1.T$$$$ && \
|
||||
mv -f $(srcdir)/ld.1.T$$$$ $(srcdir)/ld.1) || \
|
||||
(rm -f $(srcdir)/ld.1.T$$$$ && exit 1)
|
||||
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
||||
mv -f $@.T$$$$ $@) || \
|
||||
(rm -f $@.T$$$$ && exit 1)
|
||||
rm -f ld.pod
|
||||
|
||||
# We want to reconfigure if configure.host or configure.tgt changes.
|
||||
config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt
|
||||
@ -1673,7 +1674,7 @@ install-data-local:
|
||||
for f in ldscripts/*; do \
|
||||
$(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
|
||||
done
|
||||
diststuff: $(LDDISTSTUFF) info
|
||||
diststuff: info $(EXTRA_DIST)
|
||||
distclean-local:
|
||||
rm -rf ldscripts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user