diff options
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coff-z8k.c | 103 | ||||
-rw-r--r-- | bfd/po/bfd.pot | 10 | ||||
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/Makefile.in | 2 | ||||
-rw-r--r-- | gas/aclocal.m4 | 18 | ||||
-rw-r--r-- | gas/config.in | 306 | ||||
-rw-r--r-- | gas/config/tc-z8k.c | 10 | ||||
-rwxr-xr-x | gas/configure | 8708 | ||||
-rw-r--r-- | gas/doc/Makefile.in | 28 | ||||
-rw-r--r-- | gas/doc/as.1 | 964 | ||||
-rw-r--r-- | gas/po/gas.pot | 2865 | ||||
-rw-r--r-- | opcodes/ChangeLog | 11 | ||||
-rw-r--r-- | opcodes/Makefile.in | 2 | ||||
-rw-r--r-- | opcodes/config.in | 161 | ||||
-rw-r--r-- | opcodes/po/opcodes.pot | 60 | ||||
-rw-r--r-- | opcodes/z8k-dis.c | 79 | ||||
-rw-r--r-- | opcodes/z8k-opc.h | 497 | ||||
-rw-r--r-- | opcodes/z8kgen.c | 64 |
19 files changed, 8144 insertions, 5754 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 098b95f..9a55ee0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-04-24 Christian Groessler <cpg@aladdin.de> + + * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR + and R_REL16 reloc types; accept odd values for R_REL16 type + 2001-04-24 Johan Rydberg <jrydberg@opencores.org> * cpu-openrisc.c: New file. diff --git a/bfd/coff-z8k.c b/bfd/coff-z8k.c index cfbdbdd..2e5da48 100644 --- a/bfd/coff-z8k.c +++ b/bfd/coff-z8k.c @@ -49,10 +49,23 @@ HOWTO (R_IMM8, 0, 1, 8, false, 0, complain_overflow_bitfield, 0, "r_imm8", true, 0x000000ff, 0x000000ff, false); +static reloc_howto_type r_rel16 = +HOWTO (R_REL16, 0, 1, 16, false, 0, + complain_overflow_bitfield, 0, "r_rel16", true, 0x0000ffff, 0x0000ffff, + true); + static reloc_howto_type r_jr = HOWTO (R_JR, 0, 1, 8, true, 0, complain_overflow_signed, 0, "r_jr", true, 0, 0, true); +static reloc_howto_type r_disp7 = +HOWTO (R_DISP7, 0, 1, 7, true, 0, complain_overflow_bitfield, 0, + "r_disp7", true, 0, 0, true); + +static reloc_howto_type r_callr = +HOWTO (R_CALLR, 0, 1, 12, true, 0, complain_overflow_signed, 0, + "r_callr", true, 0xfff, 0xfff, true); + /* Turn a howto into a reloc number */ static int @@ -97,6 +110,15 @@ rtype2howto (internal, dst) case R_JR: internal->howto = &r_jr; break; + case R_DISP7: + internal->howto = &r_disp7; + break; + case R_CALLR: + internal->howto = &r_callr; + break; + case R_REL16: + internal->howto = &r_rel16; + break; case R_IMM32: internal->howto = &r_imm32; break; @@ -215,6 +237,87 @@ extra_case (in_abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr) (*src_ptr)++; break; } + + case R_DISP7: + { + bfd_vma dst = bfd_coff_reloc16_get_value (reloc, link_info, + input_section); + bfd_vma dot = (link_order->offset + + *dst_ptr + + input_section->output_section->vma); + int gap = dst - dot - 1;/* -1 since were in the odd byte of the + word and the pc's been incremented */ + + if (gap & 1) + abort (); + gap /= 2; + + if (gap > 0 || gap < -128) + { + if (! ((*link_info->callbacks->reloc_overflow) + (link_info, bfd_asymbol_name (*reloc->sym_ptr_ptr), + reloc->howto->name, reloc->addend, input_section->owner, + input_section, reloc->address))) + abort (); + } + bfd_put_8 (in_abfd, + (bfd_get_8 ( in_abfd, data + *dst_ptr) & 0x80) + (-gap & 0x7f), + data + *dst_ptr); + (*dst_ptr)++; + (*src_ptr)++; + break; + } + + case R_CALLR: + { + bfd_vma dst = bfd_coff_reloc16_get_value (reloc, link_info, + input_section); + bfd_vma dot = (link_order->offset + + *dst_ptr + + input_section->output_section->vma); + int gap = dst - dot - 2; + + if (gap & 1) + abort (); + gap /= 2; + if (gap > 8191 || gap < -8192) + { + if (! ((*link_info->callbacks->reloc_overflow) + (link_info, bfd_asymbol_name (*reloc->sym_ptr_ptr), + reloc->howto->name, reloc->addend, input_section->owner, + input_section, reloc->address))) + abort (); + } + bfd_put_16 (in_abfd, + (bfd_get_16 ( in_abfd, data + *dst_ptr) & 0xf000) | (-gap & 0x0fff), + data + *dst_ptr); + (*dst_ptr) += 2; + (*src_ptr) += 2; + break; + } + + case R_REL16: + { + bfd_vma dst = bfd_coff_reloc16_get_value (reloc, link_info, + input_section); + bfd_vma dot = (link_order->offset + + *dst_ptr + + input_section->output_section->vma); + int gap = dst - dot - 2; + + if (gap > 32767 || gap < -32768) + { + if (! ((*link_info->callbacks->reloc_overflow) + (link_info, bfd_asymbol_name (*reloc->sym_ptr_ptr), + reloc->howto->name, reloc->addend, input_section->owner, + input_section, reloc->address))) + abort (); + } + bfd_put_16 (in_abfd,gap,data + *dst_ptr); + (*dst_ptr) += 2; + (*src_ptr) += 2; + break; + } default: abort (); } diff --git a/bfd/po/bfd.pot b/bfd/po/bfd.pot index 1331060..a07beac 100644 --- a/bfd/po/bfd.pot +++ b/bfd/po/bfd.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-04-24 16:35+0100\n" +"POT-Creation-Date: 2001-04-24 17:11+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" @@ -564,13 +564,13 @@ msgstr "" #: elf-m10200.c:451 elf-m10300.c:663 elf32-arm.h:1939 elf32-avr.c:842 #: elf32-cris.c:1335 elf32-d10v.c:478 elf32-fr30.c:648 elf32-i860.c:1049 -#: elf32-m32r.c:1266 elf32-openrisc.c:448 elf32-v850.c:1681 +#: elf32-m32r.c:1266 elf32-openrisc.c:449 elf32-v850.c:1681 msgid "internal error: out of range error" msgstr "" #: elf-m10200.c:455 elf-m10300.c:667 elf32-arm.h:1943 elf32-avr.c:846 #: elf32-cris.c:1339 elf32-d10v.c:482 elf32-fr30.c:652 elf32-i860.c:1053 -#: elf32-m32r.c:1270 elf32-mips.c:7046 elf32-openrisc.c:452 elf32-v850.c:1685 +#: elf32-m32r.c:1270 elf32-mips.c:7046 elf32-openrisc.c:453 elf32-v850.c:1685 msgid "internal error: unsupported relocation error" msgstr "" @@ -581,7 +581,7 @@ msgstr "" #: elf-m10200.c:463 elf-m10300.c:675 elf32-arm.h:1951 elf32-avr.c:854 #: elf32-cris.c:1347 elf32-d10v.c:490 elf32-fr30.c:660 elf32-i860.c:1061 -#: elf32-m32r.c:1278 elf32-openrisc.c:460 elf32-v850.c:1705 +#: elf32-m32r.c:1278 elf32-openrisc.c:461 elf32-v850.c:1705 msgid "internal error: unknown error" msgstr "" @@ -736,7 +736,7 @@ msgid "<Unrecognised flag bits set>" msgstr "" #: elf32-avr.c:850 elf32-cris.c:1343 elf32-fr30.c:656 elf32-i860.c:1057 -#: elf32-openrisc.c:456 elf32-v850.c:1689 +#: elf32-openrisc.c:457 elf32-v850.c:1689 msgid "internal error: dangerous relocation" msgstr "" diff --git a/gas/ChangeLog b/gas/ChangeLog index 279c8d1..5db4db1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-04-24 Christian Groessler <cpg@aladdin.de> + + * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now + generate R_CALLR and R_REL16 relocations + 2000-04-20 Jason Eckhardt <jle@redhat.com> * config/tc-d10v.h (tc_frob_label): Update the symbol's frag diff --git a/gas/Makefile.in b/gas/Makefile.in index fe12464..7439581 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -1948,7 +1948,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) diff --git a/gas/aclocal.m4 b/gas/aclocal.m4 index 338b221..2a3ccb7 100644 --- a/gas/aclocal.m4 +++ b/gas/aclocal.m4 @@ -83,24 +83,6 @@ AC_DEFUN([CY_WITH_NLS],) AC_SUBST(INTLLIBS) ]) -#serial 1 -# This test replaces the one in autoconf. -# Currently this macro should have the same name as the autoconf macro -# because gettext's gettext.m4 (distributed in the automake package) -# still uses it. Otherwise, the use in gettext.m4 makes autoheader -# give these diagnostics: -# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX -# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX - -undefine([AC_ISC_POSIX]) - -AC_DEFUN(AC_ISC_POSIX, - [ - dnl This test replaces the obsolescent AC_ISC_POSIX kludge. - AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) - ] -) - # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. diff --git a/gas/config.in b/gas/config.in index 8477871..a9d044a 100644 --- a/gas/config.in +++ b/gas/config.in @@ -1,185 +1,180 @@ /* config.in. Generated automatically from configure.in by autoheader. */ -/* Define if using alloca.c. */ -#undef C_ALLOCA +/* Use BFD interface? */ +#undef BFD_ASSEMBLER -/* Define to empty if the keyword does not work. */ -#undef const +/* assert broken? */ +#undef BROKEN_ASSERT -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. - This function is required for alloca.c support on those systems. */ +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ #undef CRAY_STACKSEG_END -/* Define if you have alloca, as a function or macro. */ +/* Compiling cross-assembler? */ +#undef CROSS_COMPILE + +/* Define if using `alloca.c'. */ +#undef C_ALLOCA + +/* Default architecture. */ +#undef DEFAULT_ARCH + +/* Default emulation. */ +#undef DEFAULT_EMULATION + +/* Supported emulations. */ +#undef EMULATIONS + +/* Define to 1 if NLS is requested */ +#undef ENABLE_NLS + +/* Define if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA -/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ +/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H -/* Define if you have a working `mmap' system call. */ -#undef HAVE_MMAP +/* Define if you have the <argz.h> header file. */ +#undef HAVE_ARGZ_H -/* Define as __inline if that's what the C compiler calls it. */ -#undef inline +/* Define if you have the `dcgettext' function. */ +#undef HAVE_DCGETTEXT -/* Define to `long' if <sys/types.h> doesn't define. */ -#undef off_t +/* Define if you have the <errno.h> header file. */ +#undef HAVE_ERRNO_H -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -#undef size_t +/* Define if you have the `getcwd' function. */ +#undef HAVE_GETCWD -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown - */ -#undef STACK_DIRECTION +/* Define if you have the `getpagesize' function. */ +#undef HAVE_GETPAGESIZE -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS +/* Define as 1 if you have gettext and don't want to use GNU gettext. */ +#undef HAVE_GETTEXT -/* Define if lex declares yytext as a char * by default, not a char[]. */ -#undef YYTEXT_POINTER +/* Define if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H -/* Define if you have the __argz_count function. */ -#undef HAVE___ARGZ_COUNT +/* Define if your locale.h file contains LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES -/* Define if you have the __argz_next function. */ -#undef HAVE___ARGZ_NEXT +/* Define if you have the <limits.h> header file. */ +#undef HAVE_LIMITS_H -/* Define if you have the __argz_stringify function. */ -#undef HAVE___ARGZ_STRINGIFY +/* Define if you have the <locale.h> header file. */ +#undef HAVE_LOCALE_H -/* Define if you have the dcgettext function. */ -#undef HAVE_DCGETTEXT +/* Define if you have the <malloc.h> header file. */ +#undef HAVE_MALLOC_H -/* Define if you have the getcwd function. */ -#undef HAVE_GETCWD +/* Define if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H -/* Define if you have the getpagesize function. */ -#undef HAVE_GETPAGESIZE +/* Define if you have a working `mmap' system call. */ +#undef HAVE_MMAP -/* Define if you have the munmap function. */ +/* Define if you have the `munmap' function. */ #undef HAVE_MUNMAP -/* Define if you have the putenv function. */ +/* Define if you have the <nl_types.h> header file. */ +#undef HAVE_NL_TYPES_H + +/* Define if you have the `putenv' function. */ #undef HAVE_PUTENV -/* Define if you have the remove function. */ +/* Define if you have the `remove' function. */ #undef HAVE_REMOVE -/* Define if you have the sbrk function. */ +/* Define if you have the `sbrk' function. */ #undef HAVE_SBRK -/* Define if you have the setenv function. */ +/* Define if you have the `setenv' function. */ #undef HAVE_SETENV -/* Define if you have the setlocale function. */ +/* Define if you have the `setlocale' function. */ #undef HAVE_SETLOCALE -/* Define if you have the stpcpy function. */ +/* Define if you have the <stdarg.h> header file. */ +#undef HAVE_STDARG_H + +/* Define if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define if you have the stpcpy function */ #undef HAVE_STPCPY -/* Define if you have the strcasecmp function. */ +/* Define if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP -/* Define if you have the strchr function. */ +/* Define if you have the `strchr' function. */ #undef HAVE_STRCHR -/* Define if you have the unlink function. */ -#undef HAVE_UNLINK - -/* Define if you have the <argz.h> header file. */ -#undef HAVE_ARGZ_H - -/* Define if you have the <errno.h> header file. */ -#undef HAVE_ERRNO_H - -/* Define if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the <locale.h> header file. */ -#undef HAVE_LOCALE_H - -/* Define if you have the <malloc.h> header file. */ -#undef HAVE_MALLOC_H - -/* Define if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define if you have the <nl_types.h> header file. */ -#undef HAVE_NL_TYPES_H - -/* Define if you have the <stdarg.h> header file. */ -#undef HAVE_STDARG_H - -/* Define if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H +/* Define if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H -/* Define if you have the <string.h> header file. */ +/* Define if you have the <string.h> header file. */ #undef HAVE_STRING_H -/* Define if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define if you have the <sys/param.h> header file. */ +/* Define if you have the <sys/param.h> header file. */ #undef HAVE_SYS_PARAM_H -/* Define if you have the <sys/types.h> header file. */ +/* Define if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H -/* Define if you have the <unistd.h> header file. */ +/* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -/* Define if you have the <values.h> header file. */ +/* Define if you have the `unlink' function. */ +#undef HAVE_UNLINK + +/* Define if you have the <values.h> header file. */ #undef HAVE_VALUES_H -/* Define if you have the <varargs.h> header file. */ +/* Define if you have the <varargs.h> header file. */ #undef HAVE_VARARGS_H -/* Name of package */ -#undef PACKAGE +/* Define if you have the `__argz_count' function. */ +#undef HAVE___ARGZ_COUNT -/* Version number of package */ -#undef VERSION +/* Define if you have the `__argz_next' function. */ +#undef HAVE___ARGZ_NEXT -/* Define if defaulting to ELF on SCO 5. */ -#undef SCO_ELF +/* Define if you have the `__argz_stringify' function. */ +#undef HAVE___ARGZ_STRINGIFY -/* Using strict COFF? */ -#undef STRICTCOFF +/* Using i386 COFF? */ +#undef I386COFF -/* Use ELF stabs for MIPS, not ECOFF stabs */ -#undef MIPS_STABS_ELF +/* Using m68k COFF? */ +#undef M68KCOFF -/* Define if default target is PowerPC Solaris. */ -#undef TARGET_SOLARIS_COMMENT +/* Using m88k COFF? */ +#undef M88KCOFF -/* Define as 1 if big endian. */ -#undef TARGET_BYTES_BIG_ENDIAN +/* old COFF support? */ +#undef MANY_SEGMENTS -/* Default architecture. */ -#undef DEFAULT_ARCH +/* Use ELF stabs for MIPS, not ECOFF stabs */ +#undef MIPS_STABS_ELF -/* Default architecture. */ -#undef DEFAULT_ARCH +/* Define if environ is not declared in system header files. */ +#undef NEED_DECLARATION_ENVIRON -/* Default architecture. */ -#undef DEFAULT_ARCH +/* Define if errno is not declared in system header files. */ +#undef NEED_DECLARATION_ERRNO -/* Using cgen code? */ -#undef USING_CGEN +/* Define if free is not declared in system header files. */ +#undef NEED_DECLARATION_FREE -/* Using i386 COFF? */ -#undef I386COFF +/* Define if malloc is not declared in system header files. */ +#undef NEED_DECLARATION_MALLOC -/* Using m68k COFF? */ -#undef M68KCOFF +/* Define if sbrk is not declared in system header files. */ +#undef NEED_DECLARATION_SBRK -/* Using m88k COFF? */ -#undef M88KCOFF +/* Define if strstr is not declared in system header files. */ +#undef NEED_DECLARATION_STRSTR /* a.out support? */ #undef OBJ_MAYBE_AOUT @@ -211,69 +206,72 @@ /* VMS support? */ #undef OBJ_MAYBE_VMS -/* Use emulation support? */ -#undef USE_EMULATIONS +/* Name of package */ +#undef PACKAGE -/* Supported emulations. */ -#undef EMULATIONS +/* Define if defaulting to ELF on SCO 5. */ +#undef SCO_ELF -/* Default emulation. */ -#undef DEFAULT_EMULATION +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION -/* old COFF support? */ -#undef MANY_SEGMENTS +/* Define if you have the ANSI C header files. */ +#undef STDC_HEADERS -/* Use BFD interface? */ -#undef BFD_ASSEMBLER +/* Using strict COFF? */ +#undef STRICTCOFF /* Target alias. */ #undef TARGET_ALIAS +/* Define as 1 if big endian. */ +#undef TARGET_BYTES_BIG_ENDIAN + /* Canonical target. */ #undef TARGET_CANONICAL /* Target CPU. */ #undef TARGET_CPU -/* Target vendor. */ -#undef TARGET_VENDOR - /* Target OS. */ #undef TARGET_OS -/* Define if you have the stpcpy function */ -#undef HAVE_STPCPY - -/* Define if your locale.h file contains LC_MESSAGES. */ -#undef HAVE_LC_MESSAGES - -/* Define to 1 if NLS is requested */ -#undef ENABLE_NLS +/* Define if default target is PowerPC Solaris. */ +#undef TARGET_SOLARIS_COMMENT -/* Define as 1 if you have gettext and don't want to use GNU gettext. */ -#undef HAVE_GETTEXT +/* Target vendor. */ +#undef TARGET_VENDOR -/* Compiling cross-assembler? */ -#undef CROSS_COMPILE +/* Use emulation support? */ +#undef USE_EMULATIONS -/* assert broken? */ -#undef BROKEN_ASSERT +/* Using cgen code? */ +#undef USING_CGEN -/* Define if strstr is not declared in system header files. */ -#undef NEED_DECLARATION_STRSTR +/* Version number of package */ +#undef VERSION -/* Define if malloc is not declared in system header files. */ -#undef NEED_DECLARATION_MALLOC +/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'. + */ +#undef YYTEXT_POINTER -/* Define if free is not declared in system header files. */ -#undef NEED_DECLARATION_FREE +/* Define if you need to in order for stat and other things to work. */ +#undef _POSIX_SOURCE -/* Define if sbrk is not declared in system header files. */ -#undef NEED_DECLARATION_SBRK +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const -/* Define if environ is not declared in system header files. */ -#undef NEED_DECLARATION_ENVIRON +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +#undef inline -/* Define if errno is not declared in system header files. */ -#undef NEED_DECLARATION_ERRNO +/* Define to `long' if <sys/types.h> does not define. */ +#undef off_t +/* Define to `unsigned' if <sys/types.h> does not define. */ +#undef size_t diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c index d02125a..489a01b 100644 --- a/gas/config/tc-z8k.c +++ b/gas/config/tc-z8k.c @@ -1107,7 +1107,17 @@ build_bytes (this_try, operand) *output_ptr++ = reg[c & 0xf]; break; case CLASS_DISP: + switch (c & ARG_MASK) + { + case ARG_DISP12: + output_ptr = apply_fix (output_ptr, R_CALLR, da_operand, 4); + break; + case ARG_DISP16: + output_ptr = apply_fix (output_ptr, R_REL16, da_operand, 4); + break; + default: output_ptr = apply_fix (output_ptr, R_IMM16, da_operand, 4); + } da_operand = 0; break; diff --git a/gas/configure b/gas/configure index 18f00b0..9f6cf20 100755 --- a/gas/configure +++ b/gas/configure @@ -1,53 +1,195 @@ #! /bin/sh - # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Generated by Autoconf 2.49d. # +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. -# Defaults: -ac_help= +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +as_executable_p="test -f" + +# Support unset when possible. +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + +# NLS nuisances. +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# Name of the executable. +as_me=`echo "$0" | sed 's,.*/,,'` + +cat >config.log <<EOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by $as_me 2.49d, executed with + > $0 $@ + +EOF +{ +cat <<_ASUNAME +## ---------- ## +## Platform. ## +## ---------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +PATH = $PATH + +_ASUNAME +} >>config.log + +cat >>config.log <<EOF +## ------------ ## +## Core tests. ## +## ------------ ## + +EOF + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 5 compiler messages saved in config.log +# 6 checking for... messages and results +exec 5>>config.log +exec 6>&1 + +# +# Initializations. +# ac_default_prefix=/usr/local -# Any additions from configure.in: -ac_help="$ac_help - --enable-shared[=PKGS] build shared libraries [default=yes]" -ac_help="$ac_help - --enable-static[=PKGS] build static libraries [default=yes]" -ac_help="$ac_help - --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" -ac_help="$ac_help - --with-gnu-ld assume the C compiler uses GNU ld [default=no]" -ac_help="$ac_help - --disable-libtool-lock avoid locking (might break parallel builds)" -ac_help="$ac_help - --with-pic try to use only PIC/non-PIC objects [default=use both]" -ac_help="$ac_help - --enable-bfd-assembler use BFD back end for writing object files" -ac_help="$ac_help - targets alternative target configurations besides the primary" -ac_help="$ac_help - --enable-commonbfdlib build shared BFD/opcodes/libiberty library" -ac_help="$ac_help - --enable-build-warnings Enable build-time compiler warnings if gcc is used" -ac_help="$ac_help - --disable-nls do not use Native Language Support" -ac_help="$ac_help - --with-included-gettext use the GNU gettext library included here" -ac_help="$ac_help - --enable-maintainer-mode enable make rules and dependencies not useful - (and sometimes confusing) to the casual installer" +cross_compiling=no +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Maximum number of lines to put in a shell here document. +# This variable seems obsolete. It should probably be removed, and +# only ac_max_sed_lines should be used. +: ${ac_max_here_lines=38} + +# Avoid depending upon Character Ranges. +ac_cr_az='abcdefghijklmnopqrstuvwxyz' +ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +ac_cr_09='0123456789' +ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 + +# Sed expression to map a string onto a valid sh and CPP variable names. +ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" +ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" + +ac_unique_file="as.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include <stdio.h> +#include <sys/types.h> +#include <sys/stat.h> +#if STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# if HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include <memory.h> +# endif +# include <string.h> +#else +# if HAVE_STRINGS_H +# include <strings.h> +# endif +#endif +#if HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#if HAVE_UNISTD_H +# include <unistd.h> +#endif" # Initialize some variables set by options. +ac_init_help= +ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. -build=NONE -cache_file=./config.cache +cache_file=/dev/null exec_prefix=NONE -host=NONE no_create= -nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE @@ -56,10 +198,15 @@ program_transform_name=s,x,x, silent= site= srcdir= -target=NONE verbose= x_includes=NONE x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' @@ -73,17 +220,16 @@ oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 +# Identity of this package. +PACKAGE_NAME= +PACKAGE_TARNAME= +PACKAGE_VERSION= +PACKAGE_STRING= +PACKAGE_BUGREPORT= ac_prev= for ac_option do - # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" @@ -91,59 +237,61 @@ do continue fi - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. - case "$ac_option" in + case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; + bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) - ac_prev=build ;; + ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; + build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) - datadir="$ac_optarg" ;; + datadir=$ac_optarg ;; -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; + expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && + { { echo "$as_me:276: error: invalid feature name: $ac_feature" >&5 +echo "$as_me: error: invalid feature name: $ac_feature" >&2;} + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; + expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && + { { echo "$as_me:286: error: invalid feature name: $ac_feature" >&5 +echo "$as_me: error: invalid feature name: $ac_feature" >&2;} + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac - eval "enable_${ac_feature}='$ac_optarg'" ;; + eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@ -152,95 +300,47 @@ do -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; + exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; -host | --host | --hos | --ho) - ac_prev=host ;; + ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; + host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; + includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; + infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; + libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) - libexecdir="$ac_optarg" ;; + libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ @@ -249,12 +349,12 @@ EOF -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; + localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; + mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. @@ -275,26 +375,26 @@ EOF -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; + oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; + prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; + program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; + program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ @@ -311,7 +411,7 @@ EOF | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; + program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) @@ -321,7 +421,7 @@ EOF ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; + sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ @@ -332,58 +432,59 @@ EOF | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; + sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; + site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; + srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir="$ac_optarg" ;; + sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; + ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; + target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.13" - exit 0 ;; + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi + expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && + { { echo "$as_me:469: error: invalid package name: $ac_package" >&5 +echo "$as_me: error: invalid package name: $ac_package" >&2;} + { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac - eval "with_${ac_package}='$ac_optarg'" ;; + eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; + expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && + { { echo "$as_me:483: error: invalid package name: $ac_package" >&5 +echo "$as_me: error: invalid package name: $ac_package" >&2;} + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/-/_/g'` + eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. @@ -394,98 +495,98 @@ EOF ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes="$ac_optarg" ;; + x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries="$ac_optarg" ;; + x_libraries=$ac_optarg ;; - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + -*) { { echo "$as_me:507: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && + { { echo "$as_me:518: error: invalid variable name: $ac_envvar" >&5 +echo "$as_me: error: invalid variable name: $ac_envvar" >&2;} + { (exit 1); exit 1; }; } + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` + eval "$ac_envvar='$ac_optarg'" + export $ac_envvar ;; + *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" + # FIXME: should be removed in autoconf 3.0. + { echo "$as_me:527: WARNING: you should use --build, --host, --target" >&5 +echo "$as_me: WARNING: you should use --build, --host, --target" >&2;} + expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && + { echo "$as_me:530: WARNING: invalid host type: $ac_option" >&5 +echo "$as_me: WARNING: invalid host type: $ac_option" >&2;} + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { { echo "$as_me:540: error: missing argument to $ac_option" >&5 +echo "$as_me: error: missing argument to $ac_option" >&2;} + { (exit 1); exit 1; }; } fi -exec 5>./config.log -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg +# Be sure to have absolute paths. +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ + localstatedir libdir includedir oldincludedir infodir mandir \ + exec_prefix prefix do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* ) ;; + NONE ) ;; + *) { { echo "$as_me:554: error: expected an absolute path for --$ac_var: $ac_val" >&5 +echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;} + { (exit 1); exit 1; }; };; esac done -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: should be removed in autoconf 3.0. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + { echo "$as_me:570: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&5 +echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2;} + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=as.h +test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` + ac_confdir=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then @@ -496,13 +597,285 @@ else fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + { { echo "$as_me:600: error: cannot find sources in $ac_confdir or .." >&5 +echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;} + { (exit 1); exit 1; }; } else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + { { echo "$as_me:604: error: cannot find sources in $srcdir" >&5 +echo "$as_me: error: cannot find sources in $srcdir" >&2;} + { (exit 1); exit 1; }; } fi fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` +srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'` +ac_env_build_alias_set=${build_alias+set} +ac_env_build_alias_value=$build_alias +ac_cv_env_build_alias_set=${build_alias+set} +ac_cv_env_build_alias_value=$build_alias +ac_env_host_alias_set=${host_alias+set} +ac_env_host_alias_value=$host_alias +ac_cv_env_host_alias_set=${host_alias+set} +ac_cv_env_host_alias_value=$host_alias +ac_env_target_alias_set=${target_alias+set} +ac_env_target_alias_value=$target_alias +ac_cv_env_target_alias_set=${target_alias+set} +ac_cv_env_target_alias_value=$target_alias +ac_env_CC_set=${CC+set} +ac_env_CC_value=$CC +ac_cv_env_CC_set=${CC+set} +ac_cv_env_CC_value=$CC +ac_env_CFLAGS_set=${CFLAGS+set} +ac_env_CFLAGS_value=$CFLAGS +ac_cv_env_CFLAGS_set=${CFLAGS+set} +ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_LDFLAGS_set=${LDFLAGS+set} +ac_env_LDFLAGS_value=$LDFLAGS +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} +ac_cv_env_LDFLAGS_value=$LDFLAGS +ac_env_CPP_set=${CPP+set} +ac_env_CPP_value=$CPP +ac_cv_env_CPP_set=${CPP+set} +ac_cv_env_CPP_value=$CPP +ac_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_env_CPPFLAGS_value=$CPPFLAGS +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_cv_env_CPPFLAGS_value=$CPPFLAGS + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<EOF +\`configure' configures this package to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +EOF + cat <<EOF +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data [PREFIX/share] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --infodir=DIR info documentation [PREFIX/info] + --mandir=DIR man documentation [PREFIX/man] +EOF + + cat <<\EOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST build programs to run on HOST [BUILD] + --target=TARGET configure for building compilers for TARGET [HOST] +EOF +fi + +if test -n "$ac_init_help"; then + + cat <<\EOF + +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-shared=PKGS build shared libraries default=yes + --enable-static=PKGS build static libraries default=yes + --enable-fast-install=PKGS optimize for fast installation default=yes + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-bfd-assembler use BFD back end for writing object files + targets alternative target configurations besides the primary + --enable-commonbfdlib build shared BFD/opcodes/libiberty library + --enable-build-warnings Enable build-time compiler warnings if gcc is used + --disable-nls do not use Native Language Support + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-pic try to use only PIC/non-PIC objects default=use both + --with-included-gettext use the GNU gettext library included here + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a + nonstandard directory <lib dir> + CPP C preprocessor + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have + headers in a nonstandard directory <include dir> + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +EOF +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + ac_popdir=`pwd` + for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue + cd $ac_subdir + # A "../" for each directory in /$ac_subdir. + ac_dots=`echo $ac_subdir | + sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` + + case $srcdir in + .) # No --srcdir option. We are building in place. + ac_sub_srcdir=$srcdir ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_sub_srcdir=$srcdir/$ac_subdir ;; + *) # Relative path. + ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; + esac + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f $ac_sub_srcdir/configure.gnu; then + echo + $SHELL $ac_sub_srcdir/configure.gnu --help=recursive + elif test -f $ac_sub_srcdir/configure; then + echo + $SHELL $ac_sub_srcdir/configure --help=recursive + elif test -f $ac_sub_srcdir/configure.ac || + test -f $ac_sub_srcdir/configure.in; then + echo + $ac_configure --help + else + { echo "$as_me:786: WARNING: no configuration information is in $ac_subdir" >&5 +echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;} + fi + cd $ac_popdir + done +fi + +test -n "$ac_init_help" && exit 0 +if $ac_init_version; then + cat <<\EOF + +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +EOF + exit 0 +fi + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell meta-characters. +ac_configure_args= +ac_sep= +for ac_arg +do + case $ac_arg in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" + ac_sep=" " ;; + *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" + ac_sep=" " ;; + esac + # Get rid of the leading space. +done + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + echo >&5 + echo "## ----------------- ##" >&5 + echo "## Cache variables. ##" >&5 + echo "## ----------------- ##" >&5 + echo >&5 + # The following way of writing the cache mishandles newlines in values, +{ + (set) 2>&1 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in + *ac_space=\ *) + sed -n \ + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; + s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + ;; + *) + sed -n \ + "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} >&5 + sed "/^$/d" confdefs.h >conftest.log + if test -s conftest.log; then + echo >&5 + echo "## ------------ ##" >&5 + echo "## confdefs.h. ##" >&5 + echo "## ------------ ##" >&5 + echo >&5 + cat conftest.log >&5 + fi + (echo; echo) >&5 + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" >&5 + echo "$as_me: exit $exit_status" >&5 + rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && + exit $exit_status + ' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo >confdefs.h + +# Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then @@ -513,255 +886,882 @@ if test -z "$CONFIG_SITE"; then fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" + { echo "$as_me:889: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + cat "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:900: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . $cache_file;; + *) . ./$cache_file;; + esac + fi else - echo "creating cache $cache_file" - > $cache_file + { echo "$as_me:908: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_suggest_removing_cache=false +for ac_var in `(set) 2>&1 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" + eval ac_new_val="\$ac_env_${ac_var}_value" + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:924: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_suggest_removing_cache=: ;; + ,set) + { echo "$as_me:928: WARNING: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} + ac_suggest_removing_cache=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:934: WARNING: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:936: WARNING: former value: $ac_old_val" >&5 +echo "$as_me: WARNING: former value: $ac_old_val" >&2;} + { echo "$as_me:938: WARNING: current value: $ac_new_val" >&5 +echo "$as_me: WARNING: current value: $ac_new_val" >&2;} + ac_suggest_removing_cache=: + fi;; + esac +done +if $ac_suggest_removing_cache; then + { echo "$as_me:945: WARNING: changes in the environment can compromise the build" >&5 +echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} + { echo "$as_me:947: WARNING: consider removing $cache_file and starting over" >&5 +echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} fi ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -ac_exeext= -ac_objext=o -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac +echo "#! $SHELL" >conftest.sh +echo "exit 0" >>conftest.sh +chmod +x conftest.sh +if { (echo "$as_me:966: PATH=\".;.\"; conftest.sh") >&5 + (PATH=".;."; conftest.sh) 2>&5 + ac_status=$? + echo "$as_me:969: \$? = $ac_status" >&5 + (exit $ac_status); }; then + ac_path_separator=';' else - ac_n= ac_c='\c' ac_t= + ac_path_separator=: +fi +PATH_SEPARATOR="$ac_path_separator" +rm -f conftest.sh + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f $ac_dir/install.sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f $ac_dir/shtool; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { { echo "$as_me:995: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} + { (exit 1); exit 1; }; } fi +ac_config_guess="$SHELL $ac_aux_dir/config.guess" +ac_config_sub="$SHELL $ac_aux_dir/config.sub" +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. -echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 -echo "configure:552: checking for Cygwin environment" >&5 -if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +# Make sure we can run config.sub. +$ac_config_sub sun4 >/dev/null 2>&1 || + { { echo "$as_me:1005: error: cannot run $ac_config_sub" >&5 +echo "$as_me: error: cannot run $ac_config_sub" >&2;} + { (exit 1); exit 1; }; } + +echo "$as_me:1009: checking build system type" >&5 +echo $ECHO_N "checking build system type... $ECHO_C" >&6 +if test "${ac_cv_build+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_build_alias=$build_alias +test -z "$ac_cv_build_alias" && + ac_cv_build_alias=`$ac_config_guess` +test -z "$ac_cv_build_alias" && + { { echo "$as_me:1018: error: cannot guess build type; you must specify one" >&5 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || + { { echo "$as_me:1022: error: $ac_config_sub $ac_cv_build_alias failed." >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:1027: result: $ac_cv_build" >&5 +echo "${ECHO_T}$ac_cv_build" >&6 +build=$ac_cv_build +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +echo "$as_me:1034: checking host system type" >&5 +echo $ECHO_N "checking host system type... $ECHO_C" >&6 +if test "${ac_cv_host+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_host_alias=$host_alias +test -z "$ac_cv_host_alias" && + ac_cv_host_alias=$ac_cv_build_alias +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || + { { echo "$as_me:1043: error: $ac_config_sub $ac_cv_host_alias failed" >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:1048: result: $ac_cv_host" >&5 +echo "${ECHO_T}$ac_cv_host" >&6 +host=$ac_cv_host +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +echo "$as_me:1055: checking target system type" >&5 +echo $ECHO_N "checking target system type... $ECHO_C" >&6 +if test "${ac_cv_target+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_target_alias=$target_alias +test "x$ac_cv_target_alias" = "x" && + ac_cv_target_alias=$ac_cv_host_alias +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || + { { echo "$as_me:1064: error: $ac_config_sub $ac_cv_target_alias failed" >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:1069: result: $ac_cv_target" >&5 +echo "${ECHO_T}$ac_cv_target" >&6 +target=$ac_cv_target +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +# The aliases save the names the user supplied, while $host etc. +# will get canonicalized. +test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:1090: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 557 "configure" -#include "confdefs.h" + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_CC="${ac_tool_prefix}gcc" +break +done -int main() { +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:1112: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:1115: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -#ifndef __CYGWIN__ -#define __CYGWIN__ __CYGWIN32__ -#endif -return __CYGWIN__; -; return 0; } -EOF -if { (eval echo configure:568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_cygwin=yes +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo "$as_me:1124: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_CC="gcc" +break +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:1146: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_cygwin=no + echo "$as_me:1149: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* -rm -f conftest* + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" fi -echo "$ac_t""$ac_cv_cygwin" 1>&6 -CYGWIN= -test "$ac_cv_cygwin" = yes && CYGWIN=yes -echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 -echo "configure:585: checking for mingw32 environment" >&5 -if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +echo "$as_me:1162: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 590 "configure" -#include "confdefs.h" + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_CC="${ac_tool_prefix}cc" +break +done -int main() { -return __MINGW32__; -; return 0; } -EOF -if { (eval echo configure:597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_mingw32=yes +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:1184: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_mingw32=no + echo "$as_me:1187: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* -rm -f conftest* + fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:1196: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_CC="cc" +break +done -echo "$ac_t""$ac_cv_mingw32" 1>&6 -MINGW32= -test "$ac_cv_mingw32" = yes && MINGW32=yes +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:1218: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:1221: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:1234: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue +fi +ac_cv_prog_CC="cc" +break +done + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + set dummy "$ac_dir/$ac_word" ${1+"$@"} + shift + ac_cv_prog_CC="$@" fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:1275: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:1278: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:1289: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_CC="$ac_tool_prefix$ac_prog" +break done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:1311: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:1314: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:1327: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_CC="$ac_prog" +break +done -# Do some error checking and defaulting for the host and target type. -# The inputs are: -# configure --host=HOST --target=TARGET --build=BUILD NONOPT -# -# The rules are: -# 1. You are not allowed to specify --host, --target, and nonopt at the -# same time. -# 2. Host defaults to nonopt. -# 3. If nonopt is not specified, then host defaults to the current host, -# as determined by config.guess. -# 4. Target and build default to nonopt. -# 5. If nonopt is not specified, then target and build default to host. +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:1349: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:1352: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -# The aliases save the names the user supplied, while $host etc. -# will get canonicalized. -case $host---$target---$nonopt in -NONE---*---* | *---NONE---* | *---*---NONE) ;; -*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; -esac + test -n "$ac_ct_CC" && break +done + CC=$ac_ct_CC +fi -# Make sure we can run config.sub. -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } -fi - -echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:662: checking host system type" >&5 - -host_alias=$host -case "$host_alias" in -NONE) - case $nonopt in - NONE) - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } - fi ;; - *) host_alias=$nonopt ;; - esac ;; -esac +fi -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$host" 1>&6 - -echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:683: checking target system type" >&5 - -target_alias=$target -case "$target_alias" in -NONE) - case $nonopt in - NONE) target_alias=$host_alias ;; - *) target_alias=$nonopt ;; - esac ;; -esac +test -z "$CC" && { { echo "$as_me:1364: error: no acceptable cc found in \$PATH" >&5 +echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} + { (exit 1); exit 1; }; } -target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` -target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$target" 1>&6 - -echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:701: checking build system type" >&5 - -build_alias=$build -case "$build_alias" in -NONE) - case $nonopt in - NONE) build_alias=$host_alias ;; - *) build_alias=$nonopt ;; - esac ;; -esac +cat >conftest.$ac_ext <<_ACEOF +#line 1369 "configure" +#include "confdefs.h" -build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` -build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$build" 1>&6 +int +main () +{ -test "$host_alias" != "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compiler, and finding out an intuition +# of exeext. +echo "$as_me:1385: checking for C compiler default output" >&5 +echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +if { (eval echo "$as_me:1388: \"$ac_link_default\"") >&5 + (eval $ac_link_default) 2>&5 + ac_status=$? + echo "$as_me:1391: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; + a.out ) # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + export ac_cv_exeext + break;; + * ) break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +{ { echo "$as_me:1408: error: C compiler cannot create executables" >&5 +echo "$as_me: error: C compiler cannot create executables" >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext +echo "$as_me:1414: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6 + +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:1419: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (eval echo "$as_me:1425: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:1428: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:1435: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'." >&2;} + { (exit 1); exit 1; }; } + fi + fi +fi +echo "$as_me:1443: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +rm -f a.out a.exe conftest$ac_cv_exeext +ac_clean_files=$ac_clean_files_save +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:1450: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 +echo "$as_me:1452: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6 + +echo "$as_me:1455: checking for executable suffix" >&5 +echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 +if { (eval echo "$as_me:1457: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:1460: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + export ac_cv_exeext + break;; + * ) break;; + esac +done +else + { { echo "$as_me:1476: error: cannot compute EXEEXT: cannot compile and link" >&5 +echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} + { (exit 1); exit 1; }; } +fi +rm -f conftest$ac_cv_exeext +echo "$as_me:1482: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6 - echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 -echo "configure:725: checking for strerror in -lcposix" >&5 -ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +echo "$as_me:1488: checking for object suffix" >&5 +echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_save_LIBS="$LIBS" -LIBS="-lcposix $LIBS" -cat > conftest.$ac_ext <<EOF -#line 733 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 1494 "configure" #include "confdefs.h" -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char strerror(); -int main() { -strerror() -; return 0; } -EOF -if { (eval echo configure:744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (eval echo "$as_me:1506: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:1509: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +{ { echo "$as_me:1521: error: cannot compute OBJEXT: cannot compile" >&5 +echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} + { (exit 1); exit 1; }; } fi -rm -f conftest* -LIBS="$ac_save_LIBS" +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +echo "$as_me:1528: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6 +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +echo "$as_me:1532: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 1538 "configure" +#include "confdefs.h" + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:1553: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:1556: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:1559: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:1562: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:1574: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:1580: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 1586 "configure" +#include "confdefs.h" + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:1598: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:1601: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:1604: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:1607: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_prog_cc_g=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:1617: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:1644: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:1647: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:1650: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:1653: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + ''\ + '#include <stdlib.h>' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +#line 1665 "configure" +#include "confdefs.h" +#include <stdlib.h> +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:1678: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:1681: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:1684: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:1687: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +continue +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +#line 1697 "configure" +#include "confdefs.h" +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:1709: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:1712: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:1715: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:1718: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lcposix" +rm -f conftest.$ac_objext conftest.$ac_ext +done +echo '#ifdef __cplusplus' >>confdefs.h +echo $ac_declaration >>confdefs.h +echo '#endif' >>confdefs.h + else - echo "$ac_t""no" 1>&6 + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +echo "$as_me:1742: checking for POSIXized ISC" >&5 +echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 +if test -d /etc/conf/kconfig.d && + grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 +then + echo "$as_me:1747: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + ISC=yes # If later tests want to check for ISC. - +cat >>confdefs.h <<\EOF +#define _POSIX_SOURCE 1 +EOF + if test "$GCC" = yes; then + CC="$CC -posix" + else + CC="$CC -Xp" + fi +else + echo "$as_me:1761: result: no" >&5 +echo "${ECHO_T}no" >&6 + ISC= +fi BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` # Find a good install program. We prefer a C program (faster), @@ -771,31 +1771,39 @@ BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${ # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:780: checking for a BSD compatible install" >&5 +echo "$as_me:1779: checking for a BSD compatible install" >&5 +echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + ac_save_IFS=$IFS; IFS=$ac_path_separator for ac_dir in $PATH; do + IFS=$ac_save_IFS # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; + case $ac_dir/ in + / | ./ | .// | /cC/* \ + | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ + | /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do - if test -f $ac_dir/$ac_prog; then + if $as_executable_p "$ac_dir/$ac_prog"; then if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : + elif test $ac_prog = install && + grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 @@ -805,31 +1813,31 @@ else ;; esac done - IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" + INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. - INSTALL="$ac_install_sh" + INSTALL=$ac_install_sh fi fi -echo "$ac_t""$INSTALL" 1>&6 +echo "$as_me:1828: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:833: checking whether build environment is sane" >&5 +echo "$as_me:1839: checking whether build environment is sane" >&5 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftestfile @@ -851,8 +1859,11 @@ if ( # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" 1>&2; exit 1; } + { { echo "$as_me:1862: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&5 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&2;} + { (exit 1); exit 1; }; } fi test "$2" = conftestfile @@ -861,143 +1872,157 @@ then # Ok. : else - { echo "configure: error: newly created file is older than distributed files! -Check your system clock" 1>&2; exit 1; } + { { echo "$as_me:1875: error: newly created file is older than distributed files! +Check your system clock" >&5 +echo "$as_me: error: newly created file is older than distributed files! +Check your system clock" >&2;} + { (exit 1); exit 1; }; } fi rm -f conftest* -echo "$ac_t""yes" 1>&6 +echo "$as_me:1882: result: yes" >&5 +echo "${ECHO_T}yes" >&6 if test "$program_transform_name" = s,x,x,; then program_transform_name= else # Double any \ or $. echo might interpret backslashes. - cat <<\EOF_SED > conftestsed + cat <<\EOF >conftest.sed s,\\,\\\\,g; s,\$,$$,g -EOF_SED - program_transform_name="`echo $program_transform_name|sed -f conftestsed`" - rm -f conftestsed +EOF + program_transform_name=`echo $program_transform_name | sed -f conftest.sed` + rm -f conftest.sed fi test "$program_prefix" != NONE && - program_transform_name="s,^,${program_prefix},; $program_transform_name" + program_transform_name="s,^,${program_prefix},;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" + program_transform_name="s,\$\$,${program_suffix},;$program_transform_name" # sed with no file args requires a program. -test "$program_transform_name" = "" && program_transform_name="s,x,x," +test -z "$program_transform_name" && program_transform_name="s,x,x," -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:890: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:1903: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftestmake <<\EOF + cat >conftest.make <<\EOF all: @echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi -rm -f conftestmake +rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 + echo "$as_me:1923: result: yes" >&5 +echo "${ECHO_T}yes" >&6 SET_MAKE= else - echo "$ac_t""no" 1>&6 + echo "$as_me:1927: result: no" >&5 +echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi - PACKAGE=gas VERSION=${BFD_VERSION} if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } + { { echo "$as_me:1937: error: source directory already configured; run \"make distclean\" there first" >&5 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} + { (exit 1); exit 1; }; } fi -cat >> confdefs.h <<EOF + +cat >>confdefs.h <<EOF #define PACKAGE "$PACKAGE" EOF -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define VERSION "$VERSION" EOF - - missing_dir=`cd $ac_aux_dir && pwd` -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:936: checking for working aclocal" >&5 +echo "$as_me:1951: checking for working aclocal" >&5 +echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal - echo "$ac_t""found" 1>&6 + echo "$as_me:1958: result: found" >&5 +echo "${ECHO_T}found" >&6 else ACLOCAL="$missing_dir/missing aclocal" - echo "$ac_t""missing" 1>&6 + echo "$as_me:1962: result: missing" >&5 +echo "${ECHO_T}missing" >&6 fi -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:949: checking for working autoconf" >&5 +echo "$as_me:1966: checking for working autoconf" >&5 +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf - echo "$ac_t""found" 1>&6 + echo "$as_me:1973: result: found" >&5 +echo "${ECHO_T}found" >&6 else AUTOCONF="$missing_dir/missing autoconf" - echo "$ac_t""missing" 1>&6 + echo "$as_me:1977: result: missing" >&5 +echo "${ECHO_T}missing" >&6 fi -echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:962: checking for working automake" >&5 +echo "$as_me:1981: checking for working automake" >&5 +echo $ECHO_N "checking for working automake... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake - echo "$ac_t""found" 1>&6 + echo "$as_me:1988: result: found" >&5 +echo "${ECHO_T}found" >&6 else AUTOMAKE="$missing_dir/missing automake" - echo "$ac_t""missing" 1>&6 + echo "$as_me:1992: result: missing" >&5 +echo "${ECHO_T}missing" >&6 fi -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:975: checking for working autoheader" >&5 +echo "$as_me:1996: checking for working autoheader" >&5 +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader - echo "$ac_t""found" 1>&6 + echo "$as_me:2003: result: found" >&5 +echo "${ECHO_T}found" >&6 else AUTOHEADER="$missing_dir/missing autoheader" - echo "$ac_t""missing" 1>&6 + echo "$as_me:2007: result: missing" >&5 +echo "${ECHO_T}missing" >&6 fi -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:988: checking for working makeinfo" >&5 +echo "$as_me:2011: checking for working makeinfo" >&5 +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo - echo "$ac_t""found" 1>&6 + echo "$as_me:2018: result: found" >&5 +echo "${ECHO_T}found" >&6 else MAKEINFO="$missing_dir/missing makeinfo" - echo "$ac_t""missing" 1>&6 + echo "$as_me:2022: result: missing" >&5 +echo "${ECHO_T}missing" >&6 fi - - # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" @@ -1019,8 +2044,7 @@ no) enable_shared=no ;; esac else enable_shared=yes -fi - +fi; # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" @@ -1042,8 +2066,7 @@ no) enable_static=no ;; esac else enable_static=yes -fi - +fi; # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" @@ -1065,229 +2088,7 @@ no) enable_fast_install=no ;; esac else enable_fast_install=yes -fi - -# Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1074: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1104: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# -gt 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1155: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1187: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext << EOF - -#line 1198 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1229: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1234: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <<EOF -#ifdef __GNUC__ - yes; -#endif -EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi - -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1262: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi +fi; # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then @@ -1295,13 +2096,12 @@ if test "${with_gnu_ld+set}" = set; then test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no -fi - +fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 -echo "configure:1305: checking for ld used by GCC" >&5 + echo "$as_me:2103: checking for ld used by GCC" >&5 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -1330,14 +2130,14 @@ echo "configure:1305: checking for ld used by GCC" >&5 ;; esac elif test "$with_gnu_ld" = yes; then - echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 -echo "configure:1335: checking for GNU ld" >&5 + echo "$as_me:2133: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else - echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 -echo "configure:1338: checking for non-GNU ld" >&5 + echo "$as_me:2136: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi -if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" @@ -1363,15 +2163,19 @@ fi LD="$lt_cv_path_LD" if test -n "$LD"; then - echo "$ac_t""$LD" 1>&6 + echo "$as_me:2166: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:2169: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } -echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 -echo "configure:1373: checking if the linker ($LD) is GNU ld" >&5 -if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +test -z "$LD" && { { echo "$as_me:2172: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +echo "$as_me:2175: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 +if test "${lt_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then @@ -1380,27 +2184,26 @@ else lt_cv_prog_gnu_ld=no fi fi - -echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 +echo "$as_me:2187: result: $lt_cv_prog_gnu_ld" >&5 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld - -echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 -echo "configure:1390: checking for $LD option to reload object files" >&5 -if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:2191: checking for $LD option to reload object files" >&5 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 +if test "${lt_cv_ld_reload_flag+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi - -echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 +echo "$as_me:2198: result: $lt_cv_ld_reload_flag" >&5 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" -echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 -echo "configure:1402: checking for BSD-compatible nm" >&5 -if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:2203: checking for BSD-compatible nm" >&5 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 +if test "${lt_cv_path_NM+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. @@ -1433,33 +2236,24 @@ fi fi NM="$lt_cv_path_NM" -echo "$ac_t""$NM" 1>&6 +echo "$as_me:2239: result: $NM" >&5 +echo "${ECHO_T}$NM" >&6 -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1440: checking whether ln -s works" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - rm -f conftestdata -if ln -s X conftestdata 2>/dev/null -then - rm -f conftestdata - ac_cv_prog_LN_S="ln -s" +echo "$as_me:2242: checking whether ln -s works" >&5 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + echo "$as_me:2246: result: yes" >&5 +echo "${ECHO_T}yes" >&6 else - ac_cv_prog_LN_S=ln -fi -fi -LN_S="$ac_cv_prog_LN_S" -if test "$ac_cv_prog_LN_S" = "ln -s"; then - echo "$ac_t""yes" 1>&6 -else - echo "$ac_t""no" 1>&6 + echo "$as_me:2249: result: no, using $LN_S" >&5 +echo "${ECHO_T}no, using $LN_S" >&6 fi -echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 -echo "configure:1461: checking how to recognise dependant libraries" >&5 -if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:2253: checking how to recognise dependant libraries" >&5 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 +if test "${lt_cv_deplibs_check_method+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= @@ -1497,8 +2291,15 @@ cygwin* | mingw* |pw32*) darwin* | rhapsody*) lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_cmd='/usr/bin/file -L' + case "$host_os" in + rhapsody* | darwin1.012) + lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' + ;; + *) # Darwin 1.3 on + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + ;; + esac ;; freebsd* ) @@ -1562,12 +2363,10 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library' + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' else - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' fi - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; newsos6) @@ -1606,84 +2405,21 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) esac fi - -echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 +echo "$as_me:2408: result: $lt_cv_deplibs_check_method" >&5 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method -echo $ac_n "checking for object suffix""... $ac_c" 1>&6 -echo "configure:1616: checking for object suffix" >&5 -if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - rm -f conftest* -echo 'int i = 1;' > conftest.$ac_ext -if { (eval echo configure:1622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - for ac_file in conftest.*; do - case $ac_file in - *.c) ;; - *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; - esac - done -else - { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_objext" 1>&6 -OBJEXT=$ac_cv_objext -ac_objext=$ac_cv_objext - - - -echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:1642: checking for executable suffix" >&5 -if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$CYGWIN" = yes || test "$MINGW32" = yes; then - ac_cv_exeext=.exe -else - rm -f conftest* - echo 'int main () { return 0; }' > conftest.$ac_ext - ac_cv_exeext= - if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - for file in conftest.*; do - case $file in - *.c | *.o | *.obj) ;; - *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; - esac - done - else - { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } - fi - rm -f conftest* - test x"${ac_cv_exeext}" = x && ac_cv_exeext=no -fi -fi - -EXEEXT="" -test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} -echo "$ac_t""${ac_cv_exeext}" 1>&6 -ac_exeext=$EXEEXT - -if test $host != $build; then - ac_tool_prefix=${host_alias}- -else - ac_tool_prefix= -fi - # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 -echo "configure:1685: checking for ${ac_tool_prefix}file" >&5 -if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:2419: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in /*) @@ -1735,17 +2471,19 @@ fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - echo "$ac_t""$MAGIC_CMD" 1>&6 + echo "$as_me:2474: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:2477: result: no" >&5 +echo "${ECHO_T}no" >&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then - echo $ac_n "checking for file""... $ac_c" 1>&6 -echo "configure:1747: checking for file" >&5 -if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:2483: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in /*) @@ -1797,9 +2535,11 @@ fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - echo "$ac_t""$MAGIC_CMD" 1>&6 + echo "$as_me:2538: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:2541: result: no" >&5 +echo "${ECHO_T}no" >&6 fi else @@ -1811,141 +2551,150 @@ fi ;; esac -# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1818: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:2557: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" +break +done + fi fi -RANLIB="$ac_cv_prog_RANLIB" +RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 + echo "$as_me:2579: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:2582: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - +fi if test -z "$ac_cv_prog_RANLIB"; then -if test -n "$ac_tool_prefix"; then + ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1850: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" +echo "$as_me:2591: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_RANLIB="ranlib" +break +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi -RANLIB="$ac_cv_prog_RANLIB" -if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:2614: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:2617: result: no" >&5 +echo "${ECHO_T}no" >&6 fi + RANLIB=$ac_ct_RANLIB else - RANLIB=":" -fi + RANLIB="$ac_cv_prog_RANLIB" fi -# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1885: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:2629: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_STRIP="${ac_tool_prefix}strip" +break +done + fi fi -STRIP="$ac_cv_prog_STRIP" +STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - echo "$ac_t""$STRIP" 1>&6 + echo "$as_me:2651: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:2654: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - +fi if test -z "$ac_cv_prog_STRIP"; then -if test -n "$ac_tool_prefix"; then + ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1917: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_STRIP="strip" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" +echo "$as_me:2663: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_STRIP="strip" +break +done + + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi -STRIP="$ac_cv_prog_STRIP" -if test -n "$STRIP"; then - echo "$ac_t""$STRIP" 1>&6 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + echo "$as_me:2686: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:2689: result: no" >&5 +echo "${ECHO_T}no" >&6 fi + STRIP=$ac_ct_STRIP else - STRIP=":" -fi + STRIP="$ac_cv_prog_STRIP" fi - # Check for any special flags to pass to ltconfig. libtool_flags="--cache-file=$cache_file" test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" @@ -1954,13 +2703,11 @@ test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" - # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" - : -fi +fi; test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" @@ -1970,8 +2717,7 @@ if test "${with_pic+set}" = set; then pic_mode="$withval" else pic_mode=default -fi - +fi; test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" @@ -1980,8 +2726,12 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 1984 "configure"' > conftest.$ac_ext - if { (eval echo configure:1985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + echo '#line 2729 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:2730: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:2733: \$? = $ac_status" >&5 + (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" @@ -2001,106 +2751,122 @@ case $host in # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" - echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 -echo "configure:2006: checking whether the C compiler needs -belf" >&5 -if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:2754: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - + ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - cat > conftest.$ac_ext <<EOF -#line 2019 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 2767 "configure" #include "confdefs.h" -int main() { +int +main () +{ -; return 0; } -EOF -if { (eval echo configure:2026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:2779: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:2782: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:2785: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:2788: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then lt_cv_cc_needs_belf=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - lt_cv_cc_needs_belf=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +lt_cv_cc_needs_belf=no fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu fi - -echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 +echo "$as_me:2804: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; - esac - # Save cache, so that ltconfig can load it -cat > confcache <<\EOF +cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. # -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. # -EOF +# `ac_cv_env_foo' variables (set or unset) will be overriden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. -(set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote substitution - # turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if cmp -s $cache_file confcache; then :; else if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache - # Actually configure libtool. ac_aux_dir is where install-sh is found. AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ @@ -2110,18 +2876,28 @@ objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ -|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } +|| { { echo "$as_me:2879: error: libtool configure failed" >&5 +echo "$as_me: error: libtool configure failed" >&2;} + { (exit 1); exit 1; }; } # Reload cache, that may have been modified by ltconfig if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:2888: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . $cache_file;; + *) . ./$cache_file;; + esac + fi else - echo "creating cache $cache_file" - > $cache_file + { echo "$as_me:2896: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file fi - # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh" @@ -2132,12 +2908,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' # clobbered by the next message. exec 5>>./config.log - - - - - - user_bfd_gas= # Check whether --enable-bfd-assembler or --disable-bfd-assembler was given. if test "${enable_bfd_assembler+set}" = set; then @@ -2145,29 +2915,32 @@ if test "${enable_bfd_assembler+set}" = set; then case "${enableval}" in yes) need_bfd=yes user_bfd_gas=yes ;; no) user_bfd_gas=no ;; - *) { echo "configure: error: bad value ${enableval} given for bfd-assembler option" 1>&2; exit 1; } ;; + *) { { echo "$as_me:2918: error: bad value ${enableval} given for bfd-assembler option" >&5 +echo "$as_me: error: bad value ${enableval} given for bfd-assembler option" >&2;} + { (exit 1); exit 1; }; } ;; esac -fi -# Check whether --enable-targets or --disable-targets was given. +fi; # Check whether --enable-targets or --disable-targets was given. if test "${enable_targets+set}" = set; then enableval="$enable_targets" case "${enableval}" in - yes | "") { echo "configure: error: enable-targets option must specify target names or 'all'" 1>&2; exit 1; } + yes | "") { { echo "$as_me:2926: error: enable-targets option must specify target names or 'all'" >&5 +echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;} + { (exit 1); exit 1; }; } ;; no) enable_targets= ;; *) enable_targets=$enableval ;; esac -fi -# Check whether --enable-commonbfdlib or --disable-commonbfdlib was given. +fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given. if test "${enable_commonbfdlib+set}" = set; then enableval="$enable_commonbfdlib" case "${enableval}" in yes) commonbfdlib=true ;; no) commonbfdlib=false ;; - *) { echo "configure: error: bad value ${enableval} for BFD commonbfdlib option" 1>&2; exit 1; } ;; + *) { { echo "$as_me:2939: error: bad value ${enableval} for BFD commonbfdlib option" >&5 +echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;} + { (exit 1); exit 1; }; } ;; esac -fi - +fi; using_cgen=no build_warnings="-W -Wall" @@ -2186,17 +2959,16 @@ esac if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then echo "Setting warning flags = $build_warnings" 6>&1 fi -fi -WARN_CFLAGS="" +fi; WARN_CFLAGS="" if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then WARN_CFLAGS="${build_warnings}" fi - # Generate a header file +ac_config_headers="$ac_config_headers config.h:config.in" - +ac_config_commands="$ac_config_commands default-1" # If we are on a DOS filesystem, we must use gdb.ini rather than # .gdbinit. @@ -2207,7 +2979,6 @@ case "${host}" in ;; esac - te_file=generic # Makefile target for installing gas in $(tooldir)/bin. @@ -2327,7 +3098,7 @@ for this_target in $target $canon_targets ; do arm-*-elf | thumb-*-elf) fmt=elf ;; arm*-*-conix*) fmt=elf ;; arm-*-linux*aout*) fmt=aout em=linux ;; - arm*-*-linux-gnu* | arm*-*-uclinux*) + arm*-*-linux-gnu* | arm*-*-uclinux*) fmt=elf em=linux ;; arm-*-netbsd*) fmt=aout em=nbsd ;; arm-*-oabi | thumb-*-oabi) fmt=elf ;; @@ -2343,7 +3114,6 @@ for this_target in $target $canon_targets ; do d10v-*-*) fmt=elf bfd_gas=yes ;; d30v-*-*) fmt=elf bfd_gas=yes ;; - fr30-*-*) fmt=elf bfd_gas=yes ;; hppa-*-linux-gnu*) case ${cpu} in @@ -2394,7 +3164,8 @@ for this_target in $target $canon_targets ; do fmt=coff ;; i386-*-sco3.2v5*) fmt=elf if test ${this_target} = $target; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define SCO_ELF 1 EOF @@ -2404,7 +3175,8 @@ EOF i386-*-vsta) fmt=aout ;; i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*) fmt=coff em=go32 bfd_gas=yes - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define STRICTCOFF 1 EOF @@ -2425,7 +3197,8 @@ EOF i386-*-chaos) fmt=elf ;; i860-stardent-sysv4* | i860-stardent-elf*) fmt=elf bfd_gas=yes endian=little - echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; + { echo "$as_me:3200: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5 +echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;} ;; i960-*-bout) fmt=bout ;; i960-*-coff) fmt=coff em=ic960 ;; i960-*-rtems*) fmt=coff em=ic960 ;; @@ -2476,7 +3249,9 @@ EOF mips-dec-openbsd*) fmt=elf endian=little ;; mips-dec-bsd*) fmt=aout endian=little ;; mips-sony-bsd*) fmt=ecoff ;; - mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; + mips-*-bsd*) { { echo "$as_me:3252: error: Unknown vendor for mips-bsd configuration." >&5 +echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;} + { (exit 1); exit 1; }; } ;; mips-*-ultrix*) fmt=ecoff endian=little ;; mips-*-osf*) fmt=ecoff endian=little ;; mips-*-ecoff*) fmt=ecoff ;; @@ -2493,7 +3268,8 @@ EOF mips-*-elf* | mips-*-rtems* | mips-*-openbsd*) fmt=elf ;; mips-*-vxworks*) fmt=elf - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define MIPS_STABS_ELF 1 EOF @@ -2510,18 +3286,23 @@ EOF ppc-*-linux-gnu*) fmt=elf case "$endian" in big) ;; - *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; + *) { { echo "$as_me:3289: error: GNU/Linux must be configured big endian" >&5 +echo "$as_me: error: GNU/Linux must be configured big endian" >&2;} + { (exit 1); exit 1; }; } ;; esac ;; ppc-*-solaris*) fmt=elf if test ${this_target} = $target; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define TARGET_SOLARIS_COMMENT 1 EOF fi if test x${endian} = xbig; then - { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } + { { echo "$as_me:3303: error: Solaris must be configured little endian" >&5 +echo "$as_me: error: Solaris must be configured little endian" >&2;} + { (exit 1); exit 1; }; } fi ;; ppc-*-rtems*) fmt=elf ;; @@ -2587,7 +3368,6 @@ EOF fmt=aout ;; vax-*-vms) fmt=vms ;; - z8k-*-coff | z8k-*-sim) fmt=coff ;; @@ -2604,7 +3384,8 @@ EOF *-*-xray | *-*-hms) fmt=coff ;; *-*-sim) fmt=coff ;; *-*-elf | *-*-sysv4* | *-*-solaris*) - echo "configure: warning: GAS support for ${generic_target} is incomplete." 1>&2 + { echo "$as_me:3387: WARNING: GAS support for ${generic_target} is incomplete." >&5 +echo "$as_me: WARNING: GAS support for ${generic_target} is incomplete." >&2;} fmt=elf dev=yes ;; *-*-vxworks) fmt=aout ;; *-*-netware) fmt=elf ;; @@ -2618,7 +3399,8 @@ EOF endian_def=0 fi if test x${endian_def} != x; then - cat >> confdefs.h <<EOF + +cat >>confdefs.h <<EOF #define TARGET_BYTES_BIG_ENDIAN $endian_def EOF @@ -2685,7 +3467,8 @@ EOF s390) if test $this_target = $target ; then - cat >> confdefs.h <<EOF + +cat >>confdefs.h <<EOF #define DEFAULT_ARCH "${arch}" EOF @@ -2693,17 +3476,17 @@ EOF ;; mips) - echo ${extra_objects} | grep -s "itbl-parse.o" + echo ${extra_objects} | grep -s "itbl-parse.o" if test $? -ne 0 ; then extra_objects="$extra_objects itbl-parse.o" fi - echo ${extra_objects} | grep -s "itbl-lex.o" + echo ${extra_objects} | grep -s "itbl-lex.o" if test $? -ne 0 ; then extra_objects="$extra_objects itbl-lex.o" fi - echo ${extra_objects} | grep -s "itbl-ops.o" + echo ${extra_objects} | grep -s "itbl-ops.o" if test $? -ne 0 ; then extra_objects="$extra_objects itbl-ops.o" fi @@ -2711,7 +3494,8 @@ EOF i386) if test $this_target = $target ; then - cat >> confdefs.h <<EOF + +cat >>confdefs.h <<EOF #define DEFAULT_ARCH "${arch}" EOF @@ -2719,7 +3503,8 @@ EOF ;; sparc) if test $this_target = $target ; then - cat >> confdefs.h <<EOF + +cat >>confdefs.h <<EOF #define DEFAULT_ARCH "${arch}" EOF @@ -2818,7 +3603,9 @@ case ${target_cpu} in esac case "${obj_format}" in - "") { echo "configure: error: GAS does not know what format to use for target ${target}" 1>&2; exit 1; } ;; + "") { { echo "$as_me:3606: error: GAS does not know what format to use for target ${target}" >&5 +echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;} + { (exit 1); exit 1; }; } ;; esac # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU). @@ -2827,20 +3614,23 @@ if test $using_cgen = yes ; then case ${target_cpu} in *) cgen_cpu_prefix=${target_cpu} ;; esac - - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define USING_CGEN 1 EOF fi - if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then - { echo "configure: error: GAS does not support target CPU ${target_cpu_type}" 1>&2; exit 1; } + { { echo "$as_me:3625: error: GAS does not support target CPU ${target_cpu_type}" >&5 +echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;} + { (exit 1); exit 1; }; } fi if test ! -r ${srcdir}/config/obj-${obj_format}.c; then - { echo "configure: error: GAS does not have support for object file format ${obj_format}" 1>&2; exit 1; } + { { echo "$as_me:3631: error: GAS does not have support for object file format ${obj_format}" >&5 +echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;} + { (exit 1); exit 1; }; } fi case ${user_bfd_gas}-${primary_bfd_gas} in @@ -2848,7 +3638,8 @@ case ${user_bfd_gas}-${primary_bfd_gas} in # We didn't override user's choice. ;; no-yes) - echo "configure: warning: Use of BFD is required for ${target}; overriding config options." 1>&2 + { echo "$as_me:3641: WARNING: Use of BFD is required for ${target}; overriding config options." >&5 +echo "$as_me: WARNING: Use of BFD is required for ${target}; overriding config options." >&2;} ;; no-preferred) primary_bfd_gas=no @@ -2868,15 +3659,18 @@ esac case ${obj_format} in coff) case ${target_cpu_type} in - i386) cat >> confdefs.h <<\EOF + i386) +cat >>confdefs.h <<\EOF #define I386COFF 1 EOF ;; - m68k) cat >> confdefs.h <<\EOF + m68k) +cat >>confdefs.h <<\EOF #define M68KCOFF 1 EOF ;; - m88k) cat >> confdefs.h <<\EOF + m88k) +cat >>confdefs.h <<\EOF #define M88KCOFF 1 EOF ;; @@ -2959,43 +3753,53 @@ emfiles=$_gas_uniq_newlist if test `set . $formats ; shift ; echo $#` -gt 1 ; then for fmt in $formats ; do case $fmt in - aout) cat >> confdefs.h <<\EOF + aout) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_AOUT 1 EOF ;; - bout) cat >> confdefs.h <<\EOF + bout) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_BOUT 1 EOF ;; - coff) cat >> confdefs.h <<\EOF + coff) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_COFF 1 EOF ;; - ecoff) cat >> confdefs.h <<\EOF + ecoff) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_ECOFF 1 EOF ;; - elf) cat >> confdefs.h <<\EOF + elf) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_ELF 1 EOF ;; - generic) cat >> confdefs.h <<\EOF + generic) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_GENERIC 1 EOF ;; - hp300) cat >> confdefs.h <<\EOF + hp300) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_HP300 1 EOF ;; - ieee) cat >> confdefs.h <<\EOF + ieee) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_IEEE 1 EOF ;; - som) cat >> confdefs.h <<\EOF + som) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_SOM 1 EOF ;; - vms) cat >> confdefs.h <<\EOF + vms) +cat >>confdefs.h <<\EOF #define OBJ_MAYBE_VMS 1 EOF ;; @@ -3012,26 +3816,27 @@ if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then case "${obj_format}${emfiles}" in multi* | *mips*) extra_objects="$extra_objects $emfiles" - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define USE_EMULATIONS 1 EOF ;; esac fi -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define EMULATIONS $EMULATIONS EOF -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define DEFAULT_EMULATION "$DEFAULT_EMULATION" EOF - case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in yes-*-coff) need_bfd=yes ;; no-*-coff) need_bfd=yes - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define MANY_SEGMENTS 1 EOF ;; @@ -3041,18 +3846,15 @@ reject_dev_configs=yes case ${reject_dev_configs}-${dev} in yes-yes) # Oops. - { echo "configure: error: GAS does not support the ${generic_target} configuration." 1>&2; exit 1; } + { { echo "$as_me:3849: error: GAS does not support the ${generic_target} configuration." >&5 +echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;} + { (exit 1); exit 1; }; } ;; esac - - - - - - case "${primary_bfd_gas}" in - yes) cat >> confdefs.h <<\EOF + yes) +cat >>confdefs.h <<\EOF #define BFD_ASSEMBLER 1 EOF @@ -3073,240 +3875,401 @@ yes) ;; esac - - - - - -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define TARGET_ALIAS "${target_alias}" EOF -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define TARGET_CANONICAL "${target}" EOF -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define TARGET_CPU "${target_cpu}" EOF -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define TARGET_VENDOR "${target_vendor}" EOF -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define TARGET_OS "${target_os}" EOF +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:3906: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_CC="${ac_tool_prefix}gcc" +break +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:3928: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:3931: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -# Extract the first word of "gcc", so it can be a program name with args. +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3106: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:3940: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_CC="gcc" +break +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:3962: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:3965: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +echo "$as_me:3978: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_CC="${ac_tool_prefix}cc" +break +done + fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 + echo "$as_me:4000: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:4003: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:4012: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_CC="cc" +break +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:4034: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:4037: result: no" >&5 +echo "${ECHO_T}no" >&6 fi + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3136: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:4050: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue +fi +ac_cv_prog_CC="cc" +break +done + if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift - if test $# -gt 0; then + if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - set dummy "$ac_dir/$ac_word" "$@" + set dummy "$ac_dir/$ac_word" ${1+"$@"} shift ac_cv_prog_CC="$@" fi fi fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 + echo "$as_me:4091: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:4094: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3187: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:4105: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_CC="$ac_tool_prefix$ac_prog" +break +done + fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 + echo "$as_me:4127: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } + echo "$as_me:4130: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:3219: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:4143: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_CC="$ac_prog" +break +done -cat > conftest.$ac_ext << EOF +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:4165: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:4168: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -#line 3230 "configure" -#include "confdefs.h" + test -n "$ac_ct_CC" && break +done -main(){return(0);} -EOF -if { (eval echo configure:3235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no + CC=$ac_ct_CC fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:3261: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:3266: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +test -z "$CC" && { { echo "$as_me:4180: error: no acceptable cc found in \$PATH" >&5 +echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} + { (exit 1); exit 1; }; } + +echo "$as_me:4184: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.c <<EOF -#ifdef __GNUC__ - yes; + cat >conftest.$ac_ext <<_ACEOF +#line 4190 "configure" +#include "confdefs.h" + +int +main () +{ +#ifndef __GNUC__ + choke me #endif -EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:4205: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:4208: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:4211: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4214: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_compiler_gnu=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:4226: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:4232: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 4238 "configure" +#include "confdefs.h" -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi +int +main () +{ -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:3294: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:4250: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:4253: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:4256: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4259: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else - ac_cv_prog_cc_g=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_prog_cc_g=no fi -rm -f conftest* - +rm -f conftest.$ac_objext conftest.$ac_ext fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 +echo "$as_me:4269: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" + CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" @@ -3320,241 +4283,342 @@ else CFLAGS= fi fi +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:4296: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:4299: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:4302: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4305: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + ''\ + '#include <stdlib.h>' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +#line 4317 "configure" +#include "confdefs.h" +#include <stdlib.h> +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:4330: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:4333: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:4336: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4339: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +continue +fi +rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +#line 4349 "configure" +#include "confdefs.h" +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:4361: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:4364: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:4367: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4370: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +fi +rm -f conftest.$ac_objext conftest.$ac_ext +done +echo '#ifdef __cplusplus' >>confdefs.h +echo $ac_declaration >>confdefs.h +echo '#endif' >>confdefs.h +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +fi +rm -f conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu for ac_prog in 'bison -y' byacc do -# Extract the first word of "$ac_prog", so it can be a program name with args. + # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3331: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:4398: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_YACC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_YACC="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_YACC="$ac_prog" +break +done + fi fi -YACC="$ac_cv_prog_YACC" +YACC=$ac_cv_prog_YACC if test -n "$YACC"; then - echo "$ac_t""$YACC" 1>&6 + echo "$as_me:4420: result: $YACC" >&5 +echo "${ECHO_T}$YACC" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:4423: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -test -n "$YACC" && break + test -n "$YACC" && break done test -n "$YACC" || YACC="yacc" -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:3362: checking how to run the C preprocessor" >&5 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext <<EOF -#line 3377 "configure" -#include "confdefs.h" -#include <assert.h> -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext <<EOF -#line 3394 "configure" -#include "confdefs.h" -#include <assert.h> -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -nologo -E" - cat > conftest.$ac_ext <<EOF -#line 3411 "configure" -#include "confdefs.h" -#include <assert.h> -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" -else - ac_cv_prog_CPP="$CPP" -fi -echo "$ac_t""$CPP" 1>&6 - missing_dir=`cd $ac_aux_dir && pwd` for ac_prog in flex lex do -# Extract the first word of "$ac_prog", so it can be a program name with args. + # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3447: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:4436: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_LEX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_LEX="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_LEX="$ac_prog" +break +done + fi fi -LEX="$ac_cv_prog_LEX" +LEX=$ac_cv_prog_LEX if test -n "$LEX"; then - echo "$ac_t""$LEX" 1>&6 + echo "$as_me:4458: result: $LEX" >&5 +echo "${ECHO_T}$LEX" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:4461: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -test -n "$LEX" && break + test -n "$LEX" && break done test -n "$LEX" || LEX=""$missing_dir/missing flex"" -# Extract the first word of "flex", so it can be a program name with args. -set dummy flex; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3480: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +for ac_prog in flex lex +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:4473: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_LEX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_LEX="flex" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_LEX="$ac_prog" +break +done + fi fi -LEX="$ac_cv_prog_LEX" +LEX=$ac_cv_prog_LEX if test -n "$LEX"; then - echo "$ac_t""$LEX" 1>&6 + echo "$as_me:4495: result: $LEX" >&5 +echo "${ECHO_T}$LEX" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:4498: result: no" >&5 +echo "${ECHO_T}no" >&6 fi + test -n "$LEX" && break +done +test -n "$LEX" || LEX=":" + if test -z "$LEXLIB" then - case "$LEX" in - flex*) ac_lib=fl ;; - *) ac_lib=l ;; - esac - echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:3514: checking for yywrap in -l$ac_lib" >&5 -ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-l$ac_lib $LIBS" -cat > conftest.$ac_ext <<EOF -#line 3522 "configure" + echo "$as_me:4508: checking for yywrap in -lfl" >&5 +echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 +if test "${ac_cv_lib_fl_yywrap+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lfl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line 4516 "configure" #include "confdefs.h" + /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char yywrap(); + builtin and then its argument prototype would still apply. */ +char yywrap (); +int +main () +{ +yywrap (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:4535: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:4538: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:4541: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4544: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_fl_yywrap=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_lib_fl_yywrap=no +fi +rm -f conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:4555: result: $ac_cv_lib_fl_yywrap" >&5 +echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 +if test $ac_cv_lib_fl_yywrap = yes; then + LEXLIB="-lfl" +else + echo "$as_me:4560: checking for yywrap in -ll" >&5 +echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 +if test "${ac_cv_lib_l_yywrap+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ll $LIBS" +cat >conftest.$ac_ext <<_ACEOF +#line 4568 "configure" +#include "confdefs.h" -int main() { -yywrap() -; return 0; } -EOF -if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char yywrap (); +int +main () +{ +yywrap (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:4587: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:4590: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:4593: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4596: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_l_yywrap=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_lib_l_yywrap=no fi -rm -f conftest* -LIBS="$ac_save_LIBS" - +rm -f conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LEXLIB="-l$ac_lib" -else - echo "$ac_t""no" 1>&6 +echo "$as_me:4607: result: $ac_cv_lib_l_yywrap" >&5 +echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 +if test $ac_cv_lib_l_yywrap = yes; then + LEXLIB="-ll" +fi + fi fi -echo $ac_n "checking lex output file root""... $ac_c" 1>&6 -echo "configure:3556: checking lex output file root" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test "x$LEX" != "x:"; then + echo "$as_me:4618: checking lex output file root" >&5 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 +if test "${ac_cv_prog_lex_root+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else # The minimal lex program is just a single line: %%. But some broken lexes # (Solaris, I think it was) want two %% lines, so accommodate them. @@ -3565,126 +4629,376 @@ if test -f lex.yy.c; then elif test -f lexyy.c; then ac_cv_prog_lex_root=lexyy else - { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; } + { { echo "$as_me:4632: error: cannot find output from $LEX; giving up" >&5 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} + { (exit 1); exit 1; }; } fi fi - -echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 +echo "$as_me:4637: result: $ac_cv_prog_lex_root" >&5 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root -echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 -echo "configure:3577: checking whether yytext is a pointer" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:4641: checking whether yytext is a pointer" >&5 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else # POSIX says lex can declare yytext either as a pointer or an array; the # default is implementation-dependent. Figure out which it is, since # not all implementations provide the %pointer and %array declarations. ac_cv_prog_lex_yytext_pointer=no echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c -ac_save_LIBS="$LIBS" +ac_save_LIBS=$LIBS LIBS="$LIBS $LEXLIB" -cat > conftest.$ac_ext <<EOF -#line 3589 "configure" -#include "confdefs.h" +cat >conftest.$ac_ext <<_ACEOF `cat $LEX_OUTPUT_ROOT.c` -int main() { - -; return 0; } -EOF -if { (eval echo configure:3596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:4657: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:4660: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:4663: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:4666: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_prog_lex_yytext_pointer=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 fi -rm -f conftest* -LIBS="$ac_save_LIBS" +rm -f conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_save_LIBS rm -f "${LEX_OUTPUT_ROOT}.c" fi - -echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6 +echo "$as_me:4678: result: $ac_cv_prog_lex_yytext_pointer" >&5 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 if test $ac_cv_prog_lex_yytext_pointer = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define YYTEXT_POINTER 1 EOF fi +fi ALL_LINGUAS= -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3622: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +echo "$as_me:4694: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" +break +done + fi fi -RANLIB="$ac_cv_prog_RANLIB" +RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 + echo "$as_me:4716: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:4719: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo "$as_me:4728: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_ac_ct_RANLIB="ranlib" +break +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:4751: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:4754: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:3650: checking for ANSI C header files" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + RANLIB=$ac_ct_RANLIB else - cat > conftest.$ac_ext <<EOF -#line 3655 "configure" + RANLIB="$ac_cv_prog_RANLIB" +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +echo "$as_me:4768: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + # Use a header file that comes with gcc, so configuring glibc +# with a fresh cross-compiler works. +# On the NeXT, cc -E runs the code through the compiler's parser, +# not just through cpp. "Syntax error" is here to catch this case. +ac_c_preproc_warn_flag=maybe +cat >conftest.$ac_ext <<_ACEOF +#line 4787 "configure" +#include "confdefs.h" +#include <assert.h> +Syntax error +_ACEOF +if { (eval echo "$as_me:4792: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:4798: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Now check whether non-existent headers can be detected and how +# Skip if ac_cpp_err is not empty - ac_cpp is broken +if test -z "$ac_cpp_err"; then + cat >conftest.$ac_ext <<_ACEOF +#line 4813 "configure" +#include "confdefs.h" +#include <ac_nonexistent.h> +_ACEOF +if { (eval echo "$as_me:4817: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:4823: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # cannot detect missing includes at all +ac_cpp_err=yes +else + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 + if test "x$ac_cpp_err" = xmaybe; then + ac_c_preproc_warn_flag=yes + else + ac_c_preproc_warn_flag= + fi + ac_cpp_err= +fi +rm -f conftest.err conftest.$ac_ext +fi +else + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_ext + if test -z "$ac_cpp_err"; then + break + fi + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + # Use a header file that comes with gcc, so configuring glibc +# with a fresh cross-compiler works. +# On the NeXT, cc -E runs the code through the compiler's parser, +# not just through cpp. "Syntax error" is here to catch this case. +ac_c_preproc_warn_flag=maybe +cat >conftest.$ac_ext <<_ACEOF +#line 4869 "configure" +#include "confdefs.h" +#include <assert.h> +Syntax error +_ACEOF +if { (eval echo "$as_me:4874: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:4880: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Now check whether non-existent headers can be detected and how +# Skip if ac_cpp_err is not empty - ac_cpp is broken +if test -z "$ac_cpp_err"; then + cat >conftest.$ac_ext <<_ACEOF +#line 4895 "configure" +#include "confdefs.h" +#include <ac_nonexistent.h> +_ACEOF +if { (eval echo "$as_me:4899: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:4905: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # cannot detect missing includes at all +ac_cpp_err=yes +else + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 + if test "x$ac_cpp_err" = xmaybe; then + ac_c_preproc_warn_flag=yes + else + ac_c_preproc_warn_flag= + fi + ac_cpp_err= +fi +rm -f conftest.err conftest.$ac_ext +fi +else + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_ext + ac_cv_prog_CPP=$CPP +fi +echo "$as_me:4938: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +if test -n "$ac_cpp_err"; then + { { echo "$as_me:4941: error: C preprocessor \"$CPP\" fails sanity check" >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} + { (exit 1); exit 1; }; } +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +echo "$as_me:4951: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 4957 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <float.h> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* + +_ACEOF +if { (eval echo "$as_me:4965: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:4971: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then ac_cv_header_stdc=yes else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 + echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* ac_cv_header_stdc=no fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -cat > conftest.$ac_ext <<EOF -#line 3680 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 4993 "configure" #include "confdefs.h" #include <string.h> -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else - rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -3693,16 +5007,16 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -cat > conftest.$ac_ext <<EOF -#line 3698 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5011 "configure" #include "confdefs.h" #include <stdlib.h> -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else - rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -3711,220 +5025,450 @@ fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -if test "$cross_compiling" = yes; then + if test "$cross_compiling" = yes; then : else - cat > conftest.$ac_ext <<EOF -#line 3719 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5032 "configure" #include "confdefs.h" #include <ctype.h> -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int main () { int i; for (i = 0; i < 256; i++) -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); -exit (0); } +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif -EOF -if { (eval echo configure:3730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:5058: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:5061: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:5063: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5066: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then : else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_header_stdc=no fi -rm -fr conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi - fi fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 +echo "$as_me:5079: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define STDC_HEADERS 1 EOF fi -echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3754: checking for working const" >&5 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5089: checking for $CC option to accept ANSI C" >&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 3759 "configure" + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +#line 5097 "configure" #include "confdefs.h" - -int main() { - -/* Ultrix mips cc rejects this. */ -typedef int charset[2]; const charset x; -/* SunOS 4.1.1 cc rejects this. */ -char const *const *ccp; -char **p; -/* NEC SVR4.0.2 mips cc rejects this. */ -struct point {int x, y;}; -static struct point const zero = {0,0}; -/* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in an arm - of an if-expression whose if-part is not a constant expression */ -const char *g = "string"; -ccp = &g + (g ? g-g : 0); -/* HPUX 7.0 cc rejects these. */ -++ccp; -p = (char**) ccp; -ccp = (char const *const *) p; -{ /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; -} -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; -} -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; +#include <stdarg.h> +#include <stdio.h> +#include <sys/types.h> +#include <sys/stat.h> +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; } -{ /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; } -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; } +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:5146: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5149: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5152: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5155: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +fi +rm -f conftest.$ac_objext +done +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC -; return 0; } -EOF -if { (eval echo configure:3808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* +fi + +case "x$ac_cv_prog_cc_stdc" in + x|xno) + echo "$as_me:5172: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:5175: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; +esac + +echo "$as_me:5180: checking for an ANSI C-conforming const" >&5 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 +if test "${ac_cv_c_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5186 "configure" +#include "confdefs.h" + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset x; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *ccp; + char **p; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + ccp = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++ccp; + p = (char**) ccp; + ccp = (char const *const *) p; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + } +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5244: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5247: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5250: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5253: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_c_const=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_c_const=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_c_const=no fi -rm -f conftest* +rm -f conftest.$ac_objext conftest.$ac_ext fi - -echo "$ac_t""$ac_cv_c_const" 1>&6 +echo "$as_me:5263: result: $ac_cv_c_const" >&5 +echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then - cat >> confdefs.h <<\EOF -#define const + +cat >>confdefs.h <<\EOF +#define const EOF fi -echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:3829: checking for inline" >&5 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5273: checking for inline" >&5 +echo $ECHO_N "checking for inline... $ECHO_C" >&6 +if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do - cat > conftest.$ac_ext <<EOF -#line 3836 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5281 "configure" #include "confdefs.h" +#ifndef __cplusplus +static $ac_kw int static_foo () {return 0; } +$ac_kw int foo () {return 0; } +#endif -int main() { -} $ac_kw foo() { -; return 0; } -EOF -if { (eval echo configure:3843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5290: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5293: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5296: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5299: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 fi -rm -f conftest* +rm -f conftest.$ac_objext conftest.$ac_ext done fi - -echo "$ac_t""$ac_cv_c_inline" 1>&6 -case "$ac_cv_c_inline" in +echo "$as_me:5310: result: $ac_cv_c_inline" >&5 +echo "${ECHO_T}$ac_cv_c_inline" >&6 +case $ac_cv_c_inline in inline | yes) ;; - no) cat >> confdefs.h <<\EOF -#define inline + no) +cat >>confdefs.h <<\EOF +#define inline EOF ;; - *) cat >> confdefs.h <<EOF + *) cat >>confdefs.h <<EOF #define inline $ac_cv_c_inline EOF ;; esac -echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:3869: checking for off_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 3874 "configure" +for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h +do +ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` +echo "$as_me:5328: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5334 "configure" #include "confdefs.h" -#include <sys/types.h> -#if STDC_HEADERS -#include <stdlib.h> -#include <stddef.h> -#endif +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:5338: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:5344: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + eval "$ac_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 + eval "$ac_ac_Header=no" +fi +rm -f conftest.err conftest.$ac_ext +fi +echo "$as_me:5363: result: `eval echo '${'$ac_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +if test `eval echo '${'$ac_ac_Header'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* + +fi +done + +echo "$as_me:5373: checking for off_t" >&5 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6 +if test "${ac_cv_type_off_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5379 "configure" +#include "confdefs.h" +$ac_includes_default +int +main () +{ +if ((off_t *) 0) + return 0; +if (sizeof (off_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5394: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5397: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5400: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5403: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_type_off_t=yes else - rm -rf conftest* - ac_cv_type_off_t=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_type_off_t=no fi -rm -f conftest* - +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$ac_t""$ac_cv_type_off_t" 1>&6 -if test $ac_cv_type_off_t = no; then - cat >> confdefs.h <<\EOF +echo "$as_me:5413: result: $ac_cv_type_off_t" >&5 +echo "${ECHO_T}$ac_cv_type_off_t" >&6 +if test $ac_cv_type_off_t = yes; then + : +else + +cat >>confdefs.h <<EOF #define off_t long EOF fi -echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:3902: checking for size_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5425: checking for size_t" >&5 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6 +if test "${ac_cv_type_size_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 3907 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5431 "configure" #include "confdefs.h" -#include <sys/types.h> -#if STDC_HEADERS -#include <stdlib.h> -#include <stddef.h> -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* +$ac_includes_default +int +main () +{ +if ((size_t *) 0) + return 0; +if (sizeof (size_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5446: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5449: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5452: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5455: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_type_size_t=yes else - rm -rf conftest* - ac_cv_type_size_t=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_type_size_t=no fi -rm -f conftest* - +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$ac_t""$ac_cv_type_size_t" 1>&6 -if test $ac_cv_type_size_t = no; then - cat >> confdefs.h <<\EOF +echo "$as_me:5465: result: $ac_cv_type_size_t" >&5 +echo "${ECHO_T}$ac_cv_type_size_t" >&6 +if test $ac_cv_type_size_t = yes; then + : +else + +cat >>confdefs.h <<EOF #define size_t unsigned EOF @@ -3932,48 +5476,61 @@ fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:3937: checking for working alloca.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5479: checking for working alloca.h" >&5 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 +if test "${ac_cv_working_alloca_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 3942 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5485 "configure" #include "confdefs.h" #include <alloca.h> -int main() { -char *p = alloca(2 * sizeof(int)); -; return 0; } -EOF -if { (eval echo configure:3949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_header_alloca_h=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_alloca_h=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 -if test $ac_cv_header_alloca_h = yes; then - cat >> confdefs.h <<\EOF +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:5497: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:5500: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:5503: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5506: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_working_alloca_h=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_working_alloca_h=no +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:5516: result: $ac_cv_working_alloca_h" >&5 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 +if test $ac_cv_working_alloca_h = yes; then + +cat >>confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF fi -echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:3970: checking for alloca" >&5 -if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5526: checking for alloca" >&5 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6 +if test "${ac_cv_func_alloca_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 3975 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5532 "configure" #include "confdefs.h" - #ifdef __GNUC__ # define alloca __builtin_alloca #else @@ -3995,48 +5552,62 @@ char *alloca (); # endif #endif -int main() { -char *p = (char *) alloca(1); -; return 0; } -EOF -if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* +int +main () +{ +char *p = (char *) alloca (1); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:5564: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:5567: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:5570: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5573: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_func_alloca_works=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_func_alloca_works=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_func_alloca_works=no fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi +echo "$as_me:5583: result: $ac_cv_func_alloca_works" >&5 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 -echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF -fi - -if test $ac_cv_func_alloca_works = no; then +else # The SVR3 libPW and SVR4 libucb both contain incompatible functions - # that cause trouble. Some versions do not even contain alloca or - # contain a buggy version. If you still want to use their alloca, - # use ar to extract alloca.o from them instead of compiling alloca.c. - ALLOCA=alloca.${ac_objext} - cat >> confdefs.h <<\EOF +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=alloca.$ac_objext + +cat >>confdefs.h <<\EOF #define C_ALLOCA 1 EOF - -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:4035: checking whether alloca needs Cray hooks" >&5 -if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5604: checking whether \`alloca.c' needs Cray hooks" >&5 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 +if test "${ac_cv_os_cray+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 4040 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5610 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -4044,88 +5615,103 @@ webecray wenotbecray #endif -EOF +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "webecray" >/dev/null 2>&1; then - rm -rf conftest* ac_cv_os_cray=yes else - rm -rf conftest* ac_cv_os_cray=no fi rm -f conftest* fi - -echo "$ac_t""$ac_cv_os_cray" 1>&6 +echo "$as_me:5628: result: $ac_cv_os_cray" >&5 +echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then -for ac_func in _getb67 GETB67 getb67; do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4065: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4070 "configure" + for ac_func in _getb67 GETB67 getb67; do + ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:5633: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5639 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } -EOF -if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<EOF + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:5670: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:5673: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:5676: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5679: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:5689: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + +cat >>confdefs.h <<EOF #define CRAY_STACKSEG_END $ac_func EOF - break -else - echo "$ac_t""no" 1>&6 + break fi -done + done fi -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:4120: checking stack direction for C alloca" >&5 -if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5703: checking stack direction for C alloca" >&5 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 +if test "${ac_cv_c_stack_direction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else - cat > conftest.$ac_ext <<EOF -#line 4128 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5712 "configure" #include "confdefs.h" +int find_stack_direction () { static char *addr = 0; @@ -4138,139 +5724,171 @@ find_stack_direction () else return (&dummy > addr) ? 1 : -1; } + +int main () { - exit (find_stack_direction() < 0); + exit (find_stack_direction () < 0); } -EOF -if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:5735: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:5738: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:5740: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5743: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_c_stack_direction=-1 + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_c_stack_direction=-1 fi -rm -fr conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi - fi +echo "$as_me:5755: result: $ac_cv_c_stack_direction" >&5 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 -echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define STACK_DIRECTION $ac_cv_c_stack_direction EOF fi -for ac_hdr in unistd.h +for ac_header in stdlib.h unistd.h do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4172: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4177 "configure" +ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` +echo "$as_me:5767: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5773 "configure" #include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:5777: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:5783: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + eval "$ac_ac_Header=yes" else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 + echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + eval "$ac_ac_Header=no" fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 +echo "$as_me:5802: result: `eval echo '${'$ac_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +if test `eval echo '${'$ac_ac_Header'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 EOF - -else - echo "$ac_t""no" 1>&6 + fi done for ac_func in getpagesize do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4211: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4216 "configure" +ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:5815: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5821 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:5852: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:5855: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:5858: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5861: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:5871: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 EOF -if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 fi done -echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:4264: checking for working mmap" >&5 -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:5881: checking for working mmap" >&5 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no else - cat > conftest.$ac_ext <<EOF -#line 4272 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 5890 "configure" #include "confdefs.h" - /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed @@ -4283,7 +5901,7 @@ else back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the - VM page cache was not coherent with the filesystem buffer cache + VM page cache was not coherent with the file system buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propogated back to all the places they're supposed to be. @@ -4296,21 +5914,27 @@ else #include <fcntl.h> #include <sys/mman.h> -/* This mess was copied from the GNU getpagesize.h. */ -#ifndef HAVE_GETPAGESIZE -# ifdef HAVE_UNISTD_H -# include <unistd.h> -# endif +#if STDC_HEADERS || HAVE_STDLIB_H +# include <stdlib.h> +#else +char *malloc (); +#endif +#if HAVE_UNISTD_H +# include <unistd.h> +#endif +#include <sys/stat.h> +/* This mess was copied from the GNU getpagesize.h. */ +#if !HAVE_GETPAGESIZE /* Assume that all systems that can run configure have sys/param.h. */ -# ifndef HAVE_SYS_PARAM_H +# if !HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ -# ifdef HAVE_SYS_PARAM_H +# if HAVE_SYS_PARAM_H # include <sys/param.h> # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE @@ -4337,327 +5961,374 @@ else #endif /* no HAVE_GETPAGESIZE */ -#ifdef __cplusplus -extern "C" { void *malloc(unsigned); } -#else -char *malloc(); -#endif - int -main() +main () { - char *data, *data2, *data3; - int i, pagesize; - int fd; - - pagesize = getpagesize(); - - /* - * First, make a file with some known garbage in it. - */ - data = malloc(pagesize); - if (!data) - exit(1); - for (i = 0; i < pagesize; ++i) - *(data + i) = rand(); - umask(0); - fd = creat("conftestmmap", 0600); - if (fd < 0) - exit(1); - if (write(fd, data, pagesize) != pagesize) - exit(1); - close(fd); - - /* - * Next, try to mmap the file at a fixed address which - * already has something else allocated at it. If we can, - * also make sure that we see the same garbage. - */ - fd = open("conftestmmap", O_RDWR); - if (fd < 0) - exit(1); - data2 = malloc(2 * pagesize); - if (!data2) - exit(1); - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); - if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_FIXED, fd, 0L)) - exit(1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data2 + i)) - exit(1); - - /* - * Finally, make sure that changes to the mapped area - * do not percolate back to the file as seen by read(). - * (This is a bug on some variants of i386 svr4.0.) - */ - for (i = 0; i < pagesize; ++i) - *(data2 + i) = *(data2 + i) + 1; - data3 = malloc(pagesize); - if (!data3) - exit(1); - if (read(fd, data3, pagesize) != pagesize) - exit(1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data3 + i)) - exit(1); - close(fd); - unlink("conftestmmap"); - exit(0); + char *data, *data2, *data3; + int i, pagesize; + int fd; + + pagesize = getpagesize (); + + /* First, make a file with some known garbage in it. */ + data = (char *) malloc (pagesize); + if (!data) + exit (1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand (); + umask (0); + fd = creat ("conftest.mmap", 0600); + if (fd < 0) + exit (1); + if (write (fd, data, pagesize) != pagesize) + exit (1); + close (fd); + + /* Next, try to mmap the file at a fixed address which already has + something else allocated at it. If we can, also make sure that + we see the same garbage. */ + fd = open ("conftest.mmap", O_RDWR); + if (fd < 0) + exit (1); + data2 = (char *) malloc (2 * pagesize); + if (!data2) + exit (1); + data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_FIXED, fd, 0L)) + exit (1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit (1); + + /* Finally, make sure that changes to the mapped area do not + percolate back to the file as seen by read(). (This is a bug on + some variants of i386 svr4.0.) */ + for (i = 0; i < pagesize; ++i) + *(data2 + i) = *(data2 + i) + 1; + data3 = (char *) malloc (pagesize); + if (!data3) + exit (1); + if (read (fd, data3, pagesize) != pagesize) + exit (1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data3 + i)) + exit (1); + close (fd); + exit (0); } - -EOF -if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:6022: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6025: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:6027: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6030: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_func_mmap_fixed_mapped=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_func_mmap_fixed_mapped=no + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_func_mmap_fixed_mapped=no fi -rm -fr conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi - fi - -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 +echo "$as_me:6042: result: $ac_cv_func_mmap_fixed_mapped" >&5 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define HAVE_MMAP 1 EOF fi +rm -f conftest.mmap - - for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ +for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h values.h sys/param.h do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4440: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4445 "configure" +ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` +echo "$as_me:6057: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 6063 "configure" #include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:6067: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:6073: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + eval "$ac_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + eval "$ac_ac_Header=no" fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 +echo "$as_me:6092: result: `eval echo '${'$ac_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +if test `eval echo '${'$ac_ac_Header'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 EOF - -else - echo "$ac_t""no" 1>&6 + fi done - for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ +for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ __argz_count __argz_stringify __argz_next do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4480: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4485 "configure" +ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:6106: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 6112 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6143: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6146: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6149: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6152: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:6162: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 EOF -if { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 fi done - if test "${ac_cv_func_stpcpy+set}" != "set"; then - for ac_func in stpcpy + +for ac_func in stpcpy do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4537: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4542 "configure" +ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:6177: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 6183 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6214: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6217: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6220: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6223: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:6233: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 EOF -if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 fi done fi if test "${ac_cv_func_stpcpy}" = "yes"; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define HAVE_STPCPY 1 EOF fi if test $ac_cv_header_locale_h = yes; then - echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:4599: checking for LC_MESSAGES" >&5 -if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:6253: checking for LC_MESSAGES" >&5 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 +if test "${am_cv_val_LC_MESSAGES+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 4604 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 6259 "configure" #include "confdefs.h" #include <locale.h> -int main() { +int +main () +{ return LC_MESSAGES -; return 0; } -EOF -if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6271: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6274: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6277: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6280: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then am_cv_val_LC_MESSAGES=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - am_cv_val_LC_MESSAGES=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +am_cv_val_LC_MESSAGES=no fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi - -echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 +echo "$as_me:6290: result: $am_cv_val_LC_MESSAGES" >&5 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 if test $am_cv_val_LC_MESSAGES = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define HAVE_LC_MESSAGES 1 EOF fi fi - echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 -echo "configure:4632: checking whether NLS is requested" >&5 + echo "$as_me:6300: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" USE_NLS=$enableval else USE_NLS=yes -fi - - echo "$ac_t""$USE_NLS" 1>&6 - +fi; + echo "$as_me:6309: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6 USE_INCLUDED_LIBINTL=no if test "$USE_NLS" = "yes"; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define ENABLE_NLS 1 EOF - echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 -echo "configure:4652: checking whether included gettext is requested" >&5 - # Check whether --with-included-gettext or --without-included-gettext was given. + echo "$as_me:6320: checking whether included gettext is requested" >&5 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 + +# Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" nls_cv_force_use_gnu_gettext=$withval else nls_cv_force_use_gnu_gettext=no -fi - - echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 +fi; + echo "$as_me:6330: result: $nls_cv_force_use_gnu_gettext" >&5 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then @@ -4665,141 +6336,191 @@ fi nls_cv_header_libgt= CATOBJEXT=NONE - ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 -echo "configure:4671: checking for libintl.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:6339: checking for libintl.h" >&5 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 +if test "${ac_cv_header_libintl_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 4676 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 6345 "configure" #include "confdefs.h" #include <libintl.h> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" +_ACEOF +if { (eval echo "$as_me:6349: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:6355: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_cv_header_libintl_h=yes +else + echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + ac_cv_header_libintl_h=no fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 -echo "configure:4698: checking for gettext in libc" >&5 -if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:6374: result: $ac_cv_header_libintl_h" >&5 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 +if test $ac_cv_header_libintl_h = yes; then + echo "$as_me:6377: checking for gettext in libc" >&5 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6 +if test "${gt_cv_func_gettext_libc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 4703 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 6383 "configure" #include "confdefs.h" #include <libintl.h> -int main() { +int +main () +{ return (int) gettext ("") -; return 0; } -EOF -if { (eval echo configure:4710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6395: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6398: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6401: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6404: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gt_cv_func_gettext_libc=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gt_cv_func_gettext_libc=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gt_cv_func_gettext_libc=no fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi - -echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 +echo "$as_me:6414: result: $gt_cv_func_gettext_libc" >&5 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6 if test "$gt_cv_func_gettext_libc" != "yes"; then - echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 -echo "configure:4726: checking for bindtextdomain in -lintl" >&5 -ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:6418: checking for bindtextdomain in -lintl" >&5 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 +if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_save_LIBS="$LIBS" + ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" -cat > conftest.$ac_ext <<EOF -#line 4734 "configure" +cat >conftest.$ac_ext <<_ACEOF +#line 6426 "configure" #include "confdefs.h" + /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char bindtextdomain(); - -int main() { -bindtextdomain() -; return 0; } -EOF -if { (eval echo configure:4745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 -echo "configure:4761: checking for gettext in libintl" >&5 -if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4766 "configure" + builtin and then its argument prototype would still apply. */ +char bindtextdomain (); +int +main () +{ +bindtextdomain (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6445: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6448: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6451: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6454: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_intl_bindtextdomain=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_lib_intl_bindtextdomain=no +fi +rm -f conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:6465: result: $ac_cv_lib_intl_bindtextdomain" >&5 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 +if test $ac_cv_lib_intl_bindtextdomain = yes; then + echo "$as_me:6468: checking for gettext in libintl" >&5 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6 +if test "${gt_cv_func_gettext_libintl+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 6474 "configure" #include "confdefs.h" -int main() { +int +main () +{ return (int) gettext ("") -; return 0; } -EOF -if { (eval echo configure:4773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6486: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6489: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6492: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6495: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gt_cv_func_gettext_libintl=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gt_cv_func_gettext_libintl=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gt_cv_func_gettext_libintl=no fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi - -echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 -else - echo "$ac_t""no" 1>&6 +echo "$as_me:6505: result: $gt_cv_func_gettext_libintl" >&5 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6 fi fi if test "$gt_cv_func_gettext_libc" = "yes" \ || test "$gt_cv_func_gettext_libintl" = "yes"; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define HAVE_GETTEXT 1 EOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4801: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:6520: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_MSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGFMT" in /*) @@ -4823,108 +6544,126 @@ esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then - echo "$ac_t""$MSGFMT" 1>&6 + echo "$as_me:6547: result: $MSGFMT" >&5 +echo "${ECHO_T}$MSGFMT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:6550: result: no" >&5 +echo "${ECHO_T}no" >&6 fi if test "$MSGFMT" != "no"; then - for ac_func in dcgettext + +for ac_func in dcgettext do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4835: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 4840 "configure" +ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:6558: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 6564 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6595: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6598: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6601: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6604: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:6614: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 EOF -if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 fi done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4890: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:6626: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GMSGFMT" in - /*) + case $GMSGFMT in + [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; - ?:/*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. - ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GMSGFMT="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_GMSGFMT="$ac_dir/$ac_word" + break +fi +done + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi -GMSGFMT="$ac_cv_path_GMSGFMT" +GMSGFMT=$ac_cv_path_GMSGFMT + if test -n "$GMSGFMT"; then - echo "$ac_t""$GMSGFMT" 1>&6 + echo "$as_me:6654: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:6657: result: no" >&5 +echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4926: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:6663: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_XGETTEXT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) @@ -4948,42 +6687,53 @@ esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then - echo "$ac_t""$XGETTEXT" 1>&6 + echo "$as_me:6690: result: $XGETTEXT" >&5 +echo "${ECHO_T}$XGETTEXT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:6693: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - cat > conftest.$ac_ext <<EOF -#line 4958 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 6698 "configure" #include "confdefs.h" -int main() { +int +main () +{ extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr -; return 0; } -EOF -if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6711: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6714: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6717: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6720: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then CATOBJEXT=.gmo DATADIRNAME=share else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CATOBJEXT=.mo + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +CATOBJEXT=.mo DATADIRNAME=lib fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext INSTOBJEXT=.mo fi fi - -else - echo "$ac_t""no" 1>&6 -fi +fi - if test "$CATOBJEXT" = "NONE"; then nls_cv_use_gnu_gettext=yes fi @@ -4993,10 +6743,10 @@ fi INTLOBJS="\$(GETTOBJS)" # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4998: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:6746: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_MSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGFMT" in /*) @@ -5020,53 +6770,56 @@ esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then - echo "$ac_t""$MSGFMT" 1>&6 + echo "$as_me:6773: result: $MSGFMT" >&5 +echo "${ECHO_T}$MSGFMT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:6776: result: no" >&5 +echo "${ECHO_T}no" >&6 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5032: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:6782: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GMSGFMT" in - /*) + case $GMSGFMT in + [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; - ?:/*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. - ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GMSGFMT="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_GMSGFMT="$ac_dir/$ac_word" + break +fi +done + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi -GMSGFMT="$ac_cv_path_GMSGFMT" +GMSGFMT=$ac_cv_path_GMSGFMT + if test -n "$GMSGFMT"; then - echo "$ac_t""$GMSGFMT" 1>&6 + echo "$as_me:6810: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:6813: result: no" >&5 +echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5068: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:6819: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_XGETTEXT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) @@ -5090,12 +6843,13 @@ esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then - echo "$ac_t""$XGETTEXT" 1>&6 + echo "$as_me:6846: result: $XGETTEXT" >&5 +echo "${ECHO_T}$XGETTEXT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:6849: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - USE_INCLUDED_LIBINTL=yes CATOBJEXT=.gmo INSTOBJEXT=.mo @@ -5111,7 +6865,8 @@ fi if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else - echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6 + echo "$as_me:6868: result: found xgettext programs is not GNU xgettext; ignore it" >&5 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6 XGETTEXT=":" fi fi @@ -5136,25 +6891,12 @@ fi POFILES="$POFILES $lang.po" done - - - - - - - - - - - - - if test "x$CATOBJEXT" != "x"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else - echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 -echo "configure:5158: checking for catalogs to be installed" >&5 + echo "$as_me:6898: checking for catalogs to be installed" >&5 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in @@ -5162,7 +6904,8 @@ echo "configure:5158: checking for catalogs to be installed" >&5 esac done LINGUAS=$NEW_LINGUAS - echo "$ac_t""$LINGUAS" 1>&6 + echo "$as_me:6907: result: $LINGUAS" >&5 +echo "${ECHO_T}$LINGUAS" >&6 fi if test -n "$LINGUAS"; then @@ -5176,45 +6919,52 @@ echo "configure:5158: checking for catalogs to be installed" >&5 INCLUDE_LOCALE_H="\ /* The system does not provide the header <locale.h>. Take care yourself. */" fi - if test -f $srcdir/po2tbl.sed.in; then if test "$CATOBJEXT" = ".cat"; then - ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 -echo "configure:5186: checking for linux/version.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5191 "configure" + echo "$as_me:6925: checking for linux/version.h" >&5 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 +if test "${ac_cv_header_linux_version_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 6931 "configure" #include "confdefs.h" #include <linux/version.h> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" +_ACEOF +if { (eval echo "$as_me:6935: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:6941: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + else + ac_cpp_err= + fi else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_cv_header_linux_version_h=yes +else + echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + ac_cv_header_linux_version_h=no fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 +echo "$as_me:6960: result: $ac_cv_header_linux_version_h" >&5 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 +if test $ac_cv_header_linux_version_h = yes; then msgformat=linux else - echo "$ac_t""no" 1>&6 -msgformat=xopen + msgformat=xopen fi - sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed fi sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ @@ -5228,14 +6978,10 @@ fi GT_NO= GT_YES="#YES#" fi - - MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs" - l= - if test -d $srcdir/po; then test -d po || mkdir po @@ -5252,20 +6998,18 @@ fi sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES fi - -echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:5259: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "$as_me:7002: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no -fi - - echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 - +fi; + echo "$as_me:7011: result: $USE_MAINTAINER_MODE" >&5 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= @@ -5275,142 +7019,129 @@ else MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE - - - -echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:5284: checking for executable suffix" >&5 -if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$CYGWIN" = yes || test "$MINGW32" = yes; then - ac_cv_exeext=.exe -else - rm -f conftest* - echo 'int main () { return 0; }' > conftest.$ac_ext - ac_cv_exeext= - if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - for file in conftest.*; do - case $file in - *.c | *.o | *.obj) ;; - *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; - esac - done +for ac_header in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h +do +ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` +echo "$as_me:7026: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 7032 "configure" +#include "confdefs.h" +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:7036: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + egrep -v '^ *\+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:7042: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag else - { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } + ac_cpp_err= fi - rm -f conftest* - test x"${ac_cv_exeext}" = x && ac_cv_exeext=no -fi +else + ac_cpp_err=yes fi - -EXEEXT="" -test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} -echo "$ac_t""${ac_cv_exeext}" 1>&6 -ac_exeext=$EXEEXT - - -for ac_hdr in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5319: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5324 "configure" -#include "confdefs.h" -#include <$ac_hdr> -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" +if test -z "$ac_cpp_err"; then + eval "$ac_ac_Header=yes" else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 + echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + eval "$ac_ac_Header=no" fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <<EOF -#define $ac_tr_hdr 1 +echo "$as_me:7061: result: `eval echo '${'$ac_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 +if test `eval echo '${'$ac_ac_Header'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 EOF - -else - echo "$ac_t""no" 1>&6 + fi done - # Put this here so that autoconf's "cross-compiling" message doesn't confuse # people who are not cross-compiling but are compiling cross-assemblers. -echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6 -echo "configure:5359: checking whether compiling a cross-assembler" >&5 +echo "$as_me:7073: checking whether compiling a cross-assembler" >&5 +echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6 if test "${host}" = "${target}"; then cross_gas=no else cross_gas=yes - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define CROSS_COMPILE 1 EOF fi -echo "$ac_t""$cross_gas" 1>&6 +echo "$as_me:7085: result: $cross_gas" >&5 +echo "${ECHO_T}$cross_gas" >&6 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:5374: checking for working alloca.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7090: checking for working alloca.h" >&5 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 +if test "${ac_cv_working_alloca_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 5379 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7096 "configure" #include "confdefs.h" #include <alloca.h> -int main() { -char *p = alloca(2 * sizeof(int)); -; return 0; } -EOF -if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_header_alloca_h=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_alloca_h=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 -if test $ac_cv_header_alloca_h = yes; then - cat >> confdefs.h <<\EOF +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7108: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7111: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7114: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7117: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_working_alloca_h=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_working_alloca_h=no +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:7127: result: $ac_cv_working_alloca_h" >&5 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 +if test $ac_cv_working_alloca_h = yes; then + +cat >>confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF fi -echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:5407: checking for alloca" >&5 -if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7137: checking for alloca" >&5 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6 +if test "${ac_cv_func_alloca_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 5412 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7143 "configure" #include "confdefs.h" - #ifdef __GNUC__ # define alloca __builtin_alloca #else @@ -5432,48 +7163,62 @@ char *alloca (); # endif #endif -int main() { -char *p = (char *) alloca(1); -; return 0; } -EOF -if { (eval echo configure:5440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* +int +main () +{ +char *p = (char *) alloca (1); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7175: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7178: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7181: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7184: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_func_alloca_works=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_func_alloca_works=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_func_alloca_works=no fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi +echo "$as_me:7194: result: $ac_cv_func_alloca_works" >&5 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 -echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF -fi - -if test $ac_cv_func_alloca_works = no; then +else # The SVR3 libPW and SVR4 libucb both contain incompatible functions - # that cause trouble. Some versions do not even contain alloca or - # contain a buggy version. If you still want to use their alloca, - # use ar to extract alloca.o from them instead of compiling alloca.c. - ALLOCA=alloca.${ac_objext} - cat >> confdefs.h <<\EOF +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=alloca.$ac_objext + +cat >>confdefs.h <<\EOF #define C_ALLOCA 1 EOF - -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:5472: checking whether alloca needs Cray hooks" >&5 -if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7215: checking whether \`alloca.c' needs Cray hooks" >&5 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 +if test "${ac_cv_os_cray+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 5477 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7221 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -5481,88 +7226,103 @@ webecray wenotbecray #endif -EOF +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "webecray" >/dev/null 2>&1; then - rm -rf conftest* ac_cv_os_cray=yes else - rm -rf conftest* ac_cv_os_cray=no fi rm -f conftest* fi - -echo "$ac_t""$ac_cv_os_cray" 1>&6 +echo "$as_me:7239: result: $ac_cv_os_cray" >&5 +echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then -for ac_func in _getb67 GETB67 getb67; do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5502: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5507 "configure" + for ac_func in _getb67 GETB67 getb67; do + ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:7244: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 7250 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } -EOF -if { (eval echo configure:5530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<EOF + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7281: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7284: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7287: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7290: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:7300: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + +cat >>confdefs.h <<EOF #define CRAY_STACKSEG_END $ac_func EOF - break -else - echo "$ac_t""no" 1>&6 + break fi -done + done fi -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:5557: checking stack direction for C alloca" >&5 -if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7314: checking stack direction for C alloca" >&5 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 +if test "${ac_cv_c_stack_direction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else - cat > conftest.$ac_ext <<EOF -#line 5565 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7323 "configure" #include "confdefs.h" +int find_stack_direction () { static char *addr = 0; @@ -5575,331 +7335,415 @@ find_stack_direction () else return (&dummy > addr) ? 1 : -1; } + +int main () { - exit (find_stack_direction() < 0); + exit (find_stack_direction () < 0); } -EOF -if { (eval echo configure:5584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:7346: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7349: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:7351: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7354: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_c_stack_direction=-1 + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_c_stack_direction=-1 fi -rm -fr conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi - fi +echo "$as_me:7366: result: $ac_cv_c_stack_direction" >&5 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 -echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 -cat >> confdefs.h <<EOF +cat >>confdefs.h <<EOF #define STACK_DIRECTION $ac_cv_c_stack_direction EOF fi -echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:5606: checking for inline" >&5 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7375: checking for inline" >&5 +echo $ECHO_N "checking for inline... $ECHO_C" >&6 +if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do - cat > conftest.$ac_ext <<EOF -#line 5613 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7383 "configure" #include "confdefs.h" +#ifndef __cplusplus +static $ac_kw int static_foo () {return 0; } +$ac_kw int foo () {return 0; } +#endif -int main() { -} $ac_kw foo() { -; return 0; } -EOF -if { (eval echo configure:5620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:7392: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:7395: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:7398: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7401: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 fi -rm -f conftest* +rm -f conftest.$ac_objext conftest.$ac_ext done fi - -echo "$ac_t""$ac_cv_c_inline" 1>&6 -case "$ac_cv_c_inline" in +echo "$as_me:7412: result: $ac_cv_c_inline" >&5 +echo "${ECHO_T}$ac_cv_c_inline" >&6 +case $ac_cv_c_inline in inline | yes) ;; - no) cat >> confdefs.h <<\EOF -#define inline + no) +cat >>confdefs.h <<\EOF +#define inline EOF ;; - *) cat >> confdefs.h <<EOF + *) cat >>confdefs.h <<EOF #define inline $ac_cv_c_inline EOF ;; esac - # VMS doesn't have unlink. + for ac_func in unlink remove do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5650: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5655 "configure" +ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:7432: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 7438 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } -EOF -if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7469: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7472: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7475: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7478: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:7488: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 EOF break -else - echo "$ac_t""no" 1>&6 fi done - # Some systems don't have sbrk(). + for ac_func in sbrk do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5707: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 5712 "configure" +ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` +echo "$as_me:7503: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$ac_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 7509 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ + which can conflict with char $ac_func (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { + builtin and then its argument prototype would still apply. */ +char $ac_func (); +char (*f) (); +int +main () +{ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +f = $ac_func; #endif -; return 0; } + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7540: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7543: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7546: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7549: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$ac_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +eval "$ac_ac_var=no" +fi +rm -f conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:7559: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 +if test `eval echo '${'$ac_ac_var'}'` = yes; then + cat >>confdefs.h <<EOF +#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 EOF -if { (eval echo configure:5735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <<EOF -#define $ac_tr_func 1 -EOF - -else - echo "$ac_t""no" 1>&6 fi done - # do we need the math library? case "${need_libm}" in -yes) +yes) LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32*) # These system don't have libm ;; *-ncr-sysv4.3*) - echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 -echo "configure:5770: checking for _mwvalidcheckl in -lmw" >&5 -ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:7578: checking for _mwvalidcheckl in -lmw" >&5 +echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6 +if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_save_LIBS="$LIBS" + ac_check_lib_save_LIBS=$LIBS LIBS="-lmw $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5778 "configure" +cat >conftest.$ac_ext <<_ACEOF +#line 7586 "configure" #include "confdefs.h" + /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char _mwvalidcheckl(); - -int main() { -_mwvalidcheckl() -; return 0; } -EOF -if { (eval echo configure:5789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 + builtin and then its argument prototype would still apply. */ +char _mwvalidcheckl (); +int +main () +{ +_mwvalidcheckl (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7605: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7608: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7611: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7614: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_mw__mwvalidcheckl=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_lib_mw__mwvalidcheckl=no +fi +rm -f conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:7625: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 +echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6 +if test $ac_cv_lib_mw__mwvalidcheckl = yes; then LIBM="-lmw" -else - echo "$ac_t""no" 1>&6 fi - echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:5810: checking for main in -lm" >&5 -ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:7631: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_save_LIBS="$LIBS" + ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5818 "configure" +cat >conftest.$ac_ext <<_ACEOF +#line 7639 "configure" #include "confdefs.h" -int main() { -main() -; return 0; } -EOF -if { (eval echo configure:5825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 +int +main () +{ +main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7651: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7654: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7657: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7660: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_m_main=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_lib_m_main=no +fi +rm -f conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:7671: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6 +if test $ac_cv_lib_m_main = yes; then LIBM="$LIBM -lm" -else - echo "$ac_t""no" 1>&6 fi ;; *) - echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:5848: checking for main in -lm" >&5 -ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + echo "$as_me:7679: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_save_LIBS="$LIBS" + ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" -cat > conftest.$ac_ext <<EOF -#line 5856 "configure" +cat >conftest.$ac_ext <<_ACEOF +#line 7687 "configure" #include "confdefs.h" -int main() { -main() -; return 0; } -EOF -if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 +int +main () +{ +main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7699: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7702: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7705: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7708: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_m_main=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_lib_m_main=no +fi +rm -f conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:7719: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6 +if test $ac_cv_lib_m_main = yes; then LIBM="-lm" -else - echo "$ac_t""no" 1>&6 fi ;; esac - ;; esac # Some non-ANSI preprocessors botch requoting inside strings. That's bad # enough, but on some of those systems, the assert macro relies on requoting # working properly! -echo $ac_n "checking for working assert macro""... $ac_c" 1>&6 -echo "configure:5894: checking for working assert macro" >&5 -if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7734: checking for working assert macro" >&5 +echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6 +if test "${gas_cv_assert_ok+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 5899 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7740 "configure" #include "confdefs.h" #include <assert.h> #include <stdio.h> -int main() { +int +main () +{ /* check for requoting problems */ static int a, b, c, d; @@ -5909,26 +7753,37 @@ assert (!strcmp(s, "foo bar baz quux")); assert (a == b || c == d); -; return 0; } -EOF -if { (eval echo configure:5915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7761: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7764: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7767: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7770: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gas_cv_assert_ok=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gas_cv_assert_ok=no + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gas_cv_assert_ok=no fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi -echo "$ac_t""$gas_cv_assert_ok" 1>&6 -test $gas_cv_assert_ok = yes || cat >> confdefs.h <<\EOF +echo "$as_me:7780: result: $gas_cv_assert_ok" >&5 +echo "${ECHO_T}$gas_cv_assert_ok" >&6 +test $gas_cv_assert_ok = yes || +cat >>confdefs.h <<\EOF #define BROKEN_ASSERT 1 EOF - - # On some systems, the system header files may not declare malloc, realloc, # and free. There are places where gas needs these functions to have been # declared -- such as when taking their addresses. @@ -5951,663 +7806,1193 @@ gas_test_headers=" #endif " -echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6 -echo "configure:5956: checking whether declaration is required for strstr" >&5 -if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7809: checking whether declaration is required for strstr" >&5 +echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6 +if test "${gas_cv_decl_needed_strstr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 5961 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7815 "configure" #include "confdefs.h" $gas_test_headers -int main() { +int +main () +{ typedef char *(*f)(); f x; x = (f) strstr; -; return 0; } -EOF -if { (eval echo configure:5972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7831: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7834: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7837: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7840: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gas_cv_decl_needed_strstr=no else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gas_cv_decl_needed_strstr=yes + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gas_cv_decl_needed_strstr=yes fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi -echo "$ac_t""$gas_cv_decl_needed_strstr" 1>&6 +echo "$as_me:7850: result: $gas_cv_decl_needed_strstr" >&5 +echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6 if test $gas_cv_decl_needed_strstr = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define NEED_DECLARATION_STRSTR 1 EOF fi - -echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6 -echo "configure:5993: checking whether declaration is required for malloc" >&5 -if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7860: checking whether declaration is required for malloc" >&5 +echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6 +if test "${gas_cv_decl_needed_malloc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 5998 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7866 "configure" #include "confdefs.h" $gas_test_headers -int main() { +int +main () +{ typedef char *(*f)(); f x; x = (f) malloc; -; return 0; } -EOF -if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7882: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7885: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7888: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7891: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gas_cv_decl_needed_malloc=no else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gas_cv_decl_needed_malloc=yes + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gas_cv_decl_needed_malloc=yes fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi -echo "$ac_t""$gas_cv_decl_needed_malloc" 1>&6 +echo "$as_me:7901: result: $gas_cv_decl_needed_malloc" >&5 +echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6 if test $gas_cv_decl_needed_malloc = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define NEED_DECLARATION_MALLOC 1 EOF fi - -echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6 -echo "configure:6030: checking whether declaration is required for free" >&5 -if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7911: checking whether declaration is required for free" >&5 +echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6 +if test "${gas_cv_decl_needed_free+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 6035 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7917 "configure" #include "confdefs.h" $gas_test_headers -int main() { +int +main () +{ typedef void (*f)(); f x; x = (f) free; -; return 0; } -EOF -if { (eval echo configure:6046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7933: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7936: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7939: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7942: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gas_cv_decl_needed_free=no else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gas_cv_decl_needed_free=yes + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gas_cv_decl_needed_free=yes fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi -echo "$ac_t""$gas_cv_decl_needed_free" 1>&6 +echo "$as_me:7952: result: $gas_cv_decl_needed_free" >&5 +echo "${ECHO_T}$gas_cv_decl_needed_free" >&6 if test $gas_cv_decl_needed_free = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define NEED_DECLARATION_FREE 1 EOF fi - -echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6 -echo "configure:6067: checking whether declaration is required for sbrk" >&5 -if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:7962: checking whether declaration is required for sbrk" >&5 +echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6 +if test "${gas_cv_decl_needed_sbrk+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 6072 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 7968 "configure" #include "confdefs.h" $gas_test_headers -int main() { +int +main () +{ typedef char *(*f)(); f x; x = (f) sbrk; -; return 0; } -EOF -if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:7984: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:7987: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:7990: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:7993: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gas_cv_decl_needed_sbrk=no else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gas_cv_decl_needed_sbrk=yes + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gas_cv_decl_needed_sbrk=yes fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi -echo "$ac_t""$gas_cv_decl_needed_sbrk" 1>&6 +echo "$as_me:8003: result: $gas_cv_decl_needed_sbrk" >&5 +echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6 if test $gas_cv_decl_needed_sbrk = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define NEED_DECLARATION_SBRK 1 EOF fi - -echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6 -echo "configure:6104: checking whether declaration is required for environ" >&5 -if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:8013: checking whether declaration is required for environ" >&5 +echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6 +if test "${gas_cv_decl_needed_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 6109 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 8019 "configure" #include "confdefs.h" $gas_test_headers -int main() { +int +main () +{ typedef char **f; f x; x = (f) environ; -; return 0; } -EOF -if { (eval echo configure:6120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:8035: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:8038: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:8041: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:8044: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gas_cv_decl_needed_environ=no else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gas_cv_decl_needed_environ=yes + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gas_cv_decl_needed_environ=yes fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi -echo "$ac_t""$gas_cv_decl_needed_environ" 1>&6 +echo "$as_me:8054: result: $gas_cv_decl_needed_environ" >&5 +echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6 if test $gas_cv_decl_needed_environ = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define NEED_DECLARATION_ENVIRON 1 EOF fi - # Does errno.h declare errno, or do we have to add a separate declaration # for it? -echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6 -echo "configure:6144: checking whether declaration is required for errno" >&5 -if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:8067: checking whether declaration is required for errno" >&5 +echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6 +if test "${gas_cv_decl_needed_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <<EOF -#line 6149 "configure" + cat >conftest.$ac_ext <<_ACEOF +#line 8073 "configure" #include "confdefs.h" #ifdef HAVE_ERRNO_H #include <errno.h> #endif -int main() { +int +main () +{ typedef int f; f x; x = (f) errno; -; return 0; } -EOF -if { (eval echo configure:6164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:8093: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:8096: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:8099: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:8102: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then gas_cv_decl_needed_errno=no else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gas_cv_decl_needed_errno=yes + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gas_cv_decl_needed_errno=yes fi -rm -f conftest* +rm -f conftest$ac_exeext conftest.$ac_ext fi -echo "$ac_t""$gas_cv_decl_needed_errno" 1>&6 +echo "$as_me:8112: result: $gas_cv_decl_needed_errno" >&5 +echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6 if test $gas_cv_decl_needed_errno = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\EOF #define NEED_DECLARATION_ERRNO 1 EOF fi - - - -trap '' 1 2 15 -cat > confcache <<\EOF +ac_config_files="$ac_config_files Makefile doc/Makefile ${GDBINIT}:gdbinit.in po/Makefile.in:po/Make-in" +ac_config_commands="$ac_config_commands default" +cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. # -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. # -EOF +# `ac_cv_env_foo' variables (set or unset) will be overriden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. -(set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote substitution - # turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if cmp -s $cache_file confcache; then :; else if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +}' fi -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - DEFS=-DHAVE_CONFIG_H -# Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS <<EOF -#! /bin/sh +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ echo "$as_me:8203: creating $CONFIG_STATUS" >&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL # Generated automatically by configure. # Run this file to recreate the current configuration. -# This directory was configured as follows, -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# -# $0 $ac_configure_args -# # Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. +# configure, is in config.log if it exists. -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option +debug=false +as_me=\`echo "\$0" | sed 's,.*/,,'\` +SHELL=\${CONFIG_SHELL-$SHELL} + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +as_executable_p="test -f" + +# Support unset when possible. +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + +# NLS nuisances. +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 5 compiler messages saved in config.log +# 6 checking for... messages and results +exec 5>>config.log +exec 6>&1 + +cat >&5 << EOF + +## ----------------------- ## +## Running config.status. ## +## ----------------------- ## + +This file was extended by $as_me 2.49d, executed with + > $0 $@ +on `(hostname || uname -n) 2>/dev/null | sed 1q` + +EOF + +_ACEOF + +# Files that config.status was made for. +if test -n "$ac_config_files"; then + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_headers"; then + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_links"; then + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_commands"; then + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS +fi + +cat >>$CONFIG_STATUS <<\EOF + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to <bug-autoconf@gnu.org>." +EOF + +cat >>$CONFIG_STATUS <<EOF +ac_cs_version="\\ +$CONFIG_STATUS generated by $as_me (Autoconf 2.49d). +Configured on host $ac_hostname by + `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`" +srcdir=$srcdir +INSTALL="$INSTALL" +EOF + +cat >>$CONFIG_STATUS <<\EOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 do - case "\$ac_option" in + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + shift + set dummy "$ac_option" "$ac_optarg" ${1+"$@"} + shift + ;; + -*);; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_need_defaults=false;; + esac + + case $1 in + # Handling of the options. +EOF +cat >>$CONFIG_STATUS <<EOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.13" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; + echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" + exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; +EOF +cat >>$CONFIG_STATUS <<\EOF + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:8390: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + shift + CONFIG_FILES="$CONFIG_FILES $1" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + shift + CONFIG_HEADERS="$CONFIG_HEADERS $1" + ac_need_defaults=false;; + + # Handling of arguments. + 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + 'doc/Makefile' ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + '${GDBINIT}' ) CONFIG_FILES="$CONFIG_FILES ${GDBINIT}:gdbinit.in" ;; + 'po/Makefile.in' ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; + 'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + 'default' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; + + # This is an error. + -*) { { echo "$as_me:8418: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + *) { { echo "$as_me:8423: error: invalid argument: $1" >&5 +echo "$as_me: error: invalid argument: $1" >&2;} + { (exit 1); exit 1; }; };; esac + shift done -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" +EOF + +cat >>$CONFIG_STATUS <<\EOF +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit $?); exit $?; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. +: ${TMPDIR=/tmp} +{ + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=$TMPDIR/cs$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } +} + +EOF + +cat >>$CONFIG_STATUS <<EOF +# +# INIT-COMMANDS section. +# + +target_cpu_type=${target_cpu_type} + cgen_cpu_prefix=${cgen_cpu_prefix} + obj_format=${obj_format} + te_file=${te_file} -trap 'rm -fr `echo "Makefile doc/Makefile ${GDBINIT}:gdbinit.in po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF -cat >> $CONFIG_STATUS <<EOF -# Protect against being on the right side of a sed subst in config.status. -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@SHELL@%$SHELL%g -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@FFLAGS@%$FFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@host@%$host%g -s%@host_alias@%$host_alias%g -s%@host_cpu@%$host_cpu%g -s%@host_vendor@%$host_vendor%g -s%@host_os@%$host_os%g -s%@target@%$target%g -s%@target_alias@%$target_alias%g -s%@target_cpu@%$target_cpu%g -s%@target_vendor@%$target_vendor%g -s%@target_os@%$target_os%g -s%@build@%$build%g -s%@build_alias@%$build_alias%g -s%@build_cpu@%$build_cpu%g -s%@build_vendor@%$build_vendor%g -s%@build_os@%$build_os%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@PACKAGE@%$PACKAGE%g -s%@VERSION@%$VERSION%g -s%@ACLOCAL@%$ACLOCAL%g -s%@AUTOCONF@%$AUTOCONF%g -s%@AUTOMAKE@%$AUTOMAKE%g -s%@AUTOHEADER@%$AUTOHEADER%g -s%@MAKEINFO@%$MAKEINFO%g -s%@SET_MAKE@%$SET_MAKE%g -s%@CC@%$CC%g -s%@LN_S@%$LN_S%g -s%@OBJEXT@%$OBJEXT%g -s%@EXEEXT@%$EXEEXT%g -s%@RANLIB@%$RANLIB%g -s%@STRIP@%$STRIP%g -s%@LIBTOOL@%$LIBTOOL%g -s%@WARN_CFLAGS@%$WARN_CFLAGS%g -s%@GDBINIT@%$GDBINIT%g -s%@cgen_cpu_prefix@%$cgen_cpu_prefix%g -s%@extra_objects@%$extra_objects%g -s%@target_cpu_type@%$target_cpu_type%g -s%@obj_format@%$obj_format%g -s%@te_file@%$te_file%g -s%@install_tooldir@%$install_tooldir%g -s%@atof@%$atof%g -s%@BFDLIB@%$BFDLIB%g -s%@OPCODES_LIB@%$OPCODES_LIB%g -s%@ALL_OBJ_DEPS@%$ALL_OBJ_DEPS%g -s%@YACC@%$YACC%g -s%@LEX@%$LEX%g -s%@LEXLIB@%$LEXLIB%g -s%@CPP@%$CPP%g -s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g -s%@ALLOCA@%$ALLOCA%g -s%@USE_NLS@%$USE_NLS%g -s%@MSGFMT@%$MSGFMT%g -s%@GMSGFMT@%$GMSGFMT%g -s%@XGETTEXT@%$XGETTEXT%g -s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g -s%@CATALOGS@%$CATALOGS%g -s%@CATOBJEXT@%$CATOBJEXT%g -s%@DATADIRNAME@%$DATADIRNAME%g -s%@GMOFILES@%$GMOFILES%g -s%@INSTOBJEXT@%$INSTOBJEXT%g -s%@INTLDEPS@%$INTLDEPS%g -s%@INTLLIBS@%$INTLLIBS%g -s%@INTLOBJS@%$INTLOBJS%g -s%@POFILES@%$POFILES%g -s%@POSUB@%$POSUB%g -s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g -s%@GT_NO@%$GT_NO%g -s%@GT_YES@%$GT_YES%g -s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g -s%@l@%$l%g -s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g -s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g -s%@MAINT@%$MAINT%g -s%@LIBM@%$LIBM%g +cat >>$CONFIG_STATUS <<EOF + +# +# CONFIG_FILES section. +# +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "\$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF +s,@SHELL@,$SHELL,;t t +s,@exec_prefix@,$exec_prefix,;t t +s,@prefix@,$prefix,;t t +s,@program_transform_name@,$program_transform_name,;t t +s,@bindir@,$bindir,;t t +s,@sbindir@,$sbindir,;t t +s,@libexecdir@,$libexecdir,;t t +s,@datadir@,$datadir,;t t +s,@sysconfdir@,$sysconfdir,;t t +s,@sharedstatedir@,$sharedstatedir,;t t +s,@localstatedir@,$localstatedir,;t t +s,@libdir@,$libdir,;t t +s,@includedir@,$includedir,;t t +s,@oldincludedir@,$oldincludedir,;t t +s,@infodir@,$infodir,;t t +s,@mandir@,$mandir,;t t +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t +s,@ECHO_C@,$ECHO_C,;t t +s,@ECHO_N@,$ECHO_N,;t t +s,@ECHO_T@,$ECHO_T,;t t +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t +s,@DEFS@,$DEFS,;t t +s,@LIBS@,$LIBS,;t t +s,@build@,$build,;t t +s,@build_cpu@,$build_cpu,;t t +s,@build_vendor@,$build_vendor,;t t +s,@build_os@,$build_os,;t t +s,@host@,$host,;t t +s,@host_cpu@,$host_cpu,;t t +s,@host_vendor@,$host_vendor,;t t +s,@host_os@,$host_os,;t t +s,@target@,$target,;t t +s,@target_cpu@,$target_cpu,;t t +s,@target_vendor@,$target_vendor,;t t +s,@target_os@,$target_os,;t t +s,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@LDFLAGS@,$LDFLAGS,;t t +s,@ac_ct_CC@,$ac_ct_CC,;t t +s,@EXEEXT@,$EXEEXT,;t t +s,@OBJEXT@,$OBJEXT,;t t +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t +s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@PACKAGE@,$PACKAGE,;t t +s,@VERSION@,$VERSION,;t t +s,@ACLOCAL@,$ACLOCAL,;t t +s,@AUTOCONF@,$AUTOCONF,;t t +s,@AUTOMAKE@,$AUTOMAKE,;t t +s,@AUTOHEADER@,$AUTOHEADER,;t t +s,@MAKEINFO@,$MAKEINFO,;t t +s,@SET_MAKE@,$SET_MAKE,;t t +s,@LN_S@,$LN_S,;t t +s,@RANLIB@,$RANLIB,;t t +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@STRIP@,$STRIP,;t t +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t +s,@LIBTOOL@,$LIBTOOL,;t t +s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t +s,@GDBINIT@,$GDBINIT,;t t +s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t +s,@extra_objects@,$extra_objects,;t t +s,@target_cpu_type@,$target_cpu_type,;t t +s,@obj_format@,$obj_format,;t t +s,@te_file@,$te_file,;t t +s,@install_tooldir@,$install_tooldir,;t t +s,@atof@,$atof,;t t +s,@BFDLIB@,$BFDLIB,;t t +s,@OPCODES_LIB@,$OPCODES_LIB,;t t +s,@ALL_OBJ_DEPS@,$ALL_OBJ_DEPS,;t t +s,@YACC@,$YACC,;t t +s,@LEX@,$LEX,;t t +s,@LEXLIB@,$LEXLIB,;t t +s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t +s,@CPP@,$CPP,;t t +s,@CPPFLAGS@,$CPPFLAGS,;t t +s,@ALLOCA@,$ALLOCA,;t t +s,@USE_NLS@,$USE_NLS,;t t +s,@MSGFMT@,$MSGFMT,;t t +s,@GMSGFMT@,$GMSGFMT,;t t +s,@XGETTEXT@,$XGETTEXT,;t t +s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t +s,@CATALOGS@,$CATALOGS,;t t +s,@CATOBJEXT@,$CATOBJEXT,;t t +s,@DATADIRNAME@,$DATADIRNAME,;t t +s,@GMOFILES@,$GMOFILES,;t t +s,@INSTOBJEXT@,$INSTOBJEXT,;t t +s,@INTLDEPS@,$INTLDEPS,;t t +s,@INTLLIBS@,$INTLLIBS,;t t +s,@INTLOBJS@,$INTLOBJS,;t t +s,@POFILES@,$POFILES,;t t +s,@POSUB@,$POSUB,;t t +s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t +s,@GT_NO@,$GT_NO,;t t +s,@GT_YES@,$GT_YES,;t t +s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t +s,@l@,$l,;t t +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t +s,@MAINT@,$MAINT,;t t +s,@LIBM@,$LIBM,;t t CEOF + EOF -cat >> $CONFIG_STATUS <<\EOF - -# Split the substitutions into bite-sized pieces for seds with -# small command number limits, like on Digital OSF/1 and HP-UX. -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # Line after last line for current file. -ac_more_lines=: -ac_sed_cmds="" -while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file - else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file - fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file - else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" + cat >>$CONFIG_STATUS <<\EOF + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat fi -done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi -EOF - -cat >> $CONFIG_STATUS <<EOF +fi # test -n "$CONFIG_FILES" -CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile ${GDBINIT}:gdbinit.in 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 +cat >>$CONFIG_STATUS <<\EOF +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; esac - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + { case "$ac_dir" in + [\\/]* | ?:[\\/]* ) as_incr_dir=;; + *) as_incr_dir=.;; +esac +as_dummy="$ac_dir" +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do + case $as_mkdir_dir in + # Skip DOS drivespec + ?:) as_incr_dir=$as_mkdir_dir ;; + *) + as_incr_dir=$as_incr_dir/$as_mkdir_dir + test -d "$as_incr_dir" || mkdir "$as_incr_dir" + ;; + esac +done; } + + ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` else ac_dir_suffix= ac_dots= fi - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + case $srcdir in + .) ac_srcdir=. + if test -z "$ac_dots"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; + ac_srcdir=$ac_dots$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_dots$srcdir ;; esac - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_dots$INSTALL ;; esac - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac + if test x"$ac_file" != x-; then + { echo "$as_me:8710: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated automatically by config.status. */ + configure_input="Generated automatically from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]* | ?:[\\/]*) + # Absolute + test -f "$f" || { { echo "$as_me:8728: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:8741: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } +EOF +cat >>$CONFIG_STATUS <<EOF + sed "$ac_vpsub +$extrasub +EOF +cat >>$CONFIG_STATUS <<\EOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* +done +EOF +cat >>$CONFIG_STATUS <<\EOF + +# +# CONFIG_HEADER section. +# # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' -ac_dC='\3' -ac_dD='%g' -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_uB='\([ ]\)%\1#\2define\3' +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' ac_uC=' ' -ac_uD='\4%g' -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_eB='$%\1#\2define\3' -ac_eC=' ' -ac_eD='%g' - -if test "${CONFIG_HEADERS+set}" != set; then -EOF -cat >> $CONFIG_STATUS <<EOF - CONFIG_HEADERS="config.h:config.in" -EOF -cat >> $CONFIG_STATUS <<\EOF -fi -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; esac - echo creating $ac_file - - rm -f conftest.frag conftest.in conftest.out - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - cat $ac_file_inputs > conftest.in - -EOF - -# Transform confdefs.h into a sed script conftest.vals that substitutes -# the proper values into config.h.in to produce config.h. And first: -# Protect against being on the right side of a sed subst in config.status. -# Protect against being in an unquoted here document in config.status. -rm -f conftest.vals -cat > conftest.hdr <<\EOF -s/[\\&%]/\\&/g -s%[\\$`]%\\&%g -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp -s%ac_d%ac_u%gp -s%ac_u%ac_e%gp -EOF -sed -n -f conftest.hdr confdefs.h > conftest.vals -rm -f conftest.hdr + test x"$ac_file" != x- && { echo "$as_me:8802: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]* | ?:[\\/]*) + # Absolute + test -f "$f" || { { echo "$as_me:8813: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:8826: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + +EOF + +# Transform confdefs.h into two sed scripts, `conftest.defines' and +# `conftest.undefs', that substitutes the proper values into +# config.h.in to produce config.h. The first handles `#define' +# templates, and the second `#undef' templates. +# And first: Protect against being on the right side of a sed subst in +# config.status. Protect against being in an unquoted here document +# in config.status. +rm -f conftest.defines conftest.undefs +# Using a here document instead of a string reduces the quoting nightmare. +# Putting comments in sed scripts is not portable. +# +# `end' is used to avoid that the second main sed command (meant for +# 0-ary CPP macros) applies to n-ary macro definitions. +# See the Autoconf documentation for `clear'. +cat >confdef2sed.sed <<\EOF +s/[\\&,]/\\&/g +s,[\\$`],\\&,g +t clear +: clear +s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp +t end +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp +: end +EOF +# If some macros were called several times there might be several times +# the same #defines, which is useless. Nevertheless, we may not want to +# sort them, since we want the *last* AC-DEFINE to be honored. +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs +rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. -cat >> conftest.vals <<\EOF -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% +cat >>conftest.undefs <<\EOF +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, EOF -# Break up conftest.vals because some shells have a limit on -# the size of here documents, and old seds have small limits too. +# Break up conftest.defines because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS +echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS +echo ' :' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.defines >/dev/null +do + # Write a limited-size here document to $tmp/defines.sed. + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS + # Speed up: don't consider the non `#define' lines. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/defines.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines +echo ' fi # egrep' >>$CONFIG_STATUS +echo >>$CONFIG_STATUS +# Break up conftest.undefs because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail -while : +while grep . conftest.undefs >/dev/null do - ac_lines=`grep -c . conftest.vals` - # grep -c gives empty output for an empty file on some AIX systems. - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi - # Write a limited-size here document to conftest.frag. - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS + # Write a limited-size here document to $tmp/undefs.sed. + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS + # Speed up: don't consider the non `#undef' + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF - sed -f conftest.frag conftest.in > conftest.out - rm -f conftest.in - mv conftest.out conftest.in -' >> $CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail - rm -f conftest.vals - mv conftest.tail conftest.vals + sed -f $tmp/undefs.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail + rm -f conftest.undefs + mv conftest.tail conftest.undefs done -rm -f conftest.vals - -cat >> $CONFIG_STATUS <<\EOF - rm -f conftest.frag conftest.h - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h - cat conftest.in >> conftest.h - rm -f conftest.in - if cmp -s $ac_file conftest.h 2>/dev/null; then - echo "$ac_file is unchanged" - rm -f conftest.h +rm -f conftest.undefs + +cat >>$CONFIG_STATUS <<\EOF + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated automatically by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated automatically by configure. */" >$tmp/config.h else - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h + fi + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if cmp -s $ac_file $tmp/config.h 2>/dev/null; then + { echo "$as_me:8943: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" + { case "$ac_dir" in + [\\/]* | ?:[\\/]* ) as_incr_dir=;; + *) as_incr_dir=.;; +esac +as_dummy="$ac_dir" +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do + case $as_mkdir_dir in + # Skip DOS drivespec + ?:) as_incr_dir=$as_mkdir_dir ;; + *) + as_incr_dir=$as_incr_dir/$as_mkdir_dir + test -d "$as_incr_dir" || mkdir "$as_incr_dir" + ;; + esac +done; } + + fi + rm -f $ac_file + mv $tmp/config.h $ac_file fi - rm -f $ac_file - mv conftest.h $ac_file + else + cat $tmp/config.h + rm -f $tmp/config.h fi -fi; done - +done EOF -cat >> $CONFIG_STATUS <<EOF +cat >>$CONFIG_STATUS <<\EOF -target_cpu_type=${target_cpu_type} - cgen_cpu_prefix=${cgen_cpu_prefix} - obj_format=${obj_format} - te_file=${te_file} -EOF -cat >> $CONFIG_STATUS <<\EOF -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h -rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h +# +# CONFIG_COMMANDS section. +# +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` + + case $ac_dest in + default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; + default ) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h echo '#include "te-'"${te_file}"'.h"' > targ-env.h @@ -6616,10 +9001,17 @@ rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itb echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h fi - sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile -exit 0 + sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;; + esac +done +EOF + +cat >>$CONFIG_STATUS <<\EOF + +{ (exit 0); exit 0; } EOF chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 +ac_clean_files=$ac_clean_files_save + +test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; } diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in index 578f8dc..033ee0e 100644 --- a/gas/doc/Makefile.in +++ b/gas/doc/Makefile.in @@ -132,7 +132,31 @@ man_MANS = as.1 info_TEXINFOS = as.texinfo gasp.texi -CPU_DOCS = c-a29k.texi c-arc.texi c-arm.texi c-d10v.texi c-h8300.texi c-h8500.texi c-hppa.texi c-i370.texi c-i386.texi c-i860.texi c-i960.texi c-m32r.texi c-m68hc11.texi c-m68k.texi c-mips.texi c-ns32k.texi c-pdp11.texi c-pj.texi c-sh.texi c-sparc.texi c-tic54x.texi c-vax.texi c-v850.texi c-z8k.texi +CPU_DOCS = \ + c-a29k.texi \ + c-arc.texi \ + c-arm.texi \ + c-d10v.texi \ + c-h8300.texi \ + c-h8500.texi \ + c-hppa.texi \ + c-i370.texi \ + c-i386.texi \ + c-i860.texi \ + c-i960.texi \ + c-m32r.texi \ + c-m68hc11.texi \ + c-m68k.texi \ + c-mips.texi \ + c-ns32k.texi \ + c-pdp11.texi \ + c-pj.texi \ + c-sh.texi \ + c-sparc.texi \ + c-tic54x.texi \ + c-vax.texi \ + c-v850.texi \ + c-z8k.texi # This one isn't ready for prime time yet. Not even a little bit. @@ -340,7 +364,7 @@ distdir: $(DISTFILES) @for file in $(DISTFILES); do \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ diff --git a/gas/doc/as.1 b/gas/doc/as.1 index 01f7666..51036ea 100644 --- a/gas/doc/as.1 +++ b/gas/doc/as.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.7 2001/03/25 20:32:29 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Fri Apr 13 11:27:39 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" 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" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. 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\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" 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 .\} -.TH AS 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" 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 +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. 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 #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. 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 ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. 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 +. \" 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 v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .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' @@ -164,42 +117,40 @@ .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 -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" 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) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. 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 -. ds oe oe -. ds Oe OE +. 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-04-13" "GNU" +.UC .SH "NAME" -AS \- the portable GNU assembler. +\&\s-1AS\s0 \- the portable \s-1GNU\s0 assembler. .SH "SYNOPSIS" -as [ \-a[cdhlns][=file] ] [ \-D ] [ --defsym \fIsym\fR=\fIval\fR ] - [ \-f ] [ --gstabs ] [ --gdwarf2 ] [ --help ] [ \-I \fIdir\fR ] +.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 ] + [ \-\-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 | @@ -228,73 +179,73 @@ as [ \-a[cdhlns][=file] ] [ \-D ] [ --defsym \fIsym\fR=\fIval\fR ] [ \-ACA | \-ACA_A | \-ACB | \-ACC | \-AKA | \-AKB | \-AKC | \-AMC ] [ \-b ] [ \-no-relax ] - [ --m32rx | --[no-]warn-explicit-parallel-conflicts | - --W[n]p ] + [ \-\-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=\fICPU\fR ] + [ \-\-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 ] - [ --emulation=\fIname\fR ] - [ -- | \fIfiles\fR ... ] + [ \-\-trap ] [ \-\-break ] + [ \-\-emulation=\fIname\fR ] + [ \*(-- | \fIfiles\fR ... ] .SH "DESCRIPTION" -GNU \f(CWas\fR is really a family of assemblers. -If you use (or have used) the GNU assembler on one architecture, you +.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. +\&\fIpseudo-ops\fR) and assembler syntax. .PP -\f(CWas\fR is primarily intended to assemble the output of the -GNU C compiler \f(CW\fR for use by the linker -\f(CW\fR. Nevertheless, we've tried to make \f(CWas\fR +\&\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(CWas\fR always uses the same syntax as another +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(CWas\fR it assembles exactly one source +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(CWas\fR a command line that has zero or more input file +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(CWas\fR no file names it attempts to read one input file -from the \f(CWas\fR standard input, which is normally your terminal. You -may have to type \fBctl-D\fR to tell \f(CWas\fR there is no more program +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 +Use \fB\--\fR if you need to explicitly name the standard input file in your command line. .PP -If the source is empty, \f(CWas\fR produces a small, empty object +If the source is empty, \f(CW\*(C`as\*(C'\fR produces a small, empty object file. .PP -\f(CWas\fR may write warnings and error messages to the standard error +\&\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(CWas\fR automatically. Warnings report an assumption made so -that \f(CWas\fR could keep assembling a flawed program; errors report a +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(CWas\fR via the GNU C compiler (version 2), +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 2 -\& +.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 @@ -303,588 +254,467 @@ 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 GNU compiler driver with the \fB\-v\fR option to see +(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" -.Ip "\f(CW-a[cdhlmns]\fR" 4 +.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: -.Ip "\f(CW-ac\fR" 8 +.RS 4 +.Ip "\f(CW\*(C`\-ac\*(C'\fR" 4 +.IX Item "-ac" omit false conditionals -.Ip "\f(CW-ad\fR" 8 +.Ip "\f(CW\*(C`\-ad\*(C'\fR" 4 +.IX Item "-ad" omit debugging directives -.Ip "\f(CW-ah\fR" 8 +.Ip "\f(CW\*(C`\-ah\*(C'\fR" 4 +.IX Item "-ah" include high-level source -.Ip "\f(CW-al\fR" 8 +.Ip "\f(CW\*(C`\-al\*(C'\fR" 4 +.IX Item "-al" include assembly -.Ip "\f(CW-am\fR" 8 +.Ip "\f(CW\*(C`\-am\*(C'\fR" 4 +.IX Item "-am" include macro expansions -.Ip "\f(CW-an\fR" 8 +.Ip "\f(CW\*(C`\-an\*(C'\fR" 4 +.IX Item "-an" omit forms processing -.Ip "\f(CW-as\fR" 8 +.Ip "\f(CW\*(C`\-as\*(C'\fR" 4 +.IX Item "-as" include symbols -.Ip "\f(CW=file\fR" 8 +.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. -.Ip "\f(CW-D\fR" 4 +.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--defsym \fIsym\fR=\fIvalue\fR\fR" 4 +.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 +\&\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-f\fR" 4 -``fast'\*(R'---skip whitespace and comment preprocessing (assume source is +.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--gstabs\fR" 4 +.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--gdwarf2\fR" 4 +.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--help\fR" 4 +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" Print a summary of the command line options and exit. -.Ip "\f(CW--target-help\fR" 4 +.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-I \fIdir\fR\fR" 4 -Add directory \fIdir\fR to the search list for \f(CW.include\fR directives. -.Ip "\f(CW-J\fR" 4 +.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-K\fR" 4 +.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-L\fR" 4 -.Ip "\f(CW--keep-locals\fR" 4 +.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--listing-lhs-width=\fInumber\fR\fR" 4 +.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--listing-lhs-width2=\fInumber\fR\fR" 4 +.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--listing-rhs-width=\fInumber\fR\fR" 4 +.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--listing-cont-lines=\fInumber\fR\fR" 4 +\&\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-o \fIobjfile\fR\fR" 4 -Name the object-file output from \f(CWas\fR \fIobjfile\fR. -.Ip "\f(CW-R\fR" 4 +.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--statistics\fR" 4 +.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--strip-local-absolute\fR" 4 +.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-v\fR" 4 -.Ip "\f(CW-version\fR" 4 -Print the \f(CWas\fR version. -.Ip "\f(CW--version\fR" 4 -Print the \f(CWas\fR version and exit. -.Ip "\f(CW-W\fR" 4 -.Ip "\f(CW--no-warn\fR" 4 +.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--fatal-warnings\fR" 4 +.Ip "\f(CW\*(C`\-\-fatal\-warnings\*(C'\fR" 4 +.IX Item "--fatal-warnings" Treat warnings as errors. -.Ip "\f(CW--warn\fR" 4 +.Ip "\f(CW\*(C`\-\-warn\*(C'\fR" 4 +.IX Item "--warn" Don't suppress warning messages or treat them as errors. -.Ip "\f(CW-w\fR" 4 +.Ip "\f(CW\*(C`\-w\*(C'\fR" 4 +.IX Item "-w" Ignored. -.Ip "\f(CW-x\fR" 4 +.Ip "\f(CW\*(C`\-x\*(C'\fR" 4 +.IX Item "-x" Ignored. -.Ip "\f(CW-Z\fR" 4 +.Ip "\f(CW\*(C`\-Z\*(C'\fR" 4 +.IX Item "-Z" Generate an object file even after errors. -.Ip "\f(CW-- | \fIfiles\fR ...\fR" 4 +.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-marc[5|6|7|8]\fR" 4 +.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-EB | -EL\fR" 4 -Select either big-endian (\-\s-1EB\s0) or little-endian (\-\s-1EL\s0) output. +.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-m[arm][1|2|3|6|7|8|9][...] \fR" 4 +.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-m[arm]v[2|2a|3|3m|4|4t|5|5t]\fR" 4 +.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-mthumb | -mall\fR" 4 +.Ip "\f(CW\*(C`\-mthumb | \-mall\*(C'\fR" 4 +.IX Item "-mthumb | -mall" Enable or disable Thumb only instruction decoding. -.Ip "\f(CW-mfpa10 | -mfpa11 | -mfpe-old | -mno-fpu\fR" 4 +.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-mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrant | -moabi\fR" 4 +.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-EB | -EL\fR" 4 -Select either big-endian (\-\s-1EB\s0) or little-endian (\-\s-1EL\s0) output. -.Ip "\f(CW-mthumb-interwork\fR" 4 +.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-k\fR" 4 +\&\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-O\fR" 4 +.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-O\fR" 4 +.Ip "\f(CW\*(C`\-O\*(C'\fR" 4 +.IX Item "-O" Optimize output by parallelizing instructions. -.Ip "\f(CW-n\fR" 4 +.Ip "\f(CW\*(C`\-n\*(C'\fR" 4 +.IX Item "-n" Warn when nops are generated. -.Ip "\f(CW-N\fR" 4 -Warn when a nop after a 32-bit multiply instruction is 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-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC\fR" 4 +.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-b\fR" 4 +.Ip "\f(CW\*(C`\-b\*(C'\fR" 4 +.IX Item "-b" Add code to collect statistics about branches taken. -.Ip "\f(CW-no-relax\fR" 4 +.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--m32rx\fR" 4 +.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--warn-explicit-parallel-conflicts or --Wp\fR" 4 +.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--no-warn-explicit-parallel-conflicts or --Wnp\fR" 4 +.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-l\fR" 4 +.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-m68000 | -m68008 | -m68010 | -m68020 | -m68030\fR" 4 -.Ip "\f(CW| -m68040 | -m68060 | -m68302 | -m68331 | -m68332\fR" 4 -.Ip "\f(CW| -m68333 | -m68340 | -mcpu32 | -m5200\fR" 4 +.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-m68881 | -m68882 | -mno-68881 | -mno-68882\fR" 4 +.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-m68851 | -mno-68851\fR" 4 +.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\s0\-11 machine dependent features options, -see \f(CW@ref\fR{\s-1PDP\s0\-11-Options}. -.Ip "\f(CW-mpic | -mno-pic\fR" 4 +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-mpic\fR. -.Ip "\f(CW-mall\fR" 4 -.Ip "\f(CW-mall-extensions\fR" 4 +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-mno-extensions\fR" 4 +.Ip "\f(CW\*(C`\-mno\-extensions\*(C'\fR" 4 +.IX Item "-mno-extensions" Disable all instruction set extensions. -.Ip "\f(CW-m\fIextension\fR | -mno-\fIextension\fR\fR" 4 +.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-m\fIcpu\fR\fR" 4 +.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-m\fImachine\fR\fR" 4 +.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-mb\fR" 4 -Generate ``big endian'\*(R' format output. -.Ip "\f(CW-ml\fR" 4 -Generate ``little endian'\*(R' format output. +.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-m68hc11 | -m68hc12\fR" 4 +.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--force-long-branchs\fR" 4 +.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-S | --short-branchs\fR" 4 +.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--strict-direct-mode\fR" 4 +.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--print-insn-syntax\fR" 4 +.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--print-opcodes\fR" 4 +.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--generate-example\fR" 4 +.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(CWas\fR. +This option is only useful for testing \f(CW\*(C`as\*(C'\fR. .PP -The following options are available when \f(CWas\fR is configured +The following options are available when \f(CW\*(C`as\*(C'\fR is configured for the \s-1SPARC\s0 architecture: -.Ip "\f(CW-Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite\fR" 4 -.Ip "\f(CW-Av8plus | -Av8plusa | -Av9 | -Av9a\fR" 4 +.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. +\&\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 +\&\fB\-Av8plusa\fR and \fB\-Av9a\fR enable the \s-1SPARC\s0 V9 instruction set with UltraSPARC extensions. -.Ip "\f(CW-xarch=v8plus | -xarch=v8plusa\fR" 4 +.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-bump\fR" 4 +.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-G \fInum\fR\fR" 4 +.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(CWgp\fR register. It is only accepted for targets that +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-EB\fR" 4 -Generate ``big endian'\*(R' format output. -.Ip "\f(CW-EL\fR" 4 -Generate ``little endian'\*(R' format output. -.Ip "\f(CW-mips1\fR" 4 -.Ip "\f(CW-mips2\fR" 4 -.Ip "\f(CW-mips3\fR" 4 -.Ip "\f(CW-mips4\fR" 4 -.Ip "\f(CW-mips32\fR" 4 +.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 +\&\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 +\&\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-m4650\fR" 4 -.Ip "\f(CW-no-m4650\fR" 4 +.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-mcpu=\fICPU\fR\fR" 4 +\&\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 +\&\fB\-m\fR\fIcpu\fR, except that there are more value of \fIcpu\fR understood. -.Ip "\f(CW--emulation=\fIname\fR\fR" 4 -This option causes \f(CWas\fR to emulate \f(CWas\fR configured +.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 +\&\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\-\s-1EB\s0\fR or \fB\-\s-1EL\s0\fR will override the endianness +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(CWas\fR is configured for is a \s-1MIPS\s0 \s-1ELF\s0 or \s-1ECOFF\s0 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 +\&\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-nocpp\fR" 4 -\f(CWas\fR ignores this option. It is accepted for compatibility with +.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--trap\fR" 4 -.Ip "\f(CW--no-trap\fR" 4 -.Ip "\f(CW--break\fR" 4 -.Ip "\f(CW--no-break\fR" 4 +.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 +\&\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 +\&\fB\*(--break\fR or \fB\*(--no-trap\fR (also synonyms, and the default) take a break exception. .PP The following options are available when as is configured for an MCore processor. -.Ip "\f(CW-jsri2bsr\fR" 4 -.Ip "\f(CW-nojsri2bsr\fR" 4 +.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-sifilter\fR" 4 -.Ip "\f(CW-nosifilter\fR" 4 +.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-relax\fR" 4 +.Ip "\f(CW\*(C`\-relax\*(C'\fR" 4 +.IX Item "-relax" Alter jump instructions for long displacements. -.Ip "\f(CW-mcpu=[210|340]\fR" 4 +.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-EB\fR" 4 +.Ip "\f(CW\*(C`\-EB\*(C'\fR" 4 +.IX Item "-EB" Assemble for a big endian target. -.Ip "\f(CW-EL\fR" 4 +.Ip "\f(CW\*(C`\-EL\*(C'\fR" 4 +.IX Item "-EL" Assemble for a little endian target. .SH "SEE ALSO" -\fIgcc\fR\|(1), \fIld\fR\|(1), and the Info entries for \fIbinutils\fR and \fIld\fR. +.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 GNU Free Documentation License, Version 1.1 +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"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "AS 1" -.IX Name "AS - the portable GNU assembler." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-a[cdhlmns]\fR" - -.IX Item "\f(CW-ac\fR" - -.IX Item "\f(CW-ad\fR" - -.IX Item "\f(CW-ah\fR" - -.IX Item "\f(CW-al\fR" - -.IX Item "\f(CW-am\fR" - -.IX Item "\f(CW-an\fR" - -.IX Item "\f(CW-as\fR" - -.IX Item "\f(CW=file\fR" - -.IX Item "\f(CW-D\fR" - -.IX Item "\f(CW--defsym \fIsym\fR=\fIvalue\fR\fR" - -.IX Item "\f(CW-f\fR" - -.IX Item "\f(CW--gstabs\fR" - -.IX Item "\f(CW--gdwarf2\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW--target-help\fR" - -.IX Item "\f(CW-I \fIdir\fR\fR" - -.IX Item "\f(CW-J\fR" - -.IX Item "\f(CW-K\fR" - -.IX Item "\f(CW-L\fR" - -.IX Item "\f(CW--keep-locals\fR" - -.IX Item "\f(CW--listing-lhs-width=\fInumber\fR\fR" - -.IX Item "\f(CW--listing-lhs-width2=\fInumber\fR\fR" - -.IX Item "\f(CW--listing-rhs-width=\fInumber\fR\fR" - -.IX Item "\f(CW--listing-cont-lines=\fInumber\fR\fR" - -.IX Item "\f(CW-o \fIobjfile\fR\fR" - -.IX Item "\f(CW-R\fR" - -.IX Item "\f(CW--statistics\fR" - -.IX Item "\f(CW--strip-local-absolute\fR" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW-version\fR" - -.IX Item "\f(CW--version\fR" - -.IX Item "\f(CW-W\fR" - -.IX Item "\f(CW--no-warn\fR" - -.IX Item "\f(CW--fatal-warnings\fR" - -.IX Item "\f(CW--warn\fR" - -.IX Item "\f(CW-w\fR" - -.IX Item "\f(CW-x\fR" - -.IX Item "\f(CW-Z\fR" - -.IX Item "\f(CW-- | \fIfiles\fR ...\fR" - -.IX Item "\f(CW-marc[5|6|7|8]\fR" - -.IX Item "\f(CW-EB | -EL\fR" - -.IX Item "\f(CW-m[arm][1|2|3|6|7|8|9][...] \fR" - -.IX Item "\f(CW-m[arm]v[2|2a|3|3m|4|4t|5|5t]\fR" - -.IX Item "\f(CW-mthumb | -mall\fR" - -.IX Item "\f(CW-mfpa10 | -mfpa11 | -mfpe-old | -mno-fpu\fR" - -.IX Item "\f(CW-mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrant | -moabi\fR" - -.IX Item "\f(CW-EB | -EL\fR" - -.IX Item "\f(CW-mthumb-interwork\fR" - -.IX Item "\f(CW-k\fR" - -.IX Item "\f(CW-O\fR" - -.IX Item "\f(CW-O\fR" - -.IX Item "\f(CW-n\fR" - -.IX Item "\f(CW-N\fR" - -.IX Item "\f(CW-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC\fR" - -.IX Item "\f(CW-b\fR" - -.IX Item "\f(CW-no-relax\fR" - -.IX Item "\f(CW--m32rx\fR" - -.IX Item "\f(CW--warn-explicit-parallel-conflicts or --Wp\fR" - -.IX Item "\f(CW--no-warn-explicit-parallel-conflicts or --Wnp\fR" - -.IX Item "\f(CW-l\fR" - -.IX Item "\f(CW-m68000 | -m68008 | -m68010 | -m68020 | -m68030\fR" - -.IX Item "\f(CW| -m68040 | -m68060 | -m68302 | -m68331 | -m68332\fR" - -.IX Item "\f(CW| -m68333 | -m68340 | -mcpu32 | -m5200\fR" - -.IX Item "\f(CW-m68881 | -m68882 | -mno-68881 | -mno-68882\fR" - -.IX Item "\f(CW-m68851 | -mno-68851\fR" - -.IX Item "\f(CW-mpic | -mno-pic\fR" - -.IX Item "\f(CW-mall\fR" - -.IX Item "\f(CW-mall-extensions\fR" - -.IX Item "\f(CW-mno-extensions\fR" - -.IX Item "\f(CW-m\fIextension\fR | -mno-\fIextension\fR\fR" - -.IX Item "\f(CW-m\fIcpu\fR\fR" - -.IX Item "\f(CW-m\fImachine\fR\fR" - -.IX Item "\f(CW-mb\fR" - -.IX Item "\f(CW-ml\fR" - -.IX Item "\f(CW-m68hc11 | -m68hc12\fR" - -.IX Item "\f(CW--force-long-branchs\fR" - -.IX Item "\f(CW-S | --short-branchs\fR" - -.IX Item "\f(CW--strict-direct-mode\fR" - -.IX Item "\f(CW--print-insn-syntax\fR" - -.IX Item "\f(CW--print-opcodes\fR" - -.IX Item "\f(CW--generate-example\fR" - -.IX Item "\f(CW-Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite\fR" - -.IX Item "\f(CW-Av8plus | -Av8plusa | -Av9 | -Av9a\fR" - -.IX Item "\f(CW-xarch=v8plus | -xarch=v8plusa\fR" - -.IX Item "\f(CW-bump\fR" - -.IX Item "\f(CW-G \fInum\fR\fR" - -.IX Item "\f(CW-EB\fR" - -.IX Item "\f(CW-EL\fR" - -.IX Item "\f(CW-mips1\fR" - -.IX Item "\f(CW-mips2\fR" - -.IX Item "\f(CW-mips3\fR" - -.IX Item "\f(CW-mips4\fR" - -.IX Item "\f(CW-mips32\fR" - -.IX Item "\f(CW-m4650\fR" - -.IX Item "\f(CW-no-m4650\fR" - -.IX Item "\f(CW-mcpu=\fICPU\fR\fR" - -.IX Item "\f(CW--emulation=\fIname\fR\fR" - -.IX Item "\f(CW-nocpp\fR" - -.IX Item "\f(CW--trap\fR" - -.IX Item "\f(CW--no-trap\fR" - -.IX Item "\f(CW--break\fR" - -.IX Item "\f(CW--no-break\fR" - -.IX Item "\f(CW-jsri2bsr\fR" - -.IX Item "\f(CW-nojsri2bsr\fR" - -.IX Item "\f(CW-sifilter\fR" - -.IX Item "\f(CW-nosifilter\fR" - -.IX Item "\f(CW-relax\fR" - -.IX Item "\f(CW-mcpu=[210|340]\fR" - -.IX Item "\f(CW-EB\fR" - -.IX Item "\f(CW-EL\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/gas/po/gas.pot b/gas/po/gas.pot index 9b1a4eb..ccfe49f 100644 --- a/gas/po/gas.pot +++ b/gas/po/gas.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-03-06 11:56-0800\n" +"POT-Creation-Date: 2001-04-24 17:11+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" @@ -14,76 +14,76 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" -#: app.c:464 app.c:478 +#: app.c:465 app.c:479 msgid "end of file in comment" msgstr "" -#: app.c:557 +#: app.c:558 msgid "end of file in string: inserted '\"'" msgstr "" -#: app.c:623 +#: app.c:624 #, c-format msgid "Unknown escape '\\%c' in string: Ignored" msgstr "" -#: app.c:632 +#: app.c:633 msgid "End of file in string: '\"' inserted" msgstr "" -#: app.c:752 +#: app.c:753 msgid "end of file not at end of a line; newline inserted" msgstr "" -#: app.c:910 +#: app.c:911 msgid "end of file in multiline comment" msgstr "" -#: app.c:974 +#: app.c:975 msgid "end of file after a one-character quote; \\0 inserted" msgstr "" -#: app.c:982 +#: app.c:983 msgid "end of file in escape character" msgstr "" -#: app.c:994 +#: app.c:995 msgid "Missing close quote: (assumed)" msgstr "" -#: app.c:1057 app.c:1111 app.c:1186 +#: app.c:1058 app.c:1112 app.c:1187 msgid "end of file in comment; newline inserted" msgstr "" -#: app.c:1121 +#: app.c:1122 msgid "EOF in Comment: Newline inserted" msgstr "" -#: as.c:147 +#: as.c:148 msgid "missing emulation mode name" msgstr "" -#: as.c:162 +#: as.c:163 #, c-format msgid "unrecognized emulation name `%s'" msgstr "" -#: as.c:209 +#: as.c:210 #, c-format msgid "GNU assembler version %s (%s) using BFD version %s" msgstr "" -#: as.c:212 +#: as.c:213 #, c-format msgid "GNU assembler version %s (%s)" msgstr "" -#: as.c:221 +#: as.c:222 #, c-format msgid "Usage: %s [option...] [asmfile...]\n" msgstr "" -#: as.c:223 +#: as.c:224 msgid "" "Options:\n" " -a[sub-option...]\t turn on listings\n" @@ -100,139 +100,139 @@ msgid "" " \t =FILE list to FILE (must be last sub-option)\n" msgstr "" -#: as.c:237 +#: as.c:238 msgid " -D produce assembler debugging messages\n" msgstr "" -#: as.c:239 +#: as.c:240 msgid " --defsym SYM=VAL define symbol SYM to given value\n" msgstr "" -#: as.c:255 +#: as.c:256 #, c-format msgid " emulate output (default %s)\n" msgstr "" -#: as.c:259 +#: as.c:260 msgid " -f skip whitespace and comment preprocessing\n" msgstr "" -#: as.c:261 +#: as.c:262 msgid " --gstabs generate stabs debugging information\n" msgstr "" -#: as.c:263 +#: as.c:264 msgid " --gdwarf2 generate DWARF2 debugging information\n" msgstr "" -#: as.c:265 +#: as.c:266 msgid " --help show this message and exit\n" msgstr "" -#: as.c:267 +#: as.c:268 msgid " --target-help show target specific options\n" msgstr "" -#: as.c:269 +#: as.c:270 msgid "" " -I DIR add DIR to search list for .include directives\n" msgstr "" -#: as.c:271 +#: as.c:272 msgid " -J don't warn about signed overflow\n" msgstr "" -#: as.c:273 +#: as.c:274 msgid "" " -K warn when differences altered for long " "displacements\n" msgstr "" -#: as.c:275 +#: as.c:276 msgid " -L,--keep-locals keep local symbols (e.g. starting with `L')\n" msgstr "" -#: as.c:277 +#: as.c:278 msgid " -M,--mri assemble in MRI compatibility mode\n" msgstr "" -#: as.c:279 +#: as.c:280 msgid "" " --MD FILE write dependency information in FILE (default " "none)\n" msgstr "" -#: as.c:281 +#: as.c:282 msgid " -nocpp ignored\n" msgstr "" -#: as.c:283 +#: as.c:284 msgid "" " -o OBJFILE name the object-file output OBJFILE (default " "a.out)\n" msgstr "" -#: as.c:285 +#: as.c:286 msgid " -R fold data section into text section\n" msgstr "" -#: as.c:287 +#: as.c:288 msgid "" " --statistics print various measured statistics from execution\n" msgstr "" -#: as.c:289 +#: as.c:290 msgid " --strip-local-absolute strip local absolute symbols\n" msgstr "" -#: as.c:291 +#: as.c:292 msgid "" " --traditional-format Use same format as native assembler when possible\n" msgstr "" -#: as.c:293 +#: as.c:294 msgid " --version print assembler version number and exit\n" msgstr "" -#: as.c:295 +#: as.c:296 msgid " -W --no-warn suppress warnings\n" msgstr "" -#: as.c:297 +#: as.c:298 msgid " --warn don't suppress warnings\n" msgstr "" -#: as.c:299 +#: as.c:300 msgid " --fatal-warnings treat warnings as errors\n" msgstr "" -#: as.c:301 +#: as.c:302 msgid "" " --itbl INSTTBL extend instruction set to include instructions\n" " matching the specifications defined in file " "INSTTBL\n" msgstr "" -#: as.c:304 +#: as.c:305 msgid " -w ignored\n" msgstr "" -#: as.c:306 +#: as.c:307 msgid " -X ignored\n" msgstr "" -#: as.c:308 +#: as.c:309 msgid " -Z generate object file even after errors\n" msgstr "" -#: as.c:310 +#: as.c:311 msgid "" " --listing-lhs-width set the width in words of the output data column " "of\n" " the listing\n" msgstr "" -#: as.c:313 +#: as.c:314 msgid "" " --listing-lhs-width2 set the width in words of the continuation lines\n" " of the output data column; ignored if smaller " @@ -240,186 +240,181 @@ msgid "" " the width of the first line\n" msgstr "" -#: as.c:317 +#: as.c:318 msgid "" " --listing-rhs-width set the max width in characters of the lines from\n" " the source file\n" msgstr "" -#: as.c:320 +#: as.c:321 msgid "" " --listing-cont-lines set the maximum number of continuation lines used\n" " for the output data column of the listing\n" msgstr "" -#: as.c:327 gasp.c:3527 +#: as.c:328 gasp.c:3527 #, c-format msgid "Report bugs to %s\n" msgstr "" #. This output is intended to follow the GNU standards document. -#: as.c:527 +#: as.c:528 #, c-format msgid "GNU assembler %s\n" msgstr "" -#: as.c:528 +#: as.c:529 msgid "Copyright 2001 Free Software Foundation, Inc.\n" msgstr "" -#: as.c:529 gasp.c:3621 +#: as.c:530 gasp.c:3621 msgid "" "This program is free software; you may redistribute it under the terms of\n" "the GNU General Public License. This program has absolutely no warranty.\n" msgstr "" -#: as.c:532 +#: as.c:533 #, c-format msgid "This assembler was configured for a target of `%s'.\n" msgstr "" -#: as.c:539 +#: as.c:540 msgid "multiple emulation names specified" msgstr "" -#: as.c:541 +#: as.c:542 msgid "emulations not handled in this configuration" msgstr "" -#: as.c:546 +#: as.c:547 #, c-format msgid "alias = %s\n" msgstr "" -#: as.c:547 +#: as.c:548 #, c-format msgid "canonical = %s\n" msgstr "" -#: as.c:548 +#: as.c:549 #, c-format msgid "cpu-type = %s\n" msgstr "" -#: as.c:550 +#: as.c:551 #, c-format msgid "format = %s\n" msgstr "" -#: as.c:553 +#: as.c:554 #, c-format msgid "bfd-target = %s\n" msgstr "" -#: as.c:566 +#: as.c:567 msgid "bad defsym; format is --defsym name=value" msgstr "" -#: as.c:590 +#: as.c:591 msgid "No file name following -t option\n" msgstr "" -#: as.c:606 +#: as.c:607 #, c-format msgid "Failed to read instruction table %s\n" msgstr "" -#: as.c:723 +#: as.c:724 #, c-format msgid "invalid listing option `%c'" msgstr "" -#: as.c:922 +#: as.c:923 #, c-format msgid "%d warnings, treating warnings as errors" msgstr "" -#: as.c:953 +#: as.c:954 #, c-format msgid "%s: total time in assembly: %ld.%06ld\n" msgstr "" -#: as.c:956 +#: as.c:957 #, c-format msgid "%s: data size %ld\n" msgstr "" -#: as.h:225 -#, c-format -msgid "Case value %ld unexpected at line %d of file \"%s\"\n" -msgstr "" - #. #. * We have a GROSS internal error. #. * This should never happen. #. #: atof-generic.c:437 config/tc-a29k.c:544 config/tc-i860.c:340 -#: config/tc-i860.c:832 config/tc-m68k.c:3189 config/tc-m68k.c:3218 -#: config/tc-sparc.c:2543 +#: config/tc-i860.c:832 config/tc-m68k.c:3190 config/tc-m68k.c:3219 +#: config/tc-sparc.c:2544 msgid "failed sanity check." msgstr "" -#: cond.c:77 +#: cond.c:79 msgid "invalid identifier for \".ifdef\"" msgstr "" -#: cond.c:131 +#: cond.c:133 msgid "non-constant expression in \".if\" statement" msgstr "" -#: cond.c:227 +#: cond.c:229 msgid "bad format for ifc or ifnc" msgstr "" -#: cond.c:261 +#: cond.c:260 msgid "\".elseif\" without matching \".if\" - ignored" msgstr "" -#: cond.c:266 +#: cond.c:264 msgid "\".elseif\" after \".else\" - ignored" msgstr "" -#: cond.c:269 cond.c:378 +#: cond.c:267 cond.c:375 msgid "here is the previous \"else\"" msgstr "" -#: cond.c:272 cond.c:381 +#: cond.c:270 cond.c:378 msgid "here is the previous \"if\"" msgstr "" -#: cond.c:305 +#: cond.c:299 msgid "non-constant expression in \".elseif\" statement" msgstr "" -#: cond.c:340 +#: cond.c:338 msgid "\".endif\" without \".if\"" msgstr "" -#: cond.c:370 +#: cond.c:368 msgid ".else without matching .if - ignored" msgstr "" -#: cond.c:375 +#: cond.c:372 msgid "duplicate \"else\" - ignored" msgstr "" -#: cond.c:426 +#: cond.c:424 msgid ".ifeqs syntax error" msgstr "" -#: cond.c:509 +#: cond.c:507 msgid "end of macro inside conditional" msgstr "" -#: cond.c:511 +#: cond.c:509 msgid "end of file inside conditional" msgstr "" -#: cond.c:514 +#: cond.c:512 msgid "here is the start of the unterminated conditional" msgstr "" -#: cond.c:518 +#: cond.c:516 msgid "here is the \"else\" of the unterminated conditional" msgstr "" @@ -433,17 +428,17 @@ msgstr "" msgid "Attempt to put an undefined symbol into set %s" msgstr "" -#: config/obj-aout.c:197 config/obj-coff.c:1246 config/obj-elf.c:1739 -#: ecoff.c:3647 +#: config/obj-aout.c:197 config/obj-coff.c:1247 config/obj-elf.c:1773 +#: ecoff.c:3648 #, c-format msgid "Symbol `%s' can not be both weak and common" msgstr "" -#: config/obj-aout.c:255 config/obj-coff.c:1982 +#: config/obj-aout.c:255 config/obj-coff.c:1983 msgid "unresolved relocation" msgstr "" -#: config/obj-aout.c:257 config/obj-coff.c:1984 +#: config/obj-aout.c:257 config/obj-coff.c:1985 #, c-format msgid "bad relocation: symbol `%s' not in symbol table" msgstr "" @@ -453,7 +448,7 @@ msgstr "" msgid "%s: bad type for weak symbol" msgstr "" -#: config/obj-aout.c:458 config/obj-coff.c:2913 write.c:1868 +#: config/obj-aout.c:458 config/obj-coff.c:2914 write.c:1933 #, c-format msgid "%s: global symbols not supported in common sections" msgstr "" @@ -472,176 +467,176 @@ msgstr "" msgid "Local symbol %s never defined" msgstr "" -#: config/obj-coff.c:156 +#: config/obj-coff.c:157 #, c-format msgid "Inserting \"%s\" into structure table failed: %s" msgstr "" #. Zero is used as an end marker in the file. -#: config/obj-coff.c:451 +#: config/obj-coff.c:452 msgid "Line numbers must be positive integers\n" msgstr "" -#: config/obj-coff.c:484 config/obj-coff.c:2328 +#: config/obj-coff.c:485 config/obj-coff.c:2329 msgid ".ln pseudo-op inside .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:527 ecoff.c:3283 +#: config/obj-coff.c:528 ecoff.c:3284 msgid ".loc outside of .text" msgstr "" -#: config/obj-coff.c:534 +#: config/obj-coff.c:535 msgid ".loc pseudo-op inside .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:622 config/obj-coff.c:2385 +#: config/obj-coff.c:623 config/obj-coff.c:2386 msgid ".def pseudo-op used inside of .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:668 config/obj-coff.c:2437 +#: config/obj-coff.c:669 config/obj-coff.c:2438 msgid ".endef pseudo-op used outside of .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:706 +#: config/obj-coff.c:707 #, c-format msgid "`%s' symbol without preceding function" msgstr "" -#: config/obj-coff.c:793 config/obj-coff.c:2512 +#: config/obj-coff.c:794 config/obj-coff.c:2513 #, c-format msgid "unexpected storage class %d" msgstr "" -#: config/obj-coff.c:906 config/obj-coff.c:2619 +#: config/obj-coff.c:907 config/obj-coff.c:2620 msgid ".dim pseudo-op used outside of .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:926 config/obj-coff.c:2639 +#: config/obj-coff.c:927 config/obj-coff.c:2640 msgid "badly formed .dim directive ignored" msgstr "" -#: config/obj-coff.c:977 config/obj-coff.c:2702 +#: config/obj-coff.c:978 config/obj-coff.c:2703 msgid ".size pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:993 config/obj-coff.c:2718 +#: config/obj-coff.c:994 config/obj-coff.c:2719 msgid ".scl pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1011 config/obj-coff.c:2736 +#: config/obj-coff.c:1012 config/obj-coff.c:2737 msgid ".tag pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1030 config/obj-coff.c:2754 +#: config/obj-coff.c:1031 config/obj-coff.c:2755 #, c-format msgid "tag not found for .tag %s" msgstr "" -#: config/obj-coff.c:1045 config/obj-coff.c:2769 +#: config/obj-coff.c:1046 config/obj-coff.c:2770 msgid ".type pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1067 config/obj-coff.c:2791 +#: config/obj-coff.c:1068 config/obj-coff.c:2792 msgid ".val pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1207 config/obj-coff.c:2986 +#: config/obj-coff.c:1208 config/obj-coff.c:2987 msgid "mismatched .eb" msgstr "" -#: config/obj-coff.c:1225 config/obj-coff.c:3026 +#: config/obj-coff.c:1226 config/obj-coff.c:3027 msgid "C_EFCN symbol out of scope" msgstr "" #. STYP_INFO #. STYP_LIB #. STYP_OVER -#: config/obj-coff.c:1447 +#: config/obj-coff.c:1448 #, c-format msgid "unsupported section attribute '%c'" msgstr "" -#: config/obj-coff.c:1452 config/obj-coff.c:3726 config/tc-ppc.c:3925 +#: config/obj-coff.c:1453 config/obj-coff.c:3727 config/tc-ppc.c:3925 #, c-format msgid "unknown section attribute '%c'" msgstr "" -#: config/obj-coff.c:1482 config/tc-ppc.c:3943 read.c:2512 +#: config/obj-coff.c:1483 config/tc-ppc.c:3943 read.c:2520 #, c-format msgid "error setting flags for \"%s\": %s" msgstr "" -#: config/obj-coff.c:1493 config/obj-elf.c:723 +#: config/obj-coff.c:1494 config/obj-elf.c:727 #, c-format msgid "Ignoring changed section attributes for %s" msgstr "" -#: config/obj-coff.c:1629 +#: config/obj-coff.c:1630 #, c-format msgid "0x%lx: \"%s\" type = %ld, class = %d, segment = %d\n" msgstr "" -#: config/obj-coff.c:1809 config/obj-ieee.c:69 +#: config/obj-coff.c:1810 config/obj-ieee.c:69 msgid "Out of step\n" msgstr "" -#: config/obj-coff.c:2244 +#: config/obj-coff.c:2245 msgid "bfd_coff_swap_scnhdr_out failed" msgstr "" -#: config/obj-coff.c:2469 +#: config/obj-coff.c:2470 msgid "`.bf' symbol without preceding function\n" msgstr "" -#: config/obj-coff.c:3422 config/obj-ieee.c:507 output-file.c:52 +#: config/obj-coff.c:3423 config/obj-ieee.c:507 output-file.c:52 #: output-file.c:119 #, c-format msgid "FATAL: Can't create %s" msgstr "" -#: config/obj-coff.c:3600 +#: config/obj-coff.c:3601 #, c-format msgid "Can't close %s: %s" msgstr "" -#: config/obj-coff.c:3634 +#: config/obj-coff.c:3635 #, c-format msgid "Too many new sections; can't add \"%s\"" msgstr "" -#: config/obj-coff.c:4041 config/tc-m88k.c:1257 config/tc-sparc.c:3531 +#: config/obj-coff.c:4042 config/tc-m88k.c:1258 config/tc-sparc.c:3532 msgid "Expected comma after name" msgstr "" -#: config/obj-coff.c:4047 read.c:1956 +#: config/obj-coff.c:4048 read.c:1956 msgid "Missing size expression" msgstr "" -#: config/obj-coff.c:4053 +#: config/obj-coff.c:4054 #, c-format msgid "lcomm length (%d.) <0! Ignored." msgstr "" -#: config/obj-coff.c:4081 read.c:2190 +#: config/obj-coff.c:4082 read.c:2190 #, c-format msgid "Symbol %s already defined" msgstr "" -#: config/obj-coff.c:4176 config/tc-i960.c:3214 +#: config/obj-coff.c:4177 config/tc-i960.c:3215 #, c-format msgid "No 'bal' entry point for leafproc %s" msgstr "" -#: config/obj-coff.c:4255 write.c:2589 +#: config/obj-coff.c:4256 write.c:2639 #, c-format msgid "Negative of non-absolute symbol %s" msgstr "" -#: config/obj-coff.c:4276 write.c:2603 +#: config/obj-coff.c:4277 write.c:2653 msgid "callj to difference of 2 symbols" msgstr "" -#: config/obj-coff.c:4322 +#: config/obj-coff.c:4323 #, c-format msgid "Can't emit reloc {- %s-seg symbol \"%s\"} @ file address %ld." msgstr "" @@ -649,16 +644,16 @@ msgstr "" #. This is a COBR instruction. They have only a 13-bit #. displacement and are only to be used for local branches: #. flag as error, don't generate relocation. -#: config/obj-coff.c:4411 config/tc-i960.c:3234 write.c:2747 +#: config/obj-coff.c:4412 config/tc-i960.c:3235 write.c:2797 msgid "can't use COBR format with external label" msgstr "" -#: config/obj-coff.c:4490 +#: config/obj-coff.c:4491 #, c-format msgid "Value of %ld too large for field of %d bytes at 0x%lx" msgstr "" -#: config/obj-coff.c:4504 write.c:2837 +#: config/obj-coff.c:4505 write.c:2887 #, c-format msgid "Signed .word overflow; switch may be too large; %ld at 0x%lx" msgstr "" @@ -671,21 +666,21 @@ msgstr "" msgid "Can't set register masks" msgstr "" -#: config/obj-elf.c:308 config/tc-sparc.c:3674 config/tc-v850.c:259 +#: config/obj-elf.c:308 config/tc-sparc.c:3675 config/tc-v850.c:259 msgid "Expected comma after symbol-name" msgstr "" -#: config/obj-elf.c:315 config/tc-sparc.c:3684 +#: config/obj-elf.c:315 config/tc-sparc.c:3685 #, c-format msgid ".COMMon length (%d.) <0! Ignored." msgstr "" -#: config/obj-elf.c:325 config/tc-alpha.c:4331 config/tc-sparc.c:3694 +#: config/obj-elf.c:325 config/tc-alpha.c:4332 config/tc-sparc.c:3695 #: config/tc-v850.c:282 msgid "Ignoring attempt to re-define symbol" msgstr "" -#: config/obj-elf.c:333 config/tc-sparc.c:3702 config/tc-v850.c:292 +#: config/obj-elf.c:333 config/tc-sparc.c:3703 config/tc-v850.c:292 #, c-format msgid "Length of .comm \"%s\" is already %ld. Not changed to %d." msgstr "" @@ -699,7 +694,7 @@ msgstr "" msgid "Common alignment not a power of 2" msgstr "" -#: config/obj-elf.c:438 config/tc-sparc.c:3826 config/tc-v850.c:564 +#: config/obj-elf.c:438 config/tc-sparc.c:3827 config/tc-v850.c:564 #, c-format msgid "bad .common segment %s" msgstr "" @@ -719,87 +714,102 @@ msgstr "" msgid "Setting incorrect section attributes for %s" msgstr "" -#: config/obj-elf.c:753 -msgid "Unrecognized .section attribute: want a,w,x" +#: config/obj-elf.c:729 +#, c-format +msgid "Ignoring changed section entity size for %s" +msgstr "" + +#: config/obj-elf.c:765 +msgid "Unrecognized .section attribute: want a,m,s,w,x" msgstr "" -#: config/obj-elf.c:793 +#: config/obj-elf.c:805 msgid "Unrecognized section attribute" msgstr "" -#: config/obj-elf.c:815 +#: config/obj-elf.c:827 msgid "Unrecognized section type" msgstr "" -#: config/obj-elf.c:866 +#: config/obj-elf.c:879 msgid "Missing section name" msgstr "" -#: config/obj-elf.c:932 +#: config/obj-elf.c:945 +msgid "Bad .section directive - invalid merge entity size" +msgstr "" + +#: config/obj-elf.c:960 msgid "Bad .section directive - character following name is not '#'" msgstr "" -#: config/obj-elf.c:1033 +#: config/obj-elf.c:981 +msgid "" +"Entity size for SHF_MERGE not specified.\n" +"Specify entity size as 4th argument" +msgstr "" + +#: config/obj-elf.c:1067 msgid ".previous without corresponding .section; ignored" msgstr "" -#: config/obj-elf.c:1060 +#: config/obj-elf.c:1094 msgid ".popsection without corresponding .pushsection; ignored" msgstr "" -#: config/obj-elf.c:1113 +#: config/obj-elf.c:1147 msgid "expected comma after name in .symver" msgstr "" -#: config/obj-elf.c:1137 +#: config/obj-elf.c:1171 #, c-format msgid "missing version name in `%s' for symbol `%s'" msgstr "" -#: config/obj-elf.c:1148 +#: config/obj-elf.c:1182 #, c-format msgid "multiple versions [`%s'|`%s'] for symbol `%s'" msgstr "" -#: config/obj-elf.c:1361 config/obj-som.c:155 config/obj-som.c:201 +#: config/obj-elf.c:1395 config/obj-som.c:155 config/obj-som.c:201 msgid "Expected quoted string" msgstr "" -#: config/obj-elf.c:1382 +#: config/obj-elf.c:1416 #, c-format msgid "expected comma after name `%s' in .size directive" msgstr "" -#: config/obj-elf.c:1391 +#: config/obj-elf.c:1425 msgid "missing expression in .size directive" msgstr "" -#: config/obj-elf.c:1467 +#: config/obj-elf.c:1501 #, c-format msgid "ignoring unrecognized symbol type \"%s\"" msgstr "" -#: config/obj-elf.c:1648 +#: config/obj-elf.c:1682 msgid ".size expression too complicated to fix up" msgstr "" -#: config/obj-elf.c:1680 +#: config/obj-elf.c:1714 #, c-format msgid "" "invalid attempt to declare external version name as default in symbol `%s'" msgstr "" -#: config/obj-elf.c:1862 +#: config/obj-elf.c:1896 #, c-format msgid "Failed to set up debugging information: %s" msgstr "" -#: config/obj-elf.c:1882 +#: config/obj-elf.c:1916 #, c-format msgid "Can't start writing .mdebug section: %s" msgstr "" -#: config/obj-elf.c:1890 +#: config/obj-elf.c:1924 #, c-format msgid "Could not write .mdebug section: %s" msgstr "" @@ -972,28 +982,28 @@ msgstr "" msgid "unhandled stab type %d" msgstr "" -#: config/tc-a29k.c:160 config/tc-sparc.c:3878 +#: config/tc-a29k.c:160 config/tc-sparc.c:3879 msgid "Unknown segment type" msgstr "" #. Probably a memory allocation problem? Give up now. -#: config/tc-a29k.c:330 config/tc-hppa.c:1437 config/tc-mips.c:1030 -#: config/tc-mips.c:1072 config/tc-sparc.c:846 +#: config/tc-a29k.c:330 config/tc-hppa.c:1443 config/tc-mips.c:1031 +#: config/tc-mips.c:1073 config/tc-sparc.c:847 msgid "Broken assembler. No assembly attempted." msgstr "" -#: config/tc-a29k.c:375 config/tc-avr.c:1124 config/tc-d10v.c:532 -#: config/tc-d30v.c:552 config/tc-h8300.c:296 config/tc-h8500.c:294 -#: config/tc-mcore.c:655 config/tc-mn10200.c:954 config/tc-mn10300.c:1335 -#: config/tc-ppc.c:1974 config/tc-s390.c:964 config/tc-sh.c:843 -#: config/tc-tic80.c:282 config/tc-v850.c:2076 config/tc-w65.c:248 +#: config/tc-a29k.c:375 config/tc-avr.c:1124 config/tc-d10v.c:533 +#: config/tc-d30v.c:552 config/tc-h8300.c:296 config/tc-h8500.c:284 +#: config/tc-mcore.c:655 config/tc-mn10200.c:955 config/tc-mn10300.c:1337 +#: config/tc-ppc.c:1974 config/tc-s390.c:1030 config/tc-sh.c:848 +#: config/tc-tic80.c:282 config/tc-v850.c:2076 config/tc-w65.c:242 #: config/tc-z8k.c:336 msgid "missing operand" msgstr "" -#: config/tc-a29k.c:415 config/tc-cris.c:913 config/tc-cris.c:921 -#: config/tc-hppa.c:1572 config/tc-i860.c:431 config/tc-i860.c:448 -#: config/tc-sparc.c:1408 config/tc-sparc.c:1414 +#: config/tc-a29k.c:415 config/tc-cris.c:953 config/tc-cris.c:961 +#: config/tc-hppa.c:1578 config/tc-i860.c:431 config/tc-i860.c:448 +#: config/tc-sparc.c:1409 config/tc-sparc.c:1415 #, c-format msgid "Unknown opcode: `%s'" msgstr "" @@ -1044,33 +1054,33 @@ msgstr "" msgid "Invalid register in & expression" msgstr "" -#: config/tc-alpha.c:827 +#: config/tc-alpha.c:828 #, c-format msgid "internal error: can't hash opcode `%s': %s" msgstr "" -#: config/tc-alpha.c:861 +#: config/tc-alpha.c:862 #, c-format msgid "internal error: can't hash macro `%s': %s" msgstr "" -#: config/tc-alpha.c:945 config/tc-i960.c:2700 +#: config/tc-alpha.c:946 config/tc-i960.c:2701 msgid "syntax error" msgstr "" -#: config/tc-alpha.c:1019 config/tc-arm.c:6643 config/tc-h8300.c:1373 -#: config/tc-h8500.c:1197 config/tc-hppa.c:3990 config/tc-i860.c:931 -#: config/tc-m68hc11.c:481 config/tc-m68k.c:4193 config/tc-m88k.c:1105 -#: config/tc-ns32k.c:1663 config/tc-sparc.c:2830 config/tc-z8k.c:1324 +#: config/tc-alpha.c:1020 config/tc-arm.c:6640 config/tc-h8300.c:1373 +#: config/tc-h8500.c:1187 config/tc-hppa.c:3996 config/tc-i860.c:931 +#: config/tc-m68hc11.c:484 config/tc-m68k.c:4194 config/tc-m88k.c:1106 +#: config/tc-ns32k.c:1664 config/tc-sparc.c:2831 config/tc-z8k.c:1334 msgid "Bad call to MD_ATOF()" msgstr "" -#: config/tc-alpha.c:1069 +#: config/tc-alpha.c:1070 #, c-format msgid "Unknown CPU identifier `%s'" msgstr "" -#: config/tc-alpha.c:1113 +#: config/tc-alpha.c:1114 msgid "" "Alpha options:\n" "-32addr\t\t\ttreat addresses as 32-bit values\n" @@ -1081,317 +1091,297 @@ msgid "" "\t\t\tthese variants include PALcode opcodes\n" msgstr "" -#: config/tc-alpha.c:1123 +#: config/tc-alpha.c:1124 msgid "" "VMS options:\n" "-+\t\t\thash encode (don't truncate) names longer than 64 characters\n" "-H\t\t\tshow new symbol after hash truncation\n" msgstr "" -#: config/tc-alpha.c:1296 +#: config/tc-alpha.c:1297 #, c-format msgid "unhandled relocation type %s" msgstr "" -#: config/tc-alpha.c:1309 +#: config/tc-alpha.c:1310 msgid "non-absolute expression in constant field" msgstr "" -#: config/tc-alpha.c:1323 +#: config/tc-alpha.c:1324 #, c-format msgid "type %d reloc done?\n" msgstr "" -#: config/tc-alpha.c:1374 config/tc-alpha.c:1381 config/tc-mips.c:7372 +#: config/tc-alpha.c:1375 config/tc-alpha.c:1382 config/tc-mips.c:7373 msgid "Used $at without \".set noat\"" msgstr "" -#: config/tc-alpha.c:1564 +#: config/tc-alpha.c:1565 #, c-format msgid "cannot represent `%s' relocation in object file" msgstr "" -#: config/tc-alpha.c:1571 +#: config/tc-alpha.c:1572 #, c-format msgid "internal error? cannot generate `%s' relocation" msgstr "" -#: config/tc-alpha.c:1625 +#: config/tc-alpha.c:1626 #, c-format msgid "frame reg expected, using $%d." msgstr "" -#: config/tc-alpha.c:1752 +#: config/tc-alpha.c:1753 #, c-format msgid "No !literal!%d was found" msgstr "" #. only support one relocation op per insn -#: config/tc-alpha.c:1939 +#: config/tc-alpha.c:1940 msgid "More than one relocation op per insn" msgstr "" -#: config/tc-alpha.c:1956 +#: config/tc-alpha.c:1957 msgid "No relocation operand" msgstr "" -#: config/tc-alpha.c:1962 +#: config/tc-alpha.c:1963 #, c-format msgid "No !sequence-number after !%s" msgstr "" -#: config/tc-alpha.c:1975 +#: config/tc-alpha.c:1976 #, c-format msgid "Unknown relocation operand: !%s" msgstr "" -#: config/tc-alpha.c:1989 +#: config/tc-alpha.c:1990 #, c-format msgid "Bad sequence number: !%s!%s" msgstr "" -#: config/tc-alpha.c:2341 +#: config/tc-alpha.c:2342 #, c-format msgid "operand out of range (%s not between %d and %d)" msgstr "" -#: config/tc-alpha.c:2440 config/tc-d10v.c:621 config/tc-d30v.c:640 -#: config/tc-mn10200.c:1009 config/tc-mn10300.c:1406 config/tc-ppc.c:1940 -#: config/tc-ppc.c:2048 config/tc-ppc.c:2060 config/tc-s390.c:971 -#: config/tc-s390.c:1014 config/tc-v850.c:1856 config/tc-v850.c:1879 +#: config/tc-alpha.c:2441 config/tc-d10v.c:622 config/tc-d30v.c:640 +#: config/tc-mn10200.c:1010 config/tc-mn10300.c:1408 config/tc-ppc.c:1940 +#: config/tc-ppc.c:2048 config/tc-ppc.c:2060 config/tc-s390.c:1040 +#: config/tc-s390.c:1093 config/tc-v850.c:1856 config/tc-v850.c:1879 #: config/tc-v850.c:2099 msgid "too many fixups" msgstr "" -#: config/tc-alpha.c:2656 config/tc-alpha.c:2725 +#: config/tc-alpha.c:2657 config/tc-alpha.c:2726 #, c-format msgid "inappropriate arguments for opcode `%s'" msgstr "" -#: config/tc-alpha.c:2658 config/tc-alpha.c:2727 +#: config/tc-alpha.c:2659 config/tc-alpha.c:2728 #, c-format msgid "opcode `%s' not supported for target %s" msgstr "" -#: config/tc-alpha.c:2662 config/tc-alpha.c:2730 config/tc-avr.c:1090 +#: config/tc-alpha.c:2663 config/tc-alpha.c:2731 config/tc-avr.c:1090 #, c-format msgid "unknown opcode `%s'" msgstr "" -#: config/tc-alpha.c:2702 config/tc-alpha.c:2768 config/tc-alpha.c:3280 -#: config/tc-alpha.c:3340 config/tc-alpha.c:3392 config/tc-alpha.c:3467 -#: config/tc-alpha.c:3552 config/tc-alpha.c:3678 config/tc-alpha.c:3855 -#: config/tc-alpha.c:3912 config/tc-alpha.c:4022 config/tc-alpha.c:4129 -#: config/tc-alpha.c:4206 +#: config/tc-alpha.c:2703 config/tc-alpha.c:2769 config/tc-alpha.c:3281 +#: config/tc-alpha.c:3341 config/tc-alpha.c:3393 config/tc-alpha.c:3468 +#: config/tc-alpha.c:3553 config/tc-alpha.c:3679 config/tc-alpha.c:3856 +#: config/tc-alpha.c:3913 config/tc-alpha.c:4023 config/tc-alpha.c:4130 +#: config/tc-alpha.c:4207 #, c-format msgid "Cannot use !%s!%d with %s" msgstr "" -#: config/tc-alpha.c:2789 +#: config/tc-alpha.c:2790 msgid "can not resolve expression" msgstr "" -#: config/tc-alpha.c:2931 config/tc-alpha.c:3124 +#: config/tc-alpha.c:2932 config/tc-alpha.c:3125 msgid "overflow in literal (.lita) table" msgstr "" -#: config/tc-alpha.c:2938 config/tc-alpha.c:2961 config/tc-alpha.c:3137 -#: config/tc-alpha.c:3481 config/tc-alpha.c:3559 config/tc-alpha.c:3607 -#: config/tc-alpha.c:3707 config/tc-alpha.c:3932 config/tc-alpha.c:4044 +#: config/tc-alpha.c:2939 config/tc-alpha.c:2962 config/tc-alpha.c:3138 +#: config/tc-alpha.c:3482 config/tc-alpha.c:3560 config/tc-alpha.c:3608 +#: config/tc-alpha.c:3708 config/tc-alpha.c:3933 config/tc-alpha.c:4045 msgid "macro requires $at register while noat in effect" msgstr "" -#: config/tc-alpha.c:2940 config/tc-alpha.c:2963 config/tc-alpha.c:3139 +#: config/tc-alpha.c:2941 config/tc-alpha.c:2964 config/tc-alpha.c:3140 msgid "macro requires $at while $at in use" msgstr "" -#: config/tc-alpha.c:3086 expr.c:83 read.c:3164 +#: config/tc-alpha.c:3087 expr.c:84 read.c:3172 msgid "bignum invalid; zero assumed" msgstr "" -#: config/tc-alpha.c:3088 expr.c:85 read.c:3166 read.c:3499 read.c:4397 +#: config/tc-alpha.c:3089 expr.c:86 read.c:3174 read.c:3507 read.c:4405 msgid "floating point number invalid; zero assumed" msgstr "" -#: config/tc-alpha.c:3093 +#: config/tc-alpha.c:3094 msgid "can't handle expression" msgstr "" -#: config/tc-alpha.c:3130 +#: config/tc-alpha.c:3131 msgid "overflow in literal (.lit8) table" msgstr "" -#: config/tc-alpha.c:3302 +#: config/tc-alpha.c:3303 #, c-format msgid "bad instruction format for lda !%s!%ld" msgstr "" -#: config/tc-alpha.c:4302 config/tc-ppc.c:1467 config/tc-ppc.c:3689 +#: config/tc-alpha.c:4303 config/tc-ppc.c:1467 config/tc-ppc.c:3689 #: read.c:1369 #, c-format msgid ".COMMon length (%ld.) <0! Ignored." msgstr "" -#: config/tc-alpha.c:4340 config/tc-alpha.c:4349 config/tc-ppc.c:3726 +#: config/tc-alpha.c:4341 config/tc-alpha.c:4350 config/tc-ppc.c:3726 #: read.c:1393 #, c-format msgid "Length of .comm \"%s\" is already %ld. Not changed to %ld." msgstr "" -#: config/tc-alpha.c:4451 ecoff.c:3087 +#: config/tc-alpha.c:4452 ecoff.c:3088 msgid ".ent directive has no name" msgstr "" -#: config/tc-alpha.c:4459 +#: config/tc-alpha.c:4460 msgid "nested .ent directives" msgstr "" -#: config/tc-alpha.c:4495 ecoff.c:3035 +#: config/tc-alpha.c:4496 ecoff.c:3036 msgid ".end directive has no name" msgstr "" -#: config/tc-alpha.c:4504 +#: config/tc-alpha.c:4505 msgid ".end directive names different symbol than .ent" msgstr "" -#: config/tc-alpha.c:4581 +#: config/tc-alpha.c:4582 #, c-format msgid "Invalid argument %d to .prologue." msgstr "" -#: config/tc-alpha.c:4673 +#: config/tc-alpha.c:4674 msgid "ECOFF debugging is disabled." msgstr "" -#: config/tc-alpha.c:4694 +#: config/tc-alpha.c:4695 msgid "Unknown section directive" msgstr "" -#: config/tc-alpha.c:4730 +#: config/tc-alpha.c:4731 msgid ".ent directive has no symbol" msgstr "" -#: config/tc-alpha.c:4757 +#: config/tc-alpha.c:4758 msgid "Bad .frame directive 1./2. param" msgstr "" -#: config/tc-alpha.c:4769 +#: config/tc-alpha.c:4770 msgid "Bad .frame directive 3./4. param" msgstr "" -#: config/tc-alpha.c:4794 +#: config/tc-alpha.c:4795 msgid ".pdesc directive not in link (.link) section" msgstr "" -#: config/tc-alpha.c:4802 +#: config/tc-alpha.c:4803 msgid ".pdesc has no matching .ent" msgstr "" -#: config/tc-alpha.c:4813 +#: config/tc-alpha.c:4814 msgid ".pdesc directive has no entry symbol" msgstr "" -#: config/tc-alpha.c:4826 +#: config/tc-alpha.c:4827 msgid "No comma after .pdesc <entryname>" msgstr "" -#: config/tc-alpha.c:4849 +#: config/tc-alpha.c:4850 msgid "unknown procedure kind" msgstr "" -#: config/tc-alpha.c:4942 +#: config/tc-alpha.c:4943 msgid ".name directive not in link (.link) section" msgstr "" -#: config/tc-alpha.c:4950 +#: config/tc-alpha.c:4951 msgid ".name directive has no symbol" msgstr "" -#: config/tc-alpha.c:4984 +#: config/tc-alpha.c:4985 msgid "No symbol after .linkage" msgstr "" -#: config/tc-alpha.c:5012 +#: config/tc-alpha.c:5013 msgid "No symbol after .code_address" msgstr "" -#: config/tc-alpha.c:5045 ecoff.c:3253 +#: config/tc-alpha.c:5046 ecoff.c:3254 msgid "Bad .mask directive" msgstr "" -#: config/tc-alpha.c:5066 ecoff.c:3183 +#: config/tc-alpha.c:5067 ecoff.c:3184 msgid "Bad .fmask directive" msgstr "" -#: config/tc-alpha.c:5236 config/tc-arm.c:1593 read.c:2150 read.c:2737 -#: stabs.c:464 +#: config/tc-alpha.c:5237 config/tc-arm.c:1593 read.c:2150 read.c:2745 +#: stabs.c:472 #, c-format msgid "Expected comma after name \"%s\"" msgstr "" #. *symbol_get_obj (symbolP) = (signed char) temp; -#: config/tc-alpha.c:5247 +#: config/tc-alpha.c:5248 #, c-format msgid "unhandled: .proc %s,%d" msgstr "" -#: config/tc-alpha.c:5282 +#: config/tc-alpha.c:5283 #, c-format msgid "Tried to .set unrecognized mode `%s'" msgstr "" #. not fatal, but it might not work in the end -#: config/tc-alpha.c:5299 +#: config/tc-alpha.c:5300 msgid "File overrides no-base-register option." msgstr "" -#: config/tc-alpha.c:5316 +#: config/tc-alpha.c:5317 #, c-format msgid "Bad base register, using $%d." msgstr "" -#: config/tc-alpha.c:5338 +#: config/tc-alpha.c:5339 #, c-format msgid "Alignment too large: %d. assumed" msgstr "" -#: config/tc-alpha.c:5342 config/tc-d30v.c:2219 +#: config/tc-alpha.c:5343 config/tc-d30v.c:2219 msgid "Alignment negative: 0 assumed" msgstr "" -#: config/tc-alpha.c:5654 +#: config/tc-alpha.c:5655 #, c-format msgid "Chose GP value of %lx\n" msgstr "" -#: config/tc-arc.c:1608 config/tc-arm.c:7546 +#: config/tc-arc.c:1609 config/tc-arm.c:7552 msgid "md_estimate_size_before_relax\n" msgstr "" -#: config/tc-arc.c:1620 +#: config/tc-arc.c:1621 msgid "md_convert_frag\n" msgstr "" -#: config/tc-arm.c:1156 -msgid "Bad arguments to instruction" -msgstr "" - -#: config/tc-arm.c:1157 -msgid "r15 not allowed here" -msgstr "" - -#: config/tc-arm.c:1158 -msgid "Instruction should not have flags" -msgstr "" - -#: config/tc-arm.c:1159 -msgid "Instruction is not conditional" -msgstr "" - -#: config/tc-arm.c:1160 -msgid "acc0 expected" -msgstr "" - #: config/tc-arm.c:1289 msgid "Literal Pool Overflow" msgstr "" @@ -1400,7 +1390,7 @@ msgstr "" msgid "Invalid syntax for .req directive." msgstr "" -#: config/tc-arm.c:1506 config/tc-mips.c:9936 read.c:2035 +#: config/tc-arm.c:1506 config/tc-mips.c:9937 read.c:2035 #, c-format msgid "Alignment too large: %d. assumed." msgstr "" @@ -1409,7 +1399,7 @@ msgstr "" msgid "Alignment negative. 0 assumed." msgstr "" -#: config/tc-arm.c:1643 config/tc-m32r.c:418 read.c:2795 read.c:4857 +#: config/tc-arm.c:1643 config/tc-m32r.c:418 read.c:2803 read.c:4872 #, c-format msgid "symbol `%s' already defined" msgstr "" @@ -1687,10 +1677,10 @@ msgstr "" msgid "invalid register mask" msgstr "" -#: config/tc-arm.c:4583 config/tc-avr.c:852 config/tc-cris.c:2733 -#: config/tc-d10v.c:1560 config/tc-d30v.c:1865 config/tc-mips.c:3230 -#: config/tc-mips.c:4162 config/tc-mips.c:4963 config/tc-mips.c:5509 -#: config/tc-ppc.c:4853 config/tc-v850.c:2385 +#: config/tc-arm.c:4583 config/tc-avr.c:852 config/tc-cris.c:3009 +#: config/tc-d10v.c:1561 config/tc-d30v.c:1865 config/tc-mips.c:3231 +#: config/tc-mips.c:4163 config/tc-mips.c:4964 config/tc-mips.c:5510 +#: config/tc-ppc.c:4855 config/tc-v850.c:2385 msgid "expression too complex" msgstr "" @@ -1823,212 +1813,212 @@ msgstr "" msgid "invalid register list to push/pop instruction" msgstr "" -#: config/tc-arm.c:6443 config/tc-cris.c:664 +#: config/tc-arm.c:6443 config/tc-cris.c:684 msgid "Virtual memory exhausted" msgstr "" -#: config/tc-arm.c:6849 +#: config/tc-arm.c:6846 #, c-format msgid "invalid constant (%lx) after fixup" msgstr "" -#: config/tc-arm.c:6885 +#: config/tc-arm.c:6882 #, c-format msgid "Unable to compute ADRL instructions for PC offset of 0x%lx" msgstr "" -#: config/tc-arm.c:6915 +#: config/tc-arm.c:6912 #, c-format msgid "bad immediate value for offset (%ld)" msgstr "" -#: config/tc-arm.c:6937 config/tc-arm.c:6959 +#: config/tc-arm.c:6934 config/tc-arm.c:6956 msgid "invalid literal constant: pool needs to be closer" msgstr "" -#: config/tc-arm.c:6939 +#: config/tc-arm.c:6936 #, c-format msgid "bad immediate value for half-word offset (%ld)" msgstr "" -#: config/tc-arm.c:6976 +#: config/tc-arm.c:6973 msgid "shift expression is too large" msgstr "" -#: config/tc-arm.c:6995 config/tc-arm.c:7004 +#: config/tc-arm.c:6992 config/tc-arm.c:7001 msgid "Invalid swi expression" msgstr "" -#: config/tc-arm.c:7014 +#: config/tc-arm.c:7011 msgid "Invalid expression in load/store multiple" msgstr "" -#: config/tc-arm.c:7067 +#: config/tc-arm.c:7064 msgid "gas can't handle same-section branch dest >= 0x04000000" msgstr "" -#: config/tc-arm.c:7076 +#: config/tc-arm.c:7073 msgid "out of range branch" msgstr "" -#: config/tc-arm.c:7109 config/tc-arm.c:7125 config/tc-mips.c:9763 +#: config/tc-arm.c:7106 config/tc-arm.c:7122 config/tc-mips.c:9764 msgid "Branch out of range" msgstr "" -#: config/tc-arm.c:7148 +#: config/tc-arm.c:7145 msgid "Branch with link out of range" msgstr "" -#: config/tc-arm.c:7215 +#: config/tc-arm.c:7221 msgid "Illegal value for co-processor offset" msgstr "" -#: config/tc-arm.c:7239 +#: config/tc-arm.c:7245 #, c-format msgid "Invalid offset, target not word aligned (0x%08X)" msgstr "" -#: config/tc-arm.c:7245 config/tc-arm.c:7254 config/tc-arm.c:7261 -#: config/tc-arm.c:7268 config/tc-arm.c:7275 +#: config/tc-arm.c:7251 config/tc-arm.c:7260 config/tc-arm.c:7267 +#: config/tc-arm.c:7274 config/tc-arm.c:7281 #, c-format msgid "Invalid offset, value too big (0x%08lX)" msgstr "" -#: config/tc-arm.c:7314 +#: config/tc-arm.c:7320 msgid "Invalid immediate for stack address calculation" msgstr "" -#: config/tc-arm.c:7323 +#: config/tc-arm.c:7329 #, c-format msgid "Invalid immediate for address calculation (value = 0x%08lX)" msgstr "" -#: config/tc-arm.c:7333 +#: config/tc-arm.c:7339 msgid "Invalid 8bit immediate" msgstr "" -#: config/tc-arm.c:7341 +#: config/tc-arm.c:7347 msgid "Invalid 3bit immediate" msgstr "" -#: config/tc-arm.c:7357 +#: config/tc-arm.c:7363 #, c-format msgid "Invalid immediate: %ld is too large" msgstr "" -#: config/tc-arm.c:7372 +#: config/tc-arm.c:7378 #, c-format msgid "Illegal Thumb shift value: %ld" msgstr "" -#: config/tc-arm.c:7386 config/tc-mn10300.c:1961 +#: config/tc-arm.c:7392 config/tc-mn10300.c:1929 #, c-format msgid "Bad relocation fixup type (%d)" msgstr "" -#: config/tc-arm.c:7459 +#: config/tc-arm.c:7465 msgid "Literal referenced across section boundary (Implicit dump?)" msgstr "" -#: config/tc-arm.c:7472 +#: config/tc-arm.c:7478 #, c-format msgid "Internal_relocation (type %d) not fixed up (IMMEDIATE)" msgstr "" -#: config/tc-arm.c:7478 +#: config/tc-arm.c:7484 msgid "ADRL used for a symbol not defined in the same file" msgstr "" -#: config/tc-arm.c:7483 +#: config/tc-arm.c:7489 #, c-format msgid "Internal_relocation (type %d) not fixed up (OFFSET_IMM)" msgstr "" -#: config/tc-arm.c:7504 config/tc-cris.c:2672 config/tc-mcore.c:2109 -#: config/tc-ns32k.c:2369 +#: config/tc-arm.c:7510 config/tc-cris.c:2944 config/tc-mcore.c:2109 +#: config/tc-ns32k.c:2375 msgid "<unknown>" msgstr "" -#: config/tc-arm.c:7507 +#: config/tc-arm.c:7513 #, c-format msgid "Cannot represent %s relocation in this object file format" msgstr "" -#: config/tc-arm.c:7528 config/tc-mips.c:11281 config/tc-sh.c:3182 +#: config/tc-arm.c:7534 config/tc-mips.c:11282 config/tc-sh.c:3196 #, c-format msgid "Can not represent %s relocation in this object file format" msgstr "" -#: config/tc-arm.c:7625 +#: config/tc-arm.c:7631 #, c-format msgid "No operator -- statement `%s'\n" msgstr "" -#: config/tc-arm.c:7643 +#: config/tc-arm.c:7649 msgid "selected processor does not support this opcode" msgstr "" -#: config/tc-arm.c:7689 +#: config/tc-arm.c:7695 #, c-format msgid "Opcode `%s' must have suffix from list: <%s>" msgstr "" -#: config/tc-arm.c:7720 +#: config/tc-arm.c:7726 msgid "Warning: Use of the 'nv' conditional is deprecated\n" msgstr "" -#: config/tc-arm.c:7737 +#: config/tc-arm.c:7743 #, c-format msgid "Opcode `%s' is unconditional\n" msgstr "" -#: config/tc-arm.c:7761 +#: config/tc-arm.c:7767 #, c-format msgid "Opcode `%s' must have suffix from <%s>\n" msgstr "" -#: config/tc-arm.c:7852 +#: config/tc-arm.c:7858 #, c-format msgid "register '%s' does not exist\n" msgstr "" -#: config/tc-arm.c:7857 +#: config/tc-arm.c:7863 #, c-format msgid "ignoring redefinition of register alias '%s'" msgstr "" -#: config/tc-arm.c:7863 +#: config/tc-arm.c:7869 #, c-format msgid "" "ignoring redefinition of register alias '%s' to non-existant register '%s'" msgstr "" -#: config/tc-arm.c:7867 +#: config/tc-arm.c:7873 msgid "ignoring incomplete .req pseuso op" msgstr "" -#: config/tc-arm.c:7874 +#: config/tc-arm.c:7880 #, c-format msgid "bad instruction `%s'" msgstr "" -#: config/tc-arm.c:8049 +#: config/tc-arm.c:8055 #, c-format msgid "Unrecognised APCS switch -m%s" msgstr "" -#: config/tc-arm.c:8206 config/tc-arm.c:8219 config/tc-arm.c:8232 -#: config/tc-arm.c:8245 config/tc-arm.c:8251 +#: config/tc-arm.c:8212 config/tc-arm.c:8225 config/tc-arm.c:8238 +#: config/tc-arm.c:8251 config/tc-arm.c:8257 #, c-format msgid "Invalid architecture variant -m%s" msgstr "" -#: config/tc-arm.c:8258 +#: config/tc-arm.c:8264 #, c-format msgid "Invalid processor variant -m%s" msgstr "" -#: config/tc-arm.c:8281 +#: config/tc-arm.c:8287 msgid "" " ARM Specific Assembler Options:\n" " -m[arm][<processor name>] select processor variant\n" @@ -2044,7 +2034,7 @@ msgid "" " -k generate PIC code.\n" msgstr "" -#: config/tc-arm.c:8293 +#: config/tc-arm.c:8299 msgid "" " -mapcs-32, -mapcs-26 specify which ARM Procedure Calling Standard to " "use\n" @@ -2053,25 +2043,21 @@ msgid "" " -mapcs-reentrant the code is position independent/reentrant\n" msgstr "" -#: config/tc-arm.c:8300 +#: config/tc-arm.c:8306 msgid " -moabi support the old ELF ABI\n" msgstr "" -#: config/tc-arm.c:8304 +#: config/tc-arm.c:8310 msgid "" " -EB assemble code for a big endian cpu\n" " -EL assemble code for a little endian cpu\n" msgstr "" -#: config/tc-arm.c:8457 +#: config/tc-arm.c:8494 #, c-format msgid "%s: unexpected function type: %d" msgstr "" -#: config/tc-arm.h:98 -msgid "arm convert_frag\n" -msgstr "" - #: config/tc-avr.c:185 msgid "Known MCU names:" msgstr "" @@ -2108,9 +2094,9 @@ msgstr "" msgid "redefinition of mcu type `%s' to `%s'" msgstr "" -#: config/tc-avr.c:372 config/tc-d10v.c:313 config/tc-d30v.c:366 -#: config/tc-mips.c:8805 config/tc-mn10200.c:375 config/tc-pj.c:356 -#: config/tc-ppc.c:4518 config/tc-sh.c:2063 config/tc-v850.c:1291 +#: config/tc-avr.c:372 config/tc-d10v.c:314 config/tc-d30v.c:366 +#: config/tc-mips.c:8806 config/tc-mn10200.c:376 config/tc-pj.c:356 +#: config/tc-ppc.c:4519 config/tc-sh.c:2068 config/tc-v850.c:1291 msgid "bad call to md_atof" msgstr "" @@ -2194,7 +2180,7 @@ msgstr "" msgid "operand out of range: %ld" msgstr "" -#: config/tc-avr.c:1008 config/tc-d10v.c:1631 config/tc-d30v.c:1990 +#: config/tc-avr.c:1008 config/tc-d10v.c:1632 config/tc-d30v.c:1990 #, c-format msgid "line %d: unknown relocation type: 0x%x" msgstr "" @@ -2203,16 +2189,16 @@ msgstr "" msgid "only constant expression allowed" msgstr "" -#: config/tc-avr.c:1060 config/tc-d10v.c:1495 config/tc-d30v.c:1807 -#: config/tc-mn10200.c:1254 config/tc-mn10300.c:1810 config/tc-ppc.c:5160 +#: config/tc-avr.c:1060 config/tc-d10v.c:1496 config/tc-d30v.c:1807 +#: config/tc-mn10200.c:1255 config/tc-mn10300.c:1799 config/tc-ppc.c:5162 #: config/tc-v850.c:2301 #, c-format msgid "reloc %d not supported by object file format" msgstr "" -#: config/tc-avr.c:1084 config/tc-d10v.c:1102 config/tc-d10v.c:1116 -#: config/tc-h8300.c:1239 config/tc-h8500.c:1098 config/tc-mcore.c:988 -#: config/tc-pj.c:265 config/tc-sh.c:1645 config/tc-z8k.c:1195 +#: config/tc-avr.c:1084 config/tc-d10v.c:1103 config/tc-d10v.c:1117 +#: config/tc-h8300.c:1239 config/tc-h8500.c:1088 config/tc-mcore.c:988 +#: config/tc-pj.c:265 config/tc-sh.c:1650 config/tc-z8k.c:1205 msgid "can't find opcode " msgstr "" @@ -2247,171 +2233,205 @@ msgstr "" msgid "illegal %srelocation size: %d" msgstr "" -#: config/tc-cris.c:672 +#: config/tc-cris.c:692 #, c-format msgid "Can't hash `%s': %s\n" msgstr "" -#: config/tc-cris.c:673 +#: config/tc-cris.c:693 msgid "(unknown reason)" msgstr "" -#: config/tc-cris.c:677 +#: config/tc-cris.c:697 #, c-format msgid "Buggy opcode: `%s' \"%s\"\n" msgstr "" -#: config/tc-cris.c:1002 +#: config/tc-cris.c:1042 #, c-format msgid "Immediate value not in 5 bit unsigned range: %ld" msgstr "" -#: config/tc-cris.c:1018 +#: config/tc-cris.c:1058 #, c-format msgid "Immediate value not in 4 bit unsigned range: %ld" msgstr "" -#: config/tc-cris.c:1057 +#: config/tc-cris.c:1097 #, c-format msgid "Immediate value not in 6 bit range: %ld" msgstr "" -#: config/tc-cris.c:1072 +#: config/tc-cris.c:1112 #, c-format msgid "Immediate value not in 6 bit unsigned range: %ld" msgstr "" #. Others have a generic warning. -#: config/tc-cris.c:1159 +#: config/tc-cris.c:1202 #, c-format msgid "Unimplemented register `%s' specified" msgstr "" #. We've come to the end of instructions with this #. opcode, so it must be an error. -#: config/tc-cris.c:1309 +#: config/tc-cris.c:1361 msgid "Illegal operands" msgstr "" -#: config/tc-cris.c:1341 config/tc-cris.c:1372 +#: config/tc-cris.c:1392 config/tc-cris.c:1423 #, c-format msgid "Immediate value not in 8 bit range: %ld" msgstr "" -#: config/tc-cris.c:1351 config/tc-cris.c:1379 +#: config/tc-cris.c:1402 config/tc-cris.c:1430 #, c-format msgid "Immediate value not in 16 bit range: %ld" msgstr "" -#. FIXME: Find out and change to as_warn_where. Add testcase. -#: config/tc-cris.c:2316 +#: config/tc-cris.c:1451 +msgid "PIC relocation size does not match operand size" +msgstr "" + +#: config/tc-cris.c:2451 msgid "32-bit conditional branch generated" msgstr "" +#: config/tc-cris.c:2505 +msgid "Complex expression not supported" +msgstr "" + #. FIXME: Is this function mentioned in the internals.texi manual? If #. not, add it. -#: config/tc-cris.c:2395 +#: config/tc-cris.c:2626 msgid "Bad call to md_atof () - floating point formats are not supported" msgstr "" -#: config/tc-cris.c:2456 +#: config/tc-cris.c:2673 +msgid "PC-relative relocation must be trivially resolved" +msgstr "" + +#: config/tc-cris.c:2716 #, c-format msgid "Value not in 16 bit range: %ld" msgstr "" -#: config/tc-cris.c:2466 +#: config/tc-cris.c:2727 #, c-format msgid "Value not in 8 bit range: %ld" msgstr "" -#: config/tc-cris.c:2473 +#: config/tc-cris.c:2734 #, c-format msgid "Value not in 4 bit unsigned range: %ld" msgstr "" -#: config/tc-cris.c:2480 +#: config/tc-cris.c:2741 #, c-format msgid "Value not in 5 bit unsigned range: %ld" msgstr "" -#: config/tc-cris.c:2487 +#: config/tc-cris.c:2748 #, c-format msgid "Value not in 6 bit range: %ld" msgstr "" -#: config/tc-cris.c:2494 +#: config/tc-cris.c:2755 #, c-format msgid "Value not in 6 bit unsigned range: %ld" msgstr "" -#: config/tc-cris.c:2542 +#: config/tc-cris.c:2803 msgid "Please use --help to see usage and options for this assembler.\n" msgstr "" -#: config/tc-cris.c:2554 +#: config/tc-cris.c:2815 msgid "--no-underscore is invalid with a.out format" msgstr "" -#: config/tc-cris.c:2619 +#: config/tc-cris.c:2891 msgid "" "Semantics error. This type of operand can not be relocated, it must be an " "assembly-time constant" msgstr "" -#: config/tc-cris.c:2673 +#: config/tc-cris.c:2945 #, c-format msgid "Cannot generate relocation type for symbol %s, code %s" msgstr "" -#: config/tc-cris.c:2686 +#. The messages are formatted to line up with the generic options. +#: config/tc-cris.c:2959 msgid "CRIS-specific options:\n" msgstr "" -#: config/tc-cris.c:2688 +#: config/tc-cris.c:2961 msgid "" " -h, -H Don't execute, print this help text. Deprecated.\n" msgstr "" -#: config/tc-cris.c:2690 +#: config/tc-cris.c:2963 msgid " -N Warn when branches are expanded to jumps.\n" msgstr "" -#: config/tc-cris.c:2692 +#: config/tc-cris.c:2965 msgid "" " --underscore User symbols are normally prepended with " "underscore.\n" msgstr "" -#: config/tc-cris.c:2694 +#: config/tc-cris.c:2967 msgid " Registers will not need any prefix.\n" msgstr "" -#: config/tc-cris.c:2696 +#: config/tc-cris.c:2969 msgid " --no-underscore User symbols do not have any prefix.\n" msgstr "" -#: config/tc-cris.c:2698 +#: config/tc-cris.c:2971 msgid " Registers will require a `$'-prefix.\n" msgstr "" -#: config/tc-cris.c:2718 +#: config/tc-cris.c:2973 +msgid " --pic\t\t\tEnable generation of position-independent code.\n" +msgstr "" + +#: config/tc-cris.c:2994 msgid "Invalid relocation" msgstr "" -#: config/tc-cris.c:2758 +#: config/tc-cris.c:3039 msgid "Invalid pc-relative relocation" msgstr "" -#: config/tc-cris.c:2796 +#: config/tc-cris.c:3090 #, c-format msgid "Adjusted signed .word (%ld) overflows: `switch'-statement too large." msgstr "" -#: config/tc-cris.c:2870 +#: config/tc-cris.c:3117 +#, c-format +msgid ".syntax %s requires command-line option `--underscore'" +msgstr "" + +#: config/tc-cris.c:3126 +#, c-format +msgid ".syntax %s requires command-line option `--no-underscore'" +msgstr "" + +#: config/tc-cris.c:3164 msgid "Unknown .syntax operand" msgstr "" -#: config/tc-d10v.c:246 +#: config/tc-cris.c:3175 +msgid "Pseudodirective .file is only valid when generating ELF" +msgstr "" + +#: config/tc-cris.c:3188 +msgid "Pseudodirective .loc is only valid when generating ELF" +msgstr "" + +#: config/tc-d10v.c:247 msgid "" "D10V options:\n" "-O Optimize. Will do some operations in parallel.\n" @@ -2421,90 +2441,90 @@ msgid "" " instructions together.\n" msgstr "" -#: config/tc-d10v.c:530 config/tc-d30v.c:550 config/tc-mn10200.c:951 -#: config/tc-mn10300.c:1332 config/tc-ppc.c:1972 config/tc-s390.c:962 +#: config/tc-d10v.c:531 config/tc-d30v.c:550 config/tc-mn10200.c:952 +#: config/tc-mn10300.c:1334 config/tc-ppc.c:1972 config/tc-s390.c:1028 #: config/tc-tic80.c:278 config/tc-v850.c:2073 msgid "illegal operand" msgstr "" -#: config/tc-d10v.c:573 config/tc-d10v.c:655 config/tc-d30v.c:656 +#: config/tc-d10v.c:574 config/tc-d10v.c:656 config/tc-d30v.c:656 #, c-format msgid "operand out of range: %d" msgstr "" -#: config/tc-d10v.c:716 +#: config/tc-d10v.c:717 msgid "Instruction must be executed in parallel with another instruction." msgstr "" -#: config/tc-d10v.c:772 +#: config/tc-d10v.c:773 msgid "Instruction must be executed in parallel" msgstr "" -#: config/tc-d10v.c:775 +#: config/tc-d10v.c:776 msgid "Long instructions may not be combined." msgstr "" -#: config/tc-d10v.c:817 +#: config/tc-d10v.c:818 msgid "One of these instructions may not be executed in parallel." msgstr "" -#: config/tc-d10v.c:821 config/tc-d30v.c:877 +#: config/tc-d10v.c:822 config/tc-d30v.c:877 msgid "Two IU instructions may not be executed in parallel" msgstr "" -#: config/tc-d10v.c:823 config/tc-d10v.c:831 config/tc-d10v.c:848 -#: config/tc-d10v.c:865 config/tc-d30v.c:878 config/tc-d30v.c:887 +#: config/tc-d10v.c:824 config/tc-d10v.c:832 config/tc-d10v.c:849 +#: config/tc-d10v.c:866 config/tc-d30v.c:878 config/tc-d30v.c:887 msgid "Swapping instruction order" msgstr "" -#: config/tc-d10v.c:829 config/tc-d30v.c:884 +#: config/tc-d10v.c:830 config/tc-d30v.c:884 msgid "Two MU instructions may not be executed in parallel" msgstr "" -#: config/tc-d10v.c:852 config/tc-d30v.c:904 +#: config/tc-d10v.c:853 config/tc-d30v.c:904 msgid "IU instruction may not be in the left container" msgstr "" -#: config/tc-d10v.c:854 config/tc-d10v.c:871 +#: config/tc-d10v.c:855 config/tc-d10v.c:872 msgid "" "Instruction in R container is squashed by flow control instruction in L " "container." msgstr "" -#: config/tc-d10v.c:869 config/tc-d30v.c:915 +#: config/tc-d10v.c:870 config/tc-d30v.c:915 msgid "MU instruction may not be in the right container" msgstr "" -#: config/tc-d10v.c:877 config/tc-d30v.c:927 +#: config/tc-d10v.c:878 config/tc-d30v.c:927 msgid "unknown execution type passed to write_2_short()" msgstr "" -#: config/tc-d10v.c:1130 config/tc-d10v.c:1151 config/tc-d30v.c:1411 +#: config/tc-d10v.c:1131 config/tc-d10v.c:1152 config/tc-d30v.c:1411 msgid "Unable to mix instructions as specified" msgstr "" -#: config/tc-d10v.c:1198 config/tc-d30v.c:1548 +#: config/tc-d10v.c:1199 config/tc-d30v.c:1548 #, c-format msgid "unknown opcode: %s" msgstr "" -#: config/tc-d10v.c:1280 config/tc-d10v.c:1451 config/tc-tic80.c:535 +#: config/tc-d10v.c:1281 config/tc-d10v.c:1452 config/tc-tic80.c:535 msgid "bad opcode or operands" msgstr "" -#: config/tc-d10v.c:1353 config/tc-m68k.c:4300 +#: config/tc-d10v.c:1354 config/tc-m68k.c:4301 msgid "value out of range" msgstr "" -#: config/tc-d10v.c:1426 +#: config/tc-d10v.c:1427 msgid "illegal operand - register name found where none expected" msgstr "" -#: config/tc-d10v.c:1462 config/tc-tic80.c:546 +#: config/tc-d10v.c:1463 config/tc-tic80.c:546 msgid "Register number must be EVEN" msgstr "" -#: config/tc-d10v.c:1611 +#: config/tc-d10v.c:1612 #, c-format msgid "line %d: rep or repi must include at least 4 instructions" msgstr "" @@ -2664,7 +2684,7 @@ msgstr "" msgid "Addend to unresolved symbol not on word boundary." msgstr "" -#: config/tc-fr30.c:539 config/tc-i960.c:772 config/tc-m32r.c:1866 +#: config/tc-fr30.c:539 config/tc-i960.c:773 config/tc-m32r.c:1866 msgid "Bad call to md_atof()" msgstr "" @@ -2740,8 +2760,8 @@ msgstr "" msgid "invalid operands" msgstr "" -#: config/tc-h8300.c:1250 config/tc-h8500.c:1104 config/tc-mips.c:8000 -#: config/tc-sh.c:1882 config/tc-w65.c:740 config/tc-z8k.c:1205 +#: config/tc-h8300.c:1250 config/tc-h8500.c:1094 config/tc-mips.c:8001 +#: config/tc-sh.c:1887 config/tc-w65.c:734 config/tc-z8k.c:1215 msgid "unknown opcode" msgstr "" @@ -2749,851 +2769,834 @@ msgstr "" msgid "mismatch between opcode size and operand size" msgstr "" -#: config/tc-h8300.c:1307 config/tc-h8500.c:1131 config/tc-sh.c:2018 -#: config/tc-w65.c:770 config/tc-z8k.c:1258 +#: config/tc-h8300.c:1307 config/tc-h8500.c:1121 config/tc-sh.c:2023 +#: config/tc-w65.c:764 config/tc-z8k.c:1268 msgid "call to tc_crawl_symbol_chain \n" msgstr "" -#: config/tc-h8300.c:1321 config/tc-h8500.c:1145 config/tc-sh.c:2025 -#: config/tc-w65.c:784 config/tc-z8k.c:1272 +#: config/tc-h8300.c:1321 config/tc-h8500.c:1135 config/tc-sh.c:2030 +#: config/tc-w65.c:778 config/tc-z8k.c:1282 msgid "call to tc_headers_hook \n" msgstr "" -#: config/tc-h8300.c:1412 config/tc-h8500.c:1235 config/tc-z8k.c:1386 +#: config/tc-h8300.c:1412 config/tc-h8500.c:1225 config/tc-z8k.c:1396 msgid "call to tc_aout_fix_to_chars \n" msgstr "" -#: config/tc-h8300.c:1422 config/tc-z8k.c:1396 +#: config/tc-h8300.c:1422 config/tc-z8k.c:1406 msgid "call to md_convert_frag \n" msgstr "" -#: config/tc-h8300.c:1467 config/tc-z8k.c:1477 +#: config/tc-h8300.c:1467 config/tc-z8k.c:1487 msgid "call tomd_estimate_size_before_relax \n" msgstr "" -#: config/tc-h8500.c:333 +#: config/tc-h8500.c:323 msgid ":24 not valid for this opcode" msgstr "" -#: config/tc-h8500.c:340 +#: config/tc-h8500.c:330 msgid "expect :8,:16 or :24" msgstr "" -#: config/tc-h8500.c:397 +#: config/tc-h8500.c:387 msgid "syntax error in reg list" msgstr "" -#: config/tc-h8500.c:415 +#: config/tc-h8500.c:405 msgid "missing final register in range" msgstr "" -#: config/tc-h8500.c:502 config/tc-h8500.c:509 config/tc-h8500.c:515 +#: config/tc-h8500.c:492 config/tc-h8500.c:499 config/tc-h8500.c:505 msgid "expected @(exp, Rn)" msgstr "" -#: config/tc-h8500.c:531 +#: config/tc-h8500.c:521 msgid "@Rn+ needs word register" msgstr "" -#: config/tc-h8500.c:541 +#: config/tc-h8500.c:531 msgid "@Rn needs word register" msgstr "" -#: config/tc-h8500.c:838 config/tc-sh.c:1362 +#: config/tc-h8500.c:828 config/tc-sh.c:1367 #, c-format msgid "unhandled %d\n" msgstr "" -#: config/tc-h8500.c:866 config/tc-sh.c:1387 +#: config/tc-h8500.c:856 config/tc-sh.c:1392 #, c-format msgid "operand must be absolute in range %d..%d" msgstr "" -#: config/tc-h8500.c:955 config/tc-sh.c:1585 +#: config/tc-h8500.c:945 config/tc-sh.c:1590 #, c-format msgid "failed for %d\n" msgstr "" -#: config/tc-h8500.c:1120 config/tc-sh.c:1686 config/tc-sh.c:1931 -#: config/tc-w65.c:759 +#: config/tc-h8500.c:1110 config/tc-sh.c:1691 config/tc-sh.c:1936 +#: config/tc-w65.c:753 msgid "invalid operands for opcode" msgstr "" -#. Simple range checking for FIELD againt HIGH and LOW bounds. -#. IGNORE is used to suppress the error message. -#: config/tc-hppa.c:1144 -#, c-format -msgid "Field out of range [%d..%d] (%d)." -msgstr "" - -#. Simple alignment checking for FIELD againt ALIGN (a power of two). -#. IGNORE is used to suppress the error message. -#: config/tc-hppa.c:1158 -#, c-format -msgid "Field not properly aligned [%d] (%d)." -msgstr "" - -#: config/tc-hppa.c:1187 +#: config/tc-hppa.c:1193 msgid "Missing .exit\n" msgstr "" -#: config/tc-hppa.c:1190 +#: config/tc-hppa.c:1196 msgid "Missing .procend\n" msgstr "" -#: config/tc-hppa.c:1370 +#: config/tc-hppa.c:1376 msgid "Invalid field selector. Assuming F%%." msgstr "" -#: config/tc-hppa.c:1397 config/tc-hppa.c:6889 config/tc-hppa.c:6895 -#: config/tc-hppa.c:6901 config/tc-hppa.c:6907 config/tc-mn10300.c:924 -#: config/tc-mn10300.c:2135 +#: config/tc-hppa.c:1403 config/tc-hppa.c:6895 config/tc-hppa.c:6901 +#: config/tc-hppa.c:6907 config/tc-hppa.c:6913 config/tc-mn10300.c:926 +#: config/tc-mn10300.c:2103 msgid "could not set architecture and machine" msgstr "" -#: config/tc-hppa.c:1403 +#: config/tc-hppa.c:1409 msgid "-R option not supported on this target." msgstr "" -#: config/tc-hppa.c:1419 config/tc-sparc.c:802 config/tc-sparc.c:838 +#: config/tc-hppa.c:1425 config/tc-sparc.c:803 config/tc-sparc.c:839 #, c-format msgid "Internal error: can't hash `%s': %s\n" msgstr "" -#: config/tc-hppa.c:1427 config/tc-i860.c:190 +#: config/tc-hppa.c:1433 config/tc-i860.c:190 #, c-format msgid "internal error: losing opcode: `%s' \"%s\"\n" msgstr "" -#: config/tc-hppa.c:1498 config/tc-hppa.c:7028 config/tc-hppa.c:7085 +#: config/tc-hppa.c:1504 config/tc-hppa.c:7034 config/tc-hppa.c:7091 msgid "Missing function name for .PROC (corrupted label chain)" msgstr "" -#: config/tc-hppa.c:1501 config/tc-hppa.c:7088 +#: config/tc-hppa.c:1507 config/tc-hppa.c:7094 msgid "Missing function name for .PROC" msgstr "" -#: config/tc-hppa.c:1609 config/tc-hppa.c:4869 +#: config/tc-hppa.c:1615 config/tc-hppa.c:4875 msgid "could not update architecture and machine" msgstr "" -#: config/tc-hppa.c:1816 +#: config/tc-hppa.c:1822 msgid "Invalid Indexed Load Completer." msgstr "" -#: config/tc-hppa.c:1821 +#: config/tc-hppa.c:1827 msgid "Invalid Indexed Load Completer Syntax." msgstr "" -#: config/tc-hppa.c:1857 +#: config/tc-hppa.c:1863 msgid "Invalid Short Load/Store Completer." msgstr "" -#: config/tc-hppa.c:1916 config/tc-hppa.c:1921 +#: config/tc-hppa.c:1922 config/tc-hppa.c:1927 msgid "Invalid Store Bytes Short Completer" msgstr "" -#: config/tc-hppa.c:2232 config/tc-hppa.c:2238 +#: config/tc-hppa.c:2238 config/tc-hppa.c:2244 msgid "Invalid left/right combination completer" msgstr "" -#: config/tc-hppa.c:2287 config/tc-hppa.c:2294 +#: config/tc-hppa.c:2293 config/tc-hppa.c:2300 msgid "Invalid permutation completer" msgstr "" -#: config/tc-hppa.c:2395 +#: config/tc-hppa.c:2401 #, c-format msgid "Invalid Add Condition: %s" msgstr "" -#: config/tc-hppa.c:2406 config/tc-hppa.c:2416 +#: config/tc-hppa.c:2412 config/tc-hppa.c:2422 #, c-format msgid "Invalid Add and Branch Condition: %c" msgstr "" -#: config/tc-hppa.c:2437 +#: config/tc-hppa.c:2443 msgid "Invalid Compare/Subtract Condition" msgstr "" -#: config/tc-hppa.c:2477 +#: config/tc-hppa.c:2483 #, c-format msgid "Invalid Bit Branch Condition: %c" msgstr "" -#: config/tc-hppa.c:2563 +#: config/tc-hppa.c:2569 #, c-format msgid "Invalid Compare/Subtract Condition: %s" msgstr "" -#: config/tc-hppa.c:2575 +#: config/tc-hppa.c:2581 #, c-format msgid "Invalid Compare/Subtract Condition: %c" msgstr "" -#: config/tc-hppa.c:2590 +#: config/tc-hppa.c:2596 msgid "Invalid Compare and Branch Condition." msgstr "" -#: config/tc-hppa.c:2686 +#: config/tc-hppa.c:2692 msgid "Invalid Logical Instruction Condition." msgstr "" -#: config/tc-hppa.c:2741 +#: config/tc-hppa.c:2747 msgid "Invalid Shift/Extract/Deposit Condition." msgstr "" -#: config/tc-hppa.c:2853 +#: config/tc-hppa.c:2859 msgid "Invalid Unit Instruction Condition." msgstr "" -#: config/tc-hppa.c:3230 config/tc-hppa.c:3262 config/tc-hppa.c:3293 -#: config/tc-hppa.c:3323 +#: config/tc-hppa.c:3236 config/tc-hppa.c:3268 config/tc-hppa.c:3299 +#: config/tc-hppa.c:3329 msgid "Branch to unaligned address" msgstr "" -#: config/tc-hppa.c:3501 +#: config/tc-hppa.c:3507 msgid "Invalid SFU identifier" msgstr "" -#: config/tc-hppa.c:3551 +#: config/tc-hppa.c:3557 msgid "Invalid COPR identifier" msgstr "" -#: config/tc-hppa.c:3680 +#: config/tc-hppa.c:3686 msgid "Invalid Floating Point Operand Format." msgstr "" -#: config/tc-hppa.c:3797 config/tc-hppa.c:3817 config/tc-hppa.c:3837 -#: config/tc-hppa.c:3857 config/tc-hppa.c:3877 +#: config/tc-hppa.c:3803 config/tc-hppa.c:3823 config/tc-hppa.c:3843 +#: config/tc-hppa.c:3863 config/tc-hppa.c:3883 msgid "Invalid register for single precision fmpyadd or fmpysub" msgstr "" -#: config/tc-hppa.c:3934 +#: config/tc-hppa.c:3940 #, c-format msgid "Invalid operands %s" msgstr "" -#: config/tc-hppa.c:4052 +#: config/tc-hppa.c:4058 #, c-format msgid "Cannot handle fixup at %s:%d" msgstr "" -#: config/tc-hppa.c:4353 +#: config/tc-hppa.c:4359 msgid " -Q ignored\n" msgstr "" -#: config/tc-hppa.c:4357 +#: config/tc-hppa.c:4363 msgid " -c print a warning if a comment is found\n" msgstr "" -#: config/tc-hppa.c:4423 +#: config/tc-hppa.c:4429 #, c-format msgid "no hppa_fixup entry for fixup type 0x%x at %s:%d" msgstr "" -#: config/tc-hppa.c:4590 +#: config/tc-hppa.c:4596 msgid "Unknown relocation encountered in md_apply_fix." msgstr "" -#: config/tc-hppa.c:4733 config/tc-hppa.c:4758 +#: config/tc-hppa.c:4739 config/tc-hppa.c:4764 #, c-format msgid "Undefined register: '%s'." msgstr "" -#: config/tc-hppa.c:4792 +#: config/tc-hppa.c:4798 #, c-format msgid "Non-absolute symbol: '%s'." msgstr "" -#: config/tc-hppa.c:4807 +#: config/tc-hppa.c:4813 #, c-format msgid "Undefined absolute constant: '%s'." msgstr "" -#: config/tc-hppa.c:4908 +#: config/tc-hppa.c:4914 #, c-format msgid "Invalid FP Compare Condition: %s" msgstr "" -#: config/tc-hppa.c:4964 +#: config/tc-hppa.c:4970 #, c-format msgid "Invalid FTEST completer: %s" msgstr "" -#: config/tc-hppa.c:5031 config/tc-hppa.c:5069 +#: config/tc-hppa.c:5037 config/tc-hppa.c:5075 #, c-format msgid "Invalid FP Operand Format: %3s" msgstr "" -#: config/tc-hppa.c:5148 +#: config/tc-hppa.c:5154 msgid "Bad segment in expression." msgstr "" -#: config/tc-hppa.c:5207 +#: config/tc-hppa.c:5213 msgid "Bad segment (should be absolute)." msgstr "" -#: config/tc-hppa.c:5250 +#: config/tc-hppa.c:5256 #, c-format msgid "Invalid argument location: %s\n" msgstr "" -#: config/tc-hppa.c:5281 +#: config/tc-hppa.c:5287 #, c-format msgid "Invalid argument description: %d" msgstr "" -#: config/tc-hppa.c:5304 +#: config/tc-hppa.c:5310 #, c-format msgid "Invalid Nullification: (%c)" msgstr "" -#: config/tc-hppa.c:6040 +#: config/tc-hppa.c:6046 #, c-format msgid "Invalid .CALL argument: %s" msgstr "" -#: config/tc-hppa.c:6162 +#: config/tc-hppa.c:6168 msgid ".callinfo is not within a procedure definition" msgstr "" -#: config/tc-hppa.c:6182 +#: config/tc-hppa.c:6188 #, c-format msgid "FRAME parameter must be a multiple of 8: %d\n" msgstr "" -#: config/tc-hppa.c:6201 +#: config/tc-hppa.c:6207 msgid "Value for ENTRY_GR must be in the range 3..18\n" msgstr "" -#: config/tc-hppa.c:6213 +#: config/tc-hppa.c:6219 msgid "Value for ENTRY_FR must be in the range 12..21\n" msgstr "" -#: config/tc-hppa.c:6223 +#: config/tc-hppa.c:6229 msgid "Value for ENTRY_SR must be 3\n" msgstr "" -#: config/tc-hppa.c:6279 +#: config/tc-hppa.c:6285 #, c-format msgid "Invalid .CALLINFO argument: %s" msgstr "" -#: config/tc-hppa.c:6390 +#: config/tc-hppa.c:6396 msgid "The .ENTER pseudo-op is not supported" msgstr "" -#: config/tc-hppa.c:6406 +#: config/tc-hppa.c:6412 msgid "Misplaced .entry. Ignored." msgstr "" -#: config/tc-hppa.c:6410 +#: config/tc-hppa.c:6416 msgid "Missing .callinfo." msgstr "" -#: config/tc-hppa.c:6476 +#: config/tc-hppa.c:6482 msgid ".REG expression must be a register" msgstr "" -#: config/tc-hppa.c:6492 read.c:4728 +#: config/tc-hppa.c:6498 read.c:4736 msgid "bad or irreducible absolute expression; zero assumed" msgstr "" -#: config/tc-hppa.c:6503 +#: config/tc-hppa.c:6509 msgid ".REG must use a label" msgstr "" -#: config/tc-hppa.c:6505 +#: config/tc-hppa.c:6511 msgid ".EQU must use a label" msgstr "" -#: config/tc-hppa.c:6558 +#: config/tc-hppa.c:6564 msgid ".EXIT must appear within a procedure" msgstr "" -#: config/tc-hppa.c:6562 +#: config/tc-hppa.c:6568 msgid "Missing .callinfo" msgstr "" -#: config/tc-hppa.c:6566 +#: config/tc-hppa.c:6572 msgid "No .ENTRY for this .EXIT" msgstr "" -#: config/tc-hppa.c:6593 +#: config/tc-hppa.c:6599 #, c-format msgid "Cannot define export symbol: %s\n" msgstr "" -#: config/tc-hppa.c:6651 +#: config/tc-hppa.c:6657 #, c-format msgid "Using ENTRY rather than CODE in export directive for %s" msgstr "" -#: config/tc-hppa.c:6768 +#: config/tc-hppa.c:6774 #, c-format msgid "Undefined .EXPORT/.IMPORT argument (ignored): %s" msgstr "" -#: config/tc-hppa.c:6850 +#: config/tc-hppa.c:6856 msgid "Missing label name on .LABEL" msgstr "" -#: config/tc-hppa.c:6855 +#: config/tc-hppa.c:6861 msgid "extra .LABEL arguments ignored." msgstr "" -#: config/tc-hppa.c:6872 +#: config/tc-hppa.c:6878 msgid "The .LEAVE pseudo-op is not supported" msgstr "" -#: config/tc-hppa.c:6911 +#: config/tc-hppa.c:6917 msgid "Unrecognized .LEVEL argument\n" msgstr "" -#: config/tc-hppa.c:6947 +#: config/tc-hppa.c:6953 #, c-format msgid "Cannot define static symbol: %s\n" msgstr "" -#: config/tc-hppa.c:6982 +#: config/tc-hppa.c:6988 msgid "Nested procedures" msgstr "" -#: config/tc-hppa.c:6992 +#: config/tc-hppa.c:6998 msgid "Cannot allocate unwind descriptor\n" msgstr "" -#: config/tc-hppa.c:7092 +#: config/tc-hppa.c:7098 msgid "misplaced .procend" msgstr "" -#: config/tc-hppa.c:7095 +#: config/tc-hppa.c:7101 msgid "Missing .callinfo for this procedure" msgstr "" -#: config/tc-hppa.c:7098 +#: config/tc-hppa.c:7104 msgid "Missing .EXIT for a .ENTRY" msgstr "" -#: config/tc-hppa.c:7136 +#: config/tc-hppa.c:7142 msgid "Not in a space.\n" msgstr "" -#: config/tc-hppa.c:7139 +#: config/tc-hppa.c:7145 msgid "Not in a subspace.\n" msgstr "" -#: config/tc-hppa.c:7230 +#: config/tc-hppa.c:7236 msgid "Invalid .SPACE argument" msgstr "" -#: config/tc-hppa.c:7277 +#: config/tc-hppa.c:7283 msgid "Can't change spaces within a procedure definition. Ignored" msgstr "" -#: config/tc-hppa.c:7406 +#: config/tc-hppa.c:7412 #, c-format msgid "Undefined space: '%s' Assuming space number = 0." msgstr "" -#: config/tc-hppa.c:7430 +#: config/tc-hppa.c:7436 msgid "Must be in a space before changing or declaring subspaces.\n" msgstr "" -#: config/tc-hppa.c:7434 +#: config/tc-hppa.c:7440 msgid "Can't change subspaces within a procedure definition. Ignored" msgstr "" -#: config/tc-hppa.c:7469 +#: config/tc-hppa.c:7475 msgid "Parameters of an existing subspace can't be modified" msgstr "" -#: config/tc-hppa.c:7520 +#: config/tc-hppa.c:7526 msgid "Alignment must be a power of 2" msgstr "" -#: config/tc-hppa.c:7562 +#: config/tc-hppa.c:7568 msgid "FIRST not supported as a .SUBSPACE argument" msgstr "" -#: config/tc-hppa.c:7564 +#: config/tc-hppa.c:7570 msgid "Invalid .SUBSPACE argument" msgstr "" -#: config/tc-hppa.c:7744 +#: config/tc-hppa.c:7750 #, c-format msgid "Internal error: Unable to find containing space for %s." msgstr "" -#: config/tc-hppa.c:7783 +#: config/tc-hppa.c:7789 #, c-format msgid "Out of memory: could not allocate new space chain entry: %s\n" msgstr "" -#: config/tc-hppa.c:7869 +#: config/tc-hppa.c:7875 #, c-format msgid "Out of memory: could not allocate new subspace chain entry: %s\n" msgstr "" -#: config/tc-hppa.c:8563 +#: config/tc-hppa.c:8569 #, c-format msgid "Symbol '%s' could not be created." msgstr "" -#: config/tc-hppa.c:8567 +#: config/tc-hppa.c:8573 msgid "No memory for symbol name." msgstr "" -#: config/tc-i386.c:599 +#: config/tc-i386.c:596 #, c-format msgid "%s shortened to %s" msgstr "" -#: config/tc-i386.c:654 +#: config/tc-i386.c:651 msgid "same type of prefix used twice" msgstr "" -#: config/tc-i386.c:672 +#: config/tc-i386.c:669 msgid "64bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:676 +#: config/tc-i386.c:673 msgid "32bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:709 +#: config/tc-i386.c:706 msgid "bad argument to syntax directive." msgstr "" -#: config/tc-i386.c:753 +#: config/tc-i386.c:750 #, c-format msgid "no such architecture: `%s'" msgstr "" -#: config/tc-i386.c:758 +#: config/tc-i386.c:755 msgid "missing cpu architecture" msgstr "" -#: config/tc-i386.c:772 +#: config/tc-i386.c:769 #, c-format msgid "no such architecture modifier: `%s'" msgstr "" -#: config/tc-i386.c:826 config/tc-i386.c:4572 +#: config/tc-i386.c:823 config/tc-i386.c:4590 msgid "Unknown architecture" msgstr "" -#: config/tc-i386.c:861 config/tc-i386.c:884 config/tc-m68k.c:3815 +#: config/tc-i386.c:858 config/tc-i386.c:881 config/tc-m68k.c:3816 #, c-format msgid "Internal Error: Can't hash %s: %s" msgstr "" -#: config/tc-i386.c:1137 +#: config/tc-i386.c:1134 msgid "There are no unsigned pc-relative relocations" msgstr "" -#: config/tc-i386.c:1144 config/tc-i386.c:4728 +#: config/tc-i386.c:1141 config/tc-i386.c:4746 #, c-format msgid "can not do %d byte pc-relative relocation" msgstr "" -#: config/tc-i386.c:1161 +#: config/tc-i386.c:1158 #, c-format msgid "can not do %s %d byte relocation" msgstr "" -#: config/tc-i386.c:1272 config/tc-i386.c:1365 +#: config/tc-i386.c:1269 config/tc-i386.c:1362 #, c-format msgid "no such instruction: `%s'" msgstr "" -#: config/tc-i386.c:1281 +#: config/tc-i386.c:1278 #, c-format msgid "invalid character %s in mnemonic" msgstr "" -#: config/tc-i386.c:1288 +#: config/tc-i386.c:1285 msgid "expecting prefix; got nothing" msgstr "" -#: config/tc-i386.c:1290 +#: config/tc-i386.c:1287 msgid "expecting mnemonic; got nothing" msgstr "" -#: config/tc-i386.c:1308 +#: config/tc-i386.c:1305 #, c-format msgid "redundant %s prefix" msgstr "" -#: config/tc-i386.c:1376 +#: config/tc-i386.c:1373 #, c-format msgid "`%s' is not supported on `%s'" msgstr "" -#: config/tc-i386.c:1381 +#: config/tc-i386.c:1378 msgid "use .code16 to ensure correct addressing mode" msgstr "" -#: config/tc-i386.c:1389 +#: config/tc-i386.c:1386 #, c-format msgid "expecting string instruction after `%s'" msgstr "" -#: config/tc-i386.c:1410 +#: config/tc-i386.c:1407 #, c-format msgid "invalid character %s before operand %d" msgstr "" -#: config/tc-i386.c:1424 +#: config/tc-i386.c:1421 #, c-format msgid "unbalanced parenthesis in operand %d." msgstr "" -#: config/tc-i386.c:1427 +#: config/tc-i386.c:1424 #, c-format msgid "unbalanced brackets in operand %d." msgstr "" -#: config/tc-i386.c:1436 +#: config/tc-i386.c:1433 #, c-format msgid "invalid character %s in operand %d" msgstr "" -#: config/tc-i386.c:1463 +#: config/tc-i386.c:1460 #, c-format msgid "spurious operands; (%d operands/instruction max)" msgstr "" -#: config/tc-i386.c:1486 +#: config/tc-i386.c:1483 msgid "expecting operand after ','; got nothing" msgstr "" -#: config/tc-i386.c:1491 +#: config/tc-i386.c:1488 msgid "expecting operand before ','; got nothing" msgstr "" #. We found no match. -#: config/tc-i386.c:1839 +#: config/tc-i386.c:1832 #, c-format msgid "suffix or operands invalid for `%s'" msgstr "" -#: config/tc-i386.c:1850 +#: config/tc-i386.c:1843 #, c-format msgid "indirect %s without `*'" msgstr "" #. Warn them that a data or address size prefix doesn't #. affect assembly of the next line of code. -#: config/tc-i386.c:1858 +#: config/tc-i386.c:1851 #, c-format msgid "stand-alone `%s' prefix" msgstr "" -#: config/tc-i386.c:1894 config/tc-i386.c:1909 +#: config/tc-i386.c:1887 config/tc-i386.c:1902 msgid "`%s' operand %d must use `%%es' segment" msgstr "" -#: config/tc-i386.c:1924 +#: config/tc-i386.c:1917 msgid "Extended register `%%%s' available only in 64bit mode." msgstr "" #. Prohibit these changes in the 64bit mode, since #. the lowering is more complicated. -#: config/tc-i386.c:1995 config/tc-i386.c:2046 config/tc-i386.c:2061 -#: config/tc-i386.c:2089 config/tc-i386.c:2117 +#: config/tc-i386.c:1988 config/tc-i386.c:2042 config/tc-i386.c:2057 +#: config/tc-i386.c:2085 config/tc-i386.c:2113 msgid "Incorrect register `%%%s' used with`%c' suffix" msgstr "" -#: config/tc-i386.c:2001 config/tc-i386.c:2051 config/tc-i386.c:2122 +#: config/tc-i386.c:1994 config/tc-i386.c:2047 config/tc-i386.c:2118 msgid "using `%%%s' instead of `%%%s' due to `%c' suffix" msgstr "" -#: config/tc-i386.c:2014 config/tc-i386.c:2032 config/tc-i386.c:2076 -#: config/tc-i386.c:2103 +#: config/tc-i386.c:2010 config/tc-i386.c:2028 config/tc-i386.c:2072 +#: config/tc-i386.c:2099 msgid "`%%%s' not allowed with `%s%c'" msgstr "" -#: config/tc-i386.c:2163 +#: config/tc-i386.c:2159 msgid "no instruction mnemonic suffix given; can't determine immediate size" msgstr "" -#: config/tc-i386.c:2189 +#: config/tc-i386.c:2185 #, c-format msgid "" "no instruction mnemonic suffix given; can't determine immediate size %x %c" msgstr "" -#: config/tc-i386.c:2214 +#: config/tc-i386.c:2210 msgid "" "no instruction mnemonic suffix given and no register operands; can't size " "instruction" msgstr "" -#: config/tc-i386.c:2262 +#: config/tc-i386.c:2258 msgid "64bit operations available only in 64bit modes." msgstr "" #. Reversed arguments on faddp, fsubp, etc. -#: config/tc-i386.c:2330 +#: config/tc-i386.c:2326 msgid "translating to `%s %%%s,%%%s'" msgstr "" #. Extraneous `l' suffix on fp insn. -#: config/tc-i386.c:2337 +#: config/tc-i386.c:2333 msgid "translating to `%s %%%s'" msgstr "" -#: config/tc-i386.c:2610 +#: config/tc-i386.c:2606 msgid "you can't `pop %%cs'" msgstr "" #. UnixWare fsub no args is alias for fsubp, fadd -> faddp, etc. -#: config/tc-i386.c:2643 +#: config/tc-i386.c:2639 #, c-format msgid "translating to `%sp'" msgstr "" -#: config/tc-i386.c:2686 +#: config/tc-i386.c:2682 msgid "" "Can't encode registers '%%%s' in the instruction requiring REX prefix.\n" msgstr "" -#: config/tc-i386.c:2733 config/tc-i386.c:2807 config/tc-i386.c:2854 +#: config/tc-i386.c:2729 config/tc-i386.c:2803 config/tc-i386.c:2850 msgid "skipping prefixes on this instruction" msgstr "" -#: config/tc-i386.c:2875 +#: config/tc-i386.c:2871 msgid "16-bit jump out of range" msgstr "" -#: config/tc-i386.c:2884 +#: config/tc-i386.c:2880 #, c-format msgid "can't handle non absolute segment in `%s'" msgstr "" -#: config/tc-i386.c:3141 -msgid "only 1 or 2 immediate operands are allowed" -msgstr "" - -#: config/tc-i386.c:3171 config/tc-i386.c:3409 -msgid "GOT relocations not supported in 16 bit mode" +#: config/tc-i386.c:3184 +#, c-format +msgid "@%s reloc is not supported in %s bit mode" msgstr "" -#: config/tc-i386.c:3208 config/tc-i386.c:3445 -msgid "bad reloc specifier in expression" +#: config/tc-i386.c:3260 +msgid "only 1 or 2 immediate operands are allowed" msgstr "" -#: config/tc-i386.c:3226 config/tc-i386.c:3483 +#: config/tc-i386.c:3283 config/tc-i386.c:3491 #, c-format -msgid "ignoring junk `%s' after expression" +msgid "junk `%s' after expression" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3233 +#: config/tc-i386.c:3294 #, c-format msgid "missing or invalid immediate expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3264 config/tc-i386.c:3513 +#: config/tc-i386.c:3325 config/tc-i386.c:3524 #, c-format msgid "unimplemented segment %s in operand" msgstr "" -#: config/tc-i386.c:3266 config/tc-i386.c:3515 +#: config/tc-i386.c:3327 config/tc-i386.c:3526 #, c-format msgid "unimplemented segment type %d in operand" msgstr "" -#: config/tc-i386.c:3308 config/tc-i386.c:5487 +#: config/tc-i386.c:3371 config/tc-i386.c:5505 #, c-format msgid "expecting scale factor of 1, 2, 4, or 8: got `%s'" msgstr "" -#: config/tc-i386.c:3314 +#: config/tc-i386.c:3378 #, c-format msgid "scale factor of %d without an index register" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3494 +#: config/tc-i386.c:3505 #, c-format msgid "missing or invalid displacement expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3600 +#: config/tc-i386.c:3611 #, c-format msgid "`%s' is not a valid base/index expression" msgstr "" -#: config/tc-i386.c:3604 +#: config/tc-i386.c:3615 #, c-format msgid "`%s' is not a valid %s bit base/index expression" msgstr "" -#: config/tc-i386.c:3679 +#: config/tc-i386.c:3690 #, c-format msgid "bad memory operand `%s'" msgstr "" -#: config/tc-i386.c:3694 +#: config/tc-i386.c:3705 #, c-format msgid "junk `%s' after register" msgstr "" -#: config/tc-i386.c:3703 config/tc-i386.c:3818 config/tc-i386.c:3854 +#: config/tc-i386.c:3714 config/tc-i386.c:3829 config/tc-i386.c:3867 #, c-format msgid "bad register name `%s'" msgstr "" -#: config/tc-i386.c:3711 +#: config/tc-i386.c:3722 msgid "immediate operand illegal with absolute jump" msgstr "" -#: config/tc-i386.c:3733 +#: config/tc-i386.c:3744 #, c-format msgid "too many memory references for `%s'" msgstr "" -#: config/tc-i386.c:3811 +#: config/tc-i386.c:3822 #, c-format msgid "expecting `,' or `)' after index register in `%s'" msgstr "" -#: config/tc-i386.c:3833 +#: config/tc-i386.c:3846 #, c-format msgid "expecting `)' after scale factor in `%s'" msgstr "" -#: config/tc-i386.c:3840 +#: config/tc-i386.c:3853 #, c-format msgid "expecting index register or scale factor after `,'; got '%c'" msgstr "" -#: config/tc-i386.c:3847 +#: config/tc-i386.c:3860 #, c-format msgid "expecting `,' or `)' after base register in `%s'" msgstr "" #. It's not a memory operand; argh! -#: config/tc-i386.c:3888 +#: config/tc-i386.c:3901 #, c-format msgid "invalid char %s beginning operand %d `%s'" msgstr "" -#: config/tc-i386.c:4062 +#: config/tc-i386.c:4080 msgid "long jump required" msgstr "" -#: config/tc-i386.c:4368 +#: config/tc-i386.c:4386 msgid "Bad call to md_atof ()" msgstr "" -#: config/tc-i386.c:4525 +#: config/tc-i386.c:4543 msgid "No compiled in support for x86_64" msgstr "" -#: config/tc-i386.c:4546 +#: config/tc-i386.c:4564 msgid "" " -Q ignored\n" " -V print assembler version number\n" @@ -3602,63 +3605,63 @@ msgid "" " -s ignored\n" msgstr "" -#: config/tc-i386.c:4553 +#: config/tc-i386.c:4571 msgid " -q quieten some warnings\n" msgstr "" -#: config/tc-i386.c:4612 config/tc-s390.c:1446 +#: config/tc-i386.c:4630 config/tc-s390.c:1561 msgid "GOT already in symbol table" msgstr "" -#: config/tc-i386.c:4742 +#: config/tc-i386.c:4760 #, c-format msgid "can not do %d byte relocation" msgstr "" -#: config/tc-i386.c:4793 config/tc-s390.c:1746 +#: config/tc-i386.c:4811 config/tc-s390.c:1888 #, c-format msgid "cannot represent relocation type %s" msgstr "" -#: config/tc-i386.c:5089 +#: config/tc-i386.c:5107 #, c-format msgid "too many memory references for '%s'" msgstr "" -#: config/tc-i386.c:5252 +#: config/tc-i386.c:5270 #, c-format msgid "Unknown operand modifier `%s'\n" msgstr "" -#: config/tc-i386.c:5459 +#: config/tc-i386.c:5477 #, c-format msgid "`%s' is not a valid segment register" msgstr "" -#: config/tc-i386.c:5469 config/tc-i386.c:5590 +#: config/tc-i386.c:5487 config/tc-i386.c:5608 msgid "Register scaling only allowed in memory operands." msgstr "" -#: config/tc-i386.c:5500 +#: config/tc-i386.c:5518 msgid "Too many register references in memory operand.\n" msgstr "" -#: config/tc-i386.c:5569 +#: config/tc-i386.c:5587 #, c-format msgid "Syntax error. Expecting a constant. Got `%s'.\n" msgstr "" -#: config/tc-i386.c:5639 +#: config/tc-i386.c:5657 #, c-format msgid "Unrecognized token '%s'" msgstr "" -#: config/tc-i386.c:5656 +#: config/tc-i386.c:5674 #, c-format msgid "Unexpected token `%s'\n" msgstr "" -#: config/tc-i386.c:5800 +#: config/tc-i386.c:5818 #, c-format msgid "Unrecognized token `%s'\n" msgstr "" @@ -3667,7 +3670,7 @@ msgstr "" msgid "Unknown temporary pseudo register" msgstr "" -#: config/tc-i860.c:181 config/tc-mips.c:1027 +#: config/tc-i860.c:181 config/tc-mips.c:1028 #, c-format msgid "internal error: can't hash `%s': %s\n" msgstr "" @@ -3704,7 +3707,7 @@ msgstr "" msgid "Illegal operands for %s" msgstr "" -#: config/tc-i860.c:873 config/tc-sparc.c:2730 +#: config/tc-i860.c:873 config/tc-sparc.c:2731 msgid "bad segment" msgstr "" @@ -3767,45 +3770,41 @@ msgstr "" msgid "Unrecognized fix-up (0x%08x)" msgstr "" -#: config/tc-i860.h:82 -msgid "i860_convert_frag\n" -msgstr "" - -#: config/tc-i960.c:549 +#: config/tc-i960.c:550 #, c-format msgid "Hashing returned \"%s\"." msgstr "" #. Offset of last character in opcode mnemonic -#: config/tc-i960.c:583 +#: config/tc-i960.c:584 msgid "branch prediction invalid on this opcode" msgstr "" -#: config/tc-i960.c:623 +#: config/tc-i960.c:624 #, c-format msgid "invalid opcode, \"%s\"." msgstr "" -#: config/tc-i960.c:628 +#: config/tc-i960.c:629 #, c-format msgid "improper number of operands. expecting %d, got %d" msgstr "" -#: config/tc-i960.c:860 +#: config/tc-i960.c:861 #, c-format msgid "Fixup of %ld too large for field width of %d" msgstr "" -#: config/tc-i960.c:977 +#: config/tc-i960.c:978 #, c-format msgid "invalid architecture %s" msgstr "" -#: config/tc-i960.c:997 +#: config/tc-i960.c:998 msgid "I960 options:\n" msgstr "" -#: config/tc-i960.c:1000 +#: config/tc-i960.c:1001 msgid "" "\n" "\t\t\tspecify variant of 960 architecture\n" @@ -3816,212 +3815,212 @@ msgid "" "\t\t\tlong displacements\n" msgstr "" -#: config/tc-i960.c:1403 +#: config/tc-i960.c:1404 msgid "too many operands" msgstr "" -#: config/tc-i960.c:1462 config/tc-i960.c:1689 +#: config/tc-i960.c:1463 config/tc-i960.c:1690 msgid "expression syntax error" msgstr "" -#: config/tc-i960.c:1500 +#: config/tc-i960.c:1501 msgid "attempt to branch into different segment" msgstr "" -#: config/tc-i960.c:1504 +#: config/tc-i960.c:1505 #, c-format msgid "target of %s instruction must be a label" msgstr "" -#: config/tc-i960.c:1543 +#: config/tc-i960.c:1544 msgid "unmatched '['" msgstr "" -#: config/tc-i960.c:1554 +#: config/tc-i960.c:1555 msgid "garbage after index spec ignored" msgstr "" #. We never moved: there was no opcode either! -#: config/tc-i960.c:1620 +#: config/tc-i960.c:1621 msgid "missing opcode" msgstr "" -#: config/tc-i960.c:1923 +#: config/tc-i960.c:1924 msgid "invalid constant" msgstr "" -#: config/tc-i960.c:2035 +#: config/tc-i960.c:2036 msgid "invalid index register" msgstr "" -#: config/tc-i960.c:2058 +#: config/tc-i960.c:2059 msgid "invalid scale factor" msgstr "" -#: config/tc-i960.c:2241 +#: config/tc-i960.c:2242 msgid "unaligned register" msgstr "" -#: config/tc-i960.c:2264 +#: config/tc-i960.c:2265 msgid "no such sfr in this architecture" msgstr "" -#: config/tc-i960.c:2302 +#: config/tc-i960.c:2303 msgid "illegal literal" msgstr "" #. Should not happen: see block comment above -#: config/tc-i960.c:2532 +#: config/tc-i960.c:2533 #, c-format msgid "Trying to 'bal' to %s" msgstr "" -#: config/tc-i960.c:2543 +#: config/tc-i960.c:2544 msgid "Looks like a proc, but can't tell what kind.\n" msgstr "" -#: config/tc-i960.c:2574 +#: config/tc-i960.c:2575 msgid "should have 1 or 2 operands" msgstr "" -#: config/tc-i960.c:2583 config/tc-i960.c:2602 +#: config/tc-i960.c:2584 config/tc-i960.c:2603 #, c-format msgid "Redefining leafproc %s" msgstr "" -#: config/tc-i960.c:2633 +#: config/tc-i960.c:2634 msgid "should have two operands" msgstr "" -#: config/tc-i960.c:2643 +#: config/tc-i960.c:2644 msgid "'entry_num' must be absolute number in [0,31]" msgstr "" -#: config/tc-i960.c:2652 +#: config/tc-i960.c:2653 #, c-format msgid "Redefining entrynum for sysproc %s" msgstr "" -#: config/tc-i960.c:2759 +#: config/tc-i960.c:2760 msgid "architecture of opcode conflicts with that of earlier instruction(s)" msgstr "" -#: config/tc-i960.c:2780 +#: config/tc-i960.c:2781 msgid "big endian mode is not supported" msgstr "" -#: config/tc-i960.c:2782 +#: config/tc-i960.c:2783 #, c-format msgid "ignoring unrecognized .endian type `%s'" msgstr "" -#: config/tc-i960.c:3063 +#: config/tc-i960.c:3064 #, c-format msgid "leafproc symbol '%s' undefined" msgstr "" -#: config/tc-i960.c:3073 +#: config/tc-i960.c:3074 #, c-format msgid "Warning: making leafproc entries %s and %s both global\n" msgstr "" -#: config/tc-i960.c:3182 +#: config/tc-i960.c:3183 msgid "option --link-relax is only supported in b.out format" msgstr "" -#: config/tc-i960.c:3225 +#: config/tc-i960.c:3226 msgid "callj to difference of two symbols" msgstr "" -#: config/tc-ia64.c:997 +#: config/tc-ia64.c:998 msgid "Unwind directive not followed by an instruction." msgstr "" -#: config/tc-ia64.c:4261 +#: config/tc-ia64.c:4272 msgid "Register name expected" msgstr "" -#: config/tc-ia64.c:4266 config/tc-ia64.c:4552 +#: config/tc-ia64.c:4277 config/tc-ia64.c:4563 msgid "Comma expected" msgstr "" -#: config/tc-ia64.c:4274 +#: config/tc-ia64.c:4285 msgid "Register value annotation ignored" msgstr "" -#: config/tc-ia64.c:4298 +#: config/tc-ia64.c:4309 msgid "Directive invalid within a bundle" msgstr "" -#: config/tc-ia64.c:4365 +#: config/tc-ia64.c:4376 msgid "Missing predicate relation type" msgstr "" -#: config/tc-ia64.c:4381 +#: config/tc-ia64.c:4392 msgid "Unrecognized predicate relation type" msgstr "" -#: config/tc-ia64.c:4401 config/tc-ia64.c:4426 +#: config/tc-ia64.c:4412 config/tc-ia64.c:4437 msgid "Predicate register expected" msgstr "" -#: config/tc-ia64.c:4413 +#: config/tc-ia64.c:4424 msgid "Duplicate predicate register ignored" msgstr "" -#: config/tc-ia64.c:4435 +#: config/tc-ia64.c:4446 msgid "Bad register range" msgstr "" -#: config/tc-ia64.c:4463 +#: config/tc-ia64.c:4474 msgid "Predicate source and target required" msgstr "" -#: config/tc-ia64.c:4465 config/tc-ia64.c:4477 +#: config/tc-ia64.c:4476 config/tc-ia64.c:4488 msgid "Use of p0 is not valid in this context" msgstr "" -#: config/tc-ia64.c:4472 +#: config/tc-ia64.c:4483 msgid "At least two PR arguments expected" msgstr "" -#: config/tc-ia64.c:4486 +#: config/tc-ia64.c:4497 msgid "At least one PR argument expected" msgstr "" -#: config/tc-ia64.c:4522 +#: config/tc-ia64.c:4533 #, c-format msgid "Inserting \"%s\" into entry hint table failed: %s" msgstr "" #. FIXME -- need 62-bit relocation type -#: config/tc-ia64.c:4979 +#: config/tc-ia64.c:4990 msgid "62-bit relocation not yet implemented" msgstr "" #. XXX technically, this is wrong: we should not be issuing warning #. messages until we're sure this instruction pattern is going to #. be used! -#: config/tc-ia64.c:5052 +#: config/tc-ia64.c:5063 msgid "lower 16 bits of mask ignored" msgstr "" -#: config/tc-ia64.c:5607 +#: config/tc-ia64.c:5618 msgid "Value truncated to 62 bits" msgstr "" -#: config/tc-ia64.c:5958 +#: config/tc-ia64.c:5969 msgid "" "Additional NOP may be necessary to workaround Itanium processor A/B step " "errata" msgstr "" -#: config/tc-ia64.c:6141 +#: config/tc-ia64.c:6152 #, c-format msgid "Unrecognized option '-x%s'" msgstr "" -#: config/tc-ia64.c:6169 +#: config/tc-ia64.c:6180 msgid "" "IA-64 options:\n" " -milp32|-milp64|-mlp64|-mp64\tselect data model (default -mlp64)\n" @@ -4031,33 +4030,28 @@ msgid "" " -xdebug\t\t debug dependency violation checker\n" msgstr "" -#: config/tc-ia64.c:6439 config/tc-mips.c:1014 +#: config/tc-ia64.c:6450 config/tc-mips.c:1015 msgid "Could not set architecture and machine" msgstr "" -#: config/tc-ia64.c:6531 +#: config/tc-ia64.c:6542 msgid "Explicit stops are ignored in auto mode" msgstr "" -#: config/tc-ia64.c:6581 +#: config/tc-ia64.c:6592 msgid "Found '{' after explicit switch to automatic mode" msgstr "" -#: config/tc-ia64.c:6994 -#, c-format -msgid "Unhandled dependency %s for %s (%s), note %d" -msgstr "" - -#: config/tc-ia64.c:8270 +#: config/tc-ia64.c:8305 #, c-format msgid "Unrecognized dependency specifier %d\n" msgstr "" -#: config/tc-ia64.c:9061 +#: config/tc-ia64.c:9096 msgid "Only the first path encountering the conflict is reported" msgstr "" -#: config/tc-ia64.c:9064 +#: config/tc-ia64.c:9099 msgid "This is the location of the conflicting usage" msgstr "" @@ -4221,7 +4215,7 @@ msgstr "" msgid "Unmatched high/shigh reloc" msgstr "" -#: config/tc-m68hc11.c:308 +#: config/tc-m68hc11.c:311 #, c-format msgid "" "Motorola 68HC11/68HC12 options:\n" @@ -4237,55 +4231,55 @@ msgid "" " (used for testing)\n" msgstr "" -#: config/tc-m68hc11.c:349 +#: config/tc-m68hc11.c:352 #, c-format msgid "Default target `%s' is not supported." msgstr "" #. Dump the opcode statistics table. -#: config/tc-m68hc11.c:368 +#: config/tc-m68hc11.c:371 msgid "Name # Modes Min ops Max ops Modes mask # Used\n" msgstr "" -#: config/tc-m68hc11.c:418 +#: config/tc-m68hc11.c:421 #, c-format msgid "Option `%s' is not recognized." msgstr "" -#: config/tc-m68hc11.c:639 +#: config/tc-m68hc11.c:642 msgid "#<imm8>" msgstr "" -#: config/tc-m68hc11.c:648 +#: config/tc-m68hc11.c:651 msgid "#<imm16>" msgstr "" -#: config/tc-m68hc11.c:657 config/tc-m68hc11.c:666 +#: config/tc-m68hc11.c:660 config/tc-m68hc11.c:669 msgid "<imm8>,X" msgstr "" -#: config/tc-m68hc11.c:684 +#: config/tc-m68hc11.c:687 msgid "*<abs8>" msgstr "" -#: config/tc-m68hc11.c:696 +#: config/tc-m68hc11.c:699 msgid "#<mask>" msgstr "" -#: config/tc-m68hc11.c:706 +#: config/tc-m68hc11.c:709 #, c-format msgid "symbol%d" msgstr "" -#: config/tc-m68hc11.c:708 +#: config/tc-m68hc11.c:711 msgid "<abs>" msgstr "" -#: config/tc-m68hc11.c:727 +#: config/tc-m68hc11.c:730 msgid "<label>" msgstr "" -#: config/tc-m68hc11.c:743 +#: config/tc-m68hc11.c:746 #, c-format msgid "" "# Example of `%s' instructions\n" @@ -4293,588 +4287,588 @@ msgid "" "_start:\n" msgstr "" -#: config/tc-m68hc11.c:791 +#: config/tc-m68hc11.c:794 #, c-format msgid "Instruction `%s' is not recognized." msgstr "" -#: config/tc-m68hc11.c:796 +#: config/tc-m68hc11.c:799 #, c-format msgid "Instruction formats for `%s':" msgstr "" -#: config/tc-m68hc11.c:929 +#: config/tc-m68hc11.c:932 #, c-format msgid "Immediate operand is not allowed for operand %d." msgstr "" -#: config/tc-m68hc11.c:955 +#: config/tc-m68hc11.c:958 msgid "Indirect indexed addressing is not valid for 68HC11." msgstr "" -#: config/tc-m68hc11.c:975 +#: config/tc-m68hc11.c:978 msgid "Spurious `,' or bad indirect register addressing mode." msgstr "" -#: config/tc-m68hc11.c:991 +#: config/tc-m68hc11.c:994 msgid "Missing second register or offset for indexed-indirect mode." msgstr "" -#: config/tc-m68hc11.c:1001 +#: config/tc-m68hc11.c:1004 msgid "Missing second register for indexed-indirect mode." msgstr "" -#: config/tc-m68hc11.c:1017 +#: config/tc-m68hc11.c:1020 msgid "Missing `]' to close indexed-indirect mode." msgstr "" -#: config/tc-m68hc11.c:1061 +#: config/tc-m68hc11.c:1064 msgid "Illegal operand." msgstr "" -#: config/tc-m68hc11.c:1066 +#: config/tc-m68hc11.c:1069 msgid "Missing operand." msgstr "" -#: config/tc-m68hc11.c:1118 +#: config/tc-m68hc11.c:1121 msgid "Pre-increment mode is not valid for 68HC11" msgstr "" -#: config/tc-m68hc11.c:1131 +#: config/tc-m68hc11.c:1134 msgid "Wrong register in register indirect mode." msgstr "" -#: config/tc-m68hc11.c:1139 +#: config/tc-m68hc11.c:1142 msgid "Missing `]' to close register indirect operand." msgstr "" -#: config/tc-m68hc11.c:1156 +#: config/tc-m68hc11.c:1159 msgid "Post-decrement mode is not valid for 68HC11." msgstr "" -#: config/tc-m68hc11.c:1164 +#: config/tc-m68hc11.c:1167 msgid "Post-increment mode is not valid for 68HC11." msgstr "" -#: config/tc-m68hc11.c:1181 +#: config/tc-m68hc11.c:1184 msgid "Invalid indexed indirect mode." msgstr "" -#: config/tc-m68hc11.c:1275 +#: config/tc-m68hc11.c:1278 #, c-format msgid "Trap id `%ld' is out of range." msgstr "" -#: config/tc-m68hc11.c:1279 +#: config/tc-m68hc11.c:1282 msgid "Trap id must be within [0x30..0x39] or [0x40..0xff]." msgstr "" -#: config/tc-m68hc11.c:1286 +#: config/tc-m68hc11.c:1289 #, c-format msgid "Operand out of 8-bit range: `%ld'." msgstr "" -#: config/tc-m68hc11.c:1293 +#: config/tc-m68hc11.c:1296 msgid "The trap id must be a constant." msgstr "" -#: config/tc-m68hc11.c:1318 +#: config/tc-m68hc11.c:1321 #, c-format msgid "Operand `%x' not recognized in fixup8." msgstr "" -#: config/tc-m68hc11.c:1338 +#: config/tc-m68hc11.c:1341 #, c-format msgid "Operand out of 16-bit range: `%ld'." msgstr "" -#: config/tc-m68hc11.c:1359 +#: config/tc-m68hc11.c:1362 #, c-format msgid "Operand `%x' not recognized in fixup16." msgstr "" -#: config/tc-m68hc11.c:1377 +#: config/tc-m68hc11.c:1380 #, c-format msgid "Unexpected branch conversion with `%x'" msgstr "" -#: config/tc-m68hc11.c:1464 config/tc-m68hc11.c:1591 +#: config/tc-m68hc11.c:1467 config/tc-m68hc11.c:1594 #, c-format msgid "Operand out of range for a relative branch: `%ld'" msgstr "" -#: config/tc-m68hc11.c:1559 +#: config/tc-m68hc11.c:1562 msgid "Invalid register for dbcc/tbcc instruction." msgstr "" -#: config/tc-m68hc11.c:1650 +#: config/tc-m68hc11.c:1653 #, c-format msgid "Increment/decrement value is out of range: `%ld'." msgstr "" -#: config/tc-m68hc11.c:1661 +#: config/tc-m68hc11.c:1664 msgid "Expecting a register." msgstr "" -#: config/tc-m68hc11.c:1676 +#: config/tc-m68hc11.c:1679 msgid "Invalid register for post/pre increment." msgstr "" -#: config/tc-m68hc11.c:1706 +#: config/tc-m68hc11.c:1709 msgid "Invalid register." msgstr "" -#: config/tc-m68hc11.c:1713 +#: config/tc-m68hc11.c:1716 #, c-format msgid "Offset out of 16-bit range: %ld." msgstr "" -#: config/tc-m68hc11.c:1718 +#: config/tc-m68hc11.c:1721 #, c-format msgid "Offset out of 5-bit range for movw/movb insn: %ld." msgstr "" -#: config/tc-m68hc11.c:1784 +#: config/tc-m68hc11.c:1787 msgid "Expecting register D for indexed indirect mode." msgstr "" -#: config/tc-m68hc11.c:1786 +#: config/tc-m68hc11.c:1789 msgid "Indexed indirect mode is not allowed for movb/movw." msgstr "" -#: config/tc-m68hc11.c:1803 +#: config/tc-m68hc11.c:1806 msgid "Invalid accumulator register." msgstr "" -#: config/tc-m68hc11.c:1828 +#: config/tc-m68hc11.c:1831 msgid "Invalid indexed register." msgstr "" -#: config/tc-m68hc11.c:1836 +#: config/tc-m68hc11.c:1839 msgid "Addressing mode not implemented yet." msgstr "" -#: config/tc-m68hc11.c:1851 +#: config/tc-m68hc11.c:1854 msgid "Invalid source register for this instruction, use 'tfr'." msgstr "" -#: config/tc-m68hc11.c:1853 +#: config/tc-m68hc11.c:1856 msgid "Invalid source register." msgstr "" -#: config/tc-m68hc11.c:1858 +#: config/tc-m68hc11.c:1861 msgid "Invalid destination register for this instruction, use 'tfr'." msgstr "" -#: config/tc-m68hc11.c:1860 +#: config/tc-m68hc11.c:1863 msgid "Invalid destination register." msgstr "" -#: config/tc-m68hc11.c:1945 +#: config/tc-m68hc11.c:1948 msgid "Invalid indexed register, expecting register X." msgstr "" -#: config/tc-m68hc11.c:1947 +#: config/tc-m68hc11.c:1950 msgid "Invalid indexed register, expecting register Y." msgstr "" -#: config/tc-m68hc11.c:2239 +#: config/tc-m68hc11.c:2242 msgid "No instruction or missing opcode." msgstr "" -#: config/tc-m68hc11.c:2304 +#: config/tc-m68hc11.c:2307 #, c-format msgid "Opcode `%s' is not recognized." msgstr "" -#: config/tc-m68hc11.c:2326 +#: config/tc-m68hc11.c:2329 #, c-format msgid "Garbage at end of instruction: `%s'." msgstr "" -#: config/tc-m68hc11.c:2349 +#: config/tc-m68hc11.c:2352 #, c-format msgid "Invalid operand for `%s'" msgstr "" -#: config/tc-m68hc11.c:2406 +#: config/tc-m68hc11.c:2409 #, c-format msgid "Relocation %d is not supported by object file format." msgstr "" -#: config/tc-m68hc11.c:2587 +#: config/tc-m68hc11.c:2590 msgid "bra or bsr with undefined symbol." msgstr "" -#: config/tc-m68hc11.c:2698 +#: config/tc-m68hc11.c:2701 #, c-format msgid "Subtype %d is not recognized." msgstr "" -#: config/tc-m68hc11.c:2735 +#: config/tc-m68hc11.c:2738 msgid "Expression too complex." msgstr "" -#: config/tc-m68hc11.c:2764 +#: config/tc-m68hc11.c:2767 msgid "Value out of 16-bit range." msgstr "" -#: config/tc-m68hc11.c:2787 +#: config/tc-m68hc11.c:2790 #, c-format msgid "Value %ld too large for 8-bit PC-relative branch." msgstr "" -#: config/tc-m68hc11.c:2794 +#: config/tc-m68hc11.c:2797 #, c-format msgid "Auto increment/decrement offset '%ld' is out of range." msgstr "" -#: config/tc-m68hc11.c:2805 +#: config/tc-m68hc11.c:2808 #, c-format msgid "Line %d: unknown relocation type: 0x%x." msgstr "" -#: config/tc-m68k.c:683 +#: config/tc-m68k.c:684 msgid "Unknown PC relative instruction" msgstr "" -#: config/tc-m68k.c:809 +#: config/tc-m68k.c:810 #, c-format msgid "Can not do %d byte pc-relative relocation" msgstr "" -#: config/tc-m68k.c:811 +#: config/tc-m68k.c:812 #, c-format msgid "Can not do %d byte pc-relative pic relocation" msgstr "" -#: config/tc-m68k.c:816 +#: config/tc-m68k.c:817 #, c-format msgid "Can not do %d byte relocation" msgstr "" -#: config/tc-m68k.c:818 +#: config/tc-m68k.c:819 #, c-format msgid "Can not do %d byte pic relocation" msgstr "" -#: config/tc-m68k.c:888 +#: config/tc-m68k.c:889 #, c-format msgid "Unable to produce reloc against symbol '%s'" msgstr "" -#: config/tc-m68k.c:932 config/tc-mips.c:11262 +#: config/tc-m68k.c:933 config/tc-mips.c:11263 #, c-format msgid "Cannot make %s relocation PC relative" msgstr "" -#: config/tc-m68k.c:1045 config/tc-tahoe.c:1503 config/tc-vax.c:1766 +#: config/tc-m68k.c:1046 config/tc-tahoe.c:1519 config/tc-vax.c:1766 msgid "No operator" msgstr "" -#: config/tc-m68k.c:1075 config/tc-tahoe.c:1520 config/tc-vax.c:1783 +#: config/tc-m68k.c:1076 config/tc-tahoe.c:1536 config/tc-vax.c:1783 msgid "Unknown operator" msgstr "" -#: config/tc-m68k.c:1850 +#: config/tc-m68k.c:1851 msgid "invalid instruction for this architecture; needs " msgstr "" -#: config/tc-m68k.c:1855 +#: config/tc-m68k.c:1856 msgid "fpu (68040, 68060 or 68881/68882)" msgstr "" -#: config/tc-m68k.c:1858 +#: config/tc-m68k.c:1859 msgid "mmu (68030 or 68851)" msgstr "" -#: config/tc-m68k.c:1861 +#: config/tc-m68k.c:1862 msgid "68020 or higher" msgstr "" -#: config/tc-m68k.c:1864 +#: config/tc-m68k.c:1865 msgid "68000 or higher" msgstr "" -#: config/tc-m68k.c:1867 +#: config/tc-m68k.c:1868 msgid "68010 or higher" msgstr "" -#: config/tc-m68k.c:1896 +#: config/tc-m68k.c:1897 msgid "operands mismatch" msgstr "" -#: config/tc-m68k.c:1953 config/tc-m68k.c:1959 config/tc-m68k.c:1965 +#: config/tc-m68k.c:1954 config/tc-m68k.c:1960 config/tc-m68k.c:1966 msgid "operand out of range" msgstr "" -#: config/tc-m68k.c:2022 +#: config/tc-m68k.c:2023 #, c-format msgid "Bignum too big for %c format; truncated" msgstr "" -#: config/tc-m68k.c:2090 +#: config/tc-m68k.c:2091 msgid "displacement too large for this architecture; needs 68020 or higher" msgstr "" -#: config/tc-m68k.c:2200 +#: config/tc-m68k.c:2201 msgid "" "scale factor invalid on this architecture; needs cpu32 or 68020 or higher" msgstr "" -#: config/tc-m68k.c:2205 +#: config/tc-m68k.c:2206 msgid "invalid index size for coldfire" msgstr "" -#: config/tc-m68k.c:2258 +#: config/tc-m68k.c:2259 msgid "Forcing byte displacement" msgstr "" -#: config/tc-m68k.c:2260 +#: config/tc-m68k.c:2261 msgid "byte displacement out of range" msgstr "" -#: config/tc-m68k.c:2307 config/tc-m68k.c:2345 +#: config/tc-m68k.c:2308 config/tc-m68k.c:2346 msgid "invalid operand mode for this architecture; needs 68020 or higher" msgstr "" -#: config/tc-m68k.c:2331 config/tc-m68k.c:2365 +#: config/tc-m68k.c:2332 config/tc-m68k.c:2366 msgid ":b not permitted; defaulting to :w" msgstr "" -#: config/tc-m68k.c:2442 +#: config/tc-m68k.c:2443 msgid "unsupported byte value; use a different suffix" msgstr "" -#: config/tc-m68k.c:2456 +#: config/tc-m68k.c:2457 msgid "unknown/incorrect operand" msgstr "" -#: config/tc-m68k.c:2489 config/tc-m68k.c:2497 config/tc-m68k.c:2504 -#: config/tc-m68k.c:2511 +#: config/tc-m68k.c:2490 config/tc-m68k.c:2498 config/tc-m68k.c:2505 +#: config/tc-m68k.c:2512 msgid "out of range" msgstr "" -#: config/tc-m68k.c:2561 +#: config/tc-m68k.c:2562 msgid "Can't use long branches on 68000/68010/5200" msgstr "" -#: config/tc-m68k.c:2671 +#: config/tc-m68k.c:2672 msgid "Expression out of range, using 0" msgstr "" -#: config/tc-m68k.c:2783 config/tc-m68k.c:2799 +#: config/tc-m68k.c:2784 config/tc-m68k.c:2800 msgid "Floating point register in register list" msgstr "" -#: config/tc-m68k.c:2789 +#: config/tc-m68k.c:2790 msgid "Wrong register in floating-point reglist" msgstr "" -#: config/tc-m68k.c:2805 +#: config/tc-m68k.c:2806 msgid "incorrect register in reglist" msgstr "" -#: config/tc-m68k.c:2811 +#: config/tc-m68k.c:2812 msgid "wrong register in floating-point reglist" msgstr "" -#: config/tc-m68k.c:2887 +#: config/tc-m68k.c:2888 msgid "failed sanity check" msgstr "" #. ERROR -#: config/tc-m68k.c:3252 +#: config/tc-m68k.c:3253 msgid "Extra )" msgstr "" #. ERROR -#: config/tc-m68k.c:3263 +#: config/tc-m68k.c:3264 msgid "Missing )" msgstr "" -#: config/tc-m68k.c:3280 +#: config/tc-m68k.c:3281 msgid "Missing operand" msgstr "" -#: config/tc-m68k.c:3612 +#: config/tc-m68k.c:3613 #, c-format msgid "%s -- statement `%s' ignored" msgstr "" -#: config/tc-m68k.c:3656 +#: config/tc-m68k.c:3657 #, c-format msgid "Don't know how to figure width of %c in md_assemble()" msgstr "" -#: config/tc-m68k.c:3824 config/tc-m68k.c:3862 +#: config/tc-m68k.c:3825 config/tc-m68k.c:3863 #, c-format msgid "Internal Error: Can't find %s in hash table" msgstr "" -#: config/tc-m68k.c:3827 config/tc-m68k.c:3865 +#: config/tc-m68k.c:3828 config/tc-m68k.c:3866 #, c-format msgid "Internal Error: Can't hash %s: %s" msgstr "" -#: config/tc-m68k.c:3994 +#: config/tc-m68k.c:3995 #, c-format msgid "unrecognized default cpu `%s' ???" msgstr "" -#: config/tc-m68k.c:4006 +#: config/tc-m68k.c:4007 msgid "68040 and 68851 specified; mmu instructions may assemble incorrectly" msgstr "" -#: config/tc-m68k.c:4026 +#: config/tc-m68k.c:4027 msgid "options for 68881 and no-68881 both given" msgstr "" -#: config/tc-m68k.c:4028 +#: config/tc-m68k.c:4029 msgid "options for 68851 and no-68851 both given" msgstr "" -#: config/tc-m68k.c:4099 +#: config/tc-m68k.c:4100 #, c-format msgid "text label `%s' aligned to odd boundary" msgstr "" -#: config/tc-m68k.c:4316 +#: config/tc-m68k.c:4317 msgid "invalid byte branch offset" msgstr "" -#: config/tc-m68k.c:4374 +#: config/tc-m68k.c:4375 msgid "short branch with zero offset: use :w" msgstr "" -#: config/tc-m68k.c:4909 config/tc-m68k.c:4920 +#: config/tc-m68k.c:4910 config/tc-m68k.c:4921 msgid "expression out of range: defaulting to 1" msgstr "" -#: config/tc-m68k.c:4952 +#: config/tc-m68k.c:4953 msgid "expression out of range: defaulting to 0" msgstr "" -#: config/tc-m68k.c:4985 config/tc-m68k.c:4997 +#: config/tc-m68k.c:4986 config/tc-m68k.c:4998 #, c-format msgid "Can't deal with expression; defaulting to %ld" msgstr "" -#: config/tc-m68k.c:5011 +#: config/tc-m68k.c:5012 msgid "expression doesn't fit in BYTE" msgstr "" -#: config/tc-m68k.c:5015 +#: config/tc-m68k.c:5016 msgid "expression doesn't fit in WORD" msgstr "" -#: config/tc-m68k.c:5108 +#: config/tc-m68k.c:5109 #, c-format msgid "%s: unrecognized processor name" msgstr "" -#: config/tc-m68k.c:5173 +#: config/tc-m68k.c:5174 msgid "bad coprocessor id" msgstr "" -#: config/tc-m68k.c:5179 +#: config/tc-m68k.c:5180 msgid "unrecognized fopt option" msgstr "" -#: config/tc-m68k.c:5313 +#: config/tc-m68k.c:5314 #, c-format msgid "option `%s' may not be negated" msgstr "" -#: config/tc-m68k.c:5324 +#: config/tc-m68k.c:5325 #, c-format msgid "option `%s' not recognized" msgstr "" -#: config/tc-m68k.c:5357 +#: config/tc-m68k.c:5358 msgid "bad format of OPT NEST=depth" msgstr "" -#: config/tc-m68k.c:5420 +#: config/tc-m68k.c:5421 msgid "missing label" msgstr "" -#: config/tc-m68k.c:5444 config/tc-m68k.c:5473 +#: config/tc-m68k.c:5445 config/tc-m68k.c:5474 msgid "bad register list" msgstr "" -#: config/tc-m68k.c:5446 +#: config/tc-m68k.c:5447 #, c-format msgid "bad register list: %s" msgstr "" -#: config/tc-m68k.c:5544 +#: config/tc-m68k.c:5545 msgid "restore without save" msgstr "" -#: config/tc-m68k.c:5721 config/tc-m68k.c:6070 +#: config/tc-m68k.c:5722 config/tc-m68k.c:6071 msgid "syntax error in structured control directive" msgstr "" -#: config/tc-m68k.c:5772 +#: config/tc-m68k.c:5773 msgid "missing condition code in structured control directive" msgstr "" -#: config/tc-m68k.c:6104 +#: config/tc-m68k.c:6105 msgid "missing then" msgstr "" -#: config/tc-m68k.c:6186 +#: config/tc-m68k.c:6187 msgid "else without matching if" msgstr "" -#: config/tc-m68k.c:6220 +#: config/tc-m68k.c:6221 msgid "endi without matching if" msgstr "" -#: config/tc-m68k.c:6261 +#: config/tc-m68k.c:6262 msgid "break outside of structured loop" msgstr "" -#: config/tc-m68k.c:6300 +#: config/tc-m68k.c:6301 msgid "next outside of structured loop" msgstr "" -#: config/tc-m68k.c:6352 +#: config/tc-m68k.c:6353 msgid "missing =" msgstr "" -#: config/tc-m68k.c:6390 +#: config/tc-m68k.c:6391 msgid "missing to or downto" msgstr "" -#: config/tc-m68k.c:6426 config/tc-m68k.c:6460 config/tc-m68k.c:6670 +#: config/tc-m68k.c:6427 config/tc-m68k.c:6461 config/tc-m68k.c:6671 msgid "missing do" msgstr "" -#: config/tc-m68k.c:6563 +#: config/tc-m68k.c:6564 msgid "endf without for" msgstr "" -#: config/tc-m68k.c:6619 +#: config/tc-m68k.c:6620 msgid "until without repeat" msgstr "" -#: config/tc-m68k.c:6706 +#: config/tc-m68k.c:6707 msgid "endw without while" msgstr "" -#: config/tc-m68k.c:6830 +#: config/tc-m68k.c:6831 #, c-format msgid "unrecognized option `%s'" msgstr "" -#: config/tc-m68k.c:6875 +#: config/tc-m68k.c:6876 #, c-format msgid "unrecognized architecture specification `%s'" msgstr "" -#: config/tc-m68k.c:6945 +#: config/tc-m68k.c:6946 msgid "" "680X0 options:\n" "-l\t\t\tuse 1 word for refs to undefined symbols [default 2]\n" @@ -4887,7 +4881,7 @@ msgid "" "\t\t\t[default yes for 68020, 68030, and cpu32]\n" msgstr "" -#: config/tc-m68k.c:6955 +#: config/tc-m68k.c:6956 msgid "" "-m68851 | -mno-68851\n" "\t\t\ttarget has/lacks memory-management unit coprocessor\n" @@ -4900,7 +4894,7 @@ msgid "" "--bitwise-or\t\tdo not treat `|' as a comment character\n" msgstr "" -#: config/tc-m68k.c:6965 +#: config/tc-m68k.c:6966 msgid "" "--base-size-default-16\tbase reg without size is 16 bits\n" "--base-size-default-32\tbase reg without size is 32 bits (default)\n" @@ -4908,86 +4902,82 @@ msgid "" "--disp-size-default-32\tdisplacement with unknown size is 32 bits (default)\n" msgstr "" -#: config/tc-m68k.c:7000 +#: config/tc-m68k.c:7001 #, c-format msgid "Error %s in %s\n" msgstr "" -#: config/tc-m68k.c:7004 +#: config/tc-m68k.c:7005 #, c-format msgid "Opcode(%d.%s): " msgstr "" -#: config/tc-m88k.c:205 +#: config/tc-m88k.c:206 #, c-format msgid "Can't hash instruction '%s':%s" msgstr "" -#: config/tc-m88k.c:257 +#: config/tc-m88k.c:258 #, c-format msgid "Invalid mnemonic '%s'" msgstr "" -#: config/tc-m88k.c:277 +#: config/tc-m88k.c:278 msgid "Parameter syntax error" msgstr "" -#: config/tc-m88k.c:332 +#: config/tc-m88k.c:333 msgid "Unknown relocation type" msgstr "" #. Having this here repeats the warning somtimes. #. But can't we stand that? -#: config/tc-m88k.c:445 +#: config/tc-m88k.c:446 msgid "Use of obsolete instruction" msgstr "" -#: config/tc-m88k.c:562 +#: config/tc-m88k.c:563 msgid "Expression truncated to 16 bits" msgstr "" -#: config/tc-m88k.c:628 config/tc-m88k.c:650 +#: config/tc-m88k.c:629 config/tc-m88k.c:651 msgid "Expression truncated to 5 bits" msgstr "" -#: config/tc-m88k.c:872 +#: config/tc-m88k.c:873 msgid "Expression truncated to 9 bits" msgstr "" -#: config/tc-m88k.c:894 +#: config/tc-m88k.c:895 msgid "Removed lower 2 bits of expression" msgstr "" -#: config/tc-m88k.c:1033 +#: config/tc-m88k.c:1034 msgid "Bad relocation type" msgstr "" -#: config/tc-m88k.c:1046 +#: config/tc-m88k.c:1047 msgid "md_number_to_disp not defined" msgstr "" -#: config/tc-m88k.c:1056 +#: config/tc-m88k.c:1057 msgid "md_number_to_field not defined" msgstr "" -#: config/tc-m88k.c:1169 +#: config/tc-m88k.c:1170 msgid "Relaxation should never occur" msgstr "" -#: config/tc-m88k.c:1264 config/tc-sparc.c:3540 read.c:1962 +#: config/tc-m88k.c:1265 config/tc-sparc.c:3541 read.c:1962 #, c-format msgid "BSS length (%d.) <0! Ignored." msgstr "" -#: config/tc-m88k.c:1308 +#: config/tc-m88k.c:1309 #, c-format msgid "Ignoring attempt to re-define symbol %s." msgstr "" -#: config/tc-m88k.h:78 -msgid "m88k convert_frag\n" -msgstr "" - #: config/tc-mcore.c:508 #, c-format msgid "register expected, but saw '%.6s'" @@ -5136,7 +5126,7 @@ msgstr "" msgid "ignoring operands: %s " msgstr "" -#: config/tc-mcore.c:1767 config/tc-w65.c:836 +#: config/tc-mcore.c:1767 config/tc-w65.c:830 msgid "Bad call to MD_NTOF()" msgstr "" @@ -5192,341 +5182,332 @@ msgstr "" msgid "pcrel for loopt too far (0x%x)" msgstr "" -#: config/tc-mcore.c:2400 +#: config/tc-mcore.c:2402 #, c-format msgid "Can not do %d byte %srelocation" msgstr "" -#: config/tc-mcore.c:2402 +#: config/tc-mcore.c:2404 msgid "pc-relative" msgstr "" -#: config/tc-mcore.c:2419 config/tc-pj.c:569 config/tc-sh.c:3331 +#: config/tc-mcore.c:2421 config/tc-pj.c:569 config/tc-sh.c:3345 #, c-format msgid "Cannot represent relocation type %s" msgstr "" -#: config/tc-mips.c:642 -#, c-format -msgid "internal Error, line %d, %s" -msgstr "" - -#: config/tc-mips.c:644 -msgid "MIPS internal Error" -msgstr "" - -#: config/tc-mips.c:927 +#: config/tc-mips.c:928 msgid "-G not supported in this configuration." msgstr "" -#: config/tc-mips.c:996 +#: config/tc-mips.c:997 msgid "trap exception not supported at ISA 1" msgstr "" -#: config/tc-mips.c:1053 +#: config/tc-mips.c:1054 #, c-format msgid "internal: can't hash `%s': %s" msgstr "" -#: config/tc-mips.c:1061 +#: config/tc-mips.c:1062 #, c-format msgid "internal error: bad mips16 opcode: %s %s\n" msgstr "" -#: config/tc-mips.c:1229 +#: config/tc-mips.c:1230 #, c-format msgid "returned from mips_ip(%s) insn_opcode = 0x%x\n" msgstr "" -#: config/tc-mips.c:1782 config/tc-mips.c:11394 +#: config/tc-mips.c:1783 config/tc-mips.c:11395 msgid "extended instruction in delay slot" msgstr "" -#: config/tc-mips.c:1804 config/tc-mips.c:1811 +#: config/tc-mips.c:1805 config/tc-mips.c:1812 #, c-format msgid "jump to misaligned address (0x%lx)" msgstr "" -#: config/tc-mips.c:2460 config/tc-mips.c:2814 +#: config/tc-mips.c:2461 config/tc-mips.c:2815 msgid "Macro instruction expanded into multiple instructions" msgstr "" -#: config/tc-mips.c:2867 +#: config/tc-mips.c:2868 msgid "unsupported large constant" msgstr "" -#: config/tc-mips.c:2869 +#: config/tc-mips.c:2870 #, c-format msgid "Instruction %s requires absolute expression" msgstr "" -#: config/tc-mips.c:3015 +#: config/tc-mips.c:3016 msgid "Number larger than 32 bits" msgstr "" -#: config/tc-mips.c:3036 +#: config/tc-mips.c:3037 msgid "Number larger than 64 bits" msgstr "" -#: config/tc-mips.c:3304 config/tc-mips.c:3376 config/tc-mips.c:5071 -#: config/tc-mips.c:5122 config/tc-mips.c:5658 config/tc-mips.c:5721 +#: config/tc-mips.c:3305 config/tc-mips.c:3377 config/tc-mips.c:5072 +#: config/tc-mips.c:5123 config/tc-mips.c:5659 config/tc-mips.c:5722 msgid "PIC code offset overflow (max 16 signed bits)" msgstr "" -#: config/tc-mips.c:3615 +#: config/tc-mips.c:3616 #, c-format msgid "Branch %s is always false (nop)" msgstr "" -#: config/tc-mips.c:3620 +#: config/tc-mips.c:3621 #, c-format msgid "Branch likely %s is always false" msgstr "" -#: config/tc-mips.c:3627 config/tc-mips.c:3701 config/tc-mips.c:3804 -#: config/tc-mips.c:3859 config/tc-mips.c:6758 config/tc-mips.c:6767 -#: config/tc-mips.c:6775 config/tc-mips.c:6884 +#: config/tc-mips.c:3628 config/tc-mips.c:3702 config/tc-mips.c:3805 +#: config/tc-mips.c:3860 config/tc-mips.c:6759 config/tc-mips.c:6768 +#: config/tc-mips.c:6776 config/tc-mips.c:6885 msgid "Unsupported large constant" msgstr "" #. result is always true -#: config/tc-mips.c:3663 +#: config/tc-mips.c:3664 #, c-format msgid "Branch %s is always true" msgstr "" -#: config/tc-mips.c:3935 config/tc-mips.c:4042 +#: config/tc-mips.c:3936 config/tc-mips.c:4043 msgid "Divide by zero." msgstr "" -#: config/tc-mips.c:4642 +#: config/tc-mips.c:4643 msgid "MIPS PIC call to register other than $25" msgstr "" -#: config/tc-mips.c:4647 config/tc-mips.c:4759 +#: config/tc-mips.c:4648 config/tc-mips.c:4760 msgid "No .cprestore pseudo-op used in PIC code" msgstr "" -#: config/tc-mips.c:4832 config/tc-mips.c:4921 config/tc-mips.c:5409 -#: config/tc-mips.c:5450 config/tc-mips.c:5468 config/tc-mips.c:6097 +#: config/tc-mips.c:4833 config/tc-mips.c:4922 config/tc-mips.c:5410 +#: config/tc-mips.c:5451 config/tc-mips.c:5469 config/tc-mips.c:6098 msgid "opcode not supported on this processor" msgstr "" -#: config/tc-mips.c:5928 config/tc-mips.c:6652 +#: config/tc-mips.c:5929 config/tc-mips.c:6653 msgid "Macro used $at after \".set noat\"" msgstr "" -#: config/tc-mips.c:6068 config/tc-mips.c:6086 +#: config/tc-mips.c:6069 config/tc-mips.c:6087 msgid "rotate count too large" msgstr "" -#: config/tc-mips.c:6137 +#: config/tc-mips.c:6138 #, c-format msgid "Instruction %s: result is always false" msgstr "" -#: config/tc-mips.c:6306 +#: config/tc-mips.c:6307 #, c-format msgid "Instruction %s: result is always true" msgstr "" -#: config/tc-mips.c:6445 config/tc-mips.c:6472 config/tc-mips.c:6544 -#: config/tc-mips.c:6569 +#: config/tc-mips.c:6446 config/tc-mips.c:6473 config/tc-mips.c:6545 +#: config/tc-mips.c:6570 msgid "operand overflow" msgstr "" #. FIXME: Check if this is one of the itbl macros, since they #. are added dynamically. -#: config/tc-mips.c:6648 +#: config/tc-mips.c:6649 #, c-format msgid "Macro %s not implemented yet" msgstr "" -#: config/tc-mips.c:6918 +#: config/tc-mips.c:6919 #, c-format msgid "internal: bad mips opcode (mask error): %s %s" msgstr "" -#: config/tc-mips.c:6974 +#: config/tc-mips.c:6975 #, c-format msgid "internal: bad mips opcode (unknown operand type `%c'): %s %s" msgstr "" -#: config/tc-mips.c:6981 +#: config/tc-mips.c:6982 #, c-format msgid "internal: bad mips opcode (bits 0x%lx undefined): %s %s" msgstr "" -#: config/tc-mips.c:7089 +#: config/tc-mips.c:7090 #, c-format msgid "opcode not supported on this processor: %s (%s)" msgstr "" -#: config/tc-mips.c:7160 +#: config/tc-mips.c:7161 #, c-format msgid "Improper shift amount (%ld)" msgstr "" -#: config/tc-mips.c:7186 config/tc-mips.c:8340 config/tc-mips.c:8455 +#: config/tc-mips.c:7187 config/tc-mips.c:8341 config/tc-mips.c:8456 #, c-format msgid "Invalid value for `%s' (%lu)" msgstr "" -#: config/tc-mips.c:7204 +#: config/tc-mips.c:7205 #, c-format msgid "Illegal break code (%ld)" msgstr "" -#: config/tc-mips.c:7218 +#: config/tc-mips.c:7219 #, c-format msgid "Illegal lower break code (%ld)" msgstr "" -#: config/tc-mips.c:7231 +#: config/tc-mips.c:7232 #, c-format msgid "Illegal 20-bit code (%ld)" msgstr "" -#: config/tc-mips.c:7243 +#: config/tc-mips.c:7244 #, c-format msgid "Coproccesor code > 25 bits (%ld)" msgstr "" -#: config/tc-mips.c:7256 +#: config/tc-mips.c:7257 #, c-format msgid "Illegal 19-bit code (%ld)" msgstr "" -#: config/tc-mips.c:7268 +#: config/tc-mips.c:7269 #, c-format msgid "Invalidate performance regster (%ld)" msgstr "" -#: config/tc-mips.c:7305 +#: config/tc-mips.c:7306 #, c-format msgid "Invalid register number (%d)" msgstr "" -#: config/tc-mips.c:7469 +#: config/tc-mips.c:7470 #, c-format msgid "Invalid float register number (%d)" msgstr "" -#: config/tc-mips.c:7479 +#: config/tc-mips.c:7480 #, c-format msgid "Float register should be even, was %d" msgstr "" -#: config/tc-mips.c:7530 +#: config/tc-mips.c:7531 msgid "absolute expression required" msgstr "" -#: config/tc-mips.c:7591 +#: config/tc-mips.c:7592 #, c-format msgid "Bad floating point constant: %s" msgstr "" -#: config/tc-mips.c:7713 +#: config/tc-mips.c:7714 msgid "Can't use floating point insn in this section" msgstr "" -#: config/tc-mips.c:7767 +#: config/tc-mips.c:7768 msgid "16 bit expression not in range 0..65535" msgstr "" -#: config/tc-mips.c:7804 +#: config/tc-mips.c:7805 msgid "16 bit expression not in range -32768..32767" msgstr "" -#: config/tc-mips.c:7875 +#: config/tc-mips.c:7876 msgid "lui expression not in range 0..65535" msgstr "" -#: config/tc-mips.c:7899 +#: config/tc-mips.c:7900 #, c-format msgid "invalid condition code register $fcc%d" msgstr "" -#: config/tc-mips.c:7924 +#: config/tc-mips.c:7925 msgid "invalid coprocessor sub-selection value (0-7)" msgstr "" -#: config/tc-mips.c:7929 +#: config/tc-mips.c:7930 #, c-format msgid "bad char = '%c'\n" msgstr "" -#: config/tc-mips.c:7942 config/tc-mips.c:8480 +#: config/tc-mips.c:7943 config/tc-mips.c:8481 msgid "illegal operands" msgstr "" -#: config/tc-mips.c:8009 +#: config/tc-mips.c:8010 msgid "unrecognized opcode" msgstr "" -#: config/tc-mips.c:8118 +#: config/tc-mips.c:8119 #, c-format msgid "invalid register number (%d)" msgstr "" -#: config/tc-mips.c:8199 +#: config/tc-mips.c:8200 msgid "used $at without \".set noat\"" msgstr "" -#: config/tc-mips.c:8374 +#: config/tc-mips.c:8375 msgid "can't parse register list" msgstr "" -#: config/tc-mips.c:8408 config/tc-mips.c:8438 +#: config/tc-mips.c:8409 config/tc-mips.c:8439 msgid "invalid register list" msgstr "" -#: config/tc-mips.c:8606 +#: config/tc-mips.c:8607 msgid "extended operand requested but not required" msgstr "" -#: config/tc-mips.c:8608 +#: config/tc-mips.c:8609 msgid "invalid unextended operand value" msgstr "" -#: config/tc-mips.c:8636 +#: config/tc-mips.c:8637 msgid "operand value out of range for instruction" msgstr "" -#: config/tc-mips.c:9021 +#: config/tc-mips.c:9022 #, c-format msgid "invalid architecture -mcpu=%s" msgstr "" -#: config/tc-mips.c:9070 +#: config/tc-mips.c:9071 msgid "-G may not be used with embedded PIC code" msgstr "" -#: config/tc-mips.c:9083 +#: config/tc-mips.c:9084 msgid "-call_shared is supported only for ELF format" msgstr "" -#: config/tc-mips.c:9089 config/tc-mips.c:10178 config/tc-mips.c:10352 +#: config/tc-mips.c:9090 config/tc-mips.c:10179 config/tc-mips.c:10353 msgid "-G may not be used with SVR4 PIC code" msgstr "" -#: config/tc-mips.c:9098 +#: config/tc-mips.c:9099 msgid "-non_shared is supported only for ELF format" msgstr "" -#: config/tc-mips.c:9115 +#: config/tc-mips.c:9116 msgid "-G is not supported for this configuration" msgstr "" -#: config/tc-mips.c:9120 +#: config/tc-mips.c:9121 msgid "-G may not be used with SVR4 or embedded PIC code" msgstr "" -#: config/tc-mips.c:9145 +#: config/tc-mips.c:9146 msgid "No compiled in support for 64 bit object file format" msgstr "" -#: config/tc-mips.c:9238 +#: config/tc-mips.c:9239 msgid "" "MIPS options:\n" "-membedded-pic\t\tgenerate embedded position independent code\n" @@ -5537,7 +5518,7 @@ msgid "" "\t\t\timplicitly with the gp register [default 8]\n" msgstr "" -#: config/tc-mips.c:9246 +#: config/tc-mips.c:9247 msgid "" "-mips1\t\t\tgenerate MIPS ISA I instructions\n" "-mips2\t\t\tgenerate MIPS ISA II instructions\n" @@ -5549,20 +5530,20 @@ msgid "" "-mcpu=CPU\t\tgenerate code for CPU, where CPU is one of:\n" msgstr "" -#: config/tc-mips.c:9277 +#: config/tc-mips.c:9278 msgid "" "-mCPU\t\t\tequivalent to -mcpu=CPU.\n" "-no-mCPU\t\tdon't generate code specific to CPU.\n" "\t\t\tFor -mCPU and -no-mCPU, CPU must be one of:\n" msgstr "" -#: config/tc-mips.c:9290 +#: config/tc-mips.c:9291 msgid "" "-mips16\t\t\tgenerate mips16 instructions\n" "-no-mips16\t\tdo not generate mips16 instructions\n" msgstr "" -#: config/tc-mips.c:9293 +#: config/tc-mips.c:9294 msgid "" "-O0\t\t\tremove unneeded NOPs, do not swap branches\n" "-O\t\t\tremove unneeded NOPs and swap branches\n" @@ -5571,7 +5552,7 @@ msgid "" "--break, --no-trap\tbreak exception on div by 0 and mult overflow\n" msgstr "" -#: config/tc-mips.c:9300 +#: config/tc-mips.c:9301 msgid "" "-KPIC, -call_shared\tgenerate SVR4 position independent code\n" "-non_shared\t\tdo not generate position independent code\n" @@ -5580,375 +5561,375 @@ msgid "" "-64\t\t\tcreate 64 bit object file\n" msgstr "" -#: config/tc-mips.c:9357 +#: config/tc-mips.c:9358 #, c-format msgid "Unsupported reloc size %d" msgstr "" -#: config/tc-mips.c:9460 +#: config/tc-mips.c:9461 msgid "Unmatched %%hi reloc" msgstr "" -#: config/tc-mips.c:9583 +#: config/tc-mips.c:9584 msgid "Invalid PC relative reloc" msgstr "" -#: config/tc-mips.c:9693 config/tc-sparc.c:3101 config/tc-sparc.c:3108 -#: config/tc-sparc.c:3115 config/tc-sparc.c:3122 config/tc-sparc.c:3129 -#: config/tc-sparc.c:3138 config/tc-sparc.c:3149 config/tc-sparc.c:3175 -#: config/tc-sparc.c:3203 write.c:992 write.c:1056 +#: config/tc-mips.c:9694 config/tc-sparc.c:3102 config/tc-sparc.c:3109 +#: config/tc-sparc.c:3116 config/tc-sparc.c:3123 config/tc-sparc.c:3130 +#: config/tc-sparc.c:3139 config/tc-sparc.c:3150 config/tc-sparc.c:3176 +#: config/tc-sparc.c:3204 write.c:1025 write.c:1089 msgid "relocation overflow" msgstr "" -#: config/tc-mips.c:9709 +#: config/tc-mips.c:9710 #, c-format msgid "Branch to odd address (%lx)" msgstr "" -#: config/tc-mips.c:9873 +#: config/tc-mips.c:9874 #, c-format msgid "%08lx UNDEFINED\n" msgstr "" -#: config/tc-mips.c:9939 +#: config/tc-mips.c:9940 msgid "Alignment negative: 0 assumed." msgstr "" -#: config/tc-mips.c:10027 +#: config/tc-mips.c:10028 msgid "No read only data section in this object file format" msgstr "" -#: config/tc-mips.c:10050 +#: config/tc-mips.c:10051 msgid "Global pointers not supported; recompile -G 0" msgstr "" -#: config/tc-mips.c:10136 +#: config/tc-mips.c:10137 #, c-format msgid "%s: no such section" msgstr "" -#: config/tc-mips.c:10173 +#: config/tc-mips.c:10174 #, c-format msgid ".option pic%d not supported" msgstr "" -#: config/tc-mips.c:10184 +#: config/tc-mips.c:10185 #, c-format msgid "Unrecognized option \"%s\"" msgstr "" -#: config/tc-mips.c:10247 +#: config/tc-mips.c:10248 msgid "`noreorder' must be set before `nomacro'" msgstr "" -#: config/tc-mips.c:10289 +#: config/tc-mips.c:10290 msgid "unknown ISA level" msgstr "" -#: config/tc-mips.c:10311 +#: config/tc-mips.c:10312 msgid ".set pop with no .set push" msgstr "" -#: config/tc-mips.c:10335 +#: config/tc-mips.c:10336 #, c-format msgid "Tried to set unrecognized symbol: %s\n" msgstr "" -#: config/tc-mips.c:10385 +#: config/tc-mips.c:10386 msgid ".cpload not in noreorder section" msgstr "" -#: config/tc-mips.c:10467 +#: config/tc-mips.c:10468 msgid "Unsupported use of .gpword" msgstr "" -#: config/tc-mips.c:10604 +#: config/tc-mips.c:10605 msgid "expected `$'" msgstr "" -#: config/tc-mips.c:10612 +#: config/tc-mips.c:10613 msgid "Bad register number" msgstr "" -#: config/tc-mips.c:10628 +#: config/tc-mips.c:10629 msgid "Unrecognized register name" msgstr "" -#: config/tc-mips.c:10827 +#: config/tc-mips.c:10828 msgid "unsupported PC relative reference to different section" msgstr "" -#: config/tc-mips.c:10936 +#: config/tc-mips.c:10937 msgid "unsupported relocation" msgstr "" -#: config/tc-mips.c:11040 +#: config/tc-mips.c:11041 msgid "AT used after \".set noat\" or macro used after \".set nomacro\"" msgstr "" -#: config/tc-mips.c:11103 +#: config/tc-mips.c:11104 msgid "Double check fx_r_type in tc-mips.c:tc_gen_reloc" msgstr "" -#: config/tc-mips.c:11616 +#: config/tc-mips.c:11617 msgid "missing `.end' at end of assembly" msgstr "" -#: config/tc-mips.c:11631 +#: config/tc-mips.c:11632 msgid "Expected simple number." msgstr "" -#: config/tc-mips.c:11657 +#: config/tc-mips.c:11658 #, c-format msgid " *input_line_pointer == '%c' 0x%02x\n" msgstr "" -#: config/tc-mips.c:11659 +#: config/tc-mips.c:11660 msgid "Invalid number" msgstr "" -#: config/tc-mips.c:11713 +#: config/tc-mips.c:11714 msgid ".end not in text section" msgstr "" -#: config/tc-mips.c:11717 +#: config/tc-mips.c:11718 msgid ".end directive without a preceding .ent directive." msgstr "" -#: config/tc-mips.c:11726 +#: config/tc-mips.c:11727 msgid ".end symbol does not match .ent symbol." msgstr "" -#: config/tc-mips.c:11729 +#: config/tc-mips.c:11730 msgid ".end directive missing or unknown symbol" msgstr "" -#: config/tc-mips.c:11804 +#: config/tc-mips.c:11805 msgid ".ent or .aent not in text section." msgstr "" -#: config/tc-mips.c:11807 +#: config/tc-mips.c:11808 msgid "missing `.end'" msgstr "" -#: config/tc-mips.c:11840 ecoff.c:3205 +#: config/tc-mips.c:11841 ecoff.c:3206 msgid ".frame outside of .ent" msgstr "" -#: config/tc-mips.c:11851 ecoff.c:3216 +#: config/tc-mips.c:11852 ecoff.c:3217 msgid "Bad .frame directive" msgstr "" -#: config/tc-mips.c:11881 +#: config/tc-mips.c:11882 msgid ".mask/.fmask outside of .ent" msgstr "" -#: config/tc-mips.c:11888 +#: config/tc-mips.c:11889 msgid "Bad .mask/.fmask directive" msgstr "" -#: config/tc-mn10200.c:333 +#: config/tc-mn10200.c:334 msgid "" "MN10200 options:\n" "none yet\n" msgstr "" -#: config/tc-mn10200.c:807 config/tc-mn10300.c:953 config/tc-ppc.c:1736 -#: config/tc-s390.c:1161 config/tc-v850.c:1728 +#: config/tc-mn10200.c:808 config/tc-mn10300.c:955 config/tc-ppc.c:1736 +#: config/tc-s390.c:1262 config/tc-v850.c:1728 #, c-format msgid "Unrecognized opcode: `%s'" msgstr "" -#: config/tc-mn10200.c:1050 config/tc-mn10300.c:1476 config/tc-ppc.c:2097 -#: config/tc-s390.c:1091 config/tc-v850.c:2152 +#: config/tc-mn10200.c:1051 config/tc-mn10300.c:1478 config/tc-ppc.c:2097 +#: config/tc-s390.c:1188 config/tc-v850.c:2152 #, c-format msgid "junk at end of line: `%s'" msgstr "" -#: config/tc-mn10200.c:1374 config/tc-mn10300.c:2047 config/tc-ppc.c:1224 +#: config/tc-mn10200.c:1365 config/tc-mn10300.c:2015 config/tc-ppc.c:1224 #: config/tc-v850.c:1656 #, c-format msgid "operand out of range (%s not between %ld and %ld)" msgstr "" -#: config/tc-mn10300.c:542 +#: config/tc-mn10300.c:544 msgid "" "MN10300 options:\n" "none yet\n" msgstr "" -#: config/tc-mn10300.c:970 +#: config/tc-mn10300.c:972 msgid "Invalid opcode/operands" msgstr "" -#: config/tc-mn10300.c:1447 +#: config/tc-mn10300.c:1449 msgid "Invalid register specification." msgstr "" -#: config/tc-ns32k.c:446 +#: config/tc-ns32k.c:447 msgid "Invalid syntax in PC-relative addressing mode" msgstr "" -#: config/tc-ns32k.c:470 +#: config/tc-ns32k.c:471 msgid "Invalid syntax in External addressing mode" msgstr "" -#: config/tc-ns32k.c:550 +#: config/tc-ns32k.c:551 msgid "Invalid syntax in Memory Relative addressing mode" msgstr "" -#: config/tc-ns32k.c:617 +#: config/tc-ns32k.c:618 msgid "Invalid scaled-indexed mode, use (b,w,d,q)" msgstr "" -#: config/tc-ns32k.c:622 +#: config/tc-ns32k.c:623 msgid "Syntax in scaled-indexed mode, use [Rn:m] where n=[0..7] m={b,w,d,q}" msgstr "" -#: config/tc-ns32k.c:627 +#: config/tc-ns32k.c:628 msgid "Scaled-indexed addressing mode combined with scaled-index" msgstr "" -#: config/tc-ns32k.c:638 +#: config/tc-ns32k.c:639 msgid "Invalid or illegal addressing mode combined with scaled-index" msgstr "" -#: config/tc-ns32k.c:750 +#: config/tc-ns32k.c:751 msgid "Premature end of suffix -- Defaulting to d" msgstr "" -#: config/tc-ns32k.c:763 +#: config/tc-ns32k.c:764 msgid "Bad suffix after ':' use {b|w|d} Defaulting to d" msgstr "" -#: config/tc-ns32k.c:809 +#: config/tc-ns32k.c:810 msgid "Very short instr to option, ie you can't do it on a NULLstr" msgstr "" -#: config/tc-ns32k.c:860 +#: config/tc-ns32k.c:861 msgid "No such entry in list. (cpu/mmu register)" msgstr "" -#: config/tc-ns32k.c:901 +#: config/tc-ns32k.c:902 msgid "Internal consistency error. check ns32k-opcode.h" msgstr "" -#: config/tc-ns32k.c:925 +#: config/tc-ns32k.c:926 msgid "Address of immediate operand" msgstr "" -#: config/tc-ns32k.c:926 +#: config/tc-ns32k.c:927 msgid "Invalid immediate write operand." msgstr "" -#: config/tc-ns32k.c:1056 +#: config/tc-ns32k.c:1057 msgid "Bad opcode-table-option, check in file ns32k-opcode.h" msgstr "" -#: config/tc-ns32k.c:1089 +#: config/tc-ns32k.c:1090 msgid "No such opcode" msgstr "" -#: config/tc-ns32k.c:1166 +#: config/tc-ns32k.c:1167 msgid "Bad suffix, defaulting to d" msgstr "" -#: config/tc-ns32k.c:1194 +#: config/tc-ns32k.c:1195 msgid "Too many operands passed to instruction" msgstr "" #. Check error in default. -#: config/tc-ns32k.c:1207 +#: config/tc-ns32k.c:1208 msgid "Wrong numbers of operands in default, check ns32k-opcodes.h" msgstr "" -#: config/tc-ns32k.c:1211 +#: config/tc-ns32k.c:1212 msgid "Wrong number of operands" msgstr "" -#: config/tc-ns32k.c:1332 +#: config/tc-ns32k.c:1333 msgid "iif convert internal pcrel/binary" msgstr "" -#: config/tc-ns32k.c:1349 +#: config/tc-ns32k.c:1350 msgid "Bignum too big for long" msgstr "" -#: config/tc-ns32k.c:1427 +#: config/tc-ns32k.c:1428 msgid "iif convert internal pcrel/pointer" msgstr "" -#: config/tc-ns32k.c:1432 +#: config/tc-ns32k.c:1433 msgid "Internal logic error in iif.iifP[n].type" msgstr "" #. We cant relax this case. -#: config/tc-ns32k.c:1470 +#: config/tc-ns32k.c:1471 msgid "Can't relax difference" msgstr "" -#: config/tc-ns32k.c:1518 +#: config/tc-ns32k.c:1519 msgid "Displacement to large for :d" msgstr "" -#: config/tc-ns32k.c:1531 +#: config/tc-ns32k.c:1532 msgid "Internal logic error in iif.iifP[].type" msgstr "" -#: config/tc-ns32k.c:1591 +#: config/tc-ns32k.c:1592 #, c-format msgid "Can not do %d byte pc-relative relocation for storage type %d" msgstr "" -#: config/tc-ns32k.c:1594 +#: config/tc-ns32k.c:1595 #, c-format msgid "Can not do %d byte relocation for storage type %d" msgstr "" #. Fatal. -#: config/tc-ns32k.c:1626 +#: config/tc-ns32k.c:1627 #, c-format msgid "Can't hash %s: %s" msgstr "" -#: config/tc-ns32k.c:1714 +#: config/tc-ns32k.c:1715 msgid "Byte displacement out of range. line number not valid" msgstr "" -#: config/tc-ns32k.c:1723 +#: config/tc-ns32k.c:1724 msgid "Word displacement out of range. line number not valid" msgstr "" -#: config/tc-ns32k.c:1737 +#: config/tc-ns32k.c:1738 msgid "Double word displacement out of range" msgstr "" -#: config/tc-ns32k.c:1757 +#: config/tc-ns32k.c:1758 #, c-format msgid "Internal logic error. line %s, file \"%s\"" msgstr "" -#: config/tc-ns32k.c:1805 +#: config/tc-ns32k.c:1806 #, c-format msgid "Internal logic error. line %s, file \"%s\"" msgstr "" -#: config/tc-ns32k.c:1909 +#: config/tc-ns32k.c:1910 msgid "Bit field out of range" msgstr "" -#: config/tc-ns32k.c:2176 +#: config/tc-ns32k.c:2182 #, c-format msgid "invalid architecture option -m%s" msgstr "" -#: config/tc-ns32k.c:2192 +#: config/tc-ns32k.c:2198 msgid "" "NS32K options:\n" "-m32032 | -m32532\tselect variant of NS32K architecture\n" msgstr "" -#: config/tc-ns32k.c:2370 +#: config/tc-ns32k.c:2376 #, c-format msgid "Cannot find relocation type for symbol %s, code %d" msgstr "" @@ -5973,24 +5954,16 @@ msgid "" "-big\t\t\tgenerate big endian code\n" msgstr "" -#: config/tc-pj.c:458 config/tc-sh.c:2904 config/tc-sh.c:2911 -#: config/tc-sh.c:2918 config/tc-sh.c:2925 +#: config/tc-pj.c:458 config/tc-sh.c:2909 config/tc-sh.c:2916 +#: config/tc-sh.c:2923 config/tc-sh.c:2930 msgid "pcrel too far" msgstr "" -#: config/tc-pj.c:526 config/tc-sh.c:3016 +#: config/tc-pj.c:526 config/tc-sh.c:3021 msgid "offset out of range" msgstr "" -#: config/tc-pj.h:38 -msgid "convert_frag\n" -msgstr "" - -#: config/tc-pj.h:39 -msgid "estimate size\n" -msgstr "" - -#: config/tc-ppc.c:926 config/tc-s390.c:356 +#: config/tc-ppc.c:926 config/tc-s390.c:363 #, c-format msgid "invalid switch -m%s" msgstr "" @@ -6035,7 +6008,7 @@ msgstr "" msgid "Neither Power nor PowerPC opcodes were selected." msgstr "" -#: config/tc-ppc.c:1117 config/tc-s390.c:442 +#: config/tc-ppc.c:1117 config/tc-s390.c:455 #, c-format msgid "Internal assembler error for instruction %s" msgstr "" @@ -6049,7 +6022,7 @@ msgstr "" msgid "identifier+constant@got means identifier@got+constant" msgstr "" -#: config/tc-ppc.c:1400 config/tc-sh.c:346 config/tc-sh.c:374 +#: config/tc-ppc.c:1400 config/tc-sh.c:351 config/tc-sh.c:379 #, c-format msgid "%s relocations do not fit in %d bytes\n" msgstr "" @@ -6127,7 +6100,7 @@ msgstr "" msgid "missing rename string" msgstr "" -#: config/tc-ppc.c:2780 config/tc-ppc.c:3305 read.c:2992 +#: config/tc-ppc.c:2780 config/tc-ppc.c:3305 read.c:3000 msgid "missing value" msgstr "" @@ -6198,226 +6171,226 @@ msgstr "" msgid "warning: symbol %s has no csect" msgstr "" -#: config/tc-ppc.c:4661 +#: config/tc-ppc.c:4662 msgid "symbol in .toc does not match any .tc" msgstr "" -#: config/tc-ppc.c:4955 config/tc-s390.c:1592 config/tc-v850.c:2431 +#: config/tc-ppc.c:4957 config/tc-s390.c:1726 config/tc-v850.c:2431 msgid "unresolved expression that must be resolved" msgstr "" -#: config/tc-ppc.c:4958 config/tc-s390.c:1595 +#: config/tc-ppc.c:4960 config/tc-s390.c:1729 msgid "unsupported relocation type" msgstr "" -#: config/tc-ppc.c:5020 +#: config/tc-ppc.c:5022 #, c-format msgid "cannot emit PC relative %s relocation against %s" msgstr "" -#: config/tc-ppc.c:5025 +#: config/tc-ppc.c:5027 #, c-format msgid "cannot emit PC relative %s relocation" msgstr "" -#: config/tc-ppc.c:5087 +#: config/tc-ppc.c:5089 msgid "must branch to an address a multiple of 4" msgstr "" -#: config/tc-ppc.c:5091 +#: config/tc-ppc.c:5093 #, c-format msgid "@local or @plt branch destination is too far away, %ld bytes" msgstr "" -#: config/tc-ppc.c:5115 +#: config/tc-ppc.c:5117 #, c-format msgid "Gas failure, reloc value %d\n" msgstr "" -#: config/tc-s390.c:395 +#: config/tc-s390.c:406 msgid "" " S390 options:\n" " -mregnames \tAllow symbolic names for registers\n" " -mno-regnames\tDo not allow symbolic names for registers\n" msgstr "" -#: config/tc-s390.c:399 +#: config/tc-s390.c:410 msgid "" " -V \tprint assembler version number\n" " -Qy, -Qn \tignored\n" msgstr "" -#: config/tc-s390.c:428 +#: config/tc-s390.c:440 #, c-format msgid "Internal assembler error for instruction format %s" msgstr "" -#: config/tc-s390.c:604 +#: config/tc-s390.c:630 #, c-format msgid "identifier+constant@%s means identifier@%s+constant" msgstr "" -#: config/tc-s390.c:683 +#: config/tc-s390.c:713 msgid "Can't handle O_big in s390_exp_compare" msgstr "" -#: config/tc-s390.c:764 +#: config/tc-s390.c:797 msgid "Invalid suffix for literal pool entry" msgstr "" -#: config/tc-s390.c:805 +#: config/tc-s390.c:854 msgid "Big number is too big" msgstr "" -#: config/tc-s390.c:881 config/tc-s390.c:1330 +#: config/tc-s390.c:942 config/tc-s390.c:1442 #, c-format msgid "%s relocations do not fit in %d bytes" msgstr "" -#: config/tc-s390.c:888 +#: config/tc-s390.c:950 msgid "relocation not applicable" msgstr "" -#: config/tc-s390.c:1010 +#: config/tc-s390.c:1089 msgid "invalid operand suffix" msgstr "" -#: config/tc-s390.c:1031 +#: config/tc-s390.c:1112 msgid "syntax error; missing '(' after displacement" msgstr "" -#: config/tc-s390.c:1040 config/tc-s390.c:1064 config/tc-s390.c:1078 +#: config/tc-s390.c:1122 config/tc-s390.c:1155 config/tc-s390.c:1174 msgid "syntax error; expected ," msgstr "" -#: config/tc-s390.c:1059 +#: config/tc-s390.c:1149 msgid "syntax error; missing ')' after base register" msgstr "" -#: config/tc-s390.c:1072 +#: config/tc-s390.c:1167 msgid "syntax error; ')' not allowed here" msgstr "" -#: config/tc-s390.c:1222 config/tc-s390.c:1239 config/tc-s390.c:1248 +#: config/tc-s390.c:1325 config/tc-s390.c:1344 config/tc-s390.c:1357 msgid "Invalid .insn format\n" msgstr "" -#: config/tc-s390.c:1229 +#: config/tc-s390.c:1333 #, c-format msgid "Unrecognized opcode format: `%s'" msgstr "" -#: config/tc-s390.c:1250 +#: config/tc-s390.c:1360 msgid "second operand of .insn not a constant\n" msgstr "" -#: config/tc-s390.c:1252 +#: config/tc-s390.c:1362 msgid "missing comma after insn constant\n" msgstr "" -#: config/tc-s390.c:1521 +#: config/tc-s390.c:1638 msgid "unresolved fx_subsy symbol that must be resolved" msgstr "" -#: config/tc-sh.c:883 +#: config/tc-sh.c:888 msgid "illegal register after @-" msgstr "" -#: config/tc-sh.c:899 +#: config/tc-sh.c:904 msgid "must be @(r0,...)" msgstr "" -#: config/tc-sh.c:915 +#: config/tc-sh.c:920 msgid "syntax error in @(r0,...)" msgstr "" -#: config/tc-sh.c:948 config/tc-sh.c:953 +#: config/tc-sh.c:953 config/tc-sh.c:958 msgid "syntax error in @(disp,[Rn, gbr, pc])" msgstr "" -#: config/tc-sh.c:958 +#: config/tc-sh.c:963 msgid "expecting )" msgstr "" -#: config/tc-sh.c:967 +#: config/tc-sh.c:972 msgid "illegal register after @" msgstr "" -#: config/tc-sh.c:1528 +#: config/tc-sh.c:1533 #, c-format msgid "Invalid register: 'r%d'" msgstr "" -#: config/tc-sh.c:1691 +#: config/tc-sh.c:1696 msgid "insn can't be combined with parallel processing insn" msgstr "" -#: config/tc-sh.c:1698 config/tc-sh.c:1709 +#: config/tc-sh.c:1703 config/tc-sh.c:1714 msgid "multiple movx specifications" msgstr "" -#: config/tc-sh.c:1703 config/tc-sh.c:1730 +#: config/tc-sh.c:1708 config/tc-sh.c:1735 msgid "multiple movy specifications" msgstr "" -#: config/tc-sh.c:1711 +#: config/tc-sh.c:1716 msgid "invalid movx address register" msgstr "" -#: config/tc-sh.c:1717 config/tc-sh.c:1722 +#: config/tc-sh.c:1722 config/tc-sh.c:1727 msgid "invalid movx dsp register" msgstr "" -#: config/tc-sh.c:1739 config/tc-sh.c:1744 +#: config/tc-sh.c:1744 config/tc-sh.c:1749 msgid "invalid movy dsp register" msgstr "" -#: config/tc-sh.c:1748 +#: config/tc-sh.c:1753 msgid "invalid movy address register" msgstr "" -#: config/tc-sh.c:1754 +#: config/tc-sh.c:1759 msgid "dsp immediate shift value not constant" msgstr "" -#: config/tc-sh.c:1761 config/tc-sh.c:1774 +#: config/tc-sh.c:1766 config/tc-sh.c:1779 msgid "multiple parallel processing specifications" msgstr "" -#: config/tc-sh.c:1767 +#: config/tc-sh.c:1772 msgid "multiple condition specifications" msgstr "" -#: config/tc-sh.c:1783 +#: config/tc-sh.c:1788 msgid "insn cannot be combined with pmuls" msgstr "" -#: config/tc-sh.c:1800 +#: config/tc-sh.c:1805 msgid "bad padd / psub pmuls output operand" msgstr "" -#: config/tc-sh.c:1810 +#: config/tc-sh.c:1815 msgid "condition not followed by conditionalizable insn" msgstr "" -#: config/tc-sh.c:1820 +#: config/tc-sh.c:1825 msgid "unrecognized characters at end of parallel processing insn" msgstr "" -#: config/tc-sh.c:1936 +#: config/tc-sh.c:1941 #, c-format msgid "excess operands: '%s'" msgstr "" -#: config/tc-sh.c:2104 +#: config/tc-sh.c:2109 msgid ".uses pseudo-op seen when not relaxing" msgstr "" -#: config/tc-sh.c:2110 +#: config/tc-sh.c:2115 msgid "bad .uses format" msgstr "" -#: config/tc-sh.c:2171 +#: config/tc-sh.c:2176 msgid "" "SH options:\n" "-little\t\t\tgenerate little endian code\n" @@ -6426,96 +6399,96 @@ msgid "" "-dsp\t\t\tenable sh-dsp insns, and disable sh3e / sh4 insns.\n" msgstr "" -#: config/tc-sh.c:2182 config/tc-w65.c:862 +#: config/tc-sh.c:2187 config/tc-w65.c:856 msgid "call to tc_Nout_fix_to_chars \n" msgstr "" -#: config/tc-sh.c:2266 +#: config/tc-sh.c:2271 msgid ".uses does not refer to a local symbol in the same section" msgstr "" -#: config/tc-sh.c:2285 +#: config/tc-sh.c:2290 msgid "can't find fixup pointed to by .uses" msgstr "" -#: config/tc-sh.c:2308 +#: config/tc-sh.c:2313 msgid ".uses target does not refer to a local symbol in the same section" msgstr "" -#: config/tc-sh.c:2406 +#: config/tc-sh.c:2411 msgid "displacement overflows 12-bit field" msgstr "" -#: config/tc-sh.c:2409 +#: config/tc-sh.c:2414 #, c-format msgid "displacement to defined symbol %s overflows 12-bit field" msgstr "" -#: config/tc-sh.c:2413 +#: config/tc-sh.c:2418 #, c-format msgid "displacement to undefined symbol %s overflows 12-bit field" msgstr "" -#: config/tc-sh.c:2491 +#: config/tc-sh.c:2496 msgid "displacement overflows 8-bit field" msgstr "" -#: config/tc-sh.c:2494 +#: config/tc-sh.c:2499 #, c-format msgid "displacement to defined symbol %s overflows 8-bit field" msgstr "" -#: config/tc-sh.c:2498 +#: config/tc-sh.c:2503 #, c-format msgid "displacement to undefined symbol %s overflows 8-bit field " msgstr "" -#: config/tc-sh.c:2511 +#: config/tc-sh.c:2516 #, c-format msgid "overflow in branch to %s; converted into longer instruction sequence" msgstr "" -#: config/tc-sh.c:2586 config/tc-sh.c:2634 config/tc-sparc.c:4084 -#: config/tc-sparc.c:4109 +#: config/tc-sh.c:2591 config/tc-sh.c:2639 config/tc-sparc.c:4085 +#: config/tc-sparc.c:4110 msgid "misaligned data" msgstr "" -#: config/tc-sh.c:3008 +#: config/tc-sh.c:3013 msgid "misaligned offset" msgstr "" -#: config/tc-sparc.c:280 +#: config/tc-sparc.c:281 msgid "Invalid default architecture, broken assembler." msgstr "" -#: config/tc-sparc.c:284 config/tc-sparc.c:487 +#: config/tc-sparc.c:285 config/tc-sparc.c:488 msgid "Bad opcode table, broken assembler." msgstr "" -#: config/tc-sparc.c:479 +#: config/tc-sparc.c:480 #, c-format msgid "invalid architecture -xarch=%s" msgstr "" -#: config/tc-sparc.c:481 +#: config/tc-sparc.c:482 #, c-format msgid "invalid architecture -A%s" msgstr "" -#: config/tc-sparc.c:548 +#: config/tc-sparc.c:549 #, c-format msgid "No compiled in support for %d bit object file format" msgstr "" -#: config/tc-sparc.c:585 +#: config/tc-sparc.c:586 msgid "Unrecognized option following -K" msgstr "" -#: config/tc-sparc.c:626 +#: config/tc-sparc.c:627 msgid "SPARC options:\n" msgstr "" -#: config/tc-sparc.c:655 +#: config/tc-sparc.c:656 msgid "" "\n" "\t\t\tspecify variant of SPARC architecture\n" @@ -6526,34 +6499,34 @@ msgid "" "-no-relax\t\tavoid changing any jumps and branches\n" msgstr "" -#: config/tc-sparc.c:663 +#: config/tc-sparc.c:664 msgid "-k\t\t\tgenerate PIC\n" msgstr "" -#: config/tc-sparc.c:667 +#: config/tc-sparc.c:668 msgid "" "-32\t\t\tcreate 32 bit object file\n" "-64\t\t\tcreate 64 bit object file\n" msgstr "" -#: config/tc-sparc.c:670 +#: config/tc-sparc.c:671 #, c-format msgid "\t\t\t[default is %d]\n" msgstr "" -#: config/tc-sparc.c:672 +#: config/tc-sparc.c:673 msgid "" "-TSO\t\t\tuse Total Store Ordering\n" "-PSO\t\t\tuse Partial Store Ordering\n" "-RMO\t\t\tuse Relaxed Memory Ordering\n" msgstr "" -#: config/tc-sparc.c:676 +#: config/tc-sparc.c:677 #, c-format msgid "\t\t\t[default is %s]\n" msgstr "" -#: config/tc-sparc.c:678 +#: config/tc-sparc.c:679 msgid "" "-KPIC\t\t\tgenerate PIC\n" "-V\t\t\tprint assembler version number\n" @@ -6566,7 +6539,7 @@ msgid "" "-s\t\t\tignored\n" msgstr "" -#: config/tc-sparc.c:690 +#: config/tc-sparc.c:691 msgid "" "-EL\t\t\tgenerate code for a little endian machine\n" "-EB\t\t\tgenerate code for a big endian machine\n" @@ -6574,275 +6547,267 @@ msgid "" " instructions and little endian data.\n" msgstr "" -#: config/tc-sparc.c:810 +#: config/tc-sparc.c:811 #, c-format msgid "Internal error: losing opcode: `%s' \"%s\"\n" msgstr "" -#: config/tc-sparc.c:829 +#: config/tc-sparc.c:830 #, c-format msgid "Internal error: can't find opcode `%s' for `%s'\n" msgstr "" -#: config/tc-sparc.c:975 +#: config/tc-sparc.c:976 msgid "Support for 64-bit arithmetic not compiled in." msgstr "" -#: config/tc-sparc.c:1022 +#: config/tc-sparc.c:1023 msgid "set: number not in 0..4294967295 range" msgstr "" -#: config/tc-sparc.c:1029 +#: config/tc-sparc.c:1030 msgid "set: number not in -2147483648..4294967295 range" msgstr "" -#: config/tc-sparc.c:1089 +#: config/tc-sparc.c:1090 msgid "setsw: number not in -2147483648..4294967295 range" msgstr "" -#: config/tc-sparc.c:1138 +#: config/tc-sparc.c:1139 msgid "setx: temporary register same as destination register" msgstr "" -#: config/tc-sparc.c:1209 +#: config/tc-sparc.c:1210 msgid "setx: illegal temporary register g0" msgstr "" -#: config/tc-sparc.c:1306 +#: config/tc-sparc.c:1307 msgid "FP branch in delay slot" msgstr "" -#: config/tc-sparc.c:1322 +#: config/tc-sparc.c:1323 msgid "FP branch preceded by FP instruction; NOP inserted" msgstr "" -#: config/tc-sparc.c:1362 +#: config/tc-sparc.c:1363 msgid "failed special case insn sanity check" msgstr "" -#: config/tc-sparc.c:1450 +#: config/tc-sparc.c:1451 msgid ": invalid membar mask name" msgstr "" -#: config/tc-sparc.c:1466 +#: config/tc-sparc.c:1467 msgid ": invalid membar mask expression" msgstr "" -#: config/tc-sparc.c:1471 +#: config/tc-sparc.c:1472 msgid ": invalid membar mask number" msgstr "" -#: config/tc-sparc.c:1486 +#: config/tc-sparc.c:1487 msgid ": invalid siam mode expression" msgstr "" -#: config/tc-sparc.c:1491 +#: config/tc-sparc.c:1492 msgid ": invalid siam mode number" msgstr "" -#: config/tc-sparc.c:1507 +#: config/tc-sparc.c:1508 msgid ": invalid prefetch function name" msgstr "" -#: config/tc-sparc.c:1515 +#: config/tc-sparc.c:1516 msgid ": invalid prefetch function expression" msgstr "" -#: config/tc-sparc.c:1520 +#: config/tc-sparc.c:1521 msgid ": invalid prefetch function number" msgstr "" -#: config/tc-sparc.c:1548 config/tc-sparc.c:1560 +#: config/tc-sparc.c:1549 config/tc-sparc.c:1561 msgid ": unrecognizable privileged register" msgstr "" -#: config/tc-sparc.c:1584 config/tc-sparc.c:1609 +#: config/tc-sparc.c:1585 config/tc-sparc.c:1610 msgid ": unrecognizable v9a or v9b ancillary state register" msgstr "" -#: config/tc-sparc.c:1589 +#: config/tc-sparc.c:1590 msgid ": rd on write only ancillary state register" msgstr "" #. %sys_tick and %sys_tick_cmpr are v9bnotv9a -#: config/tc-sparc.c:1597 +#: config/tc-sparc.c:1598 msgid ": unrecognizable v9a ancillary state register" msgstr "" -#: config/tc-sparc.c:1633 +#: config/tc-sparc.c:1634 msgid ": asr number must be between 16 and 31" msgstr "" -#: config/tc-sparc.c:1641 +#: config/tc-sparc.c:1642 msgid ": asr number must be between 0 and 31" msgstr "" -#: config/tc-sparc.c:1651 +#: config/tc-sparc.c:1652 msgid ": expecting %asrN" msgstr "" -#: config/tc-sparc.c:1979 +#: config/tc-sparc.c:1980 msgid "detected global register use not covered by .register pseudo-op" msgstr "" -#: config/tc-sparc.c:2050 +#: config/tc-sparc.c:2051 msgid ": There are only 64 f registers; [0-63]" msgstr "" -#: config/tc-sparc.c:2052 config/tc-sparc.c:2064 +#: config/tc-sparc.c:2053 config/tc-sparc.c:2065 msgid ": There are only 32 f registers; [0-31]" msgstr "" -#: config/tc-sparc.c:2182 config/tc-sparc.c:2218 +#: config/tc-sparc.c:2183 config/tc-sparc.c:2219 msgid "Illegal operands: %%%s requires arguments in ()" msgstr "" -#: config/tc-sparc.c:2230 +#: config/tc-sparc.c:2231 msgid "" "Illegal operands: Can't do arithmetics other than + and - involving %%%s()" msgstr "" -#: config/tc-sparc.c:2340 +#: config/tc-sparc.c:2341 msgid "Illegal operands: Can't add non-constant expression to %%%s()" msgstr "" -#: config/tc-sparc.c:2350 +#: config/tc-sparc.c:2351 msgid "" "Illegal operands: Can't do arithmetics involving %%%s() of a relocatable " "symbol" msgstr "" -#: config/tc-sparc.c:2368 +#: config/tc-sparc.c:2369 msgid ": PC-relative operand can't be a constant" msgstr "" -#: config/tc-sparc.c:2401 +#: config/tc-sparc.c:2402 msgid ": invalid ASI name" msgstr "" -#: config/tc-sparc.c:2409 +#: config/tc-sparc.c:2410 msgid ": invalid ASI expression" msgstr "" -#: config/tc-sparc.c:2414 +#: config/tc-sparc.c:2415 msgid ": invalid ASI number" msgstr "" -#: config/tc-sparc.c:2511 +#: config/tc-sparc.c:2512 msgid "OPF immediate operand out of range (0-0x1ff)" msgstr "" -#: config/tc-sparc.c:2516 +#: config/tc-sparc.c:2517 msgid "non-immediate OPF operand, ignored" msgstr "" -#: config/tc-sparc.c:2535 +#: config/tc-sparc.c:2536 msgid ": invalid cpreg name" msgstr "" -#: config/tc-sparc.c:2564 +#: config/tc-sparc.c:2565 #, c-format msgid "Illegal operands%s" msgstr "" -#: config/tc-sparc.c:2598 +#: config/tc-sparc.c:2599 #, c-format msgid "architecture bumped from \"%s\" to \"%s\" on \"%s\"" msgstr "" -#: config/tc-sparc.c:2634 +#: config/tc-sparc.c:2635 #, c-format msgid "Architecture mismatch on \"%s\"." msgstr "" -#: config/tc-sparc.c:2635 +#: config/tc-sparc.c:2636 #, c-format msgid " (Requires %s; requested architecture is %s.)" msgstr "" -#: config/tc-sparc.c:3249 +#: config/tc-sparc.c:3250 #, c-format msgid "bad or unhandled relocation type: 0x%02x" msgstr "" -#: config/tc-sparc.c:3380 +#: config/tc-sparc.c:3381 #, c-format msgid "internal error: can't export reloc type %d (`%s')" msgstr "" -#: config/tc-sparc.c:3552 +#: config/tc-sparc.c:3553 msgid "bad .reserve segment -- expected BSS segment" msgstr "" -#: config/tc-sparc.c:3569 +#: config/tc-sparc.c:3570 msgid "missing alignment" msgstr "" -#: config/tc-sparc.c:3580 config/tc-sparc.c:3730 +#: config/tc-sparc.c:3581 config/tc-sparc.c:3731 #, c-format msgid "alignment too large; assuming %d" msgstr "" -#: config/tc-sparc.c:3586 config/tc-sparc.c:3736 +#: config/tc-sparc.c:3587 config/tc-sparc.c:3737 msgid "negative alignment" msgstr "" -#: config/tc-sparc.c:3596 config/tc-sparc.c:3759 +#: config/tc-sparc.c:3597 config/tc-sparc.c:3760 msgid "alignment not a power of 2" msgstr "" -#: config/tc-sparc.c:3716 +#: config/tc-sparc.c:3717 msgid "Expected comma after common length" msgstr "" -#: config/tc-sparc.c:3951 config/tc-sparc.c:3961 +#: config/tc-sparc.c:3952 config/tc-sparc.c:3962 msgid "register syntax is .register %%g[2367],{#scratch|symbolname|#ignore}" msgstr "" -#: config/tc-sparc.c:3979 +#: config/tc-sparc.c:3980 msgid "redefinition of global register" msgstr "" -#: config/tc-sparc.c:3990 +#: config/tc-sparc.c:3991 #, c-format msgid "Register symbol %s already defined." msgstr "" -#: config/tc-sparc.h:54 -msgid "sparc convert_frag\n" -msgstr "" - -#: config/tc-sparc.h:56 -msgid "estimate_size_before_relax called" -msgstr "" - -#: config/tc-tahoe.c:386 +#: config/tc-tahoe.c:402 msgid "The -a option doesn't exist. (Despite what the man page says!" msgstr "" -#: config/tc-tahoe.c:390 config/tc-vax.c:3132 +#: config/tc-tahoe.c:406 config/tc-vax.c:3132 #, c-format msgid "Displacement length %s ignored!" msgstr "" -#: config/tc-tahoe.c:394 config/tc-vax.c:3124 +#: config/tc-tahoe.c:410 config/tc-vax.c:3124 msgid "SYMBOL TABLE not implemented" msgstr "" -#: config/tc-tahoe.c:398 config/tc-vax.c:3128 +#: config/tc-tahoe.c:414 config/tc-vax.c:3128 msgid "TOKEN TRACE not implemented" msgstr "" -#: config/tc-tahoe.c:402 config/tc-vax.c:3136 +#: config/tc-tahoe.c:418 config/tc-vax.c:3136 #, c-format msgid "I don't need or use temp. file \"%s\"." msgstr "" -#: config/tc-tahoe.c:406 config/tc-vax.c:3140 +#: config/tc-tahoe.c:422 config/tc-vax.c:3140 msgid "I don't use an interpass file! -V ignored" msgstr "" -#: config/tc-tahoe.c:420 +#: config/tc-tahoe.c:436 msgid "" "Tahoe options:\n" "-a\t\t\tignored\n" @@ -6854,196 +6819,190 @@ msgid "" "-V\t\t\tignored\n" msgstr "" -#: config/tc-tahoe.c:1074 +#: config/tc-tahoe.c:1090 msgid "Casting a branch displacement is bad form, and is ignored." msgstr "" -#: config/tc-tahoe.c:1130 +#: config/tc-tahoe.c:1146 msgid "Couldn't parse the [index] in this operand." msgstr "" -#: config/tc-tahoe.c:1136 +#: config/tc-tahoe.c:1152 msgid "Couldn't find the opening '[' for the index of this operand." msgstr "" -#: config/tc-tahoe.c:1176 +#: config/tc-tahoe.c:1192 msgid "Couldn't find the opening '(' for the deref of this operand." msgstr "" -#: config/tc-tahoe.c:1186 +#: config/tc-tahoe.c:1202 msgid "Operand can't be both pre-inc and post-dec." msgstr "" -#: config/tc-tahoe.c:1216 +#: config/tc-tahoe.c:1232 msgid "I parsed 2 registers in this operand." msgstr "" -#: config/tc-tahoe.c:1266 +#: config/tc-tahoe.c:1282 msgid "Can't relocate expression error." msgstr "" #. This is an error. Tahoe doesn't allow any expressions #. bigger that a 32 bit long word. Any bigger has to be referenced #. by address. -#: config/tc-tahoe.c:1273 +#: config/tc-tahoe.c:1289 msgid "Expression is too large for a 32 bits." msgstr "" -#: config/tc-tahoe.c:1278 +#: config/tc-tahoe.c:1294 msgid "Junk at end of expression." msgstr "" -#: config/tc-tahoe.c:1317 +#: config/tc-tahoe.c:1333 msgid "Syntax error in direct register mode." msgstr "" -#: config/tc-tahoe.c:1319 +#: config/tc-tahoe.c:1335 msgid "You can't index a register in direct register mode." msgstr "" -#: config/tc-tahoe.c:1322 +#: config/tc-tahoe.c:1338 msgid "SP can't be the source operand with direct register addressing." msgstr "" -#: config/tc-tahoe.c:1324 +#: config/tc-tahoe.c:1340 msgid "Can't take the address of a register." msgstr "" -#: config/tc-tahoe.c:1326 +#: config/tc-tahoe.c:1342 msgid "Direct Register can't be used in a branch." msgstr "" -#: config/tc-tahoe.c:1328 +#: config/tc-tahoe.c:1344 msgid "For quad access, the register must be even and < 14." msgstr "" -#: config/tc-tahoe.c:1330 +#: config/tc-tahoe.c:1346 msgid "You can't cast a direct register." msgstr "" -#: config/tc-tahoe.c:1336 +#: config/tc-tahoe.c:1352 msgid "Using reg 14 for quadwords can tromp the FP register." msgstr "" -#: config/tc-tahoe.c:1348 +#: config/tc-tahoe.c:1364 msgid "Syntax error in auto-dec mode." msgstr "" -#: config/tc-tahoe.c:1350 +#: config/tc-tahoe.c:1366 msgid "You can't have an index auto dec mode." msgstr "" -#: config/tc-tahoe.c:1352 +#: config/tc-tahoe.c:1368 msgid "Auto dec mode cant be used for reading." msgstr "" -#: config/tc-tahoe.c:1354 +#: config/tc-tahoe.c:1370 msgid "Auto dec only works of the SP register." msgstr "" -#: config/tc-tahoe.c:1356 +#: config/tc-tahoe.c:1372 msgid "Auto dec can't be used in a branch." msgstr "" -#: config/tc-tahoe.c:1358 +#: config/tc-tahoe.c:1374 msgid "Auto dec won't work with quadwords." msgstr "" -#: config/tc-tahoe.c:1365 +#: config/tc-tahoe.c:1381 msgid "Syntax error in one of the auto-inc modes." msgstr "" -#: config/tc-tahoe.c:1371 +#: config/tc-tahoe.c:1387 msgid "Auto inc deferred only works of the SP register." msgstr "" -#: config/tc-tahoe.c:1373 +#: config/tc-tahoe.c:1389 msgid "You can't have an index auto inc deferred mode." msgstr "" -#: config/tc-tahoe.c:1375 config/tc-tahoe.c:1386 +#: config/tc-tahoe.c:1391 config/tc-tahoe.c:1402 msgid "Auto inc can't be used in a branch." msgstr "" -#: config/tc-tahoe.c:1382 +#: config/tc-tahoe.c:1398 msgid "You can't write to an auto inc register." msgstr "" -#: config/tc-tahoe.c:1384 +#: config/tc-tahoe.c:1400 msgid "Auto inc only works of the SP register." msgstr "" -#: config/tc-tahoe.c:1388 +#: config/tc-tahoe.c:1404 msgid "Auto inc won't work with quadwords." msgstr "" -#: config/tc-tahoe.c:1390 +#: config/tc-tahoe.c:1406 msgid "You can't have an index in auto inc mode." msgstr "" -#: config/tc-tahoe.c:1398 +#: config/tc-tahoe.c:1414 msgid "You can't index the sp register." msgstr "" -#: config/tc-tahoe.c:1404 +#: config/tc-tahoe.c:1420 msgid "Syntax error in register displaced mode." msgstr "" -#: config/tc-tahoe.c:1423 +#: config/tc-tahoe.c:1439 msgid "An offest is needed for this operand." msgstr "" -#: config/tc-tahoe.c:1435 +#: config/tc-tahoe.c:1451 msgid "You can't index a register in immediate mode." msgstr "" -#: config/tc-tahoe.c:1437 +#: config/tc-tahoe.c:1453 msgid "Immediate access can't be used as an address." msgstr "" -#: config/tc-tahoe.c:1548 +#: config/tc-tahoe.c:1564 #, c-format msgid "Compiler bug: ODD number of bytes in arg structure %s." msgstr "" -#: config/tc-tahoe.c:1575 config/tc-vax.c:1839 +#: config/tc-tahoe.c:1591 config/tc-vax.c:1839 msgid "Not enough operands" msgstr "" -#: config/tc-tahoe.c:1585 config/tc-vax.c:1846 +#: config/tc-tahoe.c:1601 config/tc-vax.c:1846 msgid "Too many operands" msgstr "" -#: config/tc-tahoe.c:1636 config/tc-vax.c:364 +#: config/tc-tahoe.c:1652 config/tc-vax.c:364 #, c-format msgid "Ignoring statement due to \"%s\"" msgstr "" -#: config/tc-tahoe.c:1731 +#: config/tc-tahoe.c:1747 #, c-format msgid "Compliler bug: Got a case (%d) I wasn't expecting." msgstr "" -#: config/tc-tahoe.c:1825 +#: config/tc-tahoe.c:1841 msgid "Real branch displacements must be expressions." msgstr "" -#: config/tc-tahoe.c:1828 +#: config/tc-tahoe.c:1844 #, c-format msgid "Complier error: I got an unknown synthetic branch :%c" msgstr "" -#: config/tc-tahoe.c:1969 +#: config/tc-tahoe.c:1985 #, c-format msgid "Barf, bad mode %x\n" msgstr "" -#. Only word (et al.), align, or conditionals are allowed within -#. .struct/.union. -#: config/tc-tic54x.c:75 -msgid "pseudo-op illegal within .struct/.union" -msgstr "" - #: config/tc-tic54x.c:84 msgid "C54x-specific command line options:\n" msgstr "" @@ -7493,16 +7452,6 @@ msgstr "" msgid "Invalid label '%s'" msgstr "" -#: config/tc-tic80.c:25 -#, c-format -msgid "internal error:%s:%d: %s\n" -msgstr "" - -#: config/tc-tic80.c:28 -#, c-format -msgid "internal error:%s:%d: %s %d\n" -msgstr "" - #: config/tc-tic80.c:90 msgid "Relaxation is a luxury we can't afford" msgstr "" @@ -7916,11 +7865,11 @@ msgid "" "-v\"VERSION\"\t\tcode being assembled was produced by compiler \"VERSION\"\n" msgstr "" -#: config/tc-w65.c:127 +#: config/tc-w65.c:145 msgid "need on or off." msgstr "" -#: config/tc-w65.c:311 config/tc-w65.c:354 +#: config/tc-w65.c:305 config/tc-w65.c:348 msgid "syntax error after <exp" msgstr "" @@ -7985,23 +7934,23 @@ msgstr "" msgid "can't use R0 here" msgstr "" -#: config/tc-z8k.c:1246 +#: config/tc-z8k.c:1256 msgid "Can't find opcode to match operands" msgstr "" -#: config/tc-z8k.c:1361 +#: config/tc-z8k.c:1371 #, c-format msgid "invalid architecture -z%s" msgstr "" -#: config/tc-z8k.c:1377 +#: config/tc-z8k.c:1387 msgid "" "Z8K options:\n" "-z8001\t\t\tgenerate segmented code\n" "-z8002\t\t\tgenerate unsegmented code\n" msgstr "" -#: config/tc-z8k.c:1521 +#: config/tc-z8k.c:1531 #, c-format msgid "Can't subtract symbols in different sections %s %s" msgstr "" @@ -8016,322 +7965,332 @@ msgstr "" msgid "Can't close `%s'" msgstr "" -#: dwarf2dbg.c:345 dwarf2dbg.c:379 -msgid "File number less than zero" +#: dwarf2dbg.c:344 dwarf2dbg.c:386 +msgid "File number less than one" +msgstr "" + +#: dwarf2dbg.c:350 +#, c-format +msgid "File number %ld already allocated" msgstr "" -#: dwarf2dbg.c:385 +#: dwarf2dbg.c:391 #, c-format msgid "Unassigned file number %ld" msgstr "" -#: dwarf2dbg.c:1258 dwarf2dbg.c:1266 dwarf2dbg.c:1274 dwarf2dbg.c:1294 +#: dwarf2dbg.c:936 +#, c-format +msgid "Unassigned file number %u" +msgstr "" + +#: dwarf2dbg.c:1274 dwarf2dbg.c:1282 dwarf2dbg.c:1290 dwarf2dbg.c:1310 msgid "dwarf2 is not supported for this object file format" msgstr "" -#: ecoff.c:1555 +#: ecoff.c:1556 #, c-format msgid "String too big (%lu bytes)" msgstr "" -#: ecoff.c:1581 +#: ecoff.c:1582 #, c-format msgid "Inserting \"%s\" into string hash table: %s" msgstr "" -#: ecoff.c:1613 ecoff.c:1807 ecoff.c:1832 ecoff.c:1864 ecoff.c:2018 -#: ecoff.c:2132 +#: ecoff.c:1614 ecoff.c:1808 ecoff.c:1833 ecoff.c:1865 ecoff.c:2019 +#: ecoff.c:2133 msgid "no current file pointer" msgstr "" -#: ecoff.c:1700 +#: ecoff.c:1701 msgid "too many st_End's" msgstr "" -#: ecoff.c:2044 +#: ecoff.c:2045 #, c-format msgid "Inserting \"%s\" into tag hash table: %s" msgstr "" -#: ecoff.c:2210 +#: ecoff.c:2211 msgid "fake .file after real one" msgstr "" -#: ecoff.c:2300 +#: ecoff.c:2301 msgid "Filename goes over one page boundary." msgstr "" -#: ecoff.c:2435 +#: ecoff.c:2436 msgid ".begin directive without a preceding .file directive" msgstr "" -#: ecoff.c:2442 +#: ecoff.c:2443 msgid ".begin directive without a preceding .ent directive" msgstr "" -#: ecoff.c:2474 +#: ecoff.c:2475 msgid ".bend directive without a preceding .file directive" msgstr "" -#: ecoff.c:2481 +#: ecoff.c:2482 msgid ".bend directive without a preceding .ent directive" msgstr "" -#: ecoff.c:2494 +#: ecoff.c:2495 msgid ".bend directive names unknown symbol" msgstr "" -#: ecoff.c:2538 +#: ecoff.c:2539 msgid ".def pseudo-op used inside of .def/.endef; ignored" msgstr "" -#: ecoff.c:2540 +#: ecoff.c:2541 msgid "Empty symbol name in .def; ignored" msgstr "" -#: ecoff.c:2578 +#: ecoff.c:2579 msgid ".dim pseudo-op used outside of .def/.endef; ignored" msgstr "" -#: ecoff.c:2593 +#: ecoff.c:2594 msgid "Badly formed .dim directive" msgstr "" -#: ecoff.c:2606 +#: ecoff.c:2607 msgid "Too many .dim entries" msgstr "" -#: ecoff.c:2627 +#: ecoff.c:2628 msgid ".scl pseudo-op used outside of .def/.endef; ignored" msgstr "" -#: ecoff.c:2653 +#: ecoff.c:2654 msgid ".size pseudo-op used outside of .def/.endef; ignored" msgstr "" -#: ecoff.c:2668 +#: ecoff.c:2669 msgid "Badly formed .size directive" msgstr "" -#: ecoff.c:2681 +#: ecoff.c:2682 msgid "Too many .size entries" msgstr "" -#: ecoff.c:2704 +#: ecoff.c:2705 msgid ".type pseudo-op used outside of .def/.endef; ignored" msgstr "" #. FIXME: We could handle this by setting the continued bit. #. There would still be a limit: the .type argument can not #. be infinite. -#: ecoff.c:2722 +#: ecoff.c:2723 #, c-format msgid "The type of %s is too complex; it will be simplified" msgstr "" -#: ecoff.c:2733 +#: ecoff.c:2734 msgid "Unrecognized .type argument" msgstr "" -#: ecoff.c:2772 +#: ecoff.c:2773 msgid ".tag pseudo-op used outside of .def/.endef; ignored" msgstr "" -#: ecoff.c:2799 +#: ecoff.c:2800 msgid ".val pseudo-op used outside of .def/.endef; ignored" msgstr "" -#: ecoff.c:2807 +#: ecoff.c:2808 msgid ".val expression is too copmlex" msgstr "" -#: ecoff.c:2838 +#: ecoff.c:2839 msgid ".endef pseudo-op used before .def; ignored" msgstr "" -#: ecoff.c:2864 +#: ecoff.c:2865 msgid "Bad COFF debugging info" msgstr "" -#: ecoff.c:2913 +#: ecoff.c:2914 #, c-format msgid "No tag specified for %s" msgstr "" -#: ecoff.c:2945 +#: ecoff.c:2946 msgid "Bad COFF debugging information" msgstr "" -#: ecoff.c:3017 +#: ecoff.c:3018 msgid ".end directive without a preceding .file directive" msgstr "" -#: ecoff.c:3024 +#: ecoff.c:3025 msgid ".end directive without a preceding .ent directive" msgstr "" -#: ecoff.c:3047 +#: ecoff.c:3048 msgid ".end directive names unknown symbol" msgstr "" -#: ecoff.c:3076 +#: ecoff.c:3077 msgid "second .ent directive found before .end directive" msgstr "" -#: ecoff.c:3151 +#: ecoff.c:3152 msgid "No way to handle .file within .ent/.end section" msgstr "" -#: ecoff.c:3176 +#: ecoff.c:3177 msgid ".fmask outside of .ent" msgstr "" -#: ecoff.c:3246 +#: ecoff.c:3247 msgid ".mask outside of .ent" msgstr "" -#: ecoff.c:3276 +#: ecoff.c:3277 msgid ".loc before .file" msgstr "" -#: ecoff.c:3402 +#: ecoff.c:3403 #, c-format msgid "Ignoring attempt to redefine symbol `%s'." msgstr "" -#: ecoff.c:3415 +#: ecoff.c:3416 msgid "bad .weakext directive" msgstr "" -#: ecoff.c:3484 +#: ecoff.c:3485 #, c-format msgid ".stab%c is not supported" msgstr "" -#: ecoff.c:3494 +#: ecoff.c:3495 #, c-format msgid ".stab%c: ignoring non-zero other field" msgstr "" -#: ecoff.c:3528 +#: ecoff.c:3529 #, c-format msgid "" "Line number (%d) for .stab%c directive cannot fit in index field (20 bits)" msgstr "" -#: ecoff.c:3564 +#: ecoff.c:3565 #, c-format msgid "Illegal .stab%c directive, bad character" msgstr "" -#: ecoff.c:4026 ecoff.c:4215 ecoff.c:4240 +#: ecoff.c:4027 ecoff.c:4216 ecoff.c:4241 msgid ".begin/.bend in different segments" msgstr "" -#: ecoff.c:4741 +#: ecoff.c:4742 msgid "Missing .end or .bend at end of file" msgstr "" -#: ecoff.c:5231 +#: ecoff.c:5232 msgid "GP prologue size exceeds field size, using 0 instead" msgstr "" -#: expr.c:245 +#: expr.c:246 msgid "" "bad floating-point constant: exponent overflow, probably assembling junk" msgstr "" -#: expr.c:249 +#: expr.c:250 #, c-format msgid "bad floating-point constant: unknown error code=%d." msgstr "" -#: expr.c:429 +#: expr.c:430 msgid "" "A bignum with underscores may not have more than 8 hex digits in any word." msgstr "" -#: expr.c:452 +#: expr.c:453 msgid "A bignum with underscores must have exactly 4 words." msgstr "" #. Either not seen or not defined. #. @@ Should print out the original string instead of #. the parsed number. -#: expr.c:575 +#: expr.c:576 #, c-format msgid "backw. ref to unknown label \"%d:\", 0 assumed." msgstr "" -#: expr.c:698 +#: expr.c:699 msgid "Character constant too large" msgstr "" -#: expr.c:949 +#: expr.c:950 #, c-format msgid "expr.c(operand): bad atof_generic return val %d" msgstr "" -#: expr.c:1012 +#: expr.c:1013 #, c-format msgid "Missing '%c' assumed" msgstr "" -#: expr.c:1024 read.c:3869 +#: expr.c:1025 read.c:3877 msgid "EBCDIC constants are not supported" msgstr "" -#: expr.c:1095 +#: expr.c:1096 #, c-format msgid "Unary operator %c ignored because bad operand follows" msgstr "" -#: expr.c:1141 expr.c:1166 +#: expr.c:1142 expr.c:1167 msgid "syntax error in .startof. or .sizeof." msgstr "" -#: expr.c:1314 +#: expr.c:1315 msgid "Bad expression" msgstr "" -#: expr.c:1677 +#: expr.c:1678 msgid "missing operand; zero assumed" msgstr "" -#: expr.c:1710 +#: expr.c:1711 msgid "operation combines symbols in different segments" msgstr "" -#: expr.c:1727 +#: expr.c:1728 msgid "left operand is a bignum; integer 0 assumed" msgstr "" -#: expr.c:1729 +#: expr.c:1730 msgid "left operand is a float; integer 0 assumed" msgstr "" -#: expr.c:1738 +#: expr.c:1739 msgid "right operand is a bignum; integer 0 assumed" msgstr "" -#: expr.c:1740 +#: expr.c:1741 msgid "right operand is a float; integer 0 assumed" msgstr "" -#: expr.c:1796 symbols.c:1089 +#: expr.c:1797 symbols.c:1098 msgid "division by zero" msgstr "" -#: frags.c:86 +#: frags.c:87 #, c-format msgid "Can't extend frag %d. chars" msgstr "" -#: frags.c:167 +#: frags.c:168 msgid "attempt to allocate data in absolute section" msgstr "" -#: frags.c:173 +#: frags.c:174 msgid "attempt to allocate data in common section" msgstr "" @@ -8672,7 +8631,7 @@ msgstr "" #. line here (assuming of course that we actually have a line of #. input to read), so that it can be displayed in the listing #. that is produced at the end of the assembly. -#: input-file.c:149 input-scrub.c:241 listing.c:344 +#: input-file.c:149 input-scrub.c:242 listing.c:345 msgid "{standard input}" msgstr "" @@ -8691,15 +8650,15 @@ msgstr "" msgid "Can't close %s" msgstr "" -#: input-scrub.c:271 +#: input-scrub.c:272 msgid "macros nested too deeply" msgstr "" -#: input-scrub.c:374 +#: input-scrub.c:375 msgid "partial line at end of file ignored" msgstr "" -#: input-scrub.c:396 +#: input-scrub.c:397 msgid "Partial line at end of file ignored" msgstr "" @@ -8707,29 +8666,29 @@ msgstr "" msgid "Unable to allocate memory for new instructions\n" msgstr "" -#: listing.c:243 +#: listing.c:244 msgid "Warning:" msgstr "" -#: listing.c:250 +#: listing.c:251 msgid "Error:" msgstr "" -#: listing.c:1125 +#: listing.c:1129 #, c-format msgid "can't open list file: %s" msgstr "" -#: listing.c:1149 +#: listing.c:1153 #, c-format msgid "error closing list file: %s" msgstr "" -#: listing.c:1228 +#: listing.c:1232 msgid "strange paper height, set to no form" msgstr "" -#: listing.c:1294 +#: listing.c:1298 msgid "New line in title" msgstr "" @@ -8955,349 +8914,349 @@ msgstr "" msgid "only constant offsets supported in absolute section" msgstr "" -#: read.c:2406 +#: read.c:2414 msgid "MRI style ORG pseudo-op not supported" msgstr "" -#: read.c:2495 +#: read.c:2503 msgid "unrecognized section type" msgstr "" -#: read.c:2563 +#: read.c:2571 #, c-format msgid "unrecognized section type `%s'" msgstr "" -#: read.c:2577 +#: read.c:2585 msgid "absolute sections are not supported" msgstr "" -#: read.c:2592 +#: read.c:2600 #, c-format msgid "unrecognized section command `%s'" msgstr "" -#: read.c:2680 +#: read.c:2688 #, c-format msgid "%s without %s" msgstr "" -#: read.c:2881 +#: read.c:2889 msgid "Unsupported variable size or fill value" msgstr "" -#: read.c:2906 +#: read.c:2914 msgid ".space repeat count is zero, ignored" msgstr "" -#: read.c:2908 +#: read.c:2916 msgid ".space repeat count is negative, ignored" msgstr "" -#: read.c:2937 +#: read.c:2945 msgid "space allocation too complex in absolute section" msgstr "" -#: read.c:2943 +#: read.c:2951 msgid "space allocation too complex in common section" msgstr "" -#: read.c:3031 read.c:4114 +#: read.c:3039 read.c:4122 #, c-format msgid "Bad floating literal: %s" msgstr "" -#: read.c:3104 +#: read.c:3112 #, c-format msgid "Rest of line ignored. First ignored character is `%c'." msgstr "" -#: read.c:3107 +#: read.c:3115 #, c-format msgid "Rest of line ignored. First ignored character valued 0x%x." msgstr "" -#: read.c:3158 +#: read.c:3166 msgid "illegal expression; zero assumed" msgstr "" -#: read.c:3160 +#: read.c:3168 msgid "missing expression; zero assumed" msgstr "" -#: read.c:3331 +#: read.c:3339 msgid "rva without symbol" msgstr "" -#: read.c:3455 +#: read.c:3463 msgid "attempt to store value in absolute section" msgstr "" -#: read.c:3493 read.c:4391 +#: read.c:3501 read.c:4399 msgid "zero assumed for missing expression" msgstr "" -#: read.c:3505 read.c:4403 +#: read.c:3513 read.c:4411 write.c:291 msgid "register value used as expression" msgstr "" #. Leading bits contain both 0s & 1s. -#: read.c:3595 +#: read.c:3603 #, c-format msgid "Value 0x%lx truncated to 0x%lx." msgstr "" -#: read.c:3611 +#: read.c:3619 #, c-format msgid "Bignum truncated to %d bytes" msgstr "" -#: read.c:3688 +#: read.c:3696 #, c-format msgid "unsupported BFD relocation size %u" msgstr "" -#: read.c:3778 +#: read.c:3786 msgid "using a bit field width of zero" msgstr "" -#: read.c:3786 +#: read.c:3794 #, c-format msgid "field width \"%s\" too complex for a bitfield" msgstr "" -#: read.c:3794 +#: read.c:3802 #, c-format msgid "field width %lu too big to fit in %d bytes: truncated to %d bits" msgstr "" -#: read.c:3816 +#: read.c:3824 #, c-format msgid "field value \"%s\" too complex for a bitfield" msgstr "" -#: read.c:3942 +#: read.c:3950 msgid "Unresolvable or nonpositive repeat count; using 1" msgstr "" -#: read.c:3993 +#: read.c:4001 #, c-format msgid "Unknown floating type type '%c'" msgstr "" -#: read.c:4015 +#: read.c:4023 msgid "Floating point constant too large" msgstr "" -#: read.c:4136 +#: read.c:4144 msgid "unresolvable or nonpositive repeat count; using 1" msgstr "" -#: read.c:4534 +#: read.c:4542 msgid "Expected <nn>" msgstr "" #. To be compatible with BSD 4.2 as: give the luser a linefeed!! -#: read.c:4567 read.c:4653 +#: read.c:4575 read.c:4661 msgid "Unterminated string: Newline inserted." msgstr "" -#: read.c:4661 +#: read.c:4669 msgid "Bad escaped character in string, '?' assumed" msgstr "" -#: read.c:4687 +#: read.c:4695 msgid "expected address expression; zero assumed" msgstr "" -#: read.c:4707 +#: read.c:4715 #, c-format msgid "symbol \"%s\" undefined; zero assumed" msgstr "" -#: read.c:4710 +#: read.c:4718 msgid "some symbol undefined; zero assumed" msgstr "" -#: read.c:4763 +#: read.c:4771 msgid "This string may not contain '\\0'" msgstr "" -#: read.c:4800 +#: read.c:4808 msgid "Missing string" msgstr "" -#: read.c:5022 +#: read.c:5044 msgid "missing .func" msgstr "" -#: read.c:5039 +#: read.c:5061 msgid ".endfunc missing for previous .func" msgstr "" -#: stabs.c:213 +#: stabs.c:220 msgid ".stabs: Missing comma" msgstr "" -#: stabs.c:221 stabs.c:229 stabs.c:240 +#: stabs.c:228 stabs.c:236 stabs.c:247 #, c-format msgid ".stab%c: Missing comma" msgstr "" -#: stabs.c:419 +#: stabs.c:427 msgid "comma missing in .xstabs" msgstr "" -#: subsegs.c:376 +#: subsegs.c:377 #, c-format msgid "Attempt to switch to nonexistent segment \"%s\"" msgstr "" -#: symbols.c:357 symbols.c:456 +#: symbols.c:362 symbols.c:461 #, c-format msgid "Symbol %s already defined." msgstr "" -#: symbols.c:442 +#: symbols.c:447 #, c-format msgid "Symbol \"%s\" is already defined as \"%s\"/%s%ld." msgstr "" -#: symbols.c:519 symbols.c:526 +#: symbols.c:524 symbols.c:531 #, c-format msgid "Inserting \"%s\" into symbol table failed: %s" msgstr "" -#: symbols.c:872 +#: symbols.c:881 #, c-format msgid "Symbol definition loop encountered at %s" msgstr "" -#: symbols.c:1050 symbols.c:1054 +#: symbols.c:1059 symbols.c:1063 #, c-format msgid "undefined symbol %s in operation" msgstr "" -#: symbols.c:1059 +#: symbols.c:1068 msgid "invalid section for operation" msgstr "" -#: symbols.c:1064 symbols.c:1068 +#: symbols.c:1073 symbols.c:1077 #, c-format msgid "undefined symbol %s in operation setting %s" msgstr "" -#: symbols.c:1073 +#: symbols.c:1082 #, c-format msgid "invalid section for operation setting %s" msgstr "" -#: symbols.c:1091 +#: symbols.c:1100 #, c-format msgid "division by zero when setting %s" msgstr "" -#: symbols.c:1163 write.c:1945 +#: symbols.c:1172 write.c:2010 #, c-format msgid "can't resolve value for symbol \"%s\"" msgstr "" -#: symbols.c:1557 +#: symbols.c:1566 #, c-format msgid "\"%d\" (instance number %d of a %s label)" msgstr "" -#: symbols.c:1590 +#: symbols.c:1603 #, c-format msgid "Attempt to get value of unresolved symbol %s" msgstr "" -#: write.c:172 +#: write.c:177 #, c-format msgid "field fx_size too small to hold %d" msgstr "" -#: write.c:309 +#: write.c:318 msgid "rva not supported" msgstr "" -#: write.c:517 +#: write.c:526 #, c-format msgid "attempt to .org/.space backwards? (%ld)" msgstr "" -#: write.c:995 +#: write.c:1028 msgid "relocation out of range" msgstr "" -#: write.c:998 +#: write.c:1031 #, c-format msgid "%s:%u: bad return from bfd_install_relocation: %x" msgstr "" -#: write.c:1043 +#: write.c:1076 msgid "internal error: fixup not contained within frag" msgstr "" -#: write.c:1059 +#: write.c:1092 #, c-format msgid "%s:%u: bad return from bfd_install_relocation" msgstr "" -#: write.c:1146 write.c:1170 +#: write.c:1179 write.c:1203 #, c-format msgid "FATAL: Can't write %s" msgstr "" -#: write.c:1202 +#: write.c:1235 msgid "Cannot write to output file." msgstr "" -#: write.c:1451 +#: write.c:1484 #, c-format msgid "%d error%s, %d warning%s, generating bad object file.\n" msgstr "" -#: write.c:1458 +#: write.c:1491 #, c-format msgid "%d error%s, %d warning%s, no object file generated.\n" msgstr "" -#: write.c:1882 +#: write.c:1947 #, c-format msgid "local label %s is not defined" msgstr "" -#: write.c:2201 +#: write.c:2245 #, c-format msgid "alignment padding (%lu bytes) not a multiple of %ld" msgstr "" -#: write.c:2311 +#: write.c:2357 #, c-format msgid ".word %s-%s+%s didn't fit" msgstr "" -#: write.c:2392 +#: write.c:2438 msgid "attempt to .org backwards ignored" msgstr "" -#: write.c:2416 +#: write.c:2462 msgid ".space specifies non-absolute value" msgstr "" -#: write.c:2420 +#: write.c:2466 msgid ".space or .fill with negative value, ignored" msgstr "" -#: write.c:2671 +#: write.c:2721 #, c-format msgid "" "Subtraction of two symbols in different sections \"%s\" {%s section} - " "\"%s\" {%s section} at file address %s." msgstr "" -#: write.c:2825 +#: write.c:2875 #, c-format msgid "Value of %s too large for field of %d bytes at %s" msgstr "" diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index f890300..dfd6beb 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,14 @@ +2001-04-24 Christian Groessler <cpg@aladdin.de> + + * z8k-dis.c: add names of control registers (ctrl_names); + (seg_length): provides instruction length fixup for segmented + mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12, + CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases; + (unparse_intr): handle CLASS_PR, print addresses without '#' + * z8k-opc.h: re-created with new z8kgen + * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new + entries for ldctl/ldctlb instruction + 2001-04-06 Andreas Jaeger <aj@suse.de> * i386-dis.c: Add ffreep instruction. diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index 652a716..0613ced 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -374,7 +374,7 @@ acinclude.m4 aclocal.m4 config.in configure configure.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES) OBJECTS = libopcodes.a.$(OBJEXT) $(libopcodes_la_OBJECTS) diff --git a/opcodes/config.in b/opcodes/config.in index 5caef55..9ad27be 100644 --- a/opcodes/config.in +++ b/opcodes/config.in @@ -1,132 +1,135 @@ /* config.in. Generated automatically from configure.in by autoheader. */ -/* Define if using alloca.c. */ -#undef C_ALLOCA +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END -/* Define to empty if the keyword does not work. */ -#undef const +/* Define if using `alloca.c'. */ +#undef C_ALLOCA -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. - This function is required for alloca.c support on those systems. */ -#undef CRAY_STACKSEG_END +/* Define to 1 if NLS is requested */ +#undef ENABLE_NLS -/* Define if you have alloca, as a function or macro. */ +/* Define if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA -/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ +/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H -/* Define if you have a working `mmap' system call. */ -#undef HAVE_MMAP +/* Define if you have the <argz.h> header file. */ +#undef HAVE_ARGZ_H -/* Define as __inline if that's what the C compiler calls it. */ -#undef inline +/* Define if you have the `dcgettext' function. */ +#undef HAVE_DCGETTEXT -/* Define to `long' if <sys/types.h> doesn't define. */ -#undef off_t +/* Define if you have the `getcwd' function. */ +#undef HAVE_GETCWD -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -#undef size_t +/* Define if you have the `getpagesize' function. */ +#undef HAVE_GETPAGESIZE -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown - */ -#undef STACK_DIRECTION +/* Define as 1 if you have gettext and don't want to use GNU gettext. */ +#undef HAVE_GETTEXT -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS +/* Define if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H -/* Define if you have the __argz_count function. */ -#undef HAVE___ARGZ_COUNT +/* Define if your locale.h file contains LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES -/* Define if you have the __argz_next function. */ -#undef HAVE___ARGZ_NEXT +/* Define if you have the <limits.h> header file. */ +#undef HAVE_LIMITS_H -/* Define if you have the __argz_stringify function. */ -#undef HAVE___ARGZ_STRINGIFY +/* Define if you have the <locale.h> header file. */ +#undef HAVE_LOCALE_H -/* Define if you have the dcgettext function. */ -#undef HAVE_DCGETTEXT +/* Define if you have the <malloc.h> header file. */ +#undef HAVE_MALLOC_H -/* Define if you have the getcwd function. */ -#undef HAVE_GETCWD +/* Define if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H -/* Define if you have the getpagesize function. */ -#undef HAVE_GETPAGESIZE +/* Define if you have a working `mmap' system call. */ +#undef HAVE_MMAP -/* Define if you have the munmap function. */ +/* Define if you have the `munmap' function. */ #undef HAVE_MUNMAP -/* Define if you have the putenv function. */ +/* Define if you have the <nl_types.h> header file. */ +#undef HAVE_NL_TYPES_H + +/* Define if you have the `putenv' function. */ #undef HAVE_PUTENV -/* Define if you have the setenv function. */ +/* Define if you have the `setenv' function. */ #undef HAVE_SETENV -/* Define if you have the setlocale function. */ +/* Define if you have the `setlocale' function. */ #undef HAVE_SETLOCALE -/* Define if you have the stpcpy function. */ +/* Define if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define if you have the stpcpy function */ #undef HAVE_STPCPY -/* Define if you have the strcasecmp function. */ +/* Define if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP -/* Define if you have the strchr function. */ +/* Define if you have the `strchr' function. */ #undef HAVE_STRCHR -/* Define if you have the <argz.h> header file. */ -#undef HAVE_ARGZ_H - -/* Define if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the <locale.h> header file. */ -#undef HAVE_LOCALE_H - -/* Define if you have the <malloc.h> header file. */ -#undef HAVE_MALLOC_H - -/* Define if you have the <nl_types.h> header file. */ -#undef HAVE_NL_TYPES_H - -/* Define if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H +/* Define if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H -/* Define if you have the <string.h> header file. */ +/* Define if you have the <string.h> header file. */ #undef HAVE_STRING_H -/* Define if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define if you have the <sys/param.h> header file. */ +/* Define if you have the <sys/param.h> header file. */ #undef HAVE_SYS_PARAM_H -/* Define if you have the <unistd.h> header file. */ +/* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -/* Define if you have the <values.h> header file. */ +/* Define if you have the <values.h> header file. */ #undef HAVE_VALUES_H +/* Define if you have the `__argz_count' function. */ +#undef HAVE___ARGZ_COUNT + +/* Define if you have the `__argz_next' function. */ +#undef HAVE___ARGZ_NEXT + +/* Define if you have the `__argz_stringify' function. */ +#undef HAVE___ARGZ_STRINGIFY + /* Name of package */ #undef PACKAGE +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + +/* Define if you have the ANSI C header files. */ +#undef STDC_HEADERS + /* Version number of package */ #undef VERSION -/* Define if you have the stpcpy function */ -#undef HAVE_STPCPY - -/* Define if your locale.h file contains LC_MESSAGES. */ -#undef HAVE_LC_MESSAGES +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const -/* Define to 1 if NLS is requested */ -#undef ENABLE_NLS +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +#undef inline -/* Define as 1 if you have gettext and don't want to use GNU gettext. */ -#undef HAVE_GETTEXT +/* Define to `long' if <sys/types.h> does not define. */ +#undef off_t +/* Define to `unsigned' if <sys/types.h> does not define. */ +#undef size_t diff --git a/opcodes/po/opcodes.pot b/opcodes/po/opcodes.pot index c565939..58ef408 100644 --- a/opcodes/po/opcodes.pot +++ b/opcodes/po/opcodes.pot @@ -1,13 +1,12 @@ # SOME DESCRIPTIVE TITLE. -# Copyright 1998, 1999, 2000 Free Software Foundation, Inc. -# (C) YEAR +# Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-03-06 12:07-0800\n" +"POT-Creation-Date: 2001-04-24 17:11+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" @@ -23,25 +22,21 @@ msgstr "" msgid "jump hint unaligned" msgstr "" -#: arc-dis.c:52 -msgid "Illegal limm reference in last instruction!\n" -msgstr "" - -#: arm-dis.c:489 +#: arm-dis.c:490 msgid "<illegal precision>" msgstr "" -#: arm-dis.c:904 +#: arm-dis.c:922 #, c-format msgid "Unrecognised register name set: %s\n" msgstr "" -#: arm-dis.c:911 +#: arm-dis.c:929 #, c-format msgid "Unrecognised disassembler option: %s\n" msgstr "" -#: arm-dis.c:1083 +#: arm-dis.c:1101 msgid "" "\n" "The following ARM specific disassembler options are supported for use with\n" @@ -81,12 +76,12 @@ msgid "<unknown register %d>" msgstr "" #. Can't happen. -#: dis-buf.c:56 +#: dis-buf.c:57 #, c-format msgid "Unknown error %d\n" msgstr "" -#: dis-buf.c:61 +#: dis-buf.c:62 #, c-format msgid "Address 0x%x is out of bounds.\n" msgstr "" @@ -126,11 +121,6 @@ msgstr "" msgid "bad instruction `%.50s'" msgstr "" -#. Default text to print if an instruction isn't recognized. -#: fr30-dis.c:39 m32r-dis.c:39 -msgid "*unknown*" -msgstr "" - #: fr30-dis.c:300 m32r-dis.c:239 #, c-format msgid "Unrecognized field %d while printing insn.\n" @@ -192,10 +182,6 @@ msgstr "" msgid "%02x\t\t*unknown*" msgstr "" -#: i386-dis.c:2742 -msgid "<internal disassembler error>" -msgstr "" - #: m10200-dis.c:199 #, c-format msgid "unknown\t0x%02x" @@ -211,12 +197,12 @@ msgstr "" msgid "unknown\t0x%04x" msgstr "" -#: m68k-dis.c:429 +#: m68k-dis.c:430 #, c-format msgid "<internal error in opcode table: %s %s>\n" msgstr "" -#: m68k-dis.c:1007 +#: m68k-dis.c:1008 #, c-format msgid "<function code %d>" msgstr "" @@ -226,7 +212,7 @@ msgstr "" msgid "# <dis error: %08x>" msgstr "" -#: mips-dis.c:273 +#: mips-dis.c:274 #, c-format msgid "# internal error, undefined modifier(%c)" msgstr "" @@ -237,54 +223,54 @@ msgstr "" #. * aoffsetp by since whatever generated this is broken #. * anyway! #. -#: ns32k-dis.c:618 +#: ns32k-dis.c:619 msgid "$<undefined>" msgstr "" -#: ppc-opc.c:619 ppc-opc.c:650 +#: ppc-opc.c:620 ppc-opc.c:651 msgid "invalid conditional option" msgstr "" -#: ppc-opc.c:652 +#: ppc-opc.c:653 msgid "attempt to set y bit when using + or - modifier" msgstr "" -#: ppc-opc.c:707 +#: ppc-opc.c:708 msgid "ignoring least significant bits in branch offset" msgstr "" -#: ppc-opc.c:742 ppc-opc.c:779 +#: ppc-opc.c:743 ppc-opc.c:780 msgid "illegal bitmask" msgstr "" -#: ppc-opc.c:848 +#: ppc-opc.c:849 msgid "value out of range" msgstr "" -#: ppc-opc.c:922 +#: ppc-opc.c:923 msgid "index register in load range" msgstr "" -#: ppc-opc.c:937 +#: ppc-opc.c:938 msgid "invalid register operand when updating" msgstr "" #. Mark as non-valid instruction -#: sparc-dis.c:748 +#: sparc-dis.c:749 msgid "unknown" msgstr "" -#: sparc-dis.c:823 +#: sparc-dis.c:824 #, c-format msgid "Internal error: bad sparc-opcode.h: \"%s\", %#.8lx, %#.8lx\n" msgstr "" -#: sparc-dis.c:834 +#: sparc-dis.c:835 #, c-format msgid "Internal error: bad sparc-opcode.h: \"%s\", %#.8lx, %#.8lx\n" msgstr "" -#: sparc-dis.c:883 +#: sparc-dis.c:884 #, c-format msgid "Internal error: bad sparc-opcode.h: \"%s\" == \"%s\"\n" msgstr "" diff --git a/opcodes/z8k-dis.c b/opcodes/z8k-dis.c index 8259500..77c2495 100644 --- a/opcodes/z8k-dis.c +++ b/opcodes/z8k-dis.c @@ -125,11 +125,24 @@ static char *codes[16] = "nc/uge" }; +static char *ctrl_names[8] = +{ + "<invld>", + "flags", + "fcw", + "refresh", + "psapseg", + "psapoff", + "nspseg", + "nspoff" +}; + +static int seg_length; int z8k_lookup_instr PARAMS ((unsigned char *, disassemble_info *)); static void output_instr PARAMS ((instr_data_s *, unsigned long, disassemble_info *)); static void unpack_instr PARAMS ((instr_data_s *, int, disassemble_info *)); -static void unparse_instr PARAMS ((instr_data_s *)); +static void unparse_instr PARAMS ((instr_data_s *,int)); static int print_insn_z8k (addr, info, is_segmented) @@ -150,9 +163,9 @@ print_insn_z8k (addr, info, is_segmented) if (instr_data.tabl_index > 0) { unpack_instr (&instr_data, is_segmented, info); - unparse_instr (&instr_data); + unparse_instr (&instr_data, is_segmented); output_instr (&instr_data, addr, info); - return z8k_table[instr_data.tabl_index].length; + return z8k_table[instr_data.tabl_index].length + seg_length; } else { @@ -275,7 +288,7 @@ output_instr (instr_data, addr, info) strcpy (out_str, "\t"); - loop_limit = z8k_table[instr_data->tabl_index].length * 2; + loop_limit = (z8k_table[instr_data->tabl_index].length + seg_length) * 2; FETCH_DATA (info, loop_limit); for (loop = 0; loop < loop_limit; loop++) { @@ -302,16 +315,18 @@ unpack_instr (instr_data, is_segmented, info) int nibl_count, loop; unsigned short instr_nibl, instr_byte, instr_word; long instr_long; - unsigned short tabl_datum, datum_class, datum_value; + unsigned int tabl_datum, datum_class; + unsigned short datum_value; nibl_count = 0; loop = 0; + seg_length = 0; while (z8k_table[instr_data->tabl_index].byte_info[loop] != 0) { FETCH_DATA (info, nibl_count + 4 - (nibl_count % 4)); instr_nibl = instr_data->nibbles[nibl_count]; - instr_byte = instr_data->bytes[nibl_count]; - instr_word = instr_data->words[nibl_count]; + instr_byte = instr_data->bytes[nibl_count&~1]; + instr_word = instr_data->words[nibl_count&~3]; tabl_datum = z8k_table[instr_data->tabl_index].byte_info[loop]; datum_class = tabl_datum & CLASS_MASK; @@ -332,11 +347,18 @@ unpack_instr (instr_data, is_segmented, info) switch (datum_value) { case ARG_DISP16: - instr_data->displacement = instr_word; + instr_data->displacement = instr_data->insn_start + 4 + + (signed short)(instr_word & 0xffff); nibl_count += 3; break; case ARG_DISP12: - instr_data->displacement = instr_word & 0x0fff; + if (instr_word & 0x800) { /* neg. 12 bit displacement */ + instr_data->displacement = instr_data->insn_start + 2 - + (signed short)((instr_word & 0xfff) | 0xf000) * 2; + } + else { + instr_data->displacement = instr_data->insn_start + 2 - (instr_word & 0x0fff) * 2; + } nibl_count += 2; break; default: @@ -390,9 +412,11 @@ unpack_instr (instr_data, is_segmented, info) case CLASS_CC: instr_data->cond_code = instr_nibl; break; +#if 0 case CLASS_CTRL: instr_data->ctrl_code = instr_nibl; break; +#endif case CLASS_DA: case CLASS_ADDRESS: if (is_segmented) @@ -405,6 +429,7 @@ unpack_instr (instr_data, is_segmented, info) instr_data->address = ((instr_word & 0x7f00) << 8) + (instr_long & 0xffff); nibl_count += 7; + seg_length = 2; } else { @@ -420,17 +445,15 @@ unpack_instr (instr_data, is_segmented, info) } break; case CLASS_0CCC: - instr_data->cond_code = instr_nibl & 0x7; - break; case CLASS_1CCC: - instr_data->cond_code = instr_nibl & 0x7; + instr_data->ctrl_code = instr_nibl & 0x7; break; case CLASS_0DISP7: - instr_data->displacement = instr_byte & 0x7f; + instr_data->displacement = instr_data->insn_start + 2 - (instr_byte & 0x7f) * 2; nibl_count += 1; break; case CLASS_1DISP7: - instr_data->displacement = instr_byte & 0x7f; + instr_data->displacement = instr_data->insn_start + 2 - (instr_byte & 0x7f) * 2; nibl_count += 1; break; case CLASS_01II: @@ -440,7 +463,7 @@ unpack_instr (instr_data, is_segmented, info) instr_data->interrupts = instr_nibl & 0x3; break; case CLASS_BIT: - /* Do nothing. */ + instr_data->ctrl_code = instr_nibl & 0x7; break; case CLASS_IR: instr_data->arg_reg[datum_value] = instr_nibl; @@ -466,6 +489,13 @@ unpack_instr (instr_data, is_segmented, info) case CLASS_REGN0: instr_data->arg_reg[datum_value] = instr_nibl; break; + case CLASS_PR: + instr_data->arg_reg[datum_value] = instr_nibl; + break; + case CLASS_DISP8: + instr_data->displacement = instr_data->insn_start + 2 + (signed char)instr_byte * 2; + nibl_count += 1; + break; default: break; } @@ -476,10 +506,12 @@ unpack_instr (instr_data, is_segmented, info) } static void -unparse_instr (instr_data) +unparse_instr (instr_data,is_segmented) instr_data_s *instr_data; + int is_segmented; { - unsigned short tabl_datum, datum_class, datum_value; + unsigned short datum_value; + unsigned int tabl_datum, datum_class; int loop, loop_limit; char out_str[80], tmp_str[25]; @@ -513,7 +545,7 @@ unparse_instr (instr_data) strcat (out_str, tmp_str); break; case CLASS_DISP: - sprintf (tmp_str, "#0x%0lx", instr_data->displacement); + sprintf (tmp_str, "0x%0lx", instr_data->displacement); strcat (out_str, tmp_str); break; case CLASS_IMM: @@ -525,12 +557,12 @@ unparse_instr (instr_data) strcat (out_str, tmp_str); break; case CLASS_CTRL: - sprintf (tmp_str, "0x%0lx", instr_data->ctrl_code); + sprintf (tmp_str, "%s", ctrl_names[instr_data->ctrl_code]); strcat (out_str, tmp_str); break; case CLASS_DA: case CLASS_ADDRESS: - sprintf (tmp_str, "#0x%0lx", instr_data->address); + sprintf (tmp_str, "0x%0lx", instr_data->address); strcat (out_str, tmp_str); break; case CLASS_IR: @@ -565,6 +597,13 @@ unparse_instr (instr_data) sprintf (tmp_str, "rr%ld", instr_data->arg_reg[datum_value]); strcat (out_str, tmp_str); break; + case CLASS_PR: + if (is_segmented) + sprintf (tmp_str, "rr%ld", instr_data->arg_reg[datum_value]); + else + sprintf (tmp_str, "r%ld", instr_data->arg_reg[datum_value]); + strcat (out_str, tmp_str); + break; default: break; } diff --git a/opcodes/z8k-opc.h b/opcodes/z8k-opc.h index 379a3a3..379568a 100644 --- a/opcodes/z8k-opc.h +++ b/opcodes/z8k-opc.h @@ -210,7 +210,7 @@ #define OPC_trtdrb 156 #define OPC_trtib 157 #define OPC_trtirb 158 -#define OPC_trtdb 159 +#define OPC_trtrb 159 #define OPC_tset 160 #define OPC_tsetb 161 #define OPC_xor 162 @@ -236,6 +236,9 @@ #define OPC_rsvdb9 172 #define OPC_rsvdbf 172 #define OPC_outi 173 +#define OPC_ldctlb 174 +#define OPC_sin 175 +#define OPC_trtdb 176 typedef struct { #ifdef NICENAMES char *nicename; @@ -2186,6 +2189,26 @@ opcode_entry_type z8k_table[] = { {CLASS_BIT+7,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_0CCC,0,0,0,0,0,},2,2,192}, +/* 1000 1100 ssss 1001 *** ldctlb ctrl,rbs */ +{ +#ifdef NICENAMES +"ldctlb ctrl,rbs",32,7, +0x3f, +#endif +"ldctlb",OPC_ldctlb,0,{CLASS_CTRL,CLASS_REG_BYTE+(ARG_RS),}, + {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RS),CLASS_BIT+9,0,0,0,0,0,},2,2,193}, + + +/* 1000 1100 dddd 0001 *** ldctlb rbd,ctrl */ +{ +#ifdef NICENAMES +"ldctlb rbd,ctrl",32,7, +0x00, +#endif +"ldctlb",OPC_ldctlb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_CTRL,}, + {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+1,0,0,0,0,0,},2,2,194}, + + /* 1011 1011 ssN0 1001 0000 rrrr ddN0 1000 *** ldd @rd,@rs,rr */ { #ifdef NICENAMES @@ -2193,7 +2216,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "ldd",OPC_ldd,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,193}, + {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,195}, /* 1011 1010 ssN0 1001 0000 rrrr ddN0 1000 *** lddb @rd,@rs,rr */ @@ -2203,7 +2226,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "lddb",OPC_lddb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,194}, + {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,196}, /* 1011 1011 ssN0 1001 0000 rrrr ddN0 0000 *** lddr @rd,@rs,rr */ @@ -2213,7 +2236,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "lddr",OPC_lddr,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,195}, + {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,197}, /* 1011 1010 ssN0 1001 0000 rrrr ddN0 0000 *** lddrb @rd,@rs,rr */ @@ -2223,7 +2246,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "lddrb",OPC_lddrb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,196}, + {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,198}, /* 1011 1011 ssN0 0001 0000 rrrr ddN0 1000 *** ldi @rd,@rs,rr */ @@ -2233,7 +2256,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "ldi",OPC_ldi,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,197}, + {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,199}, /* 1011 1010 ssN0 0001 0000 rrrr ddN0 1000 *** ldib @rd,@rs,rr */ @@ -2243,7 +2266,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "ldib",OPC_ldib,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,198}, + {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,200}, /* 1011 1011 ssN0 0001 0000 rrrr ddN0 0000 *** ldir @rd,@rs,rr */ @@ -2253,7 +2276,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "ldir",OPC_ldir,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,199}, + {CLASS_BIT+0xb,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,201}, /* 1011 1010 ssN0 0001 0000 rrrr ddN0 0000 *** ldirb @rd,@rs,rr */ @@ -2263,7 +2286,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "ldirb",OPC_ldirb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,200}, + {CLASS_BIT+0xb,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,202}, /* 1011 1101 dddd imm4 *** ldk rd,imm4 */ @@ -2273,7 +2296,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldk",OPC_ldk,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+0xb,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,201}, + {CLASS_BIT+0xb,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,203}, /* 0001 1101 ddN0 ssss *** ldl @rd,rrs */ @@ -2283,7 +2306,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_IR+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,202}, + {CLASS_BIT+1,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,204}, /* 0101 1101 ddN0 ssss address_dst *** ldl address_dst(rd),rrs */ @@ -2293,7 +2316,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_X+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,203}, + {CLASS_BIT+5,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,205}, /* 0101 1101 0000 ssss address_dst *** ldl address_dst,rrs */ @@ -2303,7 +2326,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_DA+(ARG_DST),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,204}, + {CLASS_BIT+5,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,206}, /* 0011 0111 ddN0 ssss imm16 *** ldl rd(imm16),rrs */ @@ -2313,7 +2336,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_BA+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+7,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,205}, + {CLASS_BIT+3,CLASS_BIT+7,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,207}, /* 0111 0111 ddN0 ssss 0000 xxxx 0000 0000 *** ldl rd(rx),rrs */ @@ -2323,7 +2346,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_BX+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+7,CLASS_BIT+7,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RX),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,206}, + {CLASS_BIT+7,CLASS_BIT+7,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RX),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,208}, /* 0001 0100 ssN0 dddd *** ldl rrd,@rs */ @@ -2333,7 +2356,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,207}, + {CLASS_BIT+1,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,209}, /* 0101 0100 0000 dddd address_src *** ldl rrd,address_src */ @@ -2343,7 +2366,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+5,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,208}, + {CLASS_BIT+5,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,210}, /* 0101 0100 ssN0 dddd address_src *** ldl rrd,address_src(rs) */ @@ -2353,7 +2376,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,209}, + {CLASS_BIT+5,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,211}, /* 0001 0100 0000 dddd imm32 *** ldl rrd,imm32 */ @@ -2363,7 +2386,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IMM+(ARG_IMM32),}, - {CLASS_BIT+1,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM32),0,0,0,0,},2,6,210}, + {CLASS_BIT+1,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM32),0,0,0,0,},2,6,212}, /* 1001 0100 ssss dddd *** ldl rrd,rrs */ @@ -2373,7 +2396,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+4,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,211}, + {CLASS_BIT+9,CLASS_BIT+4,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,213}, /* 0011 0101 ssN0 dddd imm16 *** ldl rrd,rs(imm16) */ @@ -2383,7 +2406,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_BA+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,212}, + {CLASS_BIT+3,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,214}, /* 0111 0101 ssN0 dddd 0000 xxxx 0000 0000 *** ldl rrd,rs(rx) */ @@ -2393,7 +2416,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldl",OPC_ldl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_BX+(ARG_RS),}, - {CLASS_BIT+7,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_REG+(ARG_RX),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,213}, + {CLASS_BIT+7,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_REG+(ARG_RX),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,215}, /* 0001 1100 ddN0 1001 0000 ssss 0000 nminus1 *** ldm @rd,rs,n */ @@ -2403,7 +2426,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldm",OPC_ldm,0,{CLASS_IR+(ARG_RD),CLASS_REG_WORD+(ARG_RS),CLASS_IMM + (ARG_IMMN),}, - {CLASS_BIT+1,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),0,},3,4,214}, + {CLASS_BIT+1,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),0,},3,4,216}, /* 0101 1100 ddN0 1001 0000 ssss 0000 nminus1 address_dst *** ldm address_dst(rd),rs,n */ @@ -2413,7 +2436,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldm",OPC_ldm,0,{CLASS_X+(ARG_RD),CLASS_REG_WORD+(ARG_RS),CLASS_IMM + (ARG_IMMN),}, - {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_DST),},3,6,215}, + {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_DST),},3,6,217}, /* 0101 1100 0000 1001 0000 ssss 0000 nminus1 address_dst *** ldm address_dst,rs,n */ @@ -2423,7 +2446,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldm",OPC_ldm,0,{CLASS_DA+(ARG_DST),CLASS_REG_WORD+(ARG_RS),CLASS_IMM + (ARG_IMMN),}, - {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_DST),},3,6,216}, + {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_DST),},3,6,218}, /* 0001 1100 ssN0 0001 0000 dddd 0000 nminus1 *** ldm rd,@rs,n */ @@ -2433,7 +2456,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldm",OPC_ldm,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_IMM + (ARG_IMMN),}, - {CLASS_BIT+1,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),0,},3,4,217}, + {CLASS_BIT+1,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),0,},3,4,219}, /* 0101 1100 ssN0 0001 0000 dddd 0000 nminus1 address_src *** ldm rd,address_src(rs),n */ @@ -2443,7 +2466,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldm",OPC_ldm,0,{CLASS_REG_WORD+(ARG_RD),CLASS_X+(ARG_RS),CLASS_IMM + (ARG_IMMN),}, - {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_SRC),},3,6,218}, + {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_SRC),},3,6,220}, /* 0101 1100 0000 0001 0000 dddd 0000 nminus1 address_src *** ldm rd,address_src,n */ @@ -2453,7 +2476,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldm",OPC_ldm,0,{CLASS_REG_WORD+(ARG_RD),CLASS_DA+(ARG_SRC),CLASS_IMM + (ARG_IMMN),}, - {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_SRC),},3,6,219}, + {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_IMM+(ARG_IMMNMINUS1),CLASS_ADDRESS+(ARG_SRC),},3,6,221}, /* 0011 1001 ssN0 0000 *** ldps @rs */ @@ -2463,7 +2486,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "ldps",OPC_ldps,0,{CLASS_IR+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,0,0,0,0,},1,2,220}, + {CLASS_BIT+3,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,0,0,0,0,},1,2,222}, /* 0111 1001 0000 0000 address_src *** ldps address_src */ @@ -2473,7 +2496,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "ldps",OPC_ldps,0,{CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+7,CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},1,4,221}, + {CLASS_BIT+7,CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},1,4,223}, /* 0111 1001 ssN0 0000 address_src *** ldps address_src(rs) */ @@ -2483,7 +2506,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "ldps",OPC_ldps,0,{CLASS_X+(ARG_RS),}, - {CLASS_BIT+7,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},1,4,222}, + {CLASS_BIT+7,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},1,4,224}, /* 0011 0011 0000 ssss disp16 *** ldr disp16,rs */ @@ -2493,7 +2516,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldr",OPC_ldr,0,{CLASS_DISP,CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,223}, + {CLASS_BIT+3,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,225}, /* 0011 0001 0000 dddd disp16 *** ldr rd,disp16 */ @@ -2503,7 +2526,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldr",OPC_ldr,0,{CLASS_REG_WORD+(ARG_RD),CLASS_DISP,}, - {CLASS_BIT+3,CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,224}, + {CLASS_BIT+3,CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,226}, /* 0011 0010 0000 ssss disp16 *** ldrb disp16,rbs */ @@ -2513,7 +2536,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldrb",OPC_ldrb,0,{CLASS_DISP,CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,225}, + {CLASS_BIT+3,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,227}, /* 0011 0000 0000 dddd disp16 *** ldrb rbd,disp16 */ @@ -2523,7 +2546,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldrb",OPC_ldrb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_DISP,}, - {CLASS_BIT+3,CLASS_BIT+0,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,226}, + {CLASS_BIT+3,CLASS_BIT+0,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,228}, /* 0011 0111 0000 ssss disp16 *** ldrl disp16,rrs */ @@ -2533,7 +2556,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldrl",OPC_ldrl,0,{CLASS_DISP,CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+7,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,227}, + {CLASS_BIT+3,CLASS_BIT+7,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,229}, /* 0011 0101 0000 dddd disp16 *** ldrl rrd,disp16 */ @@ -2543,7 +2566,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ldrl",OPC_ldrl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_DISP,}, - {CLASS_BIT+3,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,228}, + {CLASS_BIT+3,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_DISP+(ARG_DISP16),0,0,0,0,},2,4,230}, /* 0111 1011 0000 1010 *** mbit */ @@ -2553,7 +2576,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "mbit",OPC_mbit,0,{0}, - {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_BIT+0,CLASS_BIT+0xa,0,0,0,0,0,},0,2,229}, + {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_BIT+0,CLASS_BIT+0xa,0,0,0,0,0,},0,2,231}, /* 0111 1011 dddd 1101 *** mreq rd */ @@ -2563,7 +2586,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "mreq",OPC_mreq,0,{CLASS_REG_WORD+(ARG_RD),}, - {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_REG+(ARG_RD),CLASS_BIT+0xd,0,0,0,0,0,},1,2,230}, + {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_REG+(ARG_RD),CLASS_BIT+0xd,0,0,0,0,0,},1,2,232}, /* 0111 1011 0000 1001 *** mres */ @@ -2573,7 +2596,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "mres",OPC_mres,0,{0}, - {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_BIT+0,CLASS_BIT+9,0,0,0,0,0,},0,2,231}, + {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_BIT+0,CLASS_BIT+9,0,0,0,0,0,},0,2,233}, /* 0111 1011 0000 1000 *** mset */ @@ -2583,7 +2606,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "mset",OPC_mset,0,{0}, - {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_BIT+0,CLASS_BIT+8,0,0,0,0,0,},0,2,232}, + {CLASS_BIT+7,CLASS_BIT+0xb,CLASS_BIT+0,CLASS_BIT+8,0,0,0,0,0,},0,2,234}, /* 0001 1001 ssN0 dddd *** mult rrd,@rs */ @@ -2593,7 +2616,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "mult",OPC_mult,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,233}, + {CLASS_BIT+1,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,235}, /* 0101 1001 0000 dddd address_src *** mult rrd,address_src */ @@ -2603,7 +2626,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "mult",OPC_mult,0,{CLASS_REG_LONG+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+5,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,234}, + {CLASS_BIT+5,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,236}, /* 0101 1001 ssN0 dddd address_src *** mult rrd,address_src(rs) */ @@ -2613,7 +2636,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "mult",OPC_mult,0,{CLASS_REG_LONG+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,235}, + {CLASS_BIT+5,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,237}, /* 0001 1001 0000 dddd imm16 *** mult rrd,imm16 */ @@ -2623,7 +2646,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "mult",OPC_mult,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, - {CLASS_BIT+1,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,236}, + {CLASS_BIT+1,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,238}, /* 1001 1001 ssss dddd *** mult rrd,rs */ @@ -2633,7 +2656,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "mult",OPC_mult,0,{CLASS_REG_LONG+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+9,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,237}, + {CLASS_BIT+9,CLASS_BIT+9,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,239}, /* 0001 1000 ssN0 dddd *** multl rqd,@rs */ @@ -2643,7 +2666,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "multl",OPC_multl,0,{CLASS_REG_QUAD+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,238}, + {CLASS_BIT+1,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,240}, /* 0101 1000 0000 dddd address_src *** multl rqd,address_src */ @@ -2653,7 +2676,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "multl",OPC_multl,0,{CLASS_REG_QUAD+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+5,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,239}, + {CLASS_BIT+5,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,241}, /* 0101 1000 ssN0 dddd address_src *** multl rqd,address_src(rs) */ @@ -2663,7 +2686,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "multl",OPC_multl,0,{CLASS_REG_QUAD+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,240}, + {CLASS_BIT+5,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,242}, /* 0001 1000 0000 dddd imm32 *** multl rqd,imm32 */ @@ -2673,7 +2696,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "multl",OPC_multl,0,{CLASS_REG_QUAD+(ARG_RD),CLASS_IMM+(ARG_IMM32),}, - {CLASS_BIT+1,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM32),0,0,0,0,},2,6,241}, + {CLASS_BIT+1,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM32),0,0,0,0,},2,6,243}, /* 1001 1000 ssss dddd *** multl rqd,rrs */ @@ -2683,7 +2706,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "multl",OPC_multl,0,{CLASS_REG_QUAD+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+8,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,242}, + {CLASS_BIT+9,CLASS_BIT+8,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,244}, /* 0000 1101 ddN0 0010 *** neg @rd */ @@ -2693,7 +2716,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "neg",OPC_neg,0,{CLASS_IR+(ARG_RD),}, - {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,243}, + {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,245}, /* 0100 1101 0000 0010 address_dst *** neg address_dst */ @@ -2703,7 +2726,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "neg",OPC_neg,0,{CLASS_DA+(ARG_DST),}, - {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,244}, + {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,246}, /* 0100 1101 ddN0 0010 address_dst *** neg address_dst(rd) */ @@ -2713,7 +2736,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "neg",OPC_neg,0,{CLASS_X+(ARG_RD),}, - {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,245}, + {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,247}, /* 1000 1101 dddd 0010 *** neg rd */ @@ -2723,7 +2746,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "neg",OPC_neg,0,{CLASS_REG_WORD+(ARG_RD),}, - {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,246}, + {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,248}, /* 0000 1100 ddN0 0010 *** negb @rd */ @@ -2733,7 +2756,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "negb",OPC_negb,0,{CLASS_IR+(ARG_RD),}, - {CLASS_BIT+0,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,247}, + {CLASS_BIT+0,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,249}, /* 0100 1100 0000 0010 address_dst *** negb address_dst */ @@ -2743,7 +2766,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "negb",OPC_negb,0,{CLASS_DA+(ARG_DST),}, - {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,248}, + {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,250}, /* 0100 1100 ddN0 0010 address_dst *** negb address_dst(rd) */ @@ -2753,7 +2776,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "negb",OPC_negb,0,{CLASS_X+(ARG_RD),}, - {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,249}, + {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+2,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,251}, /* 1000 1100 dddd 0010 *** negb rbd */ @@ -2763,7 +2786,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "negb",OPC_negb,0,{CLASS_REG_BYTE+(ARG_RD),}, - {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,250}, + {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+2,0,0,0,0,0,},1,2,252}, /* 1000 1101 0000 0111 *** nop */ @@ -2773,7 +2796,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "nop",OPC_nop,0,{0}, - {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+7,0,0,0,0,0,},0,2,251}, + {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+7,0,0,0,0,0,},0,2,253}, /* 0000 0101 ssN0 dddd *** or rd,@rs */ @@ -2783,7 +2806,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "or",OPC_or,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+0,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,252}, + {CLASS_BIT+0,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,254}, /* 0100 0101 0000 dddd address_src *** or rd,address_src */ @@ -2793,7 +2816,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "or",OPC_or,0,{CLASS_REG_WORD+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+4,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,253}, + {CLASS_BIT+4,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,255}, /* 0100 0101 ssN0 dddd address_src *** or rd,address_src(rs) */ @@ -2803,7 +2826,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "or",OPC_or,0,{CLASS_REG_WORD+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+4,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,254}, + {CLASS_BIT+4,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,256}, /* 0000 0101 0000 dddd imm16 *** or rd,imm16 */ @@ -2813,7 +2836,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "or",OPC_or,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, - {CLASS_BIT+0,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,255}, + {CLASS_BIT+0,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,257}, /* 1000 0101 ssss dddd *** or rd,rs */ @@ -2823,7 +2846,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "or",OPC_or,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+8,CLASS_BIT+5,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,256}, + {CLASS_BIT+8,CLASS_BIT+5,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,258}, /* 0000 0100 ssN0 dddd *** orb rbd,@rs */ @@ -2833,7 +2856,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "orb",OPC_orb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+0,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,257}, + {CLASS_BIT+0,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,259}, /* 0100 0100 0000 dddd address_src *** orb rbd,address_src */ @@ -2843,7 +2866,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "orb",OPC_orb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+4,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,258}, + {CLASS_BIT+4,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,260}, /* 0100 0100 ssN0 dddd address_src *** orb rbd,address_src(rs) */ @@ -2853,7 +2876,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "orb",OPC_orb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+4,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,259}, + {CLASS_BIT+4,CLASS_BIT+4,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,261}, /* 0000 0100 0000 dddd imm8 imm8 *** orb rbd,imm8 */ @@ -2863,7 +2886,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "orb",OPC_orb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM8),CLASS_IMM+(ARG_IMM8),0,0,0,},2,4,260}, + {CLASS_BIT+0,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM8),CLASS_IMM+(ARG_IMM8),0,0,0,},2,4,262}, /* 1000 0100 ssss dddd *** orb rbd,rbs */ @@ -2873,7 +2896,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "orb",OPC_orb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+8,CLASS_BIT+4,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,261}, + {CLASS_BIT+8,CLASS_BIT+4,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,263}, /* 0011 1111 ddN0 ssss *** out @rd,rs */ @@ -2883,7 +2906,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "out",OPC_out,0,{CLASS_IR+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+0xf,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,262}, + {CLASS_BIT+3,CLASS_BIT+0xf,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,264}, /* 0011 1011 ssss 0110 imm16 *** out imm16,rs */ @@ -2893,7 +2916,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "out",OPC_out,0,{CLASS_IMM+(ARG_IMM16),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REG+(ARG_RS),CLASS_BIT+6,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,263}, + {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REG+(ARG_RS),CLASS_BIT+6,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,265}, /* 0011 1110 ddN0 ssss *** outb @rd,rbs */ @@ -2903,7 +2926,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "outb",OPC_outb,0,{CLASS_IR+(ARG_RD),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+0xe,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,264}, + {CLASS_BIT+3,CLASS_BIT+0xe,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,266}, /* 0011 1010 ssss 0110 imm16 *** outb imm16,rbs */ @@ -2913,7 +2936,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "outb",OPC_outb,0,{CLASS_IMM+(ARG_IMM16),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REG+(ARG_RS),CLASS_BIT+6,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,265}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REG+(ARG_RS),CLASS_BIT+6,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,267}, /* 0011 1011 ssN0 1010 0000 aaaa ddN0 1000 *** outd @rd,@rs,ra */ @@ -2923,7 +2946,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "outd",OPC_outd,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xa,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,266}, + {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xa,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,268}, /* 0011 1010 ssN0 1010 0000 aaaa ddN0 1000 *** outdb @rd,@rs,rba */ @@ -2933,7 +2956,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "outdb",OPC_outdb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_BYTE+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xa,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,267}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xa,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,269}, /* 0011 1011 ssN0 0010 0000 aaaa ddN0 1000 *** outi @rd,@rs,ra */ @@ -2943,7 +2966,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "outi",OPC_outi,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,268}, + {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,270}, /* 0011 1010 ssN0 0010 0000 aaaa ddN0 1000 *** outib @rd,@rs,ra */ @@ -2953,7 +2976,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "outib",OPC_outib,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,269}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,271}, /* 0011 1010 ssN0 0010 0000 aaaa ddN0 0000 *** outibr @rd,@rs,ra */ @@ -2963,7 +2986,7 @@ opcode_entry_type z8k_table[] = { 0x04, #endif "outibr",OPC_outibr,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,270}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,272}, /* 0001 0111 ssN0 ddN0 *** pop @rd,@rs */ @@ -2973,7 +2996,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pop",OPC_pop,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),0,0,0,0,0,},2,2,271}, + {CLASS_BIT+1,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),0,0,0,0,0,},2,2,273}, /* 0101 0111 ssN0 ddN0 address_dst *** pop address_dst(rd),@rs */ @@ -2983,7 +3006,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pop",OPC_pop,0,{CLASS_X+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,272}, + {CLASS_BIT+5,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,274}, /* 0101 0111 ssN0 0000 address_dst *** pop address_dst,@rs */ @@ -2993,7 +3016,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pop",OPC_pop,0,{CLASS_DA+(ARG_DST),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,273}, + {CLASS_BIT+5,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,275}, /* 1001 0111 ssN0 dddd *** pop rd,@rs */ @@ -3003,7 +3026,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pop",OPC_pop,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,274}, + {CLASS_BIT+9,CLASS_BIT+7,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,276}, /* 0001 0101 ssN0 ddN0 *** popl @rd,@rs */ @@ -3013,7 +3036,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "popl",OPC_popl,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),0,0,0,0,0,},2,2,275}, + {CLASS_BIT+1,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),0,0,0,0,0,},2,2,277}, /* 0101 0101 ssN0 ddN0 address_dst *** popl address_dst(rd),@rs */ @@ -3023,7 +3046,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "popl",OPC_popl,0,{CLASS_X+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,276}, + {CLASS_BIT+5,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REGN0+(ARG_RD),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,278}, /* 0101 0101 ssN0 0000 address_dst *** popl address_dst,@rs */ @@ -3033,7 +3056,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "popl",OPC_popl,0,{CLASS_DA+(ARG_DST),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,277}, + {CLASS_BIT+5,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_BIT+0,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,279}, /* 1001 0101 ssN0 dddd *** popl rrd,@rs */ @@ -3043,7 +3066,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "popl",OPC_popl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,278}, + {CLASS_BIT+9,CLASS_BIT+5,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,280}, /* 0001 0011 ddN0 ssN0 *** push @rd,@rs */ @@ -3053,7 +3076,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "push",OPC_push,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),0,0,0,0,0,},2,2,279}, + {CLASS_BIT+1,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),0,0,0,0,0,},2,2,281}, /* 0101 0011 ddN0 0000 address_src *** push @rd,address_src */ @@ -3063,7 +3086,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "push",OPC_push,0,{CLASS_IR+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+5,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,280}, + {CLASS_BIT+5,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,282}, /* 0101 0011 ddN0 ssN0 address_src *** push @rd,address_src(rs) */ @@ -3073,7 +3096,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "push",OPC_push,0,{CLASS_IR+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,281}, + {CLASS_BIT+5,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,283}, /* 0000 1101 ddN0 1001 imm16 *** push @rd,imm16 */ @@ -3083,7 +3106,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "push",OPC_push,0,{CLASS_IR+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, - {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+9,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,282}, + {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+9,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,284}, /* 1001 0011 ddN0 ssss *** push @rd,rs */ @@ -3093,7 +3116,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "push",OPC_push,0,{CLASS_IR+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,283}, + {CLASS_BIT+9,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,285}, /* 0001 0001 ddN0 ssN0 *** pushl @rd,@rs */ @@ -3103,7 +3126,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pushl",OPC_pushl,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),0,0,0,0,0,},2,2,284}, + {CLASS_BIT+1,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),0,0,0,0,0,},2,2,286}, /* 0101 0001 ddN0 0000 address_src *** pushl @rd,address_src */ @@ -3113,7 +3136,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pushl",OPC_pushl,0,{CLASS_IR+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+5,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,285}, + {CLASS_BIT+5,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_BIT+0,CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,287}, /* 0101 0001 ddN0 ssN0 address_src *** pushl @rd,address_src(rs) */ @@ -3123,7 +3146,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pushl",OPC_pushl,0,{CLASS_IR+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,286}, + {CLASS_BIT+5,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_REGN0+(ARG_RS),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,288}, /* 1001 0001 ddN0 ssss *** pushl @rd,rrs */ @@ -3133,7 +3156,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "pushl",OPC_pushl,0,{CLASS_IR+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,287}, + {CLASS_BIT+9,CLASS_BIT+1,CLASS_REGN0+(ARG_RD),CLASS_REG+(ARG_RS),0,0,0,0,0,},2,2,289}, /* 0010 0011 ddN0 imm4 *** res @rd,imm4 */ @@ -3143,7 +3166,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "res",OPC_res,0,{CLASS_IR+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+2,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,288}, + {CLASS_BIT+2,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,290}, /* 0110 0011 ddN0 imm4 address_dst *** res address_dst(rd),imm4 */ @@ -3153,7 +3176,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "res",OPC_res,0,{CLASS_X+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,289}, + {CLASS_BIT+6,CLASS_BIT+3,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,291}, /* 0110 0011 0000 imm4 address_dst *** res address_dst,imm4 */ @@ -3163,7 +3186,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "res",OPC_res,0,{CLASS_DA+(ARG_DST),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+3,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,290}, + {CLASS_BIT+6,CLASS_BIT+3,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,292}, /* 1010 0011 dddd imm4 *** res rd,imm4 */ @@ -3173,7 +3196,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "res",OPC_res,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+0xa,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,291}, + {CLASS_BIT+0xa,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,293}, /* 0010 0011 0000 ssss 0000 dddd 0000 0000 *** res rd,rs */ @@ -3183,7 +3206,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "res",OPC_res,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+2,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,292}, + {CLASS_BIT+2,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,294}, /* 0010 0010 ddN0 imm4 *** resb @rd,imm4 */ @@ -3193,7 +3216,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "resb",OPC_resb,0,{CLASS_IR+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+2,CLASS_BIT+2,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,293}, + {CLASS_BIT+2,CLASS_BIT+2,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,295}, /* 0110 0010 ddN0 imm4 address_dst *** resb address_dst(rd),imm4 */ @@ -3203,7 +3226,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "resb",OPC_resb,0,{CLASS_X+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+2,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,294}, + {CLASS_BIT+6,CLASS_BIT+2,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,296}, /* 0110 0010 0000 imm4 address_dst *** resb address_dst,imm4 */ @@ -3213,7 +3236,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "resb",OPC_resb,0,{CLASS_DA+(ARG_DST),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+2,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,295}, + {CLASS_BIT+6,CLASS_BIT+2,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,297}, /* 1010 0010 dddd imm4 *** resb rbd,imm4 */ @@ -3223,7 +3246,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "resb",OPC_resb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+0xa,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,296}, + {CLASS_BIT+0xa,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,298}, /* 0010 0010 0000 ssss 0000 dddd 0000 0000 *** resb rbd,rs */ @@ -3233,7 +3256,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "resb",OPC_resb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+2,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,297}, + {CLASS_BIT+2,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,299}, /* 1000 1101 flags 0011 *** resflg flags */ @@ -3243,7 +3266,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "resflg",OPC_resflg,0,{CLASS_FLAGS,}, - {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_FLAGS,CLASS_BIT+3,0,0,0,0,0,},1,2,298}, + {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_FLAGS,CLASS_BIT+3,0,0,0,0,0,},1,2,300}, /* 1001 1110 0000 cccc *** ret cc */ @@ -3253,7 +3276,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "ret",OPC_ret,0,{CLASS_CC,}, - {CLASS_BIT+9,CLASS_BIT+0xe,CLASS_BIT+0,CLASS_CC,0,0,0,0,0,},1,2,299}, + {CLASS_BIT+9,CLASS_BIT+0xe,CLASS_BIT+0,CLASS_CC,0,0,0,0,0,},1,2,301}, /* 1011 0011 dddd 00I0 *** rl rd,imm1or2 */ @@ -3263,7 +3286,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "rl",OPC_rl,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0,0,0,0,0,0,},2,2,300}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0,0,0,0,0,0,},2,2,302}, /* 1011 0010 dddd 00I0 *** rlb rbd,imm1or2 */ @@ -3273,7 +3296,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "rlb",OPC_rlb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0,0,0,0,0,0,},2,2,301}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0,0,0,0,0,0,},2,2,303}, /* 1011 0011 dddd 10I0 *** rlc rd,imm1or2 */ @@ -3283,7 +3306,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "rlc",OPC_rlc,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+8,0,0,0,0,0,},2,2,302}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+8,0,0,0,0,0,},2,2,304}, /* 1011 0010 dddd 10I0 *** rlcb rbd,imm1or2 */ @@ -3293,7 +3316,7 @@ opcode_entry_type z8k_table[] = { 0x10, #endif "rlcb",OPC_rlcb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+8,0,0,0,0,0,},2,2,303}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+8,0,0,0,0,0,},2,2,305}, /* 1011 1110 aaaa bbbb *** rldb rbb,rba */ @@ -3303,7 +3326,7 @@ opcode_entry_type z8k_table[] = { 0x10, #endif "rldb",OPC_rldb,0,{CLASS_REG_BYTE+(ARG_RB),CLASS_REG_BYTE+(ARG_RA),}, - {CLASS_BIT+0xb,CLASS_BIT+0xe,CLASS_REG+(ARG_RA),CLASS_REG+(ARG_RB),0,0,0,0,0,},2,2,304}, + {CLASS_BIT+0xb,CLASS_BIT+0xe,CLASS_REG+(ARG_RA),CLASS_REG+(ARG_RB),0,0,0,0,0,},2,2,306}, /* 1011 0011 dddd 01I0 *** rr rd,imm1or2 */ @@ -3313,7 +3336,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "rr",OPC_rr,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+4,0,0,0,0,0,},2,2,305}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+4,0,0,0,0,0,},2,2,307}, /* 1011 0010 dddd 01I0 *** rrb rbd,imm1or2 */ @@ -3323,7 +3346,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "rrb",OPC_rrb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+4,0,0,0,0,0,},2,2,306}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+4,0,0,0,0,0,},2,2,308}, /* 1011 0011 dddd 11I0 *** rrc rd,imm1or2 */ @@ -3333,7 +3356,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "rrc",OPC_rrc,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0xc,0,0,0,0,0,},2,2,307}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0xc,0,0,0,0,0,},2,2,309}, /* 1011 0010 dddd 11I0 *** rrcb rbd,imm1or2 */ @@ -3343,7 +3366,7 @@ opcode_entry_type z8k_table[] = { 0x10, #endif "rrcb",OPC_rrcb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM1OR2),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0xc,0,0,0,0,0,},2,2,308}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT_1OR2+0xc,0,0,0,0,0,},2,2,310}, /* 1011 1100 aaaa bbbb *** rrdb rbb,rba */ @@ -3353,7 +3376,7 @@ opcode_entry_type z8k_table[] = { 0x10, #endif "rrdb",OPC_rrdb,0,{CLASS_REG_BYTE+(ARG_RB),CLASS_REG_BYTE+(ARG_RA),}, - {CLASS_BIT+0xb,CLASS_BIT+0xc,CLASS_REG+(ARG_RA),CLASS_REG+(ARG_RB),0,0,0,0,0,},2,2,309}, + {CLASS_BIT+0xb,CLASS_BIT+0xc,CLASS_REG+(ARG_RA),CLASS_REG+(ARG_RB),0,0,0,0,0,},2,2,311}, /* 0011 0110 imm8 *** rsvd36 */ @@ -3363,7 +3386,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvd36",OPC_rsvd36,0,{0}, - {CLASS_BIT+3,CLASS_BIT+6,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,310}, + {CLASS_BIT+3,CLASS_BIT+6,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,312}, /* 0011 1000 imm8 *** rsvd38 */ @@ -3373,7 +3396,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvd38",OPC_rsvd38,0,{0}, - {CLASS_BIT+3,CLASS_BIT+8,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,311}, + {CLASS_BIT+3,CLASS_BIT+8,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,313}, /* 0111 1000 imm8 *** rsvd78 */ @@ -3383,7 +3406,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvd78",OPC_rsvd78,0,{0}, - {CLASS_BIT+7,CLASS_BIT+8,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,312}, + {CLASS_BIT+7,CLASS_BIT+8,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,314}, /* 0111 1110 imm8 *** rsvd7e */ @@ -3393,7 +3416,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvd7e",OPC_rsvd7e,0,{0}, - {CLASS_BIT+7,CLASS_BIT+0xe,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,313}, + {CLASS_BIT+7,CLASS_BIT+0xe,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,315}, /* 1001 1101 imm8 *** rsvd9d */ @@ -3403,7 +3426,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvd9d",OPC_rsvd9d,0,{0}, - {CLASS_BIT+9,CLASS_BIT+0xd,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,314}, + {CLASS_BIT+9,CLASS_BIT+0xd,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,316}, /* 1001 1111 imm8 *** rsvd9f */ @@ -3413,7 +3436,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvd9f",OPC_rsvd9f,0,{0}, - {CLASS_BIT+9,CLASS_BIT+0xf,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,315}, + {CLASS_BIT+9,CLASS_BIT+0xf,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,317}, /* 1011 1001 imm8 *** rsvdb9 */ @@ -3423,7 +3446,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvdb9",OPC_rsvdb9,0,{0}, - {CLASS_BIT+0xb,CLASS_BIT+9,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,316}, + {CLASS_BIT+0xb,CLASS_BIT+9,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,318}, /* 1011 1111 imm8 *** rsvdbf */ @@ -3433,7 +3456,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "rsvdbf",OPC_rsvdbf,0,{0}, - {CLASS_BIT+0xb,CLASS_BIT+0xf,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,317}, + {CLASS_BIT+0xb,CLASS_BIT+0xf,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},0,2,319}, /* 1011 0111 ssss dddd *** sbc rd,rs */ @@ -3443,7 +3466,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sbc",OPC_sbc,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+7,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,318}, + {CLASS_BIT+0xb,CLASS_BIT+7,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,320}, /* 1011 0110 ssss dddd *** sbcb rbd,rbs */ @@ -3453,7 +3476,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "sbcb",OPC_sbcb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+6,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,319}, + {CLASS_BIT+0xb,CLASS_BIT+6,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,321}, /* 0111 1111 imm8 *** sc imm8 */ @@ -3463,7 +3486,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "sc",OPC_sc,0,{CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+7,CLASS_BIT+0xf,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},1,2,320}, + {CLASS_BIT+7,CLASS_BIT+0xf,CLASS_IMM+(ARG_IMM8),0,0,0,0,0,0,},1,2,322}, /* 1011 0011 dddd 1011 0000 ssss 0000 0000 *** sda rd,rs */ @@ -3473,7 +3496,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sda",OPC_sda,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,321}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,323}, /* 1011 0010 dddd 1011 0000 ssss 0000 0000 *** sdab rbd,rs */ @@ -3483,7 +3506,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sdab",OPC_sdab,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,322}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,324}, /* 1011 0011 dddd 1111 0000 ssss 0000 0000 *** sdal rrd,rs */ @@ -3493,7 +3516,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sdal",OPC_sdal,0,{CLASS_REG_LONG+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xf,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,323}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xf,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,325}, /* 1011 0011 dddd 0011 0000 ssss 0000 0000 *** sdl rd,rs */ @@ -3503,7 +3526,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "sdl",OPC_sdl,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,324}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,326}, /* 1011 0010 dddd 0011 0000 ssss 0000 0000 *** sdlb rbd,rs */ @@ -3513,7 +3536,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "sdlb",OPC_sdlb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,325}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,327}, /* 1011 0011 dddd 0111 0000 ssss 0000 0000 *** sdll rrd,rs */ @@ -3523,7 +3546,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "sdll",OPC_sdll,0,{CLASS_REG_LONG+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+7,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,326}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+7,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,328}, /* 0010 0101 ddN0 imm4 *** set @rd,imm4 */ @@ -3533,7 +3556,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "set",OPC_set,0,{CLASS_IR+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+2,CLASS_BIT+5,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,327}, + {CLASS_BIT+2,CLASS_BIT+5,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,329}, /* 0110 0101 ddN0 imm4 address_dst *** set address_dst(rd),imm4 */ @@ -3543,7 +3566,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "set",OPC_set,0,{CLASS_X+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+5,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,328}, + {CLASS_BIT+6,CLASS_BIT+5,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,330}, /* 0110 0101 0000 imm4 address_dst *** set address_dst,imm4 */ @@ -3553,7 +3576,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "set",OPC_set,0,{CLASS_DA+(ARG_DST),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+5,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,329}, + {CLASS_BIT+6,CLASS_BIT+5,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,331}, /* 1010 0101 dddd imm4 *** set rd,imm4 */ @@ -3563,7 +3586,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "set",OPC_set,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+0xa,CLASS_BIT+5,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,330}, + {CLASS_BIT+0xa,CLASS_BIT+5,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,332}, /* 0010 0101 0000 ssss 0000 dddd 0000 0000 *** set rd,rs */ @@ -3573,7 +3596,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "set",OPC_set,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+2,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,331}, + {CLASS_BIT+2,CLASS_BIT+5,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,333}, /* 0010 0100 ddN0 imm4 *** setb @rd,imm4 */ @@ -3583,7 +3606,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "setb",OPC_setb,0,{CLASS_IR+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+2,CLASS_BIT+4,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,332}, + {CLASS_BIT+2,CLASS_BIT+4,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,334}, /* 0110 0100 ddN0 imm4 address_dst *** setb address_dst(rd),imm4 */ @@ -3593,7 +3616,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "setb",OPC_setb,0,{CLASS_X+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+4,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,333}, + {CLASS_BIT+6,CLASS_BIT+4,CLASS_REGN0+(ARG_RD),CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,335}, /* 0110 0100 0000 imm4 address_dst *** setb address_dst,imm4 */ @@ -3603,7 +3626,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "setb",OPC_setb,0,{CLASS_DA+(ARG_DST),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+6,CLASS_BIT+4,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,334}, + {CLASS_BIT+6,CLASS_BIT+4,CLASS_BIT+0,CLASS_IMM+(ARG_IMM4),CLASS_ADDRESS+(ARG_DST),0,0,0,0,},2,4,336}, /* 1010 0100 dddd imm4 *** setb rbd,imm4 */ @@ -3613,7 +3636,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "setb",OPC_setb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM +(ARG_IMM4),}, - {CLASS_BIT+0xa,CLASS_BIT+4,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,335}, + {CLASS_BIT+0xa,CLASS_BIT+4,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM4),0,0,0,0,0,},2,2,337}, /* 0010 0100 0000 ssss 0000 dddd 0000 0000 *** setb rbd,rs */ @@ -3623,7 +3646,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "setb",OPC_setb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+2,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,336}, + {CLASS_BIT+2,CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RS),CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,0,},2,4,338}, /* 1000 1101 flags 0001 *** setflg flags */ @@ -3633,27 +3656,27 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "setflg",OPC_setflg,0,{CLASS_FLAGS,}, - {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_FLAGS,CLASS_BIT+1,0,0,0,0,0,},1,2,337}, + {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_FLAGS,CLASS_BIT+1,0,0,0,0,0,},1,2,339}, -/* 0011 1010 dddd 0101 imm16 *** sinb rbd,imm16 */ +/* 0011 1011 dddd 0101 imm16 *** sin rd,imm16 */ { #ifdef NICENAMES -"sinb rbd,imm16",8,0, +"sin rd,imm16",8,0, 0x00, #endif -"sinb",OPC_sinb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,338}, +"sin",OPC_sin,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, + {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,340}, -/* 0011 1011 dddd 0101 imm16 *** sinb rd,imm16 */ +/* 0011 1010 dddd 0101 imm16 *** sinb rbd,imm16 */ { #ifdef NICENAMES -"sinb rd,imm16",8,0, +"sinb rbd,imm16",8,0, 0x00, #endif -"sinb",OPC_sinb,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, - {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,339}, +"sinb",OPC_sinb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,341}, /* 0011 1011 ssN0 1000 0001 aaaa ddN0 1000 *** sind @rd,@rs,ra */ @@ -3663,7 +3686,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "sind",OPC_sind,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+8,CLASS_BIT+1,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,340}, + {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+8,CLASS_BIT+1,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,342}, /* 0011 1010 ssN0 1000 0001 aaaa ddN0 1000 *** sindb @rd,@rs,rba */ @@ -3673,7 +3696,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "sindb",OPC_sindb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_BYTE+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+8,CLASS_BIT+1,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,341}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+8,CLASS_BIT+1,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,343}, /* 0011 1010 ssN0 0001 0000 aaaa ddN0 1000 *** sinib @rd,@rs,ra */ @@ -3683,7 +3706,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "sinib",OPC_sinib,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,342}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,344}, /* 0011 1010 ssN0 0001 0000 aaaa ddN0 0000 *** sinibr @rd,@rs,ra */ @@ -3693,7 +3716,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "sinibr",OPC_sinibr,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,343}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+1,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,345}, /* 1011 0011 dddd 1001 0000 0000 imm8 *** sla rd,imm8 */ @@ -3703,7 +3726,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sla",OPC_sla,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,344}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,346}, /* 1011 0010 dddd 1001 0000 0000 imm8 *** slab rbd,imm8 */ @@ -3713,7 +3736,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "slab",OPC_slab,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,345}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,347}, /* 1011 0011 dddd 1101 0000 0000 imm8 *** slal rrd,imm8 */ @@ -3723,7 +3746,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "slal",OPC_slal,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,346}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,348}, /* 1011 0011 dddd 0001 0000 0000 imm8 *** sll rd,imm8 */ @@ -3733,7 +3756,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "sll",OPC_sll,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,347}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,349}, /* 1011 0010 dddd 0001 0000 0000 imm8 *** sllb rbd,imm8 */ @@ -3743,7 +3766,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "sllb",OPC_sllb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,348}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,350}, /* 1011 0011 dddd 0101 0000 0000 imm8 *** slll rrd,imm8 */ @@ -3753,7 +3776,7 @@ opcode_entry_type z8k_table[] = { 0x38, #endif "slll",OPC_slll,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,349}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_IMM8),0,0,},2,4,351}, /* 0011 1011 ssss 0111 imm16 *** sout imm16,rs */ @@ -3763,7 +3786,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "sout",OPC_sout,0,{CLASS_IMM+(ARG_IMM16),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REG+(ARG_RS),CLASS_BIT+7,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,350}, + {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REG+(ARG_RS),CLASS_BIT+7,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,352}, /* 0011 1010 ssss 0111 imm16 *** soutb imm16,rbs */ @@ -3773,7 +3796,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "soutb",OPC_soutb,0,{CLASS_IMM+(ARG_IMM16),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REG+(ARG_RS),CLASS_BIT+7,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,351}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REG+(ARG_RS),CLASS_BIT+7,CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,353}, /* 0011 1011 ssN0 1011 0000 aaaa ddN0 1000 *** soutd @rd,@rs,ra */ @@ -3783,7 +3806,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "soutd",OPC_soutd,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,352}, + {CLASS_BIT+3,CLASS_BIT+0xb,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,354}, /* 0011 1010 ssN0 1011 0000 aaaa ddN0 1000 *** soutdb @rd,@rs,rba */ @@ -3793,7 +3816,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "soutdb",OPC_soutdb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_BYTE+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,353}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+0xb,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,355}, /* 0011 1010 ssN0 0011 0000 aaaa ddN0 1000 *** soutib @rd,@rs,ra */ @@ -3803,7 +3826,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "soutib",OPC_soutib,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,354}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,},3,4,356}, /* 0011 1010 ssN0 0011 0000 aaaa ddN0 0000 *** soutibr @rd,@rs,ra */ @@ -3813,7 +3836,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "soutibr",OPC_soutibr,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_WORD+(ARG_RA),}, - {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,355}, + {CLASS_BIT+3,CLASS_BIT+0xa,CLASS_REGN0+(ARG_RS),CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RD),CLASS_BIT+0,0,},3,4,357}, /* 1011 0011 dddd 1001 1111 1111 nim8 *** sra rd,imm8 */ @@ -3823,7 +3846,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sra",OPC_sra,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,356}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,358}, /* 1011 0010 dddd 1001 0000 0000 nim8 *** srab rbd,imm8 */ @@ -3833,7 +3856,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "srab",OPC_srab,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_NIM8),0,0,},2,4,357}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+9,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_NIM8),0,0,},2,4,359}, /* 1011 0011 dddd 1101 1111 1111 nim8 *** sral rrd,imm8 */ @@ -3843,7 +3866,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sral",OPC_sral,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xd,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,358}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+0xd,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,360}, /* 1011 0011 dddd 0001 1111 1111 nim8 *** srl rd,imm8 */ @@ -3853,7 +3876,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "srl",OPC_srl,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,359}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,361}, /* 1011 0010 dddd 0001 0000 0000 nim8 *** srlb rbd,imm8 */ @@ -3863,7 +3886,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "srlb",OPC_srlb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_NIM8),0,0,},2,4,360}, + {CLASS_BIT+0xb,CLASS_BIT+2,CLASS_REG+(ARG_RD),CLASS_BIT+1,CLASS_BIT+0,CLASS_BIT+0,CLASS_IMM+(ARG_NIM8),0,0,},2,4,362}, /* 1011 0011 dddd 0101 1111 1111 nim8 *** srll rrd,imm8 */ @@ -3873,7 +3896,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "srll",OPC_srll,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,361}, + {CLASS_BIT+0xb,CLASS_BIT+3,CLASS_REG+(ARG_RD),CLASS_BIT+5,CLASS_BIT+0xf,CLASS_BIT+0xf,CLASS_IMM+(ARG_NIM8),0,0,},2,4,363}, /* 0000 0011 ssN0 dddd *** sub rd,@rs */ @@ -3883,7 +3906,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sub",OPC_sub,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+0,CLASS_BIT+3,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,362}, + {CLASS_BIT+0,CLASS_BIT+3,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,364}, /* 0100 0011 0000 dddd address_src *** sub rd,address_src */ @@ -3893,7 +3916,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sub",OPC_sub,0,{CLASS_REG_WORD+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+4,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,363}, + {CLASS_BIT+4,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,365}, /* 0100 0011 ssN0 dddd address_src *** sub rd,address_src(rs) */ @@ -3903,7 +3926,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sub",OPC_sub,0,{CLASS_REG_WORD+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+4,CLASS_BIT+3,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,364}, + {CLASS_BIT+4,CLASS_BIT+3,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,366}, /* 0000 0011 0000 dddd imm16 *** sub rd,imm16 */ @@ -3913,7 +3936,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sub",OPC_sub,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, - {CLASS_BIT+0,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,365}, + {CLASS_BIT+0,CLASS_BIT+3,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,367}, /* 1000 0011 ssss dddd *** sub rd,rs */ @@ -3923,7 +3946,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "sub",OPC_sub,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+8,CLASS_BIT+3,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,366}, + {CLASS_BIT+8,CLASS_BIT+3,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,368}, /* 0000 0010 ssN0 dddd *** subb rbd,@rs */ @@ -3933,7 +3956,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "subb",OPC_subb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+0,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,367}, + {CLASS_BIT+0,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,369}, /* 0100 0010 0000 dddd address_src *** subb rbd,address_src */ @@ -3943,7 +3966,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "subb",OPC_subb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+4,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,368}, + {CLASS_BIT+4,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,370}, /* 0100 0010 ssN0 dddd address_src *** subb rbd,address_src(rs) */ @@ -3953,7 +3976,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "subb",OPC_subb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+4,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,369}, + {CLASS_BIT+4,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,371}, /* 0000 0010 0000 dddd imm8 imm8 *** subb rbd,imm8 */ @@ -3963,7 +3986,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "subb",OPC_subb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM8),CLASS_IMM+(ARG_IMM8),0,0,0,},2,4,370}, + {CLASS_BIT+0,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM8),CLASS_IMM+(ARG_IMM8),0,0,0,},2,4,372}, /* 1000 0010 ssss dddd *** subb rbd,rbs */ @@ -3973,7 +3996,7 @@ opcode_entry_type z8k_table[] = { 0x3f, #endif "subb",OPC_subb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+8,CLASS_BIT+2,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,371}, + {CLASS_BIT+8,CLASS_BIT+2,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,373}, /* 0001 0010 ssN0 dddd *** subl rrd,@rs */ @@ -3983,7 +4006,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "subl",OPC_subl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+1,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,372}, + {CLASS_BIT+1,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,374}, /* 0101 0010 0000 dddd address_src *** subl rrd,address_src */ @@ -3993,7 +4016,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "subl",OPC_subl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+5,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,373}, + {CLASS_BIT+5,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,375}, /* 0101 0010 ssN0 dddd address_src *** subl rrd,address_src(rs) */ @@ -4003,7 +4026,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "subl",OPC_subl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+5,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,374}, + {CLASS_BIT+5,CLASS_BIT+2,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,376}, /* 0001 0010 0000 dddd imm32 *** subl rrd,imm32 */ @@ -4013,7 +4036,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "subl",OPC_subl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_IMM+(ARG_IMM32),}, - {CLASS_BIT+1,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM32),0,0,0,0,},2,6,375}, + {CLASS_BIT+1,CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM32),0,0,0,0,},2,6,377}, /* 1001 0010 ssss dddd *** subl rrd,rrs */ @@ -4023,7 +4046,7 @@ opcode_entry_type z8k_table[] = { 0x3c, #endif "subl",OPC_subl,0,{CLASS_REG_LONG+(ARG_RD),CLASS_REG_LONG+(ARG_RS),}, - {CLASS_BIT+9,CLASS_BIT+2,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,376}, + {CLASS_BIT+9,CLASS_BIT+2,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,378}, /* 1010 1111 dddd cccc *** tcc cc,rd */ @@ -4033,7 +4056,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "tcc",OPC_tcc,0,{CLASS_CC,CLASS_REG_WORD+(ARG_RD),}, - {CLASS_BIT+0xa,CLASS_BIT+0xf,CLASS_REG+(ARG_RD),CLASS_CC,0,0,0,0,0,},2,2,377}, + {CLASS_BIT+0xa,CLASS_BIT+0xf,CLASS_REG+(ARG_RD),CLASS_CC,0,0,0,0,0,},2,2,379}, /* 1010 1110 dddd cccc *** tccb cc,rbd */ @@ -4043,7 +4066,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "tccb",OPC_tccb,0,{CLASS_CC,CLASS_REG_BYTE+(ARG_RD),}, - {CLASS_BIT+0xa,CLASS_BIT+0xe,CLASS_REG+(ARG_RD),CLASS_CC,0,0,0,0,0,},2,2,378}, + {CLASS_BIT+0xa,CLASS_BIT+0xe,CLASS_REG+(ARG_RD),CLASS_CC,0,0,0,0,0,},2,2,380}, /* 0000 1101 ddN0 0100 *** test @rd */ @@ -4053,7 +4076,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "test",OPC_test,0,{CLASS_IR+(ARG_RD),}, - {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,379}, + {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,381}, /* 0100 1101 0000 0100 address_dst *** test address_dst */ @@ -4063,7 +4086,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "test",OPC_test,0,{CLASS_DA+(ARG_DST),}, - {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,380}, + {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,382}, /* 0100 1101 ddN0 0100 address_dst *** test address_dst(rd) */ @@ -4073,7 +4096,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "test",OPC_test,0,{CLASS_X+(ARG_RD),}, - {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,381}, + {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,383}, /* 1000 1101 dddd 0100 *** test rd */ @@ -4083,7 +4106,7 @@ opcode_entry_type z8k_table[] = { 0x00, #endif "test",OPC_test,0,{CLASS_REG_WORD+(ARG_RD),}, - {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,382}, + {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,384}, /* 0000 1100 ddN0 0100 *** testb @rd */ @@ -4093,7 +4116,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "testb",OPC_testb,0,{CLASS_IR+(ARG_RD),}, - {CLASS_BIT+0,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,383}, + {CLASS_BIT+0,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,385}, /* 0100 1100 0000 0100 address_dst *** testb address_dst */ @@ -4103,7 +4126,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "testb",OPC_testb,0,{CLASS_DA+(ARG_DST),}, - {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,384}, + {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,386}, /* 0100 1100 ddN0 0100 address_dst *** testb address_dst(rd) */ @@ -4113,7 +4136,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "testb",OPC_testb,0,{CLASS_X+(ARG_RD),}, - {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,385}, + {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,387}, /* 1000 1100 dddd 0100 *** testb rbd */ @@ -4123,7 +4146,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "testb",OPC_testb,0,{CLASS_REG_BYTE+(ARG_RD),}, - {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,386}, + {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+4,0,0,0,0,0,},1,2,388}, /* 0001 1100 ddN0 1000 *** testl @rd */ @@ -4133,7 +4156,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "testl",OPC_testl,0,{CLASS_IR+(ARG_RD),}, - {CLASS_BIT+1,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,0,0,0,0,},1,2,387}, + {CLASS_BIT+1,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+8,0,0,0,0,0,},1,2,389}, /* 0101 1100 0000 1000 address_dst *** testl address_dst */ @@ -4143,7 +4166,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "testl",OPC_testl,0,{CLASS_DA+(ARG_DST),}, - {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+8,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,388}, + {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+8,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,390}, /* 0101 1100 ddN0 1000 address_dst *** testl address_dst(rd) */ @@ -4153,7 +4176,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "testl",OPC_testl,0,{CLASS_X+(ARG_RD),}, - {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+8,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,389}, + {CLASS_BIT+5,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+8,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,391}, /* 1001 1100 dddd 1000 *** testl rrd */ @@ -4163,7 +4186,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "testl",OPC_testl,0,{CLASS_REG_LONG+(ARG_RD),}, - {CLASS_BIT+9,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+8,0,0,0,0,0,},1,2,390}, + {CLASS_BIT+9,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+8,0,0,0,0,0,},1,2,392}, /* 1011 1000 ddN0 1000 0000 aaaa ssN0 0000 *** trdb @rd,@rs,rba */ @@ -4173,7 +4196,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trdb",OPC_trdb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_BYTE+(ARG_RA),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,391}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,393}, /* 1011 1000 ddN0 1100 0000 aaaa ssN0 0000 *** trdrb @rd,@rs,rba */ @@ -4183,7 +4206,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trdrb",OPC_trdrb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_BYTE+(ARG_RA),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+0xc,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,392}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+0xc,CLASS_BIT+0,CLASS_REG+(ARG_RA),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,394}, /* 1011 1000 ddN0 0000 0000 rrrr ssN0 0000 *** trib @rd,@rs,rbr */ @@ -4193,7 +4216,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trib",OPC_trib,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_BYTE+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,393}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+0,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,395}, /* 1011 1000 ddN0 0100 0000 rrrr ssN0 0000 *** trirb @rd,@rs,rbr */ @@ -4203,7 +4226,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trirb",OPC_trirb,0,{CLASS_IR+(ARG_RD),CLASS_IR+(ARG_RS),CLASS_REG_BYTE+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,394}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RD),CLASS_BIT+4,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RS),CLASS_BIT+0,0,},3,4,396}, /* 1011 1000 aaN0 1010 0000 rrrr bbN0 0000 *** trtdb @ra,@rb,rbr */ @@ -4213,7 +4236,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trtdb",OPC_trtdb,0,{CLASS_IR+(ARG_RA),CLASS_IR+(ARG_RB),CLASS_REG_BYTE+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+0xa,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0,0,},3,4,395}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+0xa,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0,0,},3,4,397}, /* 1011 1000 aaN0 1110 0000 rrrr bbN0 1110 *** trtdrb @ra,@rb,rbr */ @@ -4223,7 +4246,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trtdrb",OPC_trtdrb,0,{CLASS_IR+(ARG_RA),CLASS_IR+(ARG_RB),CLASS_REG_BYTE+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+0xe,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0xe,0,},3,4,396}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+0xe,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0xe,0,},3,4,398}, /* 1011 1000 aaN0 0010 0000 rrrr bbN0 0000 *** trtib @ra,@rb,rbr */ @@ -4233,7 +4256,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trtib",OPC_trtib,0,{CLASS_IR+(ARG_RA),CLASS_IR+(ARG_RB),CLASS_REG_BYTE+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0,0,},3,4,397}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+2,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0,0,},3,4,399}, /* 1011 1000 aaN0 0110 0000 rrrr bbN0 1110 *** trtirb @ra,@rb,rbr */ @@ -4243,7 +4266,17 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "trtirb",OPC_trtirb,0,{CLASS_IR+(ARG_RA),CLASS_IR+(ARG_RB),CLASS_REG_BYTE+(ARG_RR),}, - {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+6,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0xe,0,},3,4,398}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+6,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0xe,0,},3,4,400}, + + +/* 1011 1000 aaN0 1010 0000 rrrr bbN0 0000 *** trtrb @ra,@rb,rbr */ +{ +#ifdef NICENAMES +"trtrb @ra,@rb,rbr",8,25, +0x1c, +#endif +"trtrb",OPC_trtrb,0,{CLASS_IR+(ARG_RA),CLASS_IR+(ARG_RB),CLASS_REG_BYTE+(ARG_RR),}, + {CLASS_BIT+0xb,CLASS_BIT+8,CLASS_REGN0+(ARG_RA),CLASS_BIT+0xa,CLASS_BIT+0,CLASS_REG+(ARG_RR),CLASS_REGN0+(ARG_RB),CLASS_BIT+0,0,},3,4,401}, /* 0000 1101 ddN0 0110 *** tset @rd */ @@ -4253,7 +4286,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tset",OPC_tset,0,{CLASS_IR+(ARG_RD),}, - {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,399}, + {CLASS_BIT+0,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,402}, /* 0100 1101 0000 0110 address_dst *** tset address_dst */ @@ -4263,7 +4296,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tset",OPC_tset,0,{CLASS_DA+(ARG_DST),}, - {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,400}, + {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_BIT+0,CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,403}, /* 0100 1101 ddN0 0110 address_dst *** tset address_dst(rd) */ @@ -4273,7 +4306,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tset",OPC_tset,0,{CLASS_X+(ARG_RD),}, - {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,401}, + {CLASS_BIT+4,CLASS_BIT+0xd,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,404}, /* 1000 1101 dddd 0110 *** tset rd */ @@ -4283,7 +4316,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tset",OPC_tset,0,{CLASS_REG_WORD+(ARG_RD),}, - {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,402}, + {CLASS_BIT+8,CLASS_BIT+0xd,CLASS_REG+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,405}, /* 0000 1100 ddN0 0110 *** tsetb @rd */ @@ -4293,7 +4326,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tsetb",OPC_tsetb,0,{CLASS_IR+(ARG_RD),}, - {CLASS_BIT+0,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,403}, + {CLASS_BIT+0,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,406}, /* 0100 1100 0000 0110 address_dst *** tsetb address_dst */ @@ -4303,7 +4336,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tsetb",OPC_tsetb,0,{CLASS_DA+(ARG_DST),}, - {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,404}, + {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_BIT+0,CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,407}, /* 0100 1100 ddN0 0110 address_dst *** tsetb address_dst(rd) */ @@ -4313,7 +4346,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tsetb",OPC_tsetb,0,{CLASS_X+(ARG_RD),}, - {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,405}, + {CLASS_BIT+4,CLASS_BIT+0xc,CLASS_REGN0+(ARG_RD),CLASS_BIT+6,CLASS_ADDRESS+(ARG_DST),0,0,0,0,},1,4,408}, /* 1000 1100 dddd 0110 *** tsetb rbd */ @@ -4323,7 +4356,7 @@ opcode_entry_type z8k_table[] = { 0x08, #endif "tsetb",OPC_tsetb,0,{CLASS_REG_BYTE+(ARG_RD),}, - {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,406}, + {CLASS_BIT+8,CLASS_BIT+0xc,CLASS_REG+(ARG_RD),CLASS_BIT+6,0,0,0,0,0,},1,2,409}, /* 0000 1001 ssN0 dddd *** xor rd,@rs */ @@ -4333,7 +4366,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "xor",OPC_xor,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+0,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,407}, + {CLASS_BIT+0,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,410}, /* 0100 1001 0000 dddd address_src *** xor rd,address_src */ @@ -4343,7 +4376,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "xor",OPC_xor,0,{CLASS_REG_WORD+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+4,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,408}, + {CLASS_BIT+4,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,411}, /* 0100 1001 ssN0 dddd address_src *** xor rd,address_src(rs) */ @@ -4353,7 +4386,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "xor",OPC_xor,0,{CLASS_REG_WORD+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+4,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,409}, + {CLASS_BIT+4,CLASS_BIT+9,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,412}, /* 0000 1001 0000 dddd imm16 *** xor rd,imm16 */ @@ -4363,7 +4396,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "xor",OPC_xor,0,{CLASS_REG_WORD+(ARG_RD),CLASS_IMM+(ARG_IMM16),}, - {CLASS_BIT+0,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,410}, + {CLASS_BIT+0,CLASS_BIT+9,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM16),0,0,0,0,},2,4,413}, /* 1000 1001 ssss dddd *** xor rd,rs */ @@ -4373,7 +4406,7 @@ opcode_entry_type z8k_table[] = { 0x18, #endif "xor",OPC_xor,0,{CLASS_REG_WORD+(ARG_RD),CLASS_REG_WORD+(ARG_RS),}, - {CLASS_BIT+8,CLASS_BIT+9,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,411}, + {CLASS_BIT+8,CLASS_BIT+9,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,414}, /* 0000 1000 ssN0 dddd *** xorb rbd,@rs */ @@ -4383,7 +4416,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "xorb",OPC_xorb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IR+(ARG_RS),}, - {CLASS_BIT+0,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,412}, + {CLASS_BIT+0,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,415}, /* 0100 1000 0000 dddd address_src *** xorb rbd,address_src */ @@ -4393,7 +4426,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "xorb",OPC_xorb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_DA+(ARG_SRC),}, - {CLASS_BIT+4,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,413}, + {CLASS_BIT+4,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,416}, /* 0100 1000 ssN0 dddd address_src *** xorb rbd,address_src(rs) */ @@ -4403,7 +4436,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "xorb",OPC_xorb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_X+(ARG_RS),}, - {CLASS_BIT+4,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,414}, + {CLASS_BIT+4,CLASS_BIT+8,CLASS_REGN0+(ARG_RS),CLASS_REG+(ARG_RD),CLASS_ADDRESS+(ARG_SRC),0,0,0,0,},2,4,417}, /* 0000 1000 0000 dddd imm8 imm8 *** xorb rbd,imm8 */ @@ -4413,7 +4446,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "xorb",OPC_xorb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_IMM+(ARG_IMM8),}, - {CLASS_BIT+0,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM8),CLASS_IMM+(ARG_IMM8),0,0,0,},2,4,415}, + {CLASS_BIT+0,CLASS_BIT+8,CLASS_BIT+0,CLASS_REG+(ARG_RD),CLASS_IMM+(ARG_IMM8),CLASS_IMM+(ARG_IMM8),0,0,0,},2,4,418}, /* 1000 1000 ssss dddd *** xorb rbd,rbs */ @@ -4423,7 +4456,7 @@ opcode_entry_type z8k_table[] = { 0x1c, #endif "xorb",OPC_xorb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+8,CLASS_BIT+8,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,416}, + {CLASS_BIT+8,CLASS_BIT+8,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,419}, /* 1000 1000 ssss dddd *** xorb rbd,rbs */ @@ -4433,6 +4466,6 @@ opcode_entry_type z8k_table[] = { 0x01, #endif "xorb",OPC_xorb,0,{CLASS_REG_BYTE+(ARG_RD),CLASS_REG_BYTE+(ARG_RS),}, - {CLASS_BIT+8,CLASS_BIT+8,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,417}, + {CLASS_BIT+8,CLASS_BIT+8,CLASS_REG+(ARG_RS),CLASS_REG+(ARG_RD),0,0,0,0,0,},2,2,420}, 0,0}; #endif diff --git a/opcodes/z8kgen.c b/opcodes/z8kgen.c index c8f3970..4029bf1c 100644 --- a/opcodes/z8kgen.c +++ b/opcodes/z8kgen.c @@ -52,9 +52,9 @@ struct op opt[] = "------", 10, 8, "1011 1001 imm8", "rsvdb9", 0, "------", 10, 8, "1011 1111 imm8", "rsvdbf", 0, - "---V--", 11, 16, "1011 1011 ssN0 1001 0000 rrrr ddN0 1000", "ldd @rs,@rd,rr", 0, - "---V--", 11, 16, "1011 1011 ssN0 1001 0000 rrrr ddN0 0000", "lddr @rs,@rd,rr", 0, - "---V--", 11, 8, "1011 1011 ssN0 1001 0000 rrrr ddN0 0000", "lddrb @rs,@rd,rr", 0, + "---V--", 11, 16, "1011 1011 ssN0 1001 0000 rrrr ddN0 1000", "ldd @rd,@rs,rr", 0, + "---V--", 11, 16, "1011 1011 ssN0 1001 0000 rrrr ddN0 0000", "lddr @rd,@rs,rr", 0, + "---V--", 11, 8, "1011 1010 ssN0 1001 0000 rrrr ddN0 0000", "lddrb @rd,@rs,rr", 0, "---V--", 11, 16, "1011 1011 ssN0 0001 0000 rrrr ddN0 0000", "ldir @rd,@rs,rr", 0, "CZSV--", 11, 16, "1011 1011 ssN0 0000 0000 rrrr dddd cccc", "cpi rd,@rs,rr,cc", 0, "CZSV--", 11, 16, "1011 1011 ssN0 0100 0000 rrrr dddd cccc", "cpir rd,@rs,rr,cc", 0, @@ -62,7 +62,7 @@ struct op opt[] = "---V--", 11, 16, "1011 1011 ssN0 0001 0000 rrrr ddN0 1000", "ldi @rd,@rs,rr", 0, "CZSV--", 11, 16, "1011 1011 ssN0 1000 0000 rrrr dddd cccc", "cpd rd,@rs,rr,cc", 0, "---V--", 11, 8, "1011 1010 ssN0 0001 0000 rrrr ddN0 0000", "ldirb @rd,@rs,rr", 0, - "---V--", 11, 8, "1011 1010 ssN0 1001 0000 rrrr ddN0 1000", "lddb @rs,@rd,rr", 0, + "---V--", 11, 8, "1011 1010 ssN0 1001 0000 rrrr ddN0 1000", "lddb @rd,@rs,rr", 0, "---V--", 11, 8, "1011 1010 ssN0 0001 0000 rrrr ddN0 1000", "ldib @rd,@rs,rr", 0, "CZSV--", 11, 8, "1011 1010 ssN0 1000 0000 rrrr dddd cccc", "cpdb rbd,@rs,rr,cc", 0, "CZSV--", 11, 8, "1011 1010 ssN0 1100 0000 rrrr dddd cccc", "cpdrb rbd,@rs,rr,cc", 0, @@ -140,7 +140,7 @@ struct op opt[] = "-ZSP--", 15, 8, "0100 1100 0000 0000 address_dst", "comb address_dst", 0, "-ZSP--", 16, 8, "0100 1100 ddN0 0000 address_dst", "comb address_dst(rd)", 0, "-ZSP--", 7, 8, "1000 1100 dddd 0000", "comb rbd", 0, - "CZSP--", 7, 16, "1000 1101 imm4 0101", "comflg flags", 0, + "CZSP--", 7, 16, "1000 1101 flags 0101", "comflg flags", 0, "CZSV--", 11, 16, "0000 1101 ddN0 0001 imm16", "cp @rd,imm16", 0, "CZSV--", 15, 16, "0100 1101 ddN0 0001 address_dst imm16", "cp address_dst(rd),imm16", 0, @@ -168,7 +168,7 @@ struct op opt[] = "CZSV--", 8, 32, "1001 0000 ssss dddd", "cpl rrd,rrs", 0, "CZS---", 5, 8, "1011 0000 dddd 0000", "dab rbd", 0, - "------", 11, 16, "1111 dddd 1disp7", "dbjnz rbd,disp7", 0, + "------", 11, 16, "1111 dddd 0disp7", "dbjnz rbd,disp7", 0, "-ZSV--", 11, 16, "0010 1011 ddN0 imm4m1", "dec @rd,imm4m1", 0, "-ZSV--", 14, 16, "0110 1011 ddN0 imm4m1 address_dst", "dec address_dst(rd),imm4m1", 0, "-ZSV--", 13, 16, "0110 1011 0000 imm4m1 address_dst", "dec address_dst,imm4m1", 0, @@ -190,7 +190,7 @@ struct op opt[] = "CZSV--", 744, 32, "0001 1010 0000 dddd imm32", "divl rqd,imm32", 0, "CZSV--", 744, 32, "1001 1010 ssss dddd", "divl rqd,rrs", 0, - "------", 11, 16, "1111 dddd 0disp7", "djnz rd,disp7", 0, + "------", 11, 16, "1111 dddd 1disp7", "djnz rd,disp7", 0, "------", 7, 16, "0111 1100 0000 01ii", "ei i2", 0, "------", 6, 16, "1010 1101 ssss dddd", "ex rd,rs", 0, "------", 12, 16, "0010 1101 ssN0 dddd", "ex rd,@rs", 0, @@ -210,7 +210,7 @@ struct op opt[] = "------", 10, 16, "0011 1101 ssN0 dddd", "in rd,@rs", 0, "------", 12, 16, "0011 1101 dddd 0100 imm16", "in rd,imm16", 0, "------", 12, 8, "0011 1100 ssN0 dddd", "inb rbd,@rs", 0, - "------", 10, 8, "0011 1100 dddd 0100 imm16", "inb rbd,imm16", 0, + "------", 10, 8, "0011 1010 dddd 0100 imm16", "inb rbd,imm16", 0, "-ZSV--", 11, 16, "0010 1001 ddN0 imm4m1", "inc @rd,imm4m1", 0, "-ZSV--", 14, 16, "0110 1001 ddN0 imm4m1 address_dst", "inc address_dst(rd),imm4m1", 0, "-ZSV--", 13, 16, "0110 1001 0000 imm4m1 address_dst", "inc address_dst,imm4m1", 0, @@ -221,8 +221,8 @@ struct op opt[] = "-ZSV--", 4, 8, "1010 1000 dddd imm4m1", "incb rbd,imm4m1", 0, "---V--", 21, 16, "0011 1011 ssN0 1000 0000 aaaa ddN0 1000", "ind @rd,@rs,ra", 0, "---V--", 21, 8, "0011 1010 ssN0 1000 0000 aaaa ddN0 1000", "indb @rd,@rs,rba", 0, - "---V--", 21, 8, "0011 1100 ssN0 0000 0000 aaaa ddN0 1000", "inib @rd,@rs,ra", 0, - "---V--", 21, 16, "0011 1100 ssN0 0000 0000 aaaa ddN0 0000", "inibr @rd,@rs,ra", 0, + "---V--", 21, 8, "0011 1010 ssN0 0000 0000 aaaa ddN0 1000", "inib @rd,@rs,ra", 0, + "---V--", 21, 16, "0011 1010 ssN0 0000 0000 aaaa ddN0 0000", "inibr @rd,@rs,ra", 0, "CZSVDH", 13, 16, "0111 1011 0000 0000", "iret", 0, "------", 10, 16, "0001 1110 ddN0 cccc", "jp cc,@rd", 0, "------", 7, 16, "0101 1110 0000 cccc address_dst", "jp cc,address_dst", 0, @@ -248,7 +248,7 @@ struct op opt[] = "------", 7, 8, "0000 1100 ddN0 0101 imm8 imm8", "ldb @rd,imm8", 0, "------", 8, 8, "0010 1110 ddN0 ssss", "ldb @rd,rbs", 0, "------", 15, 8, "0100 1100 ddN0 0101 address_dst imm8 imm8", "ldb address_dst(rd),imm8", 0, - "------", 12, 8, "0100 1110 ddN0 ssN0 address_dst", "ldb address_dst(rd),rbs", 0, + "------", 12, 8, "0110 1110 ddN0 ssss address_dst", "ldb address_dst(rd),rbs", 0, "------", 14, 8, "0100 1100 0000 0101 address_dst imm8 imm8", "ldb address_dst,imm8", 0, "------", 11, 8, "0110 1110 0000 ssss address_dst", "ldb address_dst,rbs", 0, "------", 14, 8, "0011 0010 ddN0 ssss imm16", "ldb rd(imm16),rbs", 0, @@ -285,7 +285,7 @@ struct op opt[] = "------", 5, 16, "1011 1101 dddd imm4", "ldk rd,imm4", 0, "------", 11, 16, "0001 1100 ddN0 1001 0000 ssss 0000 nminus1", "ldm @rd,rs,n", 0, - "------", 15, 16, "0101 1100 ddN0 1001 0000 ssN0 0000 nminus1 address_dst", "ldm address_dst(rd),rs,n", 0, + "------", 15, 16, "0101 1100 ddN0 1001 0000 ssss 0000 nminus1 address_dst", "ldm address_dst(rd),rs,n", 0, "------", 14, 16, "0101 1100 0000 1001 0000 ssss 0000 nminus1 address_dst", "ldm address_dst,rs,n", 0, "------", 11, 16, "0001 1100 ssN0 0001 0000 dddd 0000 nminus1", "ldm rd,@rs,n", 0, "------", 15, 16, "0101 1100 ssN0 0001 0000 dddd 0000 nminus1 address_src", "ldm rd,address_src(rs),n", 0, @@ -345,9 +345,10 @@ struct op opt[] = "---V--", 0, 8, "0011 1110 ddN0 ssss", "outb @rd,rbs", 0, "---V--", 0, 8, "0011 1010 ssss 0110 imm16", "outb imm16,rbs", 0, "---V--", 0, 16, "0011 1011 ssN0 1010 0000 aaaa ddN0 1000", "outd @rd,@rs,ra", 0, - "---V--", 0, 8, "0011 1010 ssN0 1010 0000 aaaa ddN0 1000", "outdb @rd,@rs,rba", 0, - "---V--", 0, 8, "0011 1100 ssN0 0010 0000 aaaa ddN0 1000", "outib @rd,@rs,ra", 0, - "---V--", 0, 16, "0011 1100 ssN0 0010 0000 aaaa ddN0 0000", "outibr @rd,@rs,ra", 0, + "---V--", 0, 16, "0011 1010 ssN0 1010 0000 aaaa ddN0 1000", "outdb @rd,@rs,rba", 0, + "---V--", 0, 16, "0011 1011 ssN0 0010 0000 aaaa ddN0 1000", "outi @rd,@rs,ra", 0, + "---V--", 0, 16, "0011 1010 ssN0 0010 0000 aaaa ddN0 1000", "outib @rd,@rs,ra", 0, + "---V--", 0, 16, "0011 1010 ssN0 0010 0000 aaaa ddN0 0000", "outibr @rd,@rs,ra", 0, "------", 12, 16, "0001 0111 ssN0 ddN0", "pop @rd,@rs", 0, "------", 16, 16, "0101 0111 ssN0 ddN0 address_dst", "pop address_dst(rd),@rs", 0, @@ -382,7 +383,7 @@ struct op opt[] = "------", 4, 8, "1010 0010 dddd imm4", "resb rbd,imm4", 0, "------", 10, 8, "0010 0010 0000 ssss 0000 dddd 0000 0000", "resb rbd,rs", 0, - "CZSV--", 7, 16, "1000 1101 imm4 0011", "resflg imm4", 0, + "CZSV--", 7, 16, "1000 1101 flags 0011", "resflg flags", 0, "------", 10, 16, "1001 1110 0000 cccc", "ret cc", 0, "CZSV--", 6, 16, "1011 0011 dddd 00I0", "rl rd,imm1or2", 0, @@ -422,14 +423,14 @@ struct op opt[] = "------", 4, 8, "1010 0100 dddd imm4", "setb rbd,imm4", 0, "------", 10, 8, "0010 0100 0000 ssss 0000 dddd 0000 0000", "setb rbd,rs", 0, - "CZSV--", 7, 16, "1000 1101 imm4 0001", "setflg imm4", 0, + "CZSV--", 7, 16, "1000 1101 flags 0001", "setflg flags", 0, - "------", 0, 8, "0011 1100 dddd 0101 imm16", "sinb rbd,imm16", 0, - "------", 0, 8, "0011 1101 dddd 0101 imm16", "sinb rd,imm16", 0, + "------", 0, 8, "0011 1010 dddd 0101 imm16", "sinb rbd,imm16", 0, + "------", 0, 8, "0011 1011 dddd 0101 imm16", "sin rd,imm16", 0, "------", 0, 16, "0011 1011 ssN0 1000 0001 aaaa ddN0 1000", "sind @rd,@rs,ra", 0, "------", 0, 8, "0011 1010 ssN0 1000 0001 aaaa ddN0 1000", "sindb @rd,@rs,rba", 0, - "------", 0, 8, "0011 1100 ssN0 0001 0000 aaaa ddN0 1000", "sinib @rd,@rs,ra", 0, - "------", 0, 16, "0011 1100 ssN0 0001 0000 aaaa ddN0 0000", "sinibr @rd,@rs,ra", 0, + "------", 0, 8, "0011 1010 ssN0 0001 0000 aaaa ddN0 1000", "sinib @rd,@rs,ra", 0, + "------", 0, 16, "0011 1010 ssN0 0001 0000 aaaa ddN0 0000", "sinibr @rd,@rs,ra", 0, "CZSV--", 13, 16, "1011 0011 dddd 1001 0000 0000 imm8", "sla rd,imm8", 0, "CZSV--", 13, 8, "1011 0010 dddd 1001 0000 0000 imm8", "slab rbd,imm8", 0, @@ -443,21 +444,21 @@ struct op opt[] = "------", 0, 8, "0011 1010 ssss 0111 imm16", "soutb imm16,rbs", 0, "------", 0, 16, "0011 1011 ssN0 1011 0000 aaaa ddN0 1000", "soutd @rd,@rs,ra", 0, "------", 0, 8, "0011 1010 ssN0 1011 0000 aaaa ddN0 1000", "soutdb @rd,@rs,rba", 0, - "------", 0, 8, "0011 1100 ssN0 0011 0000 aaaa ddN0 1000", "soutib @rd,@rs,ra", 0, - "------", 0, 16, "0011 1100 ssN0 0011 0000 aaaa ddN0 0000", "soutibr @rd,@rs,ra", 0, + "------", 0, 8, "0011 1010 ssN0 0011 0000 aaaa ddN0 1000", "soutib @rd,@rs,ra", 0, + "------", 0, 16, "0011 1010 ssN0 0011 0000 aaaa ddN0 0000", "soutibr @rd,@rs,ra", 0, "CZSV--", 13, 16, "1011 0011 dddd 1001 1111 1111 nim8", "sra rd,imm8", 0, - "CZSV--", 13, 8, "1011 0010 dddd 1001 1111 1111 nim8", "srab rbd,imm8", 0, + "CZSV--", 13, 8, "1011 0010 dddd 1001 0000 0000 nim8", "srab rbd,imm8", 0, "CZSV--", 13, 32, "1011 0011 dddd 1101 1111 1111 nim8", "sral rrd,imm8", 0, "CZSV--", 13, 16, "1011 0011 dddd 0001 1111 1111 nim8", "srl rd,imm8", 0, - "CZSV--", 13, 8, "1011 0010 dddd 0001 1111 1111 nim8", "srlb rbd,imm8", 0, + "CZSV--", 13, 8, "1011 0010 dddd 0001 0000 0000 nim8", "srlb rbd,imm8", 0, "CZSV--", 13, 32, "1011 0011 dddd 0101 1111 1111 nim8", "srll rrd,imm8", 0, "CZSV--", 7, 16, "0000 0011 ssN0 dddd", "sub rd,@rs", 0, "CZSV--", 9, 16, "0100 0011 0000 dddd address_src", "sub rd,address_src", 0, "CZSV--", 10, 16, "0100 0011 ssN0 dddd address_src", "sub rd,address_src(rs)", 0, - "CZSV--", 7, 16, "0000 0010 0000 dddd imm16", "sub rd,imm16", 0, + "CZSV--", 7, 16, "0000 0011 0000 dddd imm16", "sub rd,imm16", 0, "CZSV--", 4, 16, "1000 0011 ssss dddd", "sub rd,rs", 0, "CZSVDH", 7, 8, "0000 0010 ssN0 dddd", "subb rbd,@rs", 0, @@ -494,8 +495,9 @@ struct op opt[] = "-ZSV--", 25, 8, "1011 1000 ddN0 1100 0000 aaaa ssN0 0000", "trdrb @rd,@rs,rba", 0, "-ZSV--", 25, 8, "1011 1000 ddN0 0000 0000 rrrr ssN0 0000", "trib @rd,@rs,rbr", 0, "-ZSV--", 25, 8, "1011 1000 ddN0 0100 0000 rrrr ssN0 0000", "trirb @rd,@rs,rbr", 0, + "-ZSV--", 25, 8, "1011 1000 aaN0 1010 0000 rrrr bbN0 0000", "trtdb @ra,@rb,rbr", 0, "-ZSV--", 25, 8, "1011 1000 aaN0 1110 0000 rrrr bbN0 1110", "trtdrb @ra,@rb,rbr", 0, - "-ZSV--", 25, 8, "1011 1000 aaN0 0010 0000 rrrr bbN0 0000", "trtib @ra,@rb,rr", 0, + "-ZSV--", 25, 8, "1011 1000 aaN0 0010 0000 rrrr bbN0 0000", "trtib @ra,@rb,rbr", 0, "-ZSV--", 25, 8, "1011 1000 aaN0 0110 0000 rrrr bbN0 1110", "trtirb @ra,@rb,rbr", 0, "-ZSV--", 25, 8, "1011 1000 aaN0 1010 0000 rrrr bbN0 0000", "trtrb @ra,@rb,rbr", 0, @@ -520,6 +522,10 @@ struct op opt[] = "-ZSP--", 10, 8, "0100 1000 ssN0 dddd address_src", "xorb rbd,address_src(rs)", 0, "-ZSP--", 7, 8, "0000 1000 0000 dddd imm8 imm8", "xorb rbd,imm8", 0, "-ZSP--", 4, 8, "1000 1000 ssss dddd", "xorb rbd,rbs", 0, + + "------", 7, 32, "1000 1100 dddd 0001", "ldctlb rbd,ctrl", 0, + "CZSVDH", 7, 32, "1000 1100 ssss 1001", "ldctlb ctrl,rbs", 0, + "*", 4, 8, "1000 1000 ssss dddd", "xorb rbd,rbs", 0, "*", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; @@ -1203,6 +1209,10 @@ gas () printf ("#define OPC_rsvd9f 172\n"); printf ("#define OPC_rsvdb9 172\n"); printf ("#define OPC_rsvdbf 172\n"); + printf ("#define OPC_outi 173\n"); + printf ("#define OPC_ldctlb 174\n"); + printf ("#define OPC_sin 175\n"); + printf ("#define OPC_trtdb 176\n"); #if 0 for (i = 0; toks[i].token; i++) printf ("#define %s\t0x%x\n", toks[i].token, i * 16); |