Use the stock (2.11.2) version of this now.

This commit is contained in:
obrien 2001-06-26 17:51:35 +00:00
parent 86bad51e69
commit b51a00f355
3 changed files with 480 additions and 475 deletions

View File

@ -1,5 +1,5 @@
/* strings -- print the strings of printable characters in files
Copyright (C) 1993, 94, 95, 96, 97, 98, 99, 2000
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@ -78,7 +78,10 @@
#endif
#endif
#ifdef isascii
/* Not all printable characters have ASCII codes (depending upon the
LOCALE set) but on some older systems it is not safe to test isprint
without first testing isascii... */
#if defined isascii && !defined HAVE_LOCALE_H
#define isgraphic(c) (isascii (c) && (isprint (c) || (c) == '\t'))
#else
#define isgraphic(c) (isprint (c) || (c) == '\t')
@ -143,7 +146,7 @@ main (argc, argv)
boolean files_given = false;
#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
setlocale (LC_MESSAGES, "");
setlocale (LC_ALL, "");
#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,10 @@ AC_INIT(as.h)
AC_CANONICAL_SYSTEM
AC_ISC_POSIX
AM_INIT_AUTOMAKE(gas, 2.11)
changequote(,)dnl
BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
changequote([,])dnl
AM_INIT_AUTOMAKE(gas, ${BFD_VERSION})
AM_PROG_LIBTOOL
@ -193,6 +196,7 @@ changequote([,])dnl
arm-*-wince) fmt=coff em=wince-pe ;;
arm-*-pe | thumb-*-pe) fmt=coff em=pe ;;
arm-*-riscix*) fmt=aout em=riscix ;;
arm-*-vxworks) fmt=coff ;;
avr-*-*) fmt=elf bfd_gas=yes ;;
@ -227,6 +231,8 @@ changequote([,])dnl
h8300-*-rtems*) fmt=coff ;;
h8300-*-coff) fmt=coff ;;
h8500-*-rtems*) fmt=coff ;;
h8500-*-coff) fmt=coff ;;
i370-*-elf* | i370-*-linux*) fmt=elf ;;
i386-ibm-aix*) fmt=coff em=i386aix ;;
@ -237,7 +243,7 @@ changequote([,])dnl
i386-*-netbsd0.8) fmt=aout em=386bsd ;;
i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;;
i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;;
i386-*-linux*aout* | i386-*-linuxoldld) fmt=aout em=linux ;;
i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;;
i386-*-linux*coff*) fmt=coff em=linux ;;
i386-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;;
x86_64-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;;
@ -332,16 +338,21 @@ changequote([,])dnl
mips-*-ultrix*) fmt=ecoff endian=little ;;
mips-*-osf*) fmt=ecoff endian=little ;;
mips-*-ecoff*) fmt=ecoff ;;
mips-*-ecoff*) fmt=ecoff ;;
mips-*-pe*) fmt=coff endian=little em=pe ;;
mips-*-irix6*) fmt=elf ;;
mips-*-irix5*) fmt=elf ;;
mips-*-irix*) fmt=ecoff ;;
mips-*-lnews*) fmt=ecoff em=lnews ;;
mips-*-riscos*) fmt=ecoff ;;
mips-*-sysv4*MP*) fmt=elf em=tmips ;;
mips-*-linux-gnu*)
fmt=elf em=tmips
AC_DEFINE(MIPS_STABS_ELF, 1,
[Use ELF stabs for MIPS, not ECOFF stabs])
;;
mips-*-sysv4*MP* | mips-*-gnu*)
fmt=elf em=tmips ;;
mips-*-sysv*) fmt=ecoff ;;
mips-*-elf* | mips-*-rtems* | mips-*-linux-gnu* | mips-*-gnu* | mips-*-openbsd*)
mips-*-elf* | mips-*-rtems* | mips-*-openbsd*)
fmt=elf ;;
mips-*-vxworks*) fmt=elf
AC_DEFINE(MIPS_STABS_ELF, 1,
@ -437,9 +448,9 @@ changequote([,])dnl
w65-*-*) fmt=coff ;;
*-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;;
*-*-aout | *-*-scout)
fmt=aout ;;
*-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;;
*-*-nindy*)
fmt=bout ;;
*-*-bsd*)
@ -719,9 +730,9 @@ GAS_UNIQ(emulations)
for em in . $emulations ; do
case $em in
.) continue ;;
mipsbelf | mipslelf)
mipsbelf | mipslelf | mipself)
fmt=elf file=mipself ;;
mipsbecoff | mipslecoff)
mipsbecoff | mipslecoff | mipsecoff)
fmt=ecoff file=mipsecoff ;;
*coff)
fmt=coff file=$em ;;