+2000-04-03 Alan Modra <alan@linuxcare.com.au>
+
+ * bucomm.h: #include "bin-bugs.h"
+ * addr2line.c (usage): Use REPORT_BUGS_TO.
+ * ar.c (usage): Likewise.
+ * nlmconv.c (show_usage): Likewise.
+ * nm.c (usage): Likewise.
+ (OPTION_TARGET): Define.
+ (long_options): Use OPTION_TARGET rather than 200.
+ (main): Likewise.
+
+ * objcopy.c (copy_usage): Likewise.
+ (strip_usage): Likewise.
+ * objdump.c (usage): Likewise.
+ * readelf.c (usage): Likewise.
+ * strings.c (usage): Likewise.
+ * windres.c (usage): Likewise.
+
2000-03-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
* readelf.c: Include sys/types.h before sys/stat.h for ultrix.
* rddbg.c (read_section_stabs_debugging_info): Catch out of range
string offsets in corrupt stabs entries.
-2000-03-27 Alan Modra <alan@linuxcare.com>
+2000-03-27 Alan Modra <alan@linuxcare.com.au>
* readelf.c: Include elf/avr.h
(dump_relocations): Add EM_AVR case.
program_name);
list_supported_targets (program_name, stream);
if (status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
exit (status);
}
\f
list_supported_targets (program_name, stderr);
if (help)
- fprintf (s, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (s, REPORT_BUGS_TO);
xexit (help ? 0 : 1);
}
#include <sys/types.h>
#include "config.h"
+#include "bin-bugs.h"
#ifdef USE_BINARY_FOPEN
#include "fopen-bin.h"
[in-file [out-file]]\n"),
program_name);
if (status == 0)
- fprintf (file, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (file, REPORT_BUGS_TO);
exit (status);
}
\f
static bfd *lineno_cache_bfd;
static bfd *lineno_cache_rel_bfd;
+#define OPTION_TARGET 200
+
static struct option long_options[] =
{
{"debug-syms", no_argument, &print_debug_syms, 1},
{"reverse-sort", no_argument, &reverse_sort, 1},
{"size-sort", no_argument, &sort_by_size, 1},
{"stats", no_argument, &show_stats, 1},
- {"target", required_argument, 0, 200},
+ {"target", required_argument, 0, OPTION_TARGET},
{"defined-only", no_argument, &defined_only, 1},
{"undefined-only", no_argument, &undefined_only, 1},
{"version", no_argument, &show_version, 1},
program_name);
list_supported_targets (program_name, stream);
if (status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
exit (status);
}
show_version = 1;
break;
- case 200: /* --target */
+ case OPTION_TARGET: /* --target */
target = optarg;
break;
"));
list_supported_targets (program_name, stream);
if (exit_status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
exit (exit_status);
}
list_supported_targets (program_name, stream);
if (exit_status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
exit (exit_status);
}
disassembler_usage (stream);
}
if (status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
exit (status);
}
fprintf (stdout, _(" -I or --histogram Display histogram of bucket list lengths\n"));
fprintf (stdout, _(" -v or --version Display the version number of readelf\n"));
fprintf (stdout, _(" -H or --help Display this information\n"));
- fprintf (stdout, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stdout, REPORT_BUGS_TO);
exit (0);
}
program_name);
list_supported_targets (program_name, stream);
if (status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
exit (status);
}
No input-file is stdin, default rc. No output-file is stdout, default rc.\n"));
list_supported_targets (program_name, stream);
if (status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
exit (status);
}
+2000-04-03 Alan Modra <alan@linuxcare.com.au>
+
+ * as.h: #include "bin-bugs.h"
+ * as.c (show_usage): Use REPORT_BUGS_TO.
+ * gasp.c: #include "bin-bugs.h"
+ (show_usage): Use REPORT_BUGS_TO.
+
+ * config/tc-sparc.c (md_show_usage): Add a trailing newline.
+
Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
* write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
md_show_usage (stream);
- fprintf (stream, _("\nReport bugs to bug-gnu-utils@gnu.org\n"));
+ fputc ('\n', stream);
+ fprintf (stream, REPORT_BUGS_TO);
}
/*
*/
#include "config.h"
+#include "bin-bugs.h"
/* This is the code recommended in the autoconf documentation, almost
verbatim. If it doesn't work for you, let me know, and notify
-EL generate code for a little endian machine\n\
-EB generate code for a big endian machine\n\
--little-endian-data generate code for a machine having big endian\n\
- instructions and little endian data."));
+ instructions and little endian data.\n"));
#endif
}
\f
*/
#include "config.h"
+#include "bin-bugs.h"
#include <stdio.h>
#include <string.h>
[-Ipath] add to include path list\n\
[in-file]\n"));
if (status == 0)
- printf (_("\nReport bugs to bug-gnu-utils@gnu.org\n"));
+ printf (REPORT_BUGS_TO);
exit (status);
}
+2000-04-01 Alan Modra <alan@linuxcare.com.au>
+
+ * gprof.h: #include "bin-bugs.h".
+ * gprof.c (usage): Use REPORT_BUGS_TO.
+
2000-03-31 Alan Modra <alan@linuxcare.com.au>
* symtab.c (symtab_finalize): Don't use post-increment on
- structure copy to work around a ppc gcc bug.
+ structure copy, to work around a ppc gcc bug.
1999-09-29 Mark Kettenis <kettenis@gnu.org>
[image-file] [profile-file...]\n"),
whoami);
if (status == 0)
- fprintf (stream, _("Report bugs to bug-gnu-utils@gnu.org\n"));
+ fprintf (stream, REPORT_BUGS_TO);
done (status);
}
# define N_(String) (String)
#endif
+#include "bin-bugs.h"
/*
* These may already be defined on some systems. We could probably
+2000-04-03 Alan Modra <alan@linuxcare.com.au>
+
+ * bin-bugs.h: New file.
+
2000-03-27 Denis Chertykov <denisc@overta.ru>
* dis-asm.h (print_insn_avr): Declare.
--- /dev/null
+#ifndef REPORT_BUGS_TO
+#define REPORT_BUGS_TO _("Report bugs to %s\n"), "bug-gnu-utils@gnu.org"
+#endif
+2000-04-03 Alan Modra <alan@linuxcare.com.au>
+
+ * ld.h: #include "bin-bugs.h"
+ * lexsup.c (help): Use REPORT_BUGS_TO.
+
2000-03-27 Denis Chertykov <denisc@overta.ru>
* configure.tgt (avr-*-*): New target support.
# define N_(String) (String)
#endif
+#include "bin-bugs.h"
+
/* Look in this environment name for the linker to pretend to be */
#define EMULATION_ENVIRON "LDEMULATION"
/* If in there look for the strings: */
printf (_("%s: emulation specific options:\n"), program_name);
ldemul_list_emulation_options (stdout);
printf ("\n");
-
- printf (_("\nReport bugs to bug-gnu-utils@gnu.org\n"));
+
+ printf (REPORT_BUGS_TO);
}