summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/bfd/doc
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/bfd/doc')
-rw-r--r--binutils-2.25/bfd/doc/ChangeLog39
-rw-r--r--binutils-2.25/bfd/doc/Makefile.am165
-rw-r--r--binutils-2.25/bfd/doc/Makefile.in167
-rw-r--r--binutils-2.25/bfd/doc/bfd.texinfo6
-rw-r--r--binutils-2.25/bfd/doc/bfdint.texi12
-rw-r--r--binutils-2.25/bfd/doc/bfdsumm.texi3
-rw-r--r--binutils-2.25/bfd/doc/chew.c40
-rw-r--r--binutils-2.25/bfd/doc/makefile.vms2
8 files changed, 265 insertions, 169 deletions
diff --git a/binutils-2.25/bfd/doc/ChangeLog b/binutils-2.25/bfd/doc/ChangeLog
index 08c27808..e2987ed5 100644
--- a/binutils-2.25/bfd/doc/ChangeLog
+++ b/binutils-2.25/bfd/doc/ChangeLog
@@ -1,3 +1,40 @@
+2014-08-05 Doug Evans <dje@google.com>
+
+ * chew.c (skip_past_newline_1): New function.
+ (outputdots): Call it.
+ (skip_past_newline): Ditto.
+
+2014-08-05 Alan Modra <amodra@gmail.com>
+
+ * chew.c (print_stack_level, main): Cast result of pointer
+ difference to match format string.
+
+2014-04-09 Alan Modra <amodra@gmail.com>
+
+ * Makefile.am ($(MKDOC)): New rule, depend on chew.stamp. Move
+ old rule to..
+ (chew.stamp): ..here.
+ (DISTCLEANFILES): Move *.stamp..
+ (MOSTLYCLEANFILES): ..to here.
+ * Makefile.in: Regenerate.
+
+2014-04-09 Alan Modra <amodra@gmail.com>
+
+ * Makefile.am (MKDOC): Use $@ in command.
+ (aoutx.texi): New rule, depend on aoutx.stamp. Move old rule..
+ (aoutx.stamp): .. to here. Don't depend on chew.c, depend on MKDOC
+ and omit recursive MAKE. Use $< in command.
+ (archive.texi, archures.texi, bfdt.texi, cache.texi, coffcode.texi,
+ core.texi, elf.texi, elfcode.texi, mmo.texi, format.texi, libbfd.texi,
+ bfdio.texi, bfdwin.texi, opncls.texi, reloc.texi, section.texi,
+ syms.texi, targets.texi, init.texi, hash.texi, linker.texi): Similarly.
+ (DISTCLEANFILES): Remove *.stamp.
+ * Makefile.in: Regenerate.
+
+2014-03-12 Alan Modra <amodra@gmail.com>
+
+ * Makefile.in: Regenerate.
+
2013-10-14 Nick Clifton <nickc@redhat.com>
* chew.c (perform): Free next.
@@ -267,7 +304,7 @@
For older changes see ChangeLog-9103
-Copyright (C) 2004-2012 Free Software Foundation, Inc.
+Copyright (C) 2004-2014 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff --git a/binutils-2.25/bfd/doc/Makefile.am b/binutils-2.25/bfd/doc/Makefile.am
index 670d69ae..3f698593 100644
--- a/binutils-2.25/bfd/doc/Makefile.am
+++ b/binutils-2.25/bfd/doc/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to generate Makefile.in
#
-# Copyright 2012 Free Software Foundation
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -76,10 +76,13 @@ MKDOC = chew$(EXEEXT_FOR_BUILD)
AM_CPPFLAGS = -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \
-I$(srcdir)/../../intl -I../../intl
-$(MKDOC): $(srcdir)/chew.c
+$(MKDOC): chew.stamp ; @true
+chew.stamp: $(srcdir)/chew.c
$(CC_FOR_BUILD) -o chw$$$$$(EXEEXT_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
$(LDFLAGS_FOR_BUILD) $(H_CFLAGS) $(AM_CPPFLAGS) $(srcdir)/chew.c; \
- $(SHELL) $(srcdir)/../../move-if-change chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC)
+ $(SHELL) $(srcdir)/../../move-if-change \
+ chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC); \
+ touch $@
protos: libbfd.h libcoff.h bfd.h
@@ -91,117 +94,139 @@ protos: libbfd.h libcoff.h bfd.h
# program. If somebody tries to rebuild info, but none of the .texi files
# have changed, then nothing will be rebuilt.
-aoutx.texi: chew.c $(srcdir)/../aoutx.h $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp
+aoutx.texi: aoutx.stamp ; @true
+aoutx.stamp: $(srcdir)/../aoutx.h $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >aoutx.tmp
$(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi
+ touch $@
-archive.texi: chew.c $(srcdir)/../archive.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp
+archive.texi: archive.stamp ; @true
+archive.stamp: $(srcdir)/../archive.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >archive.tmp
$(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi
+ touch $@
-archures.texi: chew.c $(srcdir)/../archures.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp
+archures.texi: archures.stamp ; @true
+archures.stamp: $(srcdir)/../archures.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >archures.tmp
$(SHELL) $(srcdir)/../../move-if-change archures.tmp archures.texi
+ touch $@
# We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
# bfd.texinfo on an 8.3 filesystem.
-bfdt.texi: chew.c $(srcdir)/../bfd.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp
+bfdt.texi: bfdt.stamp ; @true
+bfdt.stamp: $(srcdir)/../bfd.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfd.tmp
$(SHELL) $(srcdir)/../../move-if-change bfd.tmp bfdt.texi
+ touch $@
-cache.texi: chew.c $(srcdir)/../cache.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp
+cache.texi: cache.stamp ; @true
+cache.stamp: $(srcdir)/../cache.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >cache.tmp
$(SHELL) $(srcdir)/../../move-if-change cache.tmp cache.texi
+ touch $@
-coffcode.texi: chew.c $(srcdir)/../coffcode.h $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp
+coffcode.texi: coffcode.stamp ; @true
+coffcode.stamp: $(srcdir)/../coffcode.h $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >coffcode.tmp
$(SHELL) $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi
+ touch $@
-core.texi: chew.c $(srcdir)/../corefile.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp
+core.texi: core.stamp ; @true
+core.stamp: $(srcdir)/../corefile.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >core.tmp
$(SHELL) $(srcdir)/../../move-if-change core.tmp core.texi
+ touch $@
-elf.texi: chew.c $(srcdir)/../elf.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp
+elf.texi: elf.stamp ; @true
+elf.stamp: $(srcdir)/../elf.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >elf.tmp
$(SHELL) $(srcdir)/../../move-if-change elf.tmp elf.texi
+ touch $@
-elfcode.texi: chew.c $(srcdir)/../elfcode.h $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp
+elfcode.texi: elfcode.stamp ; @true
+elfcode.stamp: $(srcdir)/../elfcode.h $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >elfcode.tmp
$(SHELL) $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi
+ touch $@
-mmo.texi: chew.c $(srcdir)/../mmo.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../mmo.c >mmo.tmp
+mmo.texi: mmo.stamp ; @true
+mmo.stamp: $(srcdir)/../mmo.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >mmo.tmp
$(SHELL) $(srcdir)/../../move-if-change mmo.tmp mmo.texi
+ touch $@
-format.texi: chew.c $(srcdir)/../format.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp
+format.texi: format.stamp ; @true
+format.stamp: $(srcdir)/../format.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >format.tmp
$(SHELL) $(srcdir)/../../move-if-change format.tmp format.texi
+ touch $@
-libbfd.texi: chew.c $(srcdir)/../libbfd.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp
+libbfd.texi: libbfd.stamp ; @true
+libbfd.stamp: $(srcdir)/../libbfd.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >libbfd.tmp
$(SHELL) $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi
+ touch $@
-bfdio.texi: chew.c $(srcdir)/../bfdio.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdio.c >bfdio.tmp
+bfdio.texi: bfdio.stamp ; @true
+bfdio.stamp: $(srcdir)/../bfdio.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdio.tmp
$(SHELL) $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi
+ touch $@
-bfdwin.texi: chew.c $(srcdir)/../bfdwin.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdwin.c >bfdwin.tmp
+bfdwin.texi: bfdwin.stamp ; @true
+bfdwin.stamp: $(srcdir)/../bfdwin.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdwin.tmp
$(SHELL) $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi
+ touch $@
-opncls.texi: chew.c $(srcdir)/../opncls.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.tmp
+opncls.texi: opncls.stamp ; @true
+opncls.stamp: $(srcdir)/../opncls.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >opncls.tmp
$(SHELL) $(srcdir)/../../move-if-change opncls.tmp opncls.texi
+ touch $@
-reloc.texi: chew.c $(srcdir)/../reloc.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp
+reloc.texi: reloc.stamp ; @true
+reloc.stamp: $(srcdir)/../reloc.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >reloc.tmp
$(SHELL) $(srcdir)/../../move-if-change reloc.tmp reloc.texi
+ touch $@
-section.texi: chew.c $(srcdir)/../section.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp
+section.texi: section.stamp ; @true
+section.stamp: $(srcdir)/../section.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >section.tmp
$(SHELL) $(srcdir)/../../move-if-change section.tmp section.texi
+ touch $@
-syms.texi: chew.c $(srcdir)/../syms.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp
+syms.texi: syms.stamp ; @true
+syms.stamp: $(srcdir)/../syms.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >syms.tmp
$(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi
+ touch $@
-targets.texi: chew.c $(srcdir)/../targets.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp
+targets.texi: targets.stamp ; @true
+targets.stamp: $(srcdir)/../targets.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >targets.tmp
$(SHELL) $(srcdir)/../../move-if-change targets.tmp targets.texi
+ touch $@
-init.texi: chew.c $(srcdir)/../init.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp
+init.texi: init.stamp ; @true
+init.stamp: $(srcdir)/../init.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >init.tmp
$(SHELL) $(srcdir)/../../move-if-change init.tmp init.texi
+ touch $@
-hash.texi: chew.c $(srcdir)/../hash.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp
+hash.texi: hash.stamp ; @true
+hash.stamp: $(srcdir)/../hash.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >hash.tmp
$(SHELL) $(srcdir)/../../move-if-change hash.tmp hash.texi
+ touch $@
-linker.texi: chew.c $(srcdir)/../linker.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp
+linker.texi: linker.stamp ; @true
+linker.stamp: $(srcdir)/../linker.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >linker.tmp
$(SHELL) $(srcdir)/../../move-if-change linker.tmp linker.texi
+ touch $@
LIBBFD_H_DEP = \
$(srcdir)/../libbfd-in.h \
@@ -301,7 +326,7 @@ bfdver.texi: $(srcdir)/Makefile.in
noinst_TEXINFOS = bfdint.texi
-MOSTLYCLEANFILES = $(MKDOC) *.o
+MOSTLYCLEANFILES = $(MKDOC) *.o *.stamp
CLEANFILES = *.p *.ip
diff --git a/binutils-2.25/bfd/doc/Makefile.in b/binutils-2.25/bfd/doc/Makefile.in
index 5156ba72..65ad42db 100644
--- a/binutils-2.25/bfd/doc/Makefile.in
+++ b/binutils-2.25/bfd/doc/Makefile.in
@@ -16,7 +16,7 @@
@SET_MAKE@
#
-# Copyright 2012 Free Software Foundation
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -76,7 +76,7 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
$(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
$(top_srcdir)/bfd.m4 $(top_srcdir)/warning.m4 \
$(top_srcdir)/acinclude.m4 $(top_srcdir)/../config/zlib.m4 \
- $(top_srcdir)/configure.in
+ $(top_srcdir)/version.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
@@ -390,7 +390,7 @@ BFD_H_DEP = \
$(MKDOC)
noinst_TEXINFOS = bfdint.texi
-MOSTLYCLEANFILES = $(MKDOC) *.o
+MOSTLYCLEANFILES = $(MKDOC) *.o *.stamp
CLEANFILES = *.p *.ip
DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log \
$(am__append_1)
@@ -775,10 +775,13 @@ uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
uninstall-info-am uninstall-pdf-am uninstall-ps-am
-$(MKDOC): $(srcdir)/chew.c
+$(MKDOC): chew.stamp ; @true
+chew.stamp: $(srcdir)/chew.c
$(CC_FOR_BUILD) -o chw$$$$$(EXEEXT_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
$(LDFLAGS_FOR_BUILD) $(H_CFLAGS) $(AM_CPPFLAGS) $(srcdir)/chew.c; \
- $(SHELL) $(srcdir)/../../move-if-change chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC)
+ $(SHELL) $(srcdir)/../../move-if-change \
+ chw$$$$$(EXEEXT_FOR_BUILD) $(MKDOC); \
+ touch $@
protos: libbfd.h libcoff.h bfd.h
@@ -790,117 +793,139 @@ protos: libbfd.h libcoff.h bfd.h
# program. If somebody tries to rebuild info, but none of the .texi files
# have changed, then nothing will be rebuilt.
-aoutx.texi: chew.c $(srcdir)/../aoutx.h $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp
+aoutx.texi: aoutx.stamp ; @true
+aoutx.stamp: $(srcdir)/../aoutx.h $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >aoutx.tmp
$(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi
+ touch $@
-archive.texi: chew.c $(srcdir)/../archive.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp
+archive.texi: archive.stamp ; @true
+archive.stamp: $(srcdir)/../archive.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >archive.tmp
$(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi
+ touch $@
-archures.texi: chew.c $(srcdir)/../archures.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp
+archures.texi: archures.stamp ; @true
+archures.stamp: $(srcdir)/../archures.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >archures.tmp
$(SHELL) $(srcdir)/../../move-if-change archures.tmp archures.texi
+ touch $@
# We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
# bfd.texinfo on an 8.3 filesystem.
-bfdt.texi: chew.c $(srcdir)/../bfd.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp
+bfdt.texi: bfdt.stamp ; @true
+bfdt.stamp: $(srcdir)/../bfd.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfd.tmp
$(SHELL) $(srcdir)/../../move-if-change bfd.tmp bfdt.texi
+ touch $@
-cache.texi: chew.c $(srcdir)/../cache.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp
+cache.texi: cache.stamp ; @true
+cache.stamp: $(srcdir)/../cache.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >cache.tmp
$(SHELL) $(srcdir)/../../move-if-change cache.tmp cache.texi
+ touch $@
-coffcode.texi: chew.c $(srcdir)/../coffcode.h $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp
+coffcode.texi: coffcode.stamp ; @true
+coffcode.stamp: $(srcdir)/../coffcode.h $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >coffcode.tmp
$(SHELL) $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi
+ touch $@
-core.texi: chew.c $(srcdir)/../corefile.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp
+core.texi: core.stamp ; @true
+core.stamp: $(srcdir)/../corefile.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >core.tmp
$(SHELL) $(srcdir)/../../move-if-change core.tmp core.texi
+ touch $@
-elf.texi: chew.c $(srcdir)/../elf.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp
+elf.texi: elf.stamp ; @true
+elf.stamp: $(srcdir)/../elf.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >elf.tmp
$(SHELL) $(srcdir)/../../move-if-change elf.tmp elf.texi
+ touch $@
-elfcode.texi: chew.c $(srcdir)/../elfcode.h $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp
+elfcode.texi: elfcode.stamp ; @true
+elfcode.stamp: $(srcdir)/../elfcode.h $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >elfcode.tmp
$(SHELL) $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi
+ touch $@
-mmo.texi: chew.c $(srcdir)/../mmo.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../mmo.c >mmo.tmp
+mmo.texi: mmo.stamp ; @true
+mmo.stamp: $(srcdir)/../mmo.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >mmo.tmp
$(SHELL) $(srcdir)/../../move-if-change mmo.tmp mmo.texi
+ touch $@
-format.texi: chew.c $(srcdir)/../format.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp
+format.texi: format.stamp ; @true
+format.stamp: $(srcdir)/../format.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >format.tmp
$(SHELL) $(srcdir)/../../move-if-change format.tmp format.texi
+ touch $@
-libbfd.texi: chew.c $(srcdir)/../libbfd.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp
+libbfd.texi: libbfd.stamp ; @true
+libbfd.stamp: $(srcdir)/../libbfd.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >libbfd.tmp
$(SHELL) $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi
+ touch $@
-bfdio.texi: chew.c $(srcdir)/../bfdio.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdio.c >bfdio.tmp
+bfdio.texi: bfdio.stamp ; @true
+bfdio.stamp: $(srcdir)/../bfdio.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdio.tmp
$(SHELL) $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi
+ touch $@
-bfdwin.texi: chew.c $(srcdir)/../bfdwin.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdwin.c >bfdwin.tmp
+bfdwin.texi: bfdwin.stamp ; @true
+bfdwin.stamp: $(srcdir)/../bfdwin.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdwin.tmp
$(SHELL) $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi
+ touch $@
-opncls.texi: chew.c $(srcdir)/../opncls.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.tmp
+opncls.texi: opncls.stamp ; @true
+opncls.stamp: $(srcdir)/../opncls.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >opncls.tmp
$(SHELL) $(srcdir)/../../move-if-change opncls.tmp opncls.texi
+ touch $@
-reloc.texi: chew.c $(srcdir)/../reloc.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp
+reloc.texi: reloc.stamp ; @true
+reloc.stamp: $(srcdir)/../reloc.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >reloc.tmp
$(SHELL) $(srcdir)/../../move-if-change reloc.tmp reloc.texi
+ touch $@
-section.texi: chew.c $(srcdir)/../section.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp
+section.texi: section.stamp ; @true
+section.stamp: $(srcdir)/../section.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >section.tmp
$(SHELL) $(srcdir)/../../move-if-change section.tmp section.texi
+ touch $@
-syms.texi: chew.c $(srcdir)/../syms.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp
+syms.texi: syms.stamp ; @true
+syms.stamp: $(srcdir)/../syms.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >syms.tmp
$(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi
+ touch $@
-targets.texi: chew.c $(srcdir)/../targets.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp
+targets.texi: targets.stamp ; @true
+targets.stamp: $(srcdir)/../targets.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >targets.tmp
$(SHELL) $(srcdir)/../../move-if-change targets.tmp targets.texi
+ touch $@
-init.texi: chew.c $(srcdir)/../init.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp
+init.texi: init.stamp ; @true
+init.stamp: $(srcdir)/../init.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >init.tmp
$(SHELL) $(srcdir)/../../move-if-change init.tmp init.texi
+ touch $@
-hash.texi: chew.c $(srcdir)/../hash.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp
+hash.texi: hash.stamp ; @true
+hash.stamp: $(srcdir)/../hash.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >hash.tmp
$(SHELL) $(srcdir)/../../move-if-change hash.tmp hash.texi
+ touch $@
-linker.texi: chew.c $(srcdir)/../linker.c $(srcdir)/doc.str
- $(MAKE) $(MKDOC)
- ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp
+linker.texi: linker.stamp ; @true
+linker.stamp: $(srcdir)/../linker.c $(srcdir)/doc.str $(MKDOC)
+ ./$(MKDOC) -f $(srcdir)/doc.str < $< >linker.tmp
$(SHELL) $(srcdir)/../../move-if-change linker.tmp linker.texi
+ touch $@
libbfd.h: $(LIBBFD_H_DEP)
echo "$(LIBBFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@
diff --git a/binutils-2.25/bfd/doc/bfd.texinfo b/binutils-2.25/bfd/doc/bfd.texinfo
index ec709c1d..040b8d8f 100644
--- a/binutils-2.25/bfd/doc/bfd.texinfo
+++ b/binutils-2.25/bfd/doc/bfd.texinfo
@@ -1,6 +1,6 @@
\input texinfo.tex
@setfilename bfd.info
-@c Copyright 1988-2013 Free Software Foundation, Inc.
+@c Copyright (C) 1988-2014 Free Software Foundation, Inc.
@c
@synindex fn cp
@@ -14,7 +14,7 @@
@copying
This file documents the BFD library.
-Copyright @copyright{} 1991 - 2013 Free Software Foundation, Inc.
+Copyright @copyright{} 1991-2014 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -62,7 +62,7 @@ included in the section entitled ``GNU Free Documentation License''.
@end tex
@vskip 0pt plus 1filll
-Copyright @copyright{} 1991 - 2013 Free Software Foundation, Inc.
+Copyright @copyright{} 1991-2014 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
diff --git a/binutils-2.25/bfd/doc/bfdint.texi b/binutils-2.25/bfd/doc/bfdint.texi
index 1e03aeb8..5e335c8e 100644
--- a/binutils-2.25/bfd/doc/bfdint.texi
+++ b/binutils-2.25/bfd/doc/bfdint.texi
@@ -1,7 +1,5 @@
\input texinfo
-@c Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
-@c 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2009
-@c Free Software Foundation, Inc.
+@c Copyright (C) 1988-2014 Free Software Foundation, Inc.
@setfilename bfdint.info
@settitle BFD Internals
@@ -16,9 +14,7 @@
@copying
This file documents the internals of the BFD library.
-Copyright @copyright{} 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
-1996, 1998, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2009
-Free Software Foundation, Inc.
+Copyright @copyright{} 1988-2014 Free Software Foundation, Inc.
Contributed by Cygnus Support.
Permission is granted to copy, distribute and/or modify this document
@@ -945,7 +941,7 @@ BFD. Some files are automatically rebuilt at make time, but only if
you configure with the @samp{--enable-maintainer-mode} option. Some
files live in the object directory---the directory from which you run
configure---and some live in the source directory. All files that live
-in the source directory are checked into the CVS repository.
+in the source directory are checked into the git repository.
@table @file
@item bfd.h
@@ -1552,7 +1548,7 @@ following:
Define either @samp{TARGET_BIG_SYM} or @samp{TARGET_LITTLE_SYM}, or
both, to a unique C name to use for the target vector. This name should
appear in the list of target vectors in @file{targets.c}, and will also
-have to appear in @file{config.bfd} and @file{configure.in}. Define
+have to appear in @file{config.bfd} and @file{configure.ac}. Define
@samp{TARGET_BIG_SYM} for a big-endian processor,
@samp{TARGET_LITTLE_SYM} for a little-endian processor, and define both
for a bi-endian processor.
diff --git a/binutils-2.25/bfd/doc/bfdsumm.texi b/binutils-2.25/bfd/doc/bfdsumm.texi
index 0cd02521..1616be44 100644
--- a/binutils-2.25/bfd/doc/bfdsumm.texi
+++ b/binutils-2.25/bfd/doc/bfdsumm.texi
@@ -1,6 +1,5 @@
@c This summary of BFD is shared by the BFD and LD docs.
-@c Copyright 2012
-@c Free Software Foundation, Inc.
+@c Copyright (C) 2012-2014 Free Software Foundation, Inc.
When an object file is opened, BFD subroutines automatically determine
the format of the input object file. They then build a descriptor in
diff --git a/binutils-2.25/bfd/doc/chew.c b/binutils-2.25/bfd/doc/chew.c
index b019837b..9ad88aaa 100644
--- a/binutils-2.25/bfd/doc/chew.c
+++ b/binutils-2.25/bfd/doc/chew.c
@@ -1,7 +1,5 @@
/* chew
- Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001,
- 2002, 2003, 2005, 2007, 2009, 2012
- Free Software Foundation, Inc.
+ Copyright (C) 1990-2014 Free Software Foundation, Inc.
Contributed by steve chamberlain @cygnus
This file is part of BFD, the Binary File Descriptor library.
@@ -267,6 +265,19 @@ skip_white_and_stars (src, idx)
return idx;
}
+static unsigned int
+skip_past_newline_1 (ptr, idx)
+ string_type *ptr;
+ unsigned int idx;
+{
+ while (at (ptr, idx)
+ && at (ptr, idx) != '\n')
+ idx++;
+ if (at (ptr, idx) == '\n')
+ return idx + 1;
+ return idx;
+}
+
/***********************************************************************/
string_type stack[STACK];
@@ -476,8 +487,10 @@ remove_noncomments (src, dst)
static void
print_stack_level ()
{
- fprintf (stderr, "current string stack depth = %ld, ", tos - stack);
- fprintf (stderr, "current integer stack depth = %ld\n", isp - istack);
+ fprintf (stderr, "current string stack depth = %ld, ",
+ (long) (tos - stack));
+ fprintf (stderr, "current integer stack depth = %ld\n",
+ (long) (isp - istack));
pc++;
}
@@ -603,10 +616,12 @@ outputdots ()
while (at (tos, idx))
{
- if (at (tos, idx) == '\n' && at (tos, idx + 1) == '.')
+ /* Every iteration begins at the start of a line. */
+ if (at (tos, idx) == '.')
{
char c;
- idx += 2;
+
+ idx++;
while ((c = at (tos, idx)) && c != '\n')
{
@@ -626,11 +641,13 @@ outputdots ()
idx++;
}
}
+ if (c == '\n')
+ idx++;
catchar (&out, '\n');
}
else
{
- idx++;
+ idx = skip_past_newline_1 (tos, idx);
}
}
@@ -1095,10 +1112,7 @@ icatstr ()
static void
skip_past_newline ()
{
- while (at (ptr, idx)
- && at (ptr, idx) != '\n')
- idx++;
- idx++;
+ idx = skip_past_newline_1 (ptr, idx);
pc++;
}
@@ -1564,7 +1578,7 @@ main (ac, av)
if (tos != stack)
{
fprintf (stderr, "finishing with current stack level %ld\n",
- tos - stack);
+ (long) (tos - stack));
return 1;
}
return 0;
diff --git a/binutils-2.25/bfd/doc/makefile.vms b/binutils-2.25/bfd/doc/makefile.vms
index 267af6b6..26feca60 100644
--- a/binutils-2.25/bfd/doc/makefile.vms
+++ b/binutils-2.25/bfd/doc/makefile.vms
@@ -1,4 +1,4 @@
-# Copyright 2012 Free Software Foundation
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by