diff options
author | Nick Clifton <nickc@redhat.com> | 2001-02-18 23:33:11 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-02-18 23:33:11 +0000 |
commit | e135f41bc2c2080a18ec4458a05757e1dc824876 (patch) | |
tree | 2b4c79d6629d37f6511d95efe4bdb75d1054736d /gas | |
parent | dc3febfa6ef6fa1bc6a9239f85db6faf6006655c (diff) | |
download | gdb-e135f41bc2c2080a18ec4458a05757e1dc824876.zip gdb-e135f41bc2c2080a18ec4458a05757e1dc824876.tar.gz gdb-e135f41bc2c2080a18ec4458a05757e1dc824876.tar.bz2 |
Add PDP-11 support
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 11 | ||||
-rw-r--r-- | gas/Makefile.am | 15 | ||||
-rw-r--r-- | gas/Makefile.in | 18 | ||||
-rw-r--r-- | gas/config/tc-pdp11.c | 1618 | ||||
-rw-r--r-- | gas/config/tc-pdp11.h | 33 | ||||
-rwxr-xr-x | gas/configure | 475 | ||||
-rw-r--r-- | gas/configure.in | 6 | ||||
-rw-r--r-- | gas/doc/Makefile.am | 1 | ||||
-rw-r--r-- | gas/doc/Makefile.in | 1 | ||||
-rw-r--r-- | gas/doc/all.texi | 1 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 41 | ||||
-rw-r--r-- | gas/doc/c-pdp11.texi | 354 | ||||
-rw-r--r-- | gas/po/POTFILES.in | 2 | ||||
-rw-r--r-- | gas/po/gas.pot | 706 |
14 files changed, 2699 insertions, 583 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index d30ad8a..deb17cb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,14 @@ +2001-02-18 lars brinkhoff <lars@nocrew.org> + + * Makefile.am: Add PDP-11 target. + * configure.in: Likewise. + * config/tc-pdp11.c: New file. + * config/tc-pdp11.h: New file. + * doc/Makefile.am: Add PDP-11 documentation. + * doc/all.texi: Likewise. + * doc/as.texinfo: Likewise. + * doc/c-pdp11.texi: New file. + 2001-02-16 matthew green <mrg@redhat.com> * gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64. diff --git a/gas/Makefile.am b/gas/Makefile.am index f6702b2..84b4317 100644 --- a/gas/Makefile.am +++ b/gas/Makefile.am @@ -63,6 +63,7 @@ CPU_TYPES = \ mn10200 \ mn10300 \ ns32k \ + pdp11 \ pj \ ppc \ s390 \ @@ -78,7 +79,7 @@ CPU_TYPES = \ z8k # Object format types. This is only used for dependency information. -# We deliberately omit som, since it does not work as a cross assembler. +# We deliberately omit some, since it does not work as a cross assembler. OBJ_FORMATS = \ aout \ @@ -101,7 +102,7 @@ CPU_OBJ_VALID = \ case $$o in \ aout) \ case $$c in \ - a29k | arm | cris | i386 | m68k | mips | ns32k | sparc | tahoe | tic30 | vax) \ + a29k | arm | cris | i386 | m68k | mips | ns32k | pdp11 | sparc | tahoe | tic30 | vax) \ valid=yes ;; \ esac ;; \ bout) \ @@ -245,6 +246,7 @@ TARGET_CPU_CFILES = \ config/tc-mn10200.c \ config/tc-mn10300.c \ config/tc-ns32k.c \ + config/tc-pdp11.c \ config/tc-pj.c \ config/tc-ppc.c \ config/tc-s390.c \ @@ -286,6 +288,7 @@ TARGET_CPU_HFILES = \ config/tc-mn10200.h \ config/tc-mn10300.h \ config/tc-ns32k.h \ + config/tc-pdp11.h \ config/tc-pj.h \ config/tc-ppc.h \ config/tc-s390.h \ @@ -1169,6 +1172,9 @@ DEPTC_ns32k_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-ns32k.h $(INCDIR)/opcode/ns32k.h \ $(INCDIR)/obstack.h +DEPTC_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ + $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/obstack.h \ + $(INCDIR)/opcode/pdp11.h DEPTC_pj_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-pj.h \ $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ $(INCDIR)/opcode/pj.h @@ -1500,6 +1506,9 @@ DEPOBJ_ns32k_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-ns32k.h subsegs.h \ $(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h +DEPOBJ_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ + $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \ + $(INCDIR)/obstack.h DEPOBJ_pj_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-pj.h \ $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ $(INCDIR)/obstack.h subsegs.h @@ -1773,6 +1782,8 @@ DEP_ns32k_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-ns32k.h \ DEP_ns32k_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-ns32k.h +DEP_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ + $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h DEP_pj_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-pj.h \ $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h DEP_pj_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ diff --git a/gas/Makefile.in b/gas/Makefile.in index 493fb0a..fd9b1e9 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -174,6 +174,7 @@ CPU_TYPES = \ mn10200 \ mn10300 \ ns32k \ + pdp11 \ pj \ ppc \ s390 \ @@ -190,7 +191,7 @@ CPU_TYPES = \ # Object format types. This is only used for dependency information. -# We deliberately omit som, since it does not work as a cross assembler. +# We deliberately omit some, since it does not work as a cross assembler. OBJ_FORMATS = \ aout \ @@ -214,7 +215,7 @@ CPU_OBJ_VALID = \ case $$o in \ aout) \ case $$c in \ - a29k | arm | cris | i386 | m68k | mips | ns32k | sparc | tahoe | tic30 | vax) \ + a29k | arm | cris | i386 | m68k | mips | ns32k | pdp11 | sparc | tahoe | tic30 | vax) \ valid=yes ;; \ esac ;; \ bout) \ @@ -362,6 +363,7 @@ TARGET_CPU_CFILES = \ config/tc-mn10200.c \ config/tc-mn10300.c \ config/tc-ns32k.c \ + config/tc-pdp11.c \ config/tc-pj.c \ config/tc-ppc.c \ config/tc-s390.c \ @@ -404,6 +406,7 @@ TARGET_CPU_HFILES = \ config/tc-mn10200.h \ config/tc-mn10300.h \ config/tc-ns32k.h \ + config/tc-pdp11.h \ config/tc-pj.h \ config/tc-ppc.h \ config/tc-s390.h \ @@ -938,6 +941,10 @@ DEPTC_ns32k_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-ns32k.h $(INCDIR)/opcode/ns32k.h \ $(INCDIR)/obstack.h +DEPTC_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ + $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/obstack.h \ + $(INCDIR)/opcode/pdp11.h + DEPTC_pj_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-pj.h \ $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ $(INCDIR)/opcode/pj.h @@ -1363,6 +1370,10 @@ DEPOBJ_ns32k_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-ns32k.h subsegs.h \ $(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h +DEPOBJ_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ + $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \ + $(INCDIR)/obstack.h + DEPOBJ_pj_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-pj.h \ $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ $(INCDIR)/obstack.h subsegs.h @@ -1729,6 +1740,9 @@ DEP_ns32k_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-ns32k.h +DEP_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ + $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h + DEP_pj_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-pj.h \ $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h diff --git a/gas/config/tc-pdp11.c b/gas/config/tc-pdp11.c new file mode 100644 index 0000000..6935bce --- /dev/null +++ b/gas/config/tc-pdp11.c @@ -0,0 +1,1618 @@ +/* tc-pdp11.c - pdp11-specific - + Copyright (C) 2001 Free Software Foundation, Inc. + + This file is part of GAS, the GNU Assembler. + + GAS is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + GAS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GAS; see the file COPYING. If not, write to + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +/* + Apparently unused functions: + md_convert_frag + md_estimate_size_before_relax + md_create_short_jump + md_create_long_jump +*/ + +#include "as.h" +#include "opcode/pdp11.h" + +static int set_option PARAMS ((char *arg)); +static int set_cpu_model PARAMS ((char *arg)); +static int set_machine_model PARAMS ((char *arg)); + +#define TRUE 1 +#define FALSE 0 + +/* + * A representation for PDP-11 machine code. + */ +struct pdp11_code +{ + char *error; + int code; + int additional; /* is there an additional word? */ + int word; /* additional word, if any */ + struct + { + bfd_reloc_code_real_type type; + expressionS exp; + int pc_rel; + } reloc; +}; + +/* + * Instruction set extensions. + * + * If you change this from an array to something else, please update + * the "PDP-11 instruction set extensions" comment in pdp11.h. + */ +int pdp11_extension[PDP11_EXT_NUM]; + +/* + * Assembly options. + */ + +#define ASM_OPT_PIC 1 +#define ASM_OPT_NUM 2 + +int asm_option[ASM_OPT_NUM]; + +/* These chars start a comment anywhere in a source file (except inside + another comment */ +CONST char comment_chars[] = "#/"; + +/* These chars only start a comment at the beginning of a line. */ +CONST char line_comment_chars[] = "#/"; + +CONST char line_separator_chars[] = ";"; + +/* Chars that can be used to separate mant from exp in floating point nums */ +CONST char EXP_CHARS[] = "eE"; + +/* Chars that mean this number is a floating point constant */ +/* as in 0f123.456 */ +/* or 0H1.234E-12 (see exp chars above) */ +CONST char FLT_CHARS[] = "dDfFgGhH"; + +void pseudo_even (int); +void pseudo_bss (int); + +CONST pseudo_typeS md_pseudo_table[] = +{ + { "bss", pseudo_bss, 0 }, + { "even", pseudo_even, 0 }, + { 0, 0, 0 }, +}; + + +static void +init_defaults () +{ + static int first = 1; + + if (first) + { + set_option ("all-extensions"); + set_option ("pic"); + first = 0; + } +} + +static struct hash_control *insn_hash = NULL; + +void +md_begin () +{ + int i; + + init_defaults (); + + insn_hash = hash_new (); + if (insn_hash == NULL) + as_fatal ("Virtual memory exhausted"); + + for (i = 0; i < pdp11_num_opcodes; i++) + hash_insert (insn_hash, pdp11_opcodes[i].name, (PTR)(pdp11_opcodes + i)); + for (i = 0; i < pdp11_num_aliases; i++) + hash_insert (insn_hash, pdp11_aliases[i].name, (PTR)(pdp11_aliases + i)); +} + +void +md_number_to_chars (con, value, nbytes) + char con[]; + valueT value; + int nbytes; +{ + /* On a PDP-11, 0x1234 is stored as "\x12\x34", and + * 0x12345678 is stored as "\x56\x78\x12\x34". It's + * anyones guess what 0x123456 would be stored like. + */ + + switch (nbytes) + { + case 0: + break; + case 1: + con[0] = value & 0xff; + break; + case 2: + con[0] = value & 0xff; + con[1] = (value >> 8) & 0xff; + break; + case 4: + con[0] = (value >> 16) & 0xff; + con[1] = (value >> 24) & 0xff; + con[2] = value & 0xff; + con[3] = (value >> 8) & 0xff; + break; + default: + BAD_CASE (nbytes); + } +} + +/* Fix up some data or instructions after we find out the value of a symbol + that they reference. */ + +int /* Knows about order of bytes in address. */ +md_apply_fix (fixP, value) + fixS *fixP; + valueT *value; +{ + valueT code; + valueT mask; + char *buf; + int shift; + int size; + + buf = fixP->fx_where + fixP->fx_frag->fr_literal; + size = fixP->fx_size; + code = md_chars_to_number (buf, size); + + switch (fixP->fx_r_type) + { + case BFD_RELOC_16: + case BFD_RELOC_16_PCREL: + mask = 0xffff; + shift = 0; + break; + case BFD_RELOC_PDP11_DISP_8_PCREL: + mask = 0x00ff; + shift = 1; + break; + case BFD_RELOC_PDP11_DISP_6_PCREL: + mask = 0x003f; + shift = 1; + break; + default: + BAD_CASE (fixP->fx_r_type); + } + + if (fixP->fx_addsy != NULL) + *value += symbol_get_bfdsym (fixP->fx_addsy)->section->vma; + /* *value += fixP->fx_addsy->bsym->section->vma; */ + + code &= ~mask; + code |= (*value >> shift) & mask; + number_to_chars_littleendian (buf, code, size); + return 0; +} + +long +md_chars_to_number (con, nbytes) + unsigned char con[]; /* Low order byte 1st. */ + int nbytes; /* Number of bytes in the input. */ +{ + /* On a PDP-11, 0x1234 is stored as "\x12\x34", and + * 0x12345678 is stored as "\x56\x78\x12\x34". It's + * anyones guess what 0x123456 would be stored like. + */ + + switch (nbytes) + { + case 0: + return 0; + case 1: + return con[0]; + case 2: + return (con[1] << BITS_PER_CHAR) | con[0]; + case 4: + return + (((con[1] << BITS_PER_CHAR) | con[0]) << (2 * BITS_PER_CHAR)) | + ((con[3] << BITS_PER_CHAR) | con[2]); + default: + BAD_CASE (nbytes); + return 0; + } +} + +static char * +skip_whitespace (char *str) +{ + while (*str == ' ' || *str == '\t') + str++; + return str; +} + +static char * +find_whitespace (char *str) +{ + while (*str != ' ' && *str != '\t' && *str != 0) + str++; + return str; +} + +static char +mklower (char c) +{ + if (isupper (c)) + return tolower (c); + return c; +} + +static char * +parse_reg (char *str, struct pdp11_code *operand) +{ + str = skip_whitespace (str); + if (mklower (*str) == 'r') + { + str++; + switch (*str) + { + case '0': case '1': case '2': case '3': + case '4': case '5': case '6': case '7': + operand->code = *str - '0'; + str++; + break; + default: + operand->error = "Bad register name"; + return str - 1; + } + } + else if (strncmp (str, "sp", 2) == 0 || + strncmp (str, "SP", 2) == 0) + { + operand->code = 6; + str += 2; + } + else if (strncmp (str, "pc", 2) == 0 || + strncmp (str, "PC", 2) == 0) + { + operand->code = 7; + str += 2; + } + else + { + operand->error = "Bad register name"; + return str; + } + + return str; +} + +static char * +parse_ac (char *str, struct pdp11_code *operand) +{ + str = skip_whitespace (str); + if (strncmp (str, "fr", 2) == 0 || + strncmp (str, "FR", 2) == 0 || + strncmp (str, "ac", 2) == 0 || + strncmp (str, "AC", 2) == 0) + { + str += 2; + switch (*str) + { + case '0': case '1': case '2': case '3': + operand->code = *str - '0'; + str++; + break; + default: + operand->error = "Bad register name"; + return str - 2; + } + } + else + { + operand->error = "Bad register name"; + return str; + } + + return str; +} + +static char * +parse_expression (char *str, struct pdp11_code *operand) +{ + char *save_input_line_pointer; + segT seg; + + save_input_line_pointer = input_line_pointer; + input_line_pointer = str; + seg = expression (&operand->reloc.exp); + if (seg == NULL) + { + input_line_pointer = save_input_line_pointer; + operand->error = "Error in expression"; + return str; + } + + str = input_line_pointer; + input_line_pointer = save_input_line_pointer; + + operand->reloc.pc_rel = 0; + + if (operand->reloc.exp.X_op == O_constant) + { + if (*str == '.') + str++; + else + { + /* FIXME: buffer overflow! */ + char buf[100]; + char *end; + + sprintf (buf, "%ld", operand->reloc.exp.X_add_number); + operand->reloc.exp.X_add_number = strtol (buf, &end, 8); + } + } + + return str; +} + +static char * +parse_op_no_deferred (char *str, struct pdp11_code *operand) +{ + str = skip_whitespace (str); + + switch (*str) + { + case '(': /* (rn) and (rn)+ */ + str = parse_reg (str + 1, operand); + if (operand->error) + return str; + str = skip_whitespace (str); + if (*str != ')') + { + operand->error = "Missing ')'"; + return str; + } + str++; + if (*str == '+') + { + operand->code |= 020; + str++; + } + else + { + operand->code |= 010; + } + break; + + case '#': /* immediate */ + case '$': + str = parse_expression (str + 1, operand); + if (operand->error) + return str; + operand->additional = TRUE; + operand->word = operand->reloc.exp.X_add_number; + switch (operand->reloc.exp.X_op) + { + case O_constant: + break; + case O_symbol: + case O_add: + case O_subtract: + operand->reloc.type = BFD_RELOC_16; + operand->reloc.pc_rel = 0; + break; + default: + operand->error = "Error in expression"; + break; + } + operand->code = 027; + break; + + default: /* label, d(rn), -(rn) */ + { + char *old = str; + + if (strncmp (str, "-(", 2) == 0) /* -(rn) */ + { + str = parse_reg (str + 2, operand); + if (operand->error) + return str; + str = skip_whitespace (str); + if (*str != ')') + { + operand->error = "Missing ')'"; + return str; + } + operand->code |= 040; + str++; + break; + } + + str = parse_expression (str, operand); + if (operand->error) + return str; + + str = skip_whitespace (str); + + if (*str != '(') /* label */ + { + if (operand->reloc.exp.X_op != O_symbol) + { + operand->error = "Label expected"; + return old; + } + operand->code = 067; + operand->additional = 1; + operand->word = 0; + operand->reloc.type = BFD_RELOC_16_PCREL; + operand->reloc.pc_rel = 1; + break; + } + + str++; /* d(rn) */ + str = parse_reg (str, operand); + if (operand->error) + return str; + + str = skip_whitespace (str); + + if (*str != ')') + { + operand->error = "Missing ')'"; + return str; + } + + str++; + operand->additional = TRUE; + operand->code |= 060; + switch (operand->reloc.exp.X_op) + { + case O_symbol: + operand->word = 0; + operand->reloc.pc_rel = 1; + break; + case O_constant: + if ((operand->code & 7) == 7) + { + operand->reloc.pc_rel = 1; + operand->word = operand->reloc.exp.X_add_number; + } + else + { + operand->word = operand->reloc.exp.X_add_number; + } + break; + default: + BAD_CASE (operand->reloc.exp.X_op); + } + break; + } + } + + return str; +} + +static char * +parse_op (char *str, struct pdp11_code *operand) +{ + str = skip_whitespace (str); + + str = parse_reg (str, operand); + if (!operand->error) + return str; + operand->error = NULL; + + if (*str == '@' || *str == '*') + { + str = parse_op_no_deferred (str + 1, operand); + if (operand->error) + return str; + operand->code |= 010; + } + else + str = parse_op_no_deferred (str, operand); + + return str; +} + +static char * +parse_separator (char *str, int *error) +{ + str = skip_whitespace (str); + *error = (*str != ','); + if (!*error) + str++; + return str; +} + +void +md_assemble (instruction_string) + char *instruction_string; +{ + CONST struct pdp11_opcode *op; + struct pdp11_code insn, op1, op2; + int error; + int size; + char *err = NULL; + char *str; + char *p; + char c; + + str = skip_whitespace (instruction_string); + p = find_whitespace (str); + if (p - str == 0) + { + as_bad ("No instruction found"); + return; + } + + c = *p; + *p = '\0'; + op = (struct pdp11_opcode *)hash_find (insn_hash, str); + *p = c; + if (op == 0) + { +#if 0 + op1.error = NULL; + op1.additional = FALSE; + op1.reloc.type = BFD_RELOC_NONE; + op1.code = 0; + op1.word = 0; + str = parse_expression (str, &op1); + if (op1.error) + { + as_bad (op1.error); + return; + } + + { + char *to = frag_more (2); + + md_number_to_chars (to, op1.code, 2); + if (insn.reloc.type != BFD_RELOC_NONE) + fix_new_exp (frag_now, to - frag_now->fr_literal, 2, + &insn.reloc.exp, insn.reloc.pc_rel, insn.reloc.type); + } +#else + as_warn ("Unknown instruction"); +#endif + + return; + } + + if (!pdp11_extension[op->extension]) + { + as_warn ("Unsupported instruction set extension: %s", op->name); + return; + } + + insn.error = NULL; + insn.code = op->opcode; + insn.reloc.type = BFD_RELOC_NONE; + op1.error = NULL; + op1.additional = FALSE; + op1.reloc.type = BFD_RELOC_NONE; + op2.error = NULL; + op2.additional = FALSE; + op2.reloc.type = BFD_RELOC_NONE; + + str = p; + size = 2; + + switch (op->type) + { + case PDP11_OPCODE_NO_OPS: + str = skip_whitespace (str); + if (*str == 0) + str = ""; + break; + + case PDP11_OPCODE_IMM3: + case PDP11_OPCODE_IMM6: + case PDP11_OPCODE_IMM8: + str = skip_whitespace (str); + if (*str == '#' || *str == '$') + str++; + str = parse_expression (str, &op1); + if (op1.error) + break; + switch (op->type) + { + case PDP11_OPCODE_IMM3: + if (op1.code & ~7) + { + op1.error = "3-bit immediate out of range"; + break; + } + break; + case PDP11_OPCODE_IMM6: + if (op1.code & ~0x3f) + { + op1.error = "6-bit immediate out of range"; + break; + } + break; + case PDP11_OPCODE_IMM8: + if (op1.code & ~0xff) + { + op1.error = "8-bit immediate out of range"; + break; + } + break; + } + insn.code |= op1.code; + break; + + case PDP11_OPCODE_DISPL: + { + char *new; + new = parse_expression (str, &op1); + op1.code = 0; + op1.reloc.pc_rel = 1; + op1.reloc.type = BFD_RELOC_PDP11_DISP_8_PCREL; + if (op1.reloc.exp.X_op != O_symbol) + { + op1.error = "Symbol expected"; + break; + } + if (op1.code & ~0xff) + { + err = "8-bit displacement out of range"; + break; + } + str = new; + insn.code |= op1.code; + insn.reloc = op1.reloc; + } + break; + + case PDP11_OPCODE_REG: + str = parse_reg (str, &op1); + if (op1.error) + break; + insn.code |= op1.code; + break; + + case PDP11_OPCODE_OP: + str = parse_op (str, &op1); + if (op1.error) + break; + insn.code |= op1.code; + if (op1.additional) + size += 2; + break; + + case PDP11_OPCODE_REG_OP: + str = parse_reg (str, &op2); + if (op2.error) + break; + insn.code |= op2.code << 6; + str = parse_separator (str, &error); + if (error) + { + op2.error = "Missing ','"; + break; + } + str = parse_op (str, &op1); + if (op1.error) + break; + insn.code |= op1.code; + if (op1.additional) + size += 2; + break; + + case PDP11_OPCODE_REG_OP_REV: + str = parse_op (str, &op1); + if (op1.error) + break; + insn.code |= op1.code; + if (op1.additional) + size += 2; + str = parse_separator (str, &error); + if (error) + { + op2.error = "Missing ','"; + break; + } + str = parse_reg (str, &op2); + if (op2.error) + break; + insn.code |= op2.code << 6; + break; + + case PDP11_OPCODE_AC_OP: + str = parse_ac (str, &op2); + if (op2.error) + break; + insn.code |= op2.code << 6; + str = parse_separator (str, &error); + if (error) + { + op1.error = "Missing ','"; + break; + } + str = parse_op (str, &op1); + if (op1.error) + break; + insn.code |= op1.code; + if (op1.additional) + size += 2; + break; + + case PDP11_OPCODE_OP_OP: + str = parse_op (str, &op1); + if (op1.error) + break; + insn.code |= op1.code << 6; + if (op1.additional) + size += 2; + str = parse_separator (str, &error); + if (error) + { + op2.error = "Missing ','"; + break; + } + str = parse_op (str, &op2); + if (op2.error) + break; + insn.code |= op2.code; + if (op2.additional) + size += 2; + break; + + case PDP11_OPCODE_REG_DISPL: + { + char *new; + str = parse_reg (str, &op2); + if (op2.error) + break; + insn.code |= op2.code << 6; + str = parse_separator (str, &error); + if (error) + { + op1.error = "Missing ','"; + break; + } + new = parse_expression (str, &op1); + op1.code = 0; + op1.reloc.pc_rel = 1; + op1.reloc.type = BFD_RELOC_PDP11_DISP_6_PCREL; + if (op1.reloc.exp.X_op != O_symbol) + { + op1.error = "Symbol expected"; + break; + } + if (op1.code & ~0x3f) + { + err = "6-bit displacement out of range"; + break; + } + str = new; + insn.code |= op1.code; + insn.reloc = op1.reloc; + } + break; + + default: + BAD_CASE (op->type); + } + + if (op1.error) + err = op1.error; + else if (op2.error) + err = op2.error; + else + { + str = skip_whitespace (str); + if (*str) + err = "Too many operands"; + } + + { + char *to = NULL; + + if (err) + { + as_bad (err); + return; + } + + to = frag_more (size); + + md_number_to_chars (to, insn.code, 2); + if (insn.reloc.type != BFD_RELOC_NONE) + fix_new_exp (frag_now, to - frag_now->fr_literal, 2, + &insn.reloc.exp, insn.reloc.pc_rel, insn.reloc.type); + to += 2; + + if (op1.additional) + { + md_number_to_chars (to, op1.word, 2); + if (op1.reloc.type != BFD_RELOC_NONE) + fix_new_exp (frag_now, to - frag_now->fr_literal, 2, + &op1.reloc.exp, op1.reloc.pc_rel, op1.reloc.type); + to += 2; + } + + if (op2.additional) + { + md_number_to_chars (to, op2.word, 2); + if (op2.reloc.type != BFD_RELOC_NONE) + fix_new_exp (frag_now, to - frag_now->fr_literal, 2, + &op2.reloc.exp, op2.reloc.pc_rel, op2.reloc.type); + } + } +} + +int +md_estimate_size_before_relax (fragP, segment) + fragS *fragP ATTRIBUTE_UNUSED; + segT segment ATTRIBUTE_UNUSED; +{ + return 0; +} + +void +md_convert_frag (headers, seg, fragP) + bfd *headers ATTRIBUTE_UNUSED; + segT seg ATTRIBUTE_UNUSED; + fragS *fragP ATTRIBUTE_UNUSED; +{ +} + +CONST int md_short_jump_size = 2; +CONST int md_long_jump_size = 4; + +void +md_create_short_jump (ptr, from_addr, to_addr, frag, to_symbol) + char *ptr ATTRIBUTE_UNUSED; + addressT from_addr ATTRIBUTE_UNUSED; + addressT to_addr ATTRIBUTE_UNUSED; + fragS *frag ATTRIBUTE_UNUSED; + symbolS *to_symbol ATTRIBUTE_UNUSED; +{ +} + +void +md_create_long_jump (ptr, from_addr, to_addr, frag, to_symbol) + char *ptr ATTRIBUTE_UNUSED; + addressT from_addr ATTRIBUTE_UNUSED; + addressT to_addr ATTRIBUTE_UNUSED; + fragS *frag ATTRIBUTE_UNUSED; + symbolS *to_symbol ATTRIBUTE_UNUSED; +{ +} + +static int +set_option (arg) + char *arg; +{ + int yes = 1; + + if (strcmp (arg, "all-extensions") == 0 || + strcmp (arg, "all") == 0) + { + memset (pdp11_extension, ~0, sizeof pdp11_extension); + pdp11_extension[PDP11_NONE] = 0; + return 1; + } + else if (strcmp (arg, "no-extensions") == 0) + { + memset (pdp11_extension, 0, sizeof pdp11_extension); + pdp11_extension[PDP11_BASIC] = 1; + return 1; + } + + if (strncmp (arg, "no-", 3) == 0) + { + yes = 0; + arg += 3; + } + + if (strcmp (arg, "cis") == 0) /* commersial instructions */ + pdp11_extension[PDP11_CIS] = yes; + else if (strcmp (arg, "csm") == 0) /* call supervisor mode */ + pdp11_extension[PDP11_CSM] = yes; + else if (strcmp (arg, "eis") == 0) /* extended instruction set */ + pdp11_extension[PDP11_EIS] = pdp11_extension[PDP11_LEIS] = yes; + else if (strcmp (arg, "fis") == 0 || /* KEV11 floating-point */ + strcmp (arg, "kev11") == 0 || + strcmp (arg, "kev-11") == 0) + pdp11_extension[PDP11_FIS] = yes; + else if (strcmp (arg, "fpp") == 0 || /* FP-11 floating-point */ + strcmp (arg, "fpu") == 0 || + strcmp (arg, "fp11") == 0 || + strcmp (arg, "fp-11") == 0 || + strcmp (arg, "fpj11") == 0 || + strcmp (arg, "fp-j11") == 0 || + strcmp (arg, "fpj-11") == 0) + pdp11_extension[PDP11_FPP] = yes; + else if (strcmp (arg, "limited-eis") == 0) /* limited extended insns */ + { + pdp11_extension[PDP11_LEIS] = yes; + if (!pdp11_extension[PDP11_LEIS]) + pdp11_extension[PDP11_EIS] = 0; + } + else if (strcmp (arg, "mfpt") == 0) /* move from processor type */ + pdp11_extension[PDP11_MFPT] = yes; + else if (strncmp (arg, "mproc", 5) == 0 || /* multiprocessor insns: */ + strncmp (arg, "multiproc", 9) == 0 ) /* TSTSET, WRTLCK */ + pdp11_extension[PDP11_MPROC] = yes; + else if (strcmp (arg, "mxps") == 0) /* move from/to proc status */ + pdp11_extension[PDP11_MXPS] = yes; + else if (strcmp (arg, "pic") == 0) /* position-independent code */ + asm_option[ASM_OPT_PIC] = yes; + else if (strcmp (arg, "spl") == 0) /* set priority level */ + pdp11_extension[PDP11_SPL] = yes; + else if (strcmp (arg, "ucode") == 0 || /* microcode instructions: */ + strcmp (arg, "microcode") == 0) /* LDUB, MED, XFC */ + pdp11_extension[PDP11_UCODE] = yes; + else + return 0; + + return 1; +} + +static int +set_cpu_model (arg) + char *arg; +{ + char buf[4]; + char *model = buf; + + if (arg[0] == 'k') + arg++; + + *model++ = *arg++; + + if (strchr ("abdx", model[-1]) == NULL) + return 0; + + if (model[-1] == 'd') + { + if (arg[0] == 'f' || + arg[0] == 'j') + model[-1] = *arg++; + } + else if (model[-1] == 'x') + { + if (arg[0] == 't') + model[-1] = *arg++; + } + + if (arg[0] == '-') + arg++; + + if (strncmp (arg, "11", 2) != 0) + return 0; + arg += 2; + + if (arg[0] == '-') + { + if (*++arg == 0) + return 0; + } + + /* allow up to two revision letters */ + if (arg[0] != 0) + *model++ = *arg++; + if (arg[0] != 0) + *model++ = *arg++; + + *model++ = 0; + + set_option ("no-extensions"); + + if (strncmp (buf, "a", 1) == 0) /* KA11 (11/15/20) */ + return 1; /* no extensions */ + + else if (strncmp (buf, "b", 1) == 0) /* KB11 (11/45/50/55/70) */ + return set_option ("eis") && + set_option ("spl"); + + else if (strncmp (buf, "da", 2) == 0) /* KD11-A (11/35/40) */ + return set_option ("limited-eis"); + + else if (strncmp (buf, "db", 2) == 0 || /* KD11-B (11/05/10) */ + strncmp (buf, "dd", 2) == 0) /* KD11-D (11/04) */ + return 1; /* no extensions */ + + else if (strncmp (buf, "de", 2) == 0) /* KD11-E (11/34) */ + return set_option ("eis") && + set_option ("mxps"); + + else if (strncmp (buf, "df", 2) == 0 || /* KD11-F (11/03) */ + strncmp (buf, "dh", 2) == 0 || /* KD11-H (11/03) */ + strncmp (buf, "dq", 2) == 0) /* KD11-Q (11/03) */ + return set_option ("limited-eis") && + set_option ("mxps"); + + else if (strncmp (buf, "dk", 2) == 0) /* KD11-K (11/60) */ + return set_option ("eis") && + set_option ("mxps") && + set_option ("ucode"); + + else if (strncmp (buf, "dz", 2) == 0) /* KD11-Z (11/44) */ + return set_option ("csm") && + set_option ("eis") && + set_option ("mfpt") && + set_option ("mxps") && + set_option ("spl"); + + else if (strncmp (buf, "f", 1) == 0) /* F11 (11/23/24) */ + return set_option ("eis") && + set_option ("mfpt") && + set_option ("mxps"); + + else if (strncmp (buf, "j", 1) == 0) /* J11 (11/53/73/83/84/93/94)*/ + return set_option ("csm") && + set_option ("eis") && + set_option ("mfpt") && + set_option ("multiproc") && + set_option ("mxps") && + set_option ("spl"); + + else if (strncmp (buf, "t", 1) == 0) /* T11 (11/21) */ + return set_option ("limited-eis") && + set_option ("mxps"); + + else + return 0; +} + +static int +set_machine_model (arg) + char *arg; +{ + if (strncmp (arg, "pdp-11/", 7) != 0 && + strncmp (arg, "pdp11/", 6) != 0 && + strncmp (arg, "11/", 3) != 0) + return 0; + + if (strncmp (arg, "pdp", 3) == 0) + arg += 3; + if (arg[0] == '-') + arg++; + if (strncmp (arg, "11/", 3) == 0) + arg += 3; + + if (strcmp (arg, "03") == 0) /* 11/03 */ + return set_cpu_model ("kd11f"); /* KD11-F */ + + else if (strcmp (arg, "04") == 0) /* 11/04 */ + return set_cpu_model ("kd11d"); /* KD11-D */ + + else if (strcmp (arg, "05") == 0 || /* 11/05 or 11/10 */ + strcmp (arg, "10") == 0) + return set_cpu_model ("kd11b"); /* KD11-B */ + + else if (strcmp (arg, "15") == 0 || /* 11/15 or 11/20 */ + strcmp (arg, "20") == 0) + return set_cpu_model ("ka11"); /* KA11 */ + + else if (strcmp (arg, "21") == 0) /* 11/21 */ + return set_cpu_model ("t11"); /* T11 */ + + else if (strcmp (arg, "23") == 0 || /* 11/23 or 11/24 */ + strcmp (arg, "24") == 0) + return set_cpu_model ("f11"); /* F11 */ + + else if (strcmp (arg, "34") == 0 || /* 11/34 or 11/34a */ + strcmp (arg, "34a") == 0) + return set_cpu_model ("kd11e"); /* KD11-E */ + + else if (strcmp (arg, "35") == 0 || /* 11/35 or 11/40 */ + strcmp (arg, "40") == 0) + return set_cpu_model ("kd11da"); /* KD11-A */ + + else if (strcmp (arg, "44") == 0) /* 11/44 */ + return set_cpu_model ("kd11dz"); /* KD11-Z */ + + else if (strcmp (arg, "45") == 0 || /* 11/45/50/55/70 */ + strcmp (arg, "50") == 0 || + strcmp (arg, "55") == 0 || + strcmp (arg, "70") == 0) + return set_cpu_model ("kb11"); /* KB11 */ + + else if (strcmp (arg, "60") == 0) /* 11/60 */ + return set_cpu_model ("kd11k"); /* KD11-K */ /* FPP? */ + + else if (strcmp (arg, "53") == 0 || /* 11/53/73/83/84/93/94 */ + strcmp (arg, "73") == 0 || + strcmp (arg, "83") == 0 || + strcmp (arg, "84") == 0 || + strcmp (arg, "93") == 0 || + strcmp (arg, "94") == 0) + return set_cpu_model ("j11") && /* J11 */ + set_option ("fpp"); /* All J11 machines come */ + /* with FPP installed. */ + else + return 0; +} + +CONST char *md_shortopts = "m:"; + +struct option md_longopts[] = +{ +#define OPTION_CPU 257 + { "cpu", required_argument, NULL, OPTION_CPU }, +#define OPTION_MACHINE 258 + { "machine", required_argument, NULL, OPTION_MACHINE }, +#define OPTION_PIC 259 + { "pic", no_argument, NULL, OPTION_PIC }, + { NULL, no_argument, NULL, 0 } +}; + +size_t md_longopts_size = sizeof(md_longopts); + +/* + * md_parse_option + * Invocation line includes a switch not recognized by the base assembler. + * See if it's a processor-specific option. + */ + +int +md_parse_option (c, arg) + int c; + char *arg; +{ + init_defaults (); + + switch (c) + { + case 'm': + if (set_option (arg)) + return 1; + if (set_cpu_model (arg)) + return 1; + if (set_machine_model (arg)) + return 1; + break; + + case OPTION_CPU: + if (set_cpu_model (arg)) + return 1; + break; + + case OPTION_MACHINE: + if (set_machine_model (arg)) + return 1; + break; + + case OPTION_PIC: + if (set_option ("pic")) + return 1; + break; + + default: + break; + } + + as_bad ("unrecognized option `-%c%s'", c, arg ? arg : ""); + + return 0; +} + +/* +One possible way of parsing options. + +enum +{ + OPTION_CSM, + OPTION_CIS, + ... +}; + +struct +{ + CONST char *pattern; + int opt; + CONST char *description; +} options; + +static struct options extension_opts[] = +{ + { "Ncsm", OPTION_CSM, + "allow (disallow) CSM instruction" }, + { "Ncis", OPTION_CIS, + "allow (disallow) commersial instruction set" }, + { "Neis", OPTION_EIS, + "allow (disallow) extended instruction set" }, + ... + { "all-extensions", OPTION_ALL_EXTENSIONS, + "allow all instruction set extensions\n\ + (this is the default)" }, + { "no-extensions", OPTION_NO_EXTENSIONS, + "disallow all instruction set extensions" }, + { "pic", OPTION_PIC, + "position-independent code" }, +}; + +static struct options cpu_opts[] = +{ + { "Ka_11_*", OPTION_KA11, "KA11 CPU. ..." }, + { "Kb_11_*", OPTION_KB11, "KB11 CPU. ..." }, + { "Kd_11_a*", OPTION_KD11A, "KD11-A CPU. ..." }, + { "Kd_11_b*", OPTION_KD11B, "KD11-B CPU. ..." }, + { "Kd_11_d*", OPTION_KD11D, "KD11-D CPU. ..." }, + { "Kd_11_e*", OPTION_KD11E, "KD11-E CPU. ..." }, + { "Kd_11_f*", OPTION_KD11F, "KD11-F CPU. ..." }, + { "Kd_11_h*", OPTION_KD11H, "KD11-H CPU. ..." }, + { "Kd_11_q*", OPTION_KD11Q, "KD11-Q CPU. ..." }, + { "Kd_11_z*", OPTION_KD11Z, "KD11-Z CPU. ..." }, + { "Df_11_*", OPTION_F11, "F11 CPU. ..." }, + { "Dj_11_*", OPTION_J11, "J11 CPU. ..." }, + { "Dt_11_*", OPTION_T11, "T11 CPU. ..." }, +}; + +static struct options model_opts[] = +{ + { "P03", OPTION_PDP11_03, "same as ..." }, + { "P04", OPTION_PDP11_04, "same as ..." }, + { "P05", OPTION_PDP11_05, "same as ..." }, + { "P10", OPTION_PDP11_10, "same as ..." }, + { "P15", OPTION_PDP11_15, "same as ..." }, + { "P20", OPTION_PDP11_20, "same as ..." }, + { "P21", OPTION_PDP11_21, "same as ..." }, + { "P24", OPTION_PDP11_24, "same as ..." }, + { "P34", OPTION_PDP11_34, "same as ..." }, + { "P34a", OPTION_PDP11_34A, "same as ..." }, + { "P40", OPTION_PDP11_40, "same as ..." }, + { "P44", OPTION_PDP11_44, "same as ..." }, + { "P45", OPTION_PDP11_45, "same as ..." }, + { "P50", OPTION_PDP11_50, "same as ..." }, + { "P53", OPTION_PDP11_53, "same as ..." }, + { "P55", OPTION_PDP11_55, "same as ..." }, + { "P60", OPTION_PDP11_60, "same as ..." }, + { "P70", OPTION_PDP11_70, "same as ..." }, + { "P73", OPTION_PDP11_73, "same as ..." }, + { "P83", OPTION_PDP11_83, "same as ..." }, + { "P84", OPTION_PDP11_84, "same as ..." }, + { "P93", OPTION_PDP11_93, "same as ..." }, + { "P94", OPTION_PDP11_94, "same as ..." }, +}; + +struct +{ + CONST char *title; + struct options *opts; + int num; +} all_opts[] = +{ + { "PDP-11 instruction set extentions", + extension_opts, + sizeof extension_opts / sizeof extension_opts[0] }, + { "PDP-11 CPU model options", + cpu_opts, + sizeof cpu_opts / sizeof cpu_opts[0] }, + { "PDP-11 machine model options", + model_opts, + sizeof model_opts / sizeof model_opts[0] }, +}; + +int +parse_match (char *arg, char *pattern) +{ + int yes = 1; + + while (*pattern) + { + switch (*pattern++) + { + case 'N': + if (strncmp (arg, "no-") == 0) + { + yes = 0; + arg += 3; + } + break; + + case 'K': + if (arg[0] == 'k') + arg++; + break; + + case 'D': + if (strncmp (arg, "kd", 2) == 0) + arg +=2; + break; + + case 'P': + if (strncmp (arg, "pdp-11/", 7) == 0) + arg += 7; + else if (strncmp (arg, "pdp11/", 6) == 0) + arg += 6; + else if (strncmp (arg, "11/", 3) == 0) + arg += 3; + break; + + case '_': + if (arg[0] == "-") + { + if (*++arg == 0) + return 0; + } + break; + + case '*': + return 1; + + default: + if (*arg++ != pattern[-1]) + return 0; + } + } + + return arg[0] == 0; +} + +int +fprint_opt (stream, pattern) + FILE *stream; + CONST char *pattern; +{ + int n; + + while (*pattern) + { + switch (*pattern++) + { + case 'N': + n += fprintf (stream, "(no-)"); + break; + + case 'K': + n += fprintf (stream, "k"); + break; + + case 'P': + n += fprintf (stream "11/"); + break; + + case 'D': + case '_': + case '*': + break; + + default: + fputc (pattern[-1], stream); + n++; + } + } + + return n; +} + +int +parse_option (char *arg) +{ + int i, j; + + for (i = 0; i < sizeof all_opts / sizeof all_opts[0]; i++) + { + for (j = 0; j < all_opts[i].num; j++) + { + if (parse_match (arg, all_opts[i].opts[j].pattern)) + { + set_option (all_opts[i].opts[j].opt); + return 1; + } + } + } + + return 0; +} + +static void +fprint_space (stream, n) + FILE *stream; + int n; +{ + while (n--) + fputc (' ', stream); +} + +void +md_show_usage (stream) + FILE *stream; +{ + int i, j, n; + + for (i = 0; i < sizeof all_opts / sizeof all_opts[0]; i++) + { + fprintf (stream "\n%s:\n\n", all_opts[i].title); + + for (j = 0; j < all_opts[i].num; j++) + { + fprintf (stream, "-m"); + n = fprintf_opt (stream, all_opts[i].opts[j].pattern); + fprint_space (stream, 22 - n); + fprintf (stream, "%s\n", all_opts[i].opts[j].description); + } + } +} +*/ + +void +md_show_usage (stream) + FILE *stream; +{ + fprintf (stream, "\ +\n\ +PDP-11 instruction set extentions:\n\ +\n\ +-m(no-)cis allow (disallow) commersial instruction set\n\ +-m(no-)csm allow (disallow) CSM instruction\n\ +-m(no-)eis allow (disallow) full extended instruction set\n\ +-m(no-)fis allow (disallow) KEV11 floating-point instructions\n\ +-m(no-)fpp allow (disallow) FP-11 floating-point instructions\n\ +-m(no-)fpu allow (disallow) FP-11 floating-point instructions\n\ +-m(no-)limited-eis allow (disallow) limited extended instruction set\n\ +-m(no-)mfpt allow (disallow) processor type instruction\n\ +-m(no-)multiproc allow (disallow) multiprocessor instructions\n\ +-m(no-)mxps allow (disallow) processor status instructions\n\ +-m(no-)spl allow (disallow) SPL instruction\n\ +-m(no-)ucode allow (disallow) microcode instructions\n\ +-mall-extensions allow all instruction set extensions\n\ + (this is the default)\n\ +-mno-extentions disallow all instruction set extensions\n\ +-pic generate position-indepenent code\n\ +\n\ +PDP-11 CPU model options:\n\ +\n\ +-mka11* KA11 CPU. base line instruction set only\n\ +-mkb11* KB11 CPU. enable full EIS and SPL\n\ +-mkd11a* KD11-A CPU. enable limited EIS\n\ +-mkd11b* KD11-B CPU. base line instruction set only\n\ +-mkd11d* KD11-D CPU. base line instruction set only\n\ +-mkd11e* KD11-E CPU. enable full EIS, MTPS, and MFPS\n\ +-mkd11f* KD11-F CPU. enable limited EIS, MTPS, and MFPS\n\ +-mkd11h* KD11-H CPU. enable limited EIS, MTPS, and MFPS\n\ +-mkd11q* KD11-Q CPU. enable limited EIS, MTPS, and MFPS\n\ +-mkd11k* KD11-K CPU. enable full EIS, MTPS, MFPS, LDUB, MED,\n\ + XFC, and MFPT\n\ +-mkd11z* KD11-Z CPU. enable full EIS, MTPS, MFPS, MFPT, SPL,\n\ + and CSM\n\ +-mf11* F11 CPU. enable full EIS, MFPS, MTPS, and MFPT\n\ +-mj11* J11 CPU. enable full EIS, MTPS, MFPS, MFPT, SPL,\n\ + CSM, TSTSET, and WRTLCK\n\ +-mt11* T11 CPU. enable limited EIS, MTPS, and MFPS\n\ +\n\ +PDP-11 machine model options:\n\ +\n\ +-m11/03 same as -mkd11f\n\ +-m11/04 same as -mkd11d\n\ +-m11/05 same as -mkd11b\n\ +-m11/10 same as -mkd11b\n\ +-m11/15 same as -mka11\n\ +-m11/20 same as -mka11\n\ +-m11/21 same as -mt11\n\ +-m11/23 same as -mf11\n\ +-m11/24 same as -mf11\n\ +-m11/34 same as -mkd11e\n\ +-m11/34a same as -mkd11e -mfpp\n\ +-m11/35 same as -mkd11a\n\ +-m11/40 same as -mkd11a\n\ +-m11/44 same as -mkd11z\n\ +-m11/45 same as -mkb11\n\ +-m11/50 same as -mkb11\n\ +-m11/53 same as -mj11\n\ +-m11/55 same as -mkb11\n\ +-m11/60 same as -mkd11k\n\ +-m11/70 same as -mkb11\n\ +-m11/73 same as -mj11\n\ +-m11/83 same as -mj11\n\ +-m11/84 same as -mj11\n\ +-m11/93 same as -mj11\n\ +-m11/94 same as -mj11\n\ +"); +} + +symbolS * +md_undefined_symbol (name) + char *name ATTRIBUTE_UNUSED; +{ + return 0; +} + +valueT +md_section_align (segment, size) + segT segment ATTRIBUTE_UNUSED; + valueT size; +{ + return (size + 1) & ~1; +} + +long +md_pcrel_from (fixP) + fixS *fixP; +{ + return fixP->fx_frag->fr_address + fixP->fx_where + fixP->fx_size; +} + +/* Translate internal representation of relocation info to BFD target + format. */ +arelent * +tc_gen_reloc (section, fixp) + asection *section ATTRIBUTE_UNUSED; + fixS *fixp; +{ + arelent *reloc; + bfd_reloc_code_real_type code; + + reloc = (arelent *) xmalloc (sizeof (arelent)); + + reloc->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *)); + *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); + reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; + + /* this is taken account for in md_apply_fix() */ + reloc->addend = -symbol_get_bfdsym (fixp->fx_addsy)->section->vma; + + switch (fixp->fx_r_type) + { + case BFD_RELOC_16: + if (fixp->fx_pcrel) + code = BFD_RELOC_16_PCREL; + else + code = BFD_RELOC_16; + break; + + case BFD_RELOC_16_PCREL: + code = BFD_RELOC_16_PCREL; + break; + + default: + BAD_CASE (fixp->fx_r_type); + return NULL; + } + + reloc->howto = bfd_reloc_type_lookup (stdoutput, code); + + if (reloc->howto == NULL) + { + as_bad_where (fixp->fx_file, fixp->fx_line, + "Can not represent %s relocation in this object file format", + bfd_get_reloc_code_name (code)); + return NULL; + } + + return reloc; +} + +void +pseudo_bss (c) + int c ATTRIBUTE_UNUSED; +{ + int temp; + + temp = get_absolute_expression (); + subseg_set (bss_section, temp); + demand_empty_rest_of_line (); +} + +void +pseudo_even (c) + int c ATTRIBUTE_UNUSED; +{ + int alignment = 1; /* 2^1 */ + frag_align (alignment, 0, 1); + record_alignment (now_seg, alignment); +} + +/* end of tc-pdp11.c */ diff --git a/gas/config/tc-pdp11.h b/gas/config/tc-pdp11.h new file mode 100644 index 0000000..eb2e360 --- /dev/null +++ b/gas/config/tc-pdp11.h @@ -0,0 +1,33 @@ +/* tc-pdp11.h -- Header file for tc-pdp11.c. + Copyright (C) 2001 Free Software Foundation, Inc. + + This file is part of GAS, the GNU Assembler. + + GAS is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + GAS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GAS; see the file COPYING. If not, write to the Free + Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ + +#define TC_PDP11 1 + +#define TARGET_FORMAT "a.out-pdp11" +#define TARGET_ARCH bfd_arch_pdp11 +#define TARGET_BYTES_BIG_ENDIAN 0 + +#define LEX_TILDE (LEX_BEGIN_NAME | LEX_NAME) + +#define md_operand(x) + +long md_chars_to_number PARAMS ((unsigned char *, int)); + +/* end of tc-pdp11.h */ diff --git a/gas/configure b/gas/configure index a4c792b..85504cc 100755 --- a/gas/configure +++ b/gas/configure @@ -55,6 +55,7 @@ program_suffix=NONE program_transform_name=s,x,x, silent= site= +sitefile= srcdir= target=NONE verbose= @@ -169,6 +170,7 @@ Configuration: --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages + --site-file=FILE use FILE as the site file --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX @@ -339,6 +341,11 @@ EOF -site=* | --site=* | --sit=*) site="$ac_optarg" ;; + -site-file | --site-file | --site-fil | --site-fi | --site-f) + ac_prev=sitefile ;; + -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*) + sitefile="$ac_optarg" ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) @@ -504,12 +511,16 @@ fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" +if test -z "$sitefile"; then + if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi fi +else + CONFIG_SITE="$sitefile" fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then @@ -548,12 +559,12 @@ else fi echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 -echo "configure:552: checking for Cygwin environment" >&5 +echo "configure:563: checking for Cygwin environment" >&5 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 557 "configure" +#line 568 "configure" #include "confdefs.h" int main() { @@ -564,7 +575,7 @@ int main() { return __CYGWIN__; ; return 0; } EOF -if { (eval echo configure:568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yes else @@ -581,19 +592,19 @@ 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 +echo "configure:596: checking for mingw32 environment" >&5 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 590 "configure" +#line 601 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } EOF -if { (eval echo configure:597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_mingw32=yes else @@ -658,7 +669,7 @@ 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 +echo "configure:673: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -679,7 +690,7 @@ 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 +echo "configure:694: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -697,7 +708,7 @@ 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 +echo "configure:712: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -721,7 +732,7 @@ test "$host_alias" != "$target_alias" && echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 -echo "configure:725: checking for strerror in -lcposix" >&5 +echo "configure:736: 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 @@ -729,7 +740,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcposix $LIBS" cat > conftest.$ac_ext <<EOF -#line 733 "configure" +#line 744 "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 @@ -740,7 +751,7 @@ 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 +if { (eval echo configure:755: \"$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 @@ -775,7 +786,7 @@ fi # 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:779: checking for a BSD compatible install" >&5 +echo "configure:790: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -828,7 +839,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:832: checking whether build environment is sane" >&5 +echo "configure:843: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -885,7 +896,7 @@ test "$program_suffix" != NONE && test "$program_transform_name" = "" && program_transform_name="s,x,x," echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:889: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:900: 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 @@ -931,7 +942,7 @@ EOF missing_dir=`cd $ac_aux_dir && pwd` echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:935: checking for working aclocal" >&5 +echo "configure:946: checking for working aclocal" >&5 # 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. @@ -944,7 +955,7 @@ else fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:948: checking for working autoconf" >&5 +echo "configure:959: checking for working autoconf" >&5 # 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. @@ -957,7 +968,7 @@ else fi echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:961: checking for working automake" >&5 +echo "configure:972: checking for working automake" >&5 # 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. @@ -970,7 +981,7 @@ else fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:974: checking for working autoheader" >&5 +echo "configure:985: checking for working autoheader" >&5 # 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. @@ -983,7 +994,7 @@ else fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:987: checking for working makeinfo" >&5 +echo "configure:998: checking for working makeinfo" >&5 # 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. @@ -1069,7 +1080,7 @@ 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:1073: checking for $ac_word" >&5 +echo "configure:1084: 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 @@ -1099,7 +1110,7 @@ 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:1103: checking for $ac_word" >&5 +echo "configure:1114: 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 @@ -1150,7 +1161,7 @@ fi # 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:1154: checking for $ac_word" >&5 +echo "configure:1165: 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 @@ -1182,7 +1193,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1186: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1197: 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. @@ -1193,12 +1204,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 1197 "configure" +#line 1208 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:1202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1213: \"$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 @@ -1224,12 +1235,12 @@ 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:1228: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1239: 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:1233: checking whether we are using GNU C" >&5 +echo "configure:1244: 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 @@ -1238,7 +1249,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1253: \"$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 @@ -1257,7 +1268,7 @@ 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:1261: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1272: 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 @@ -1300,7 +1311,7 @@ ac_prog=ld if test "$ac_cv_prog_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:1304: checking for ld used by GCC" >&5 +echo "configure:1315: checking for ld used by GCC" >&5 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -1330,10 +1341,10 @@ echo "configure:1304: 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:1334: checking for GNU ld" >&5 +echo "configure:1345: checking for GNU ld" >&5 else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 -echo "configure:1337: checking for non-GNU ld" >&5 +echo "configure:1348: checking for non-GNU ld" >&5 fi if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1368,7 +1379,7 @@ else 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:1372: checking if the linker ($LD) is GNU ld" >&5 +echo "configure:1383: checking if the linker ($LD) is GNU ld" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1385,7 +1396,7 @@ with_gnu_ld=$ac_cv_prog_gnu_ld echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 -echo "configure:1389: checking for $LD option to reload object files" >&5 +echo "configure:1400: 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 else @@ -1397,7 +1408,7 @@ 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:1401: checking for BSD-compatible nm" >&5 +echo "configure:1412: checking for BSD-compatible nm" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1435,7 +1446,7 @@ NM="$ac_cv_path_NM" echo "$ac_t""$NM" 1>&6 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1439: checking whether ln -s works" >&5 +echo "configure:1450: 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 @@ -1456,7 +1467,7 @@ else fi echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 -echo "configure:1460: checking how to recognise dependant libraries" >&5 +echo "configure:1471: 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 else @@ -1599,13 +1610,13 @@ 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:1603: checking for object suffix" >&5 +echo "configure:1614: 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:1609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; @@ -1625,7 +1636,7 @@ ac_objext=$ac_cv_objext echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:1629: checking for executable suffix" >&5 +echo "configure:1640: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1635,10 +1646,10 @@ else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:1639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in - *.c | *.o | *.obj) ;; + *.c | *.o | *.obj | *.ilk | *.pdb) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done @@ -1668,7 +1679,7 @@ 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:1672: checking for ${ac_tool_prefix}file" >&5 +echo "configure:1683: 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 else @@ -1730,7 +1741,7 @@ 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:1734: checking for file" >&5 +echo "configure:1745: checking for file" >&5 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1801,7 +1812,7 @@ esac # 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:1805: checking for $ac_word" >&5 +echo "configure:1816: 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 @@ -1833,7 +1844,7 @@ if test -n "$ac_tool_prefix"; then # 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:1837: checking for $ac_word" >&5 +echo "configure:1848: 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 @@ -1868,7 +1879,7 @@ fi # 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:1872: checking for $ac_word" >&5 +echo "configure:1883: 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 @@ -1900,7 +1911,7 @@ if test -n "$ac_tool_prefix"; then # 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:1904: checking for $ac_word" >&5 +echo "configure:1915: 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 @@ -1967,8 +1978,8 @@ 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 1971 "configure"' > conftest.$ac_ext - if { (eval echo configure:1972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + echo '#line 1982 "configure"' > conftest.$ac_ext + if { (eval echo configure:1983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case "`/usr/bin/file conftest.o`" in *32-bit*) LD="${LD-ld} -32" @@ -1989,7 +2000,7 @@ case "$host" in SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 -echo "configure:1993: checking whether the C compiler needs -belf" >&5 +echo "configure:2004: 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 else @@ -2002,14 +2013,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <<EOF -#line 2006 "configure" +#line 2017 "configure" #include "confdefs.h" int main() { ; return 0; } EOF -if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* lt_cv_cc_needs_belf=yes else @@ -2520,10 +2531,10 @@ EOF sh-*-linux*) fmt=elf em=linux ;; sh-*-elf*) fmt=elf ;; - sh-*-coff*) fmt=coff ;; + sh-*-coff*) fmt=coff bfd_gas=yes;; sh-*-pe*) fmt=coff em=pe bfd_gas=yes;; sh-*-rtemself*) fmt=elf ;; - sh-*-rtems*) fmt=coff ;; + sh-*-rtems*) fmt=coff bfd_gas=yes;; ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; @@ -2617,6 +2628,7 @@ EOF ia64*-*) bfd_gas=yes ;; mips-*) bfd_gas=yes ;; ns32k-*) bfd_gas=yes ;; + pdp11-*) bfd_gas=yes ;; ppc-*) bfd_gas=yes ;; sparc-*) bfd_gas=yes ;; strongarm-*) bfd_gas=yes ;; @@ -2795,6 +2807,7 @@ fi # is emulated. case ${target_cpu} in vax | tahoe ) atof=${target_cpu} ;; + pdp11) atof=vax ;; *) atof=ieee ;; esac @@ -3083,7 +3096,7 @@ EOF # 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:3087: checking for $ac_word" >&5 +echo "configure:3100: 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 @@ -3113,7 +3126,7 @@ 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:3117: checking for $ac_word" >&5 +echo "configure:3130: 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 @@ -3164,7 +3177,7 @@ fi # 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:3168: checking for $ac_word" >&5 +echo "configure:3181: 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 @@ -3196,7 +3209,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:3200: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:3213: 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. @@ -3207,12 +3220,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 3211 "configure" +#line 3224 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:3216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3229: \"$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 @@ -3238,12 +3251,12 @@ 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:3242: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:3255: 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:3247: checking whether we are using GNU C" >&5 +echo "configure:3260: 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 @@ -3252,7 +3265,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3269: \"$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 @@ -3271,7 +3284,7 @@ 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:3275: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:3288: 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 @@ -3308,7 +3321,7 @@ 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3312: checking for $ac_word" >&5 +echo "configure:3325: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3339,7 +3352,7 @@ done test -n "$YACC" || YACC="yacc" echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:3343: checking how to run the C preprocessor" >&5 +echo "configure:3356: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -3354,13 +3367,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF -#line 3358 "configure" +#line 3371 "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:3364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3377: \"$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 : @@ -3371,13 +3384,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF -#line 3375 "configure" +#line 3388 "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:3381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3394: \"$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 : @@ -3388,13 +3401,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext <<EOF -#line 3392 "configure" +#line 3405 "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:3398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3411: \"$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 : @@ -3424,7 +3437,7 @@ 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3428: checking for $ac_word" >&5 +echo "configure:3441: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3457,7 +3470,7 @@ 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:3461: checking for $ac_word" >&5 +echo "configure:3474: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3491,7 +3504,7 @@ then *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:3495: checking for yywrap in -l$ac_lib" >&5 +echo "configure:3508: 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 @@ -3499,7 +3512,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <<EOF -#line 3503 "configure" +#line 3516 "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 @@ -3510,7 +3523,7 @@ int main() { yywrap() ; return 0; } EOF -if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3527: \"$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 @@ -3533,7 +3546,7 @@ fi fi echo $ac_n "checking lex output file root""... $ac_c" 1>&6 -echo "configure:3537: checking lex output file root" >&5 +echo "configure:3550: 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 else @@ -3554,7 +3567,7 @@ echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 -echo "configure:3558: checking whether yytext is a pointer" >&5 +echo "configure:3571: 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 else @@ -3566,14 +3579,14 @@ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c ac_save_LIBS="$LIBS" LIBS="$LIBS $LEXLIB" cat > conftest.$ac_ext <<EOF -#line 3570 "configure" +#line 3583 "configure" #include "confdefs.h" `cat $LEX_OUTPUT_ROOT.c` int main() { ; return 0; } EOF -if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_prog_lex_yytext_pointer=yes else @@ -3599,7 +3612,7 @@ 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:3603: checking for $ac_word" >&5 +echo "configure:3616: 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 @@ -3627,12 +3640,12 @@ else fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:3631: checking for ANSI C header files" >&5 +echo "configure:3644: 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 else cat > conftest.$ac_ext <<EOF -#line 3636 "configure" +#line 3649 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -3640,7 +3653,7 @@ else #include <float.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3657: \"$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* @@ -3657,7 +3670,7 @@ rm -f conftest* 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 3661 "configure" +#line 3674 "configure" #include "confdefs.h" #include <string.h> EOF @@ -3675,7 +3688,7 @@ 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 3679 "configure" +#line 3692 "configure" #include "confdefs.h" #include <stdlib.h> EOF @@ -3696,7 +3709,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <<EOF -#line 3700 "configure" +#line 3713 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -3707,7 +3720,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:3711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -3731,12 +3744,12 @@ EOF fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3735: checking for working const" >&5 +echo "configure:3748: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3740 "configure" +#line 3753 "configure" #include "confdefs.h" int main() { @@ -3785,7 +3798,7 @@ ccp = (char const *const *) p; ; return 0; } EOF -if { (eval echo configure:3789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -3806,21 +3819,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:3810: checking for inline" >&5 +echo "configure:3823: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <<EOF -#line 3817 "configure" +#line 3830 "configure" #include "confdefs.h" int main() { } $ac_kw foo() { ; return 0; } EOF -if { (eval echo configure:3824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -3846,12 +3859,12 @@ EOF esac echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:3850: checking for off_t" >&5 +echo "configure:3863: 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 3855 "configure" +#line 3868 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -3879,12 +3892,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:3883: checking for size_t" >&5 +echo "configure:3896: 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 else cat > conftest.$ac_ext <<EOF -#line 3888 "configure" +#line 3901 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -3914,19 +3927,19 @@ 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:3918: checking for working alloca.h" >&5 +echo "configure:3931: 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 else cat > conftest.$ac_ext <<EOF -#line 3923 "configure" +#line 3936 "configure" #include "confdefs.h" #include <alloca.h> int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3943: \"$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 @@ -3947,12 +3960,12 @@ EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:3951: checking for alloca" >&5 +echo "configure:3964: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3956 "configure" +#line 3969 "configure" #include "confdefs.h" #ifdef __GNUC__ @@ -3980,7 +3993,7 @@ int main() { char *p = (char *) alloca(1); ; return 0; } EOF -if { (eval echo configure:3984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -4012,12 +4025,12 @@ EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:4016: checking whether alloca needs Cray hooks" >&5 +echo "configure:4029: 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 else cat > conftest.$ac_ext <<EOF -#line 4021 "configure" +#line 4034 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -4042,12 +4055,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&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:4046: checking for $ac_func" >&5 +echo "configure:4059: 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 4051 "configure" +#line 4064 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4070,7 +4083,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4087: \"$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 @@ -4097,7 +4110,7 @@ done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:4101: checking stack direction for C alloca" >&5 +echo "configure:4114: 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 else @@ -4105,7 +4118,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <<EOF -#line 4109 "configure" +#line 4122 "configure" #include "confdefs.h" find_stack_direction () { @@ -4124,7 +4137,7 @@ main () exit (find_stack_direction() < 0); } EOF -if { (eval echo configure:4128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@ -4149,17 +4162,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4153: checking for $ac_hdr" >&5 +echo "configure:4166: 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 4158 "configure" +#line 4171 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4176: \"$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* @@ -4188,12 +4201,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4192: checking for $ac_func" >&5 +echo "configure:4205: 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 4197 "configure" +#line 4210 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4216,7 +4229,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4233: \"$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 @@ -4241,7 +4254,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:4245: checking for working mmap" >&5 +echo "configure:4258: 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 else @@ -4249,7 +4262,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <<EOF -#line 4253 "configure" +#line 4266 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. @@ -4389,7 +4402,7 @@ main() } EOF -if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -4417,17 +4430,17 @@ 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:4421: checking for $ac_hdr" >&5 +echo "configure:4434: 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 4426 "configure" +#line 4439 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4444: \"$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* @@ -4457,12 +4470,12 @@ done __argz_count __argz_stringify __argz_next do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4461: checking for $ac_func" >&5 +echo "configure:4474: 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 4466 "configure" +#line 4479 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4485,7 +4498,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4502: \"$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 @@ -4514,12 +4527,12 @@ done for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4518: checking for $ac_func" >&5 +echo "configure:4531: 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 4523 "configure" +#line 4536 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4542,7 +4555,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4559: \"$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 @@ -4576,19 +4589,19 @@ EOF if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:4580: checking for LC_MESSAGES" >&5 +echo "configure:4593: 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 else cat > conftest.$ac_ext <<EOF -#line 4585 "configure" +#line 4598 "configure" #include "confdefs.h" #include <locale.h> int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_val_LC_MESSAGES=yes else @@ -4609,7 +4622,7 @@ EOF fi fi echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 -echo "configure:4613: checking whether NLS is requested" >&5 +echo "configure:4626: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" @@ -4629,7 +4642,7 @@ fi EOF echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 -echo "configure:4633: checking whether included gettext is requested" >&5 +echo "configure:4646: checking whether included gettext is requested" >&5 # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" @@ -4648,17 +4661,17 @@ fi ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 -echo "configure:4652: checking for libintl.h" >&5 +echo "configure:4665: 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 else cat > conftest.$ac_ext <<EOF -#line 4657 "configure" +#line 4670 "configure" #include "confdefs.h" #include <libintl.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4675: \"$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* @@ -4675,19 +4688,19 @@ 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:4679: checking for gettext in libc" >&5 +echo "configure:4692: 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 else cat > conftest.$ac_ext <<EOF -#line 4684 "configure" +#line 4697 "configure" #include "confdefs.h" #include <libintl.h> int main() { return (int) gettext ("") ; return 0; } EOF -if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libc=yes else @@ -4703,7 +4716,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 if test "$gt_cv_func_gettext_libc" != "yes"; then echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 -echo "configure:4707: checking for bindtextdomain in -lintl" >&5 +echo "configure:4720: 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 @@ -4711,7 +4724,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <<EOF -#line 4715 "configure" +#line 4728 "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 @@ -4722,7 +4735,7 @@ int main() { bindtextdomain() ; return 0; } EOF -if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4739: \"$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 @@ -4738,19 +4751,19 @@ 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:4742: checking for gettext in libintl" >&5 +echo "configure:4755: 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 4747 "configure" +#line 4760 "configure" #include "confdefs.h" int main() { return (int) gettext ("") ; return 0; } EOF -if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libintl=yes else @@ -4778,7 +4791,7 @@ 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:4782: checking for $ac_word" >&5 +echo "configure:4795: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4812,12 +4825,12 @@ fi for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4816: checking for $ac_func" >&5 +echo "configure:4829: 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 4821 "configure" +#line 4834 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4840,7 +4853,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4857: \"$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 @@ -4867,7 +4880,7 @@ 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:4871: checking for $ac_word" >&5 +echo "configure:4884: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4903,7 +4916,7 @@ 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:4907: checking for $ac_word" >&5 +echo "configure:4920: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4935,7 +4948,7 @@ else fi cat > conftest.$ac_ext <<EOF -#line 4939 "configure" +#line 4952 "configure" #include "confdefs.h" int main() { @@ -4943,7 +4956,7 @@ extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } EOF -if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share @@ -4975,7 +4988,7 @@ fi # 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:4979: checking for $ac_word" >&5 +echo "configure:4992: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5009,7 +5022,7 @@ 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:5013: checking for $ac_word" >&5 +echo "configure:5026: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5045,7 +5058,7 @@ 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:5049: checking for $ac_word" >&5 +echo "configure:5062: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5135,7 +5148,7 @@ fi LINGUAS= else echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 -echo "configure:5139: checking for catalogs to be installed" >&5 +echo "configure:5152: checking for catalogs to be installed" >&5 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in @@ -5163,17 +5176,17 @@ echo "configure:5139: checking for catalogs to be installed" >&5 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:5167: checking for linux/version.h" >&5 +echo "configure:5180: 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 5172 "configure" +#line 5185 "configure" #include "confdefs.h" #include <linux/version.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5190: \"$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* @@ -5236,7 +5249,7 @@ fi echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:5240: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:5253: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -5261,7 +5274,7 @@ fi echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:5265: checking for executable suffix" >&5 +echo "configure:5278: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5271,10 +5284,10 @@ else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:5288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in - *.c | *.o | *.obj) ;; + *.c | *.o | *.obj | *.ilk | *.pdb) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done @@ -5296,17 +5309,17 @@ for ac_hdr in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h e do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5300: checking for $ac_hdr" >&5 +echo "configure:5313: 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 5305 "configure" +#line 5318 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5323: \"$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* @@ -5336,7 +5349,7 @@ 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:5340: checking whether compiling a cross-assembler" >&5 +echo "configure:5353: checking whether compiling a cross-assembler" >&5 if test "${host}" = "${target}"; then cross_gas=no else @@ -5351,19 +5364,19 @@ echo "$ac_t""$cross_gas" 1>&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:5355: checking for working alloca.h" >&5 +echo "configure:5368: 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 else cat > conftest.$ac_ext <<EOF -#line 5360 "configure" +#line 5373 "configure" #include "confdefs.h" #include <alloca.h> int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5380: \"$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 @@ -5384,12 +5397,12 @@ EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:5388: checking for alloca" >&5 +echo "configure:5401: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5393 "configure" +#line 5406 "configure" #include "confdefs.h" #ifdef __GNUC__ @@ -5417,7 +5430,7 @@ int main() { char *p = (char *) alloca(1); ; return 0; } EOF -if { (eval echo configure:5421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -5449,12 +5462,12 @@ EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:5453: checking whether alloca needs Cray hooks" >&5 +echo "configure:5466: 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 else cat > conftest.$ac_ext <<EOF -#line 5458 "configure" +#line 5471 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -5479,12 +5492,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&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:5483: checking for $ac_func" >&5 +echo "configure:5496: 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 5488 "configure" +#line 5501 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5507,7 +5520,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5524: \"$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 @@ -5534,7 +5547,7 @@ done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:5538: checking stack direction for C alloca" >&5 +echo "configure:5551: 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 else @@ -5542,7 +5555,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <<EOF -#line 5546 "configure" +#line 5559 "configure" #include "confdefs.h" find_stack_direction () { @@ -5561,7 +5574,7 @@ main () exit (find_stack_direction() < 0); } EOF -if { (eval echo configure:5565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@ -5583,21 +5596,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:5587: checking for inline" >&5 +echo "configure:5600: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <<EOF -#line 5594 "configure" +#line 5607 "configure" #include "confdefs.h" int main() { } $ac_kw foo() { ; return 0; } EOF -if { (eval echo configure:5601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -5627,12 +5640,12 @@ esac for ac_func in unlink remove do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5631: checking for $ac_func" >&5 +echo "configure:5644: 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 5636 "configure" +#line 5649 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5655,7 +5668,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5672: \"$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 @@ -5684,12 +5697,12 @@ done for ac_func in sbrk do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5688: checking for $ac_func" >&5 +echo "configure:5701: 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 5693 "configure" +#line 5706 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5712,7 +5725,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5729: \"$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 @@ -5747,7 +5760,7 @@ case "$host" in ;; *-ncr-sysv4.3*) echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 -echo "configure:5751: checking for _mwvalidcheckl in -lmw" >&5 +echo "configure:5764: 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 @@ -5755,7 +5768,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lmw $LIBS" cat > conftest.$ac_ext <<EOF -#line 5759 "configure" +#line 5772 "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 @@ -5766,7 +5779,7 @@ int main() { _mwvalidcheckl() ; return 0; } EOF -if { (eval echo configure:5770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5783: \"$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 @@ -5787,7 +5800,7 @@ else fi echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:5791: checking for main in -lm" >&5 +echo "configure:5804: 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 @@ -5795,14 +5808,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <<EOF -#line 5799 "configure" +#line 5812 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5819: \"$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 @@ -5825,7 +5838,7 @@ fi ;; *) echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:5829: checking for main in -lm" >&5 +echo "configure:5842: 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 @@ -5833,14 +5846,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <<EOF -#line 5837 "configure" +#line 5850 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:5844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5857: \"$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 @@ -5871,12 +5884,12 @@ esac # 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:5875: checking for working assert macro" >&5 +echo "configure:5888: 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 else cat > conftest.$ac_ext <<EOF -#line 5880 "configure" +#line 5893 "configure" #include "confdefs.h" #include <assert.h> #include <stdio.h> @@ -5892,7 +5905,7 @@ assert (a == b ; return 0; } EOF -if { (eval echo configure:5896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_assert_ok=yes else @@ -5933,12 +5946,12 @@ gas_test_headers=" " echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6 -echo "configure:5937: checking whether declaration is required for strstr" >&5 +echo "configure:5950: 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 else cat > conftest.$ac_ext <<EOF -#line 5942 "configure" +#line 5955 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -5949,7 +5962,7 @@ x = (f) strstr; ; return 0; } EOF -if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_strstr=no else @@ -5970,12 +5983,12 @@ fi echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6 -echo "configure:5974: checking whether declaration is required for malloc" >&5 +echo "configure:5987: 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 else cat > conftest.$ac_ext <<EOF -#line 5979 "configure" +#line 5992 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -5986,7 +5999,7 @@ x = (f) malloc; ; return 0; } EOF -if { (eval echo configure:5990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_malloc=no else @@ -6007,12 +6020,12 @@ fi echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6 -echo "configure:6011: checking whether declaration is required for free" >&5 +echo "configure:6024: 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 else cat > conftest.$ac_ext <<EOF -#line 6016 "configure" +#line 6029 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -6023,7 +6036,7 @@ x = (f) free; ; return 0; } EOF -if { (eval echo configure:6027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_free=no else @@ -6044,12 +6057,12 @@ fi echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6 -echo "configure:6048: checking whether declaration is required for sbrk" >&5 +echo "configure:6061: 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 else cat > conftest.$ac_ext <<EOF -#line 6053 "configure" +#line 6066 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -6060,7 +6073,7 @@ x = (f) sbrk; ; return 0; } EOF -if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_sbrk=no else @@ -6081,12 +6094,12 @@ fi echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6 -echo "configure:6085: checking whether declaration is required for environ" >&5 +echo "configure:6098: 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 else cat > conftest.$ac_ext <<EOF -#line 6090 "configure" +#line 6103 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -6097,7 +6110,7 @@ x = (f) environ; ; return 0; } EOF -if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_environ=no else @@ -6121,12 +6134,12 @@ fi # for it? echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6 -echo "configure:6125: checking whether declaration is required for errno" >&5 +echo "configure:6138: 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 else cat > conftest.$ac_ext <<EOF -#line 6130 "configure" +#line 6143 "configure" #include "confdefs.h" #ifdef HAVE_ERRNO_H @@ -6141,7 +6154,7 @@ x = (f) errno; ; return 0; } EOF -if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_errno=no else diff --git a/gas/configure.in b/gas/configure.in index 73305cb..ed37ed3 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -384,10 +384,10 @@ changequote([,])dnl sh-*-linux*) fmt=elf em=linux ;; sh-*-elf*) fmt=elf ;; - sh-*-coff*) fmt=coff ;; + sh-*-coff*) fmt=coff bfd_gas=yes;; sh-*-pe*) fmt=coff em=pe bfd_gas=yes;; sh-*-rtemself*) fmt=elf ;; - sh-*-rtems*) fmt=coff ;; + sh-*-rtems*) fmt=coff bfd_gas=yes;; ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; @@ -479,6 +479,7 @@ changequote([,])dnl ia64*-*) bfd_gas=yes ;; mips-*) bfd_gas=yes ;; ns32k-*) bfd_gas=yes ;; + pdp11-*) bfd_gas=yes ;; ppc-*) bfd_gas=yes ;; sparc-*) bfd_gas=yes ;; strongarm-*) bfd_gas=yes ;; @@ -648,6 +649,7 @@ fi # is emulated. case ${target_cpu} in vax | tahoe ) atof=${target_cpu} ;; + pdp11) atof=vax ;; *) atof=ieee ;; esac diff --git a/gas/doc/Makefile.am b/gas/doc/Makefile.am index 60761a4..95b02b7 100644 --- a/gas/doc/Makefile.am +++ b/gas/doc/Makefile.am @@ -32,6 +32,7 @@ CPU_DOCS = \ c-m68k.texi \ c-mips.texi \ c-ns32k.texi \ + c-pdp11.texi \ c-pj.texi \ c-sh.texi \ c-sparc.texi \ diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in index 5f9b258..f328d71 100644 --- a/gas/doc/Makefile.in +++ b/gas/doc/Makefile.in @@ -142,6 +142,7 @@ CPU_DOCS = \ c-m68k.texi \ c-mips.texi \ c-ns32k.texi \ + c-pdp11.texi \ c-pj.texi \ c-sh.texi \ c-sparc.texi \ diff --git a/gas/doc/all.texi b/gas/doc/all.texi index 22742b4..26658c6 100644 --- a/gas/doc/all.texi +++ b/gas/doc/all.texi @@ -42,6 +42,7 @@ @set M680X0 @set MCORE @set MIPS +@set PDP11 @set PJ @set SH @set SPARC diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index fb80ca5..dc377b1 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -546,6 +546,37 @@ unit coprocessor. The default is to assume an MMU for 68020 and up. @end table @end ifset +@ifset PDP11 + +For details about the PDP-11 machine dependent features options, +see @ref{PDP-11-Options}. + +@table @code +@item -mpic | -mno-pic +Generate position-independent (or position-dependent) code. The +default is @code{-mpic}. + +@item -mall +@itemx -mall-extensions +Enable all instruction set extensions. This is the default. + +@item -mno-extensions +Disable all instruction set extensions. + +@item -m@var{extension} | -mno-@var{extension} +Enable (or disable) a particular instruction set extension. + +@item -m@var{cpu} +Enable the instruction set extensions supported by a particular CPU, and +disable all other extensions. + +@item -m@var{machine} +Enable the instruction set extensions supported by a particular machine +model, and disable all other extensions. +@end table + +@end ifset + @ifset PJ The following options are available when @value{AS} is configured for a picoJava processor. @@ -1667,6 +1698,9 @@ is considered a comment and is ignored. The line comment character is @ifset I960 @samp{#} on the i960; @end ifset +@ifset PDP11 +@samp{;} for the PDP-11; +@end ifset @ifset PJ @samp{;} for picoJava; @end ifset @@ -5271,6 +5305,9 @@ subject, see the hardware manufacturer's manual. @ifset SH * SH-Dependent:: Hitachi SH Dependent Features @end ifset +@ifset PDP11 +* PDP-11-Dependent:: PDP-11 Dependent Features +@end ifset @ifset PJ * PJ-Dependent:: picoJava Dependent Features @end ifset @@ -5389,6 +5426,10 @@ family. @include c-ns32k.texi @end ifset +@ifset PDP11 +@include c-pdp11.texi +@end ifset + @ifset PJ @include c-pj.texi @end ifset diff --git a/gas/doc/c-pdp11.texi b/gas/doc/c-pdp11.texi new file mode 100644 index 0000000..4ddd9e3 --- /dev/null +++ b/gas/doc/c-pdp11.texi @@ -0,0 +1,354 @@ +@c Copyright (C) 2001 Free Software Foundation, Inc. +@c This is part of the GAS manual. +@c For copying conditions, see the file as.texinfo. +@ifset GENERIC +@page +@node PDP-11-Dependent +@chapter PDP-11 Dependent Features +@end ifset +@ifclear GENERIC +@node Machine Dependencies +@chapter PDP-11 Dependent Features +@end ifclear + +@cindex PDP-11 support + +@menu +* PDP-11-Options:: Options +* PDP-11-Pseudos:: Assembler Directives +* PDP-11-Syntax:: DEC Syntax versus BSD Syntax +* PDP-11-Mnemonics:: Instruction Naming +* PDP-11-Synthetic:: Synthetic Instructions +@end menu + +@node PDP-11-Options +@section Options + +@cindex options for PDP-11 + +The PDP-11 version of @code{@value{AS}} has a rich set of machine +dependent options. + +@subsection Code Generation Options + +@table @code +@cindex -mpic +@cindex -mno-pic +@item -mpic | -mno-pic +Generate position-independent (or position-dependent) code. + +The default is to generate position-independent code. +@end table + +@subsection Instruction Set Extention Options + +These options enables or disables the use of extensions over the base +line instruction set as introduced by the first PDP-11 CPU: the KA11. +Most options come in two variants: a @code{-m}@var{extension} that +enables @var{extension}, and a @code{-mno-}@var{extension} that disables +@var{extension}. + +The default is to enable all extensions. + +@table @code +@cindex -mall +@cindex -mall-extensions +@item -mall | -mall-extensions +Enable all instruction set extensions. + +@cindex -mno-extensions +@item -mno-extensions +Disable all instruction set extensions. + +@cindex -mcis +@cindex -mno-cis +@item -mcis | -mno-cis +Enable (or disable) the use of the commersial instruction set, which +consists of these instructions: @code{ADDNI}, @code{ADDN}, @code{ADDPI}, +@code{ADDP}, @code{ASHNI}, @code{ASHN}, @code{ASHPI}, @code{ASHP}, +@code{CMPCI}, @code{CMPC}, @code{CMPNI}, @code{CMPN}, @code{CMPPI}, +@code{CMPP}, @code{CVTLNI}, @code{CVTLN}, @code{CVTLPI}, @code{CVTLP}, +@code{CVTNLI}, @code{CVTNL}, @code{CVTNPI}, @code{CVTNP}, @code{CVTPLI}, +@code{CVTPL}, @code{CVTPNI}, @code{CVTPN}, @code{DIVPI}, @code{DIVP}, +@code{L2DR}, @code{L3DR}, @code{LOCCI}, @code{LOCC}, @code{MATCI}, +@code{MATC}, @code{MOVCI}, @code{MOVC}, @code{MOVRCI}, @code{MOVRC}, +@code{MOVTCI}, @code{MOVTC}, @code{MULPI}, @code{MULP}, @code{SCANCI}, +@code{SCANC}, @code{SKPCI}, @code{SKPC}, @code{SPANCI}, @code{SPANC}, +@code{SUBNI}, @code{SUBN}, @code{SUBPI}, and @code{SUBP}. + +@cindex -mcsm +@cindex -mno-csm +@item -mcsm | -mno-csm +Enable (or disable) the use of the @code{CSM} instruction. + +@cindex -meis +@cindex -mno-eis +@item -meis | -mno-eis +Enable (or disable) the use of the extended instruction set, which +consists of these instructions: @code{ASHC}, @code{ASH}, @code{DIV}, +@code{MARK}, @code{MUL}, @code{RTT}, @code{SOB} @code{SXT}, and +@code{XOR}. + +@cindex -mfis +@cindex -mno-fis +@cindex -mkev11 +@cindex -mkev11 +@cindex -mno-kev11 +@item -mfis | -mkev11 +@itemx -mno-fis | -mno-kev11 +Enable (or diasble) the use of the KEV11 floating-point instructions: +@code{FADD}, @code{FDIV}, @code{FMUL}, and @code{FSUB}. + +@cindex -mfpp +@cindex -mno-fpp +@cindex -mfpu +@cindex -mno-fpu +@cindex -mfp-11 +@cindex -mno-fp-11 +@item -mfpp | -mfpu | -mfp-11 +@itemx -mno-fpp | -mno-fpu | -mno-fp-11 +Enable (or disable) the use of FP-11 floating-point instructions: +@code{ABSF}, @code{ADDF}, @code{CFCC}, @code{CLRF}, @code{CMPF}, +@code{DIVF}, @code{LDCFF}, @code{LDCIF}, @code{LDEXP}, @code{LDF}, +@code{LDFPS}, @code{MODF}, @code{MULF}, @code{NEGF}, @code{SETD}, +@code{SETF}, @code{SETI}, @code{SETL}, @code{STCFF}, @code{STCFI}, +@code{STEXP}, @code{STF}, @code{STFPS}, @code{STST}, @code{SUBF}, and +@code{TSTF}. + +@cindex -mlimited-eis +@cindex -mno-limited-eis +@item -mlimited-eis | -mno-limited-eis +Enable (or disable) the use of the limited extended instruction set: +@code{MARK}, @code{RTT}, @code{SOB}, @code{SXT}, and @code{XOR}. + +The -mno-limited-eis options also implies -mno-eis. + +@cindex -mmfpt +@cindex -mno-mfpt +@item -mmfpt | -mno-mfpt +Enable (or disable) the use of the @code{MFPT} instruction. + +@cindex -mmutiproc +@cindex -mno-mutiproc +@item -mmultiproc | -mno-multiproc +Enable (or disable) the use of multiprocessor instructions: @code{TSTSET} and +@code{WRTLCK}. + +@cindex -mmxps +@cindex -mno-mxps +@item -mmxps | -mno-mxps +Enable (or disable) the use of the @code{MFPS} and @code{MTPS} instructions. + +@cindex -mspl +@cindex -mno-spl +@item -mspl | -mno-spl +Enable (or disable) the use of the @code{SPL} instruction. + +@cindex -mmicrocode +@cindex -mno-microcode +Enable (or disable) the use of the microcode instructions: @code{LDUB}, +@code{MED}, and @code{XFC}. +@end table + +@subsection CPU Model Options + +These options enable the instruction set extensions supported by a +particular CPU, and disables all other extensions. + +@table @code +@cindex -mka11 +@item -mka11 +KA11 CPU. Base line instruction set only. + +@cindex -mkb11 +@item -mkb11 +KB11 CPU. Enable extended instruction set and @code{SPL}. + +@cindex -mkd11a +@item -mkd11a +KD11-A CPU. Enable limited extended instruction set. + +@cindex -mkd11b +@item -mkd11b +KD11-B CPU. Base line instruction set only. + +@cindex -mkd11d +@item -mkd11d +KD11-D CPU. Base line instruction set only. + +@cindex -mkd11e +@item -mkd11e +KD11-E CPU. Enable extended instruction set, @code{MFPS}, and @code{MTPS}. + +@cindex -mkd11f +@cindex -mkd11h +@cindex -mkd11q +@item -mkd11f | -mkd11h | -mkd11q +KD11-F, KD11-H, or KD11-Q CPU. Enable limited extended instruction set, +@code{MFPS}, and @code{MTPS}. + +@cindex -mkd11k +@item -mkd11k +KD11-K CPU. Enable extended instruction set, @code{LDUB}, @code{MED}, +@code{MFPS}, @code{MFPT}, @code{MTPS}, and @code{XFC}. + +@cindex -mkd11z +@item -mkd11z +KD11-Z CPU. Enable extended instruction set, @code{CSM}, @code{MFPS}, +@code{MFPT}, @code{MTPS}, and @code{SPL}. + +@cindex -mf11 +@item -mf11 +F11 CPU. Enable extended instruction set, @code{MFPS}, @code{MFPT}, and +@code{MTPS}. + +@cindex -mj11 +@item -mj11 +J11 CPU. Enable extended instruction set, @code{CSM}, @code{MFPS}, +@code{MFPT}, @code{MTPS}, @code{SPL}, @code{TSTSET}, and @code{WRTLCK}. + +@cindex -mt11 +@item -mt11 +T11 CPU. Enable limited extended instruction set, @code{MFPS}, and +@code{MTPS}. +@end table + +@subsection Machine Model Options + +These options enable the instruction set extensions supported by a +particular machine model, and disables all other extensions. + +@table @code +@cindex -m11/03 +@item -m11/03 +Same as @code{-mkd11f}. + +@cindex -m11/04 +@item -m11/04 +Same as @code{-mkd11d}. + +@cindex -m11/05 +@cindex -m11/10 +@item -m11/05 | -m11/10 +Same as @code{-mkd11b}. + +@cindex -m11/15 +@cindex -m11/20 +@item -m11/15 | -m11/20 +Same as @code{-mka11}. + +@cindex -m11/21 +@item -m11/21 +Same as @code{-mt11}. + +@cindex -m11/23 +@cindex -m11/24 +@item -m11/23 | -m11/24 +Same as @code{-mf11}. + +@cindex -m11/34 +@item -m11/34 +Same as @code{-mkd11e}. + +@cindex -m11/34a +@item -m11/34a +Ame as @code{-mkd11e} @code{-mfpp}. + +@cindex -m11/35 +@cindex -m11/40 +@item -m11/35 | -m11/40 +Same as @code{-mkd11a}. + +@cindex -m11/44 +@item -m11/44 +Same as @code{-mkd11z}. + +@cindex -m11/45 +@cindex -m11/50 +@cindex -m11/55 +@cindex -m11/70 +@item -m11/45 | -m11/50 | -m11/55 | -m11/70 +Same as @code{-mkb11}. + +@cindex -m11/53 +@cindex -m11/73 +@cindex -m11/83 +@cindex -m11/84 +@cindex -m11/93 +@cindex -m11/94 +@item -m11/53 | -m11/73 | -m11/83 | -m11/84 | -m11/93 | -m11/94 +Same as @code{-mj11}. + +@cindex -m11/60 +@item -m11/60 +Same as @code{-mkd11k}. +@end table + +@node PDP-11-Pseudos +@section Assembler Directives + +The PDP-11 version of @code{@value{AS}} has a few machine +dependent assembler directives. + +@table @code +@item .bss +Switch to the @code{bss} section. + +@item .even +Align the location counter to an even number. +@end table + +@node PDP-11-Syntax +@section PDP-11 Assembly Language Syntax + +@cindex PDP-11 syntax + +@cindex DEC syntax +@cindex BSD syntax +@code{@value{AS}} supports both DEC syntax and BSD syntax. The only +difference is that in DEC syntax, a @code{#} character is used to denote +an immediate constants, while in BSD syntax the character for this +purpose is @code{$}. + +@cindex PDP-11 general-purpose register syntax +eneral-purpose registers are named @code{r0} through @code{r7}. +Mnemonic alternatives for @code{r6} and @code{r7} are @code{sp} and +@code{pc}, respectively. + +@cindex PDP-11 floating-point register syntax +Floating-point registers are named @code{ac0} through @code{ac3}, or +alternatively @code{fr0} through @code{fr3}. + +@cindex PDP-11 comments +Comments are started with a @code{#} or a @code{/} character, and extend +to the end of the line. (FIXME: clash with immediates?) + +@node PDP-11-Mnemonics +@section Instruction Naming + +@cindex PDP-11 instruction naming + +Some instructions have alternative names. + +@table @code +@item BCC +@code{BHIS} + +@item BCS +@code{BLO} + +@item L2DR +@code{L2D} + +@item L3DR +@code{L3D} + +@item SYS +@code{TRAP} +@end table + +@node PDP-11-Synthetic +@section Synthetic Instructions + +The @code{JBR} and @code{J}@var{CC} synthetic instructions are not +supported yet. diff --git a/gas/po/POTFILES.in b/gas/po/POTFILES.in index d3d8df9..11518ed 100644 --- a/gas/po/POTFILES.in +++ b/gas/po/POTFILES.in @@ -92,6 +92,8 @@ config/tc-mn10300.c config/tc-mn10300.h config/tc-ns32k.c config/tc-ns32k.h +config/tc-pdp11.c +config/tc-pdp11.h config/tc-pj.c config/tc-pj.h config/tc-ppc.c diff --git a/gas/po/gas.pot b/gas/po/gas.pot index 47a8e96..ff99b25 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-02-09 16:34-0800\n" +"POT-Creation-Date: 2001-02-18 15:18-0800\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" @@ -632,12 +632,12 @@ msgstr "" msgid "No 'bal' entry point for leafproc %s" msgstr "" -#: config/obj-coff.c:4255 write.c:2575 +#: config/obj-coff.c:4255 write.c:2589 #, c-format msgid "Negative of non-absolute symbol %s" msgstr "" -#: config/obj-coff.c:4276 write.c:2589 +#: config/obj-coff.c:4276 write.c:2603 msgid "callj to difference of 2 symbols" msgstr "" @@ -649,7 +649,7 @@ 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:2733 +#: config/obj-coff.c:4411 config/tc-i960.c:3234 write.c:2747 msgid "can't use COBR format with external label" msgstr "" @@ -658,7 +658,7 @@ msgstr "" msgid "Value of %ld too large for field of %d bytes at 0x%lx" msgstr "" -#: config/obj-coff.c:4504 write.c:2823 +#: config/obj-coff.c:4504 write.c:2837 #, c-format msgid "Signed .word overflow; switch may be too large; %ld at 0x%lx" msgstr "" @@ -1058,7 +1058,7 @@ msgstr "" msgid "syntax error" msgstr "" -#: config/tc-alpha.c:1019 config/tc-arm.c:6629 config/tc-h8300.c:1373 +#: 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:4189 config/tc-m88k.c:1105 #: config/tc-ns32k.c:1663 config/tc-sparc.c:2830 config/tc-z8k.c:1324 @@ -1102,7 +1102,7 @@ msgstr "" msgid "type %d reloc done?\n" msgstr "" -#: config/tc-alpha.c:1374 config/tc-alpha.c:1381 config/tc-mips.c:7356 +#: config/tc-alpha.c:1374 config/tc-alpha.c:1381 config/tc-mips.c:7372 msgid "Used $at without \".set noat\"" msgstr "" @@ -1364,7 +1364,7 @@ msgstr "" msgid "Chose GP value of %lx\n" msgstr "" -#: config/tc-arc.c:1608 config/tc-arm.c:7532 +#: config/tc-arc.c:1608 config/tc-arm.c:7546 msgid "md_estimate_size_before_relax\n" msgstr "" @@ -1400,7 +1400,7 @@ msgstr "" msgid "Invalid syntax for .req directive." msgstr "" -#: config/tc-arm.c:1506 config/tc-mips.c:9916 read.c:2035 +#: config/tc-arm.c:1506 config/tc-mips.c:9936 read.c:2035 #, c-format msgid "Alignment too large: %d. assumed." msgstr "" @@ -1494,12 +1494,12 @@ msgid "pc may not be used in post-increment" msgstr "" #: config/tc-arm.c:2125 config/tc-arm.c:2578 config/tc-arm.c:3438 -#: config/tc-arm.c:4358 +#: config/tc-arm.c:4372 msgid "pre-indexed expression expected" msgstr "" #: config/tc-arm.c:2138 config/tc-arm.c:2591 config/tc-arm.c:3449 -#: config/tc-arm.c:4370 config/tc-arm.c:4716 +#: config/tc-arm.c:4384 config/tc-arm.c:4730 msgid "missing ]" msgstr "" @@ -1557,8 +1557,8 @@ msgstr "" msgid "Warning: Instruction unpredictable when using r15" msgstr "" -#: config/tc-arm.c:3063 config/tc-arm.c:3255 config/tc-arm.c:5503 -#: config/tc-arm.c:5536 config/tc-arm.c:5546 +#: config/tc-arm.c:3063 config/tc-arm.c:3255 config/tc-arm.c:5517 +#: config/tc-arm.c:5550 config/tc-arm.c:5560 msgid "immediate value out of range" msgstr "" @@ -1612,7 +1612,7 @@ msgstr "" msgid "Invalid immediate shift" msgstr "" -#: config/tc-arm.c:3930 config/tc-arm.c:4400 +#: config/tc-arm.c:3930 config/tc-arm.c:4414 msgid "Constant expression expected" msgstr "" @@ -1640,390 +1640,395 @@ msgstr "" msgid "Address expected" msgstr "" -#: config/tc-arm.c:4326 config/tc-arm.c:4341 config/tc-arm.c:4379 +#: config/tc-arm.c:4328 config/tc-arm.c:4359 +#, c-format +msgid "Rn and Rd must be different in %s" +msgstr "" + +#: config/tc-arm.c:4332 config/tc-arm.c:4348 config/tc-arm.c:4393 #, c-format msgid "%s register same as write-back base" msgstr "" -#: config/tc-arm.c:4328 config/tc-arm.c:4343 config/tc-arm.c:4381 +#: config/tc-arm.c:4334 config/tc-arm.c:4350 config/tc-arm.c:4395 msgid "destination" msgstr "" -#: config/tc-arm.c:4328 config/tc-arm.c:4343 config/tc-arm.c:4381 +#: config/tc-arm.c:4334 config/tc-arm.c:4350 config/tc-arm.c:4395 msgid "source" msgstr "" -#: config/tc-arm.c:4420 +#: config/tc-arm.c:4434 msgid "literal pool insertion failed" msgstr "" -#: config/tc-arm.c:4459 +#: config/tc-arm.c:4473 msgid "Pre-increment instruction with translate" msgstr "" -#: config/tc-arm.c:4500 +#: config/tc-arm.c:4514 msgid "Bad range in register list" msgstr "" -#: config/tc-arm.c:4508 config/tc-arm.c:4517 config/tc-arm.c:4559 +#: config/tc-arm.c:4522 config/tc-arm.c:4531 config/tc-arm.c:4573 #, c-format msgid "Warning: Duplicated register (r%d) in register list" msgstr "" -#: config/tc-arm.c:4520 +#: config/tc-arm.c:4534 msgid "Warning: Register range not in ascending order" msgstr "" -#: config/tc-arm.c:4532 +#: config/tc-arm.c:4546 msgid "Missing `}'" msgstr "" -#: config/tc-arm.c:4548 +#: config/tc-arm.c:4562 msgid "invalid register mask" msgstr "" -#: config/tc-arm.c:4569 config/tc-avr.c:852 config/tc-cris.c:2733 +#: 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:4947 config/tc-mips.c:5493 +#: 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 msgid "expression too complex" msgstr "" -#: config/tc-arm.c:4608 +#: config/tc-arm.c:4622 msgid "r15 not allowed as base register" msgstr "" -#: config/tc-arm.c:4676 config/tc-arm.c:4690 +#: config/tc-arm.c:4690 config/tc-arm.c:4704 msgid "r15 not allowed in swap" msgstr "" -#: config/tc-arm.c:4788 +#: config/tc-arm.c:4802 msgid "Use of r15 in bx in ARM mode is not really useful" msgstr "" -#: config/tc-arm.c:5044 config/tc-v850.c:1959 config/tc-v850.c:1980 +#: config/tc-arm.c:5058 config/tc-v850.c:1959 config/tc-v850.c:1980 msgid "constant expression expected" msgstr "" -#: config/tc-arm.c:5050 +#: config/tc-arm.c:5064 msgid "Constant value required for number of registers" msgstr "" -#: config/tc-arm.c:5058 +#: config/tc-arm.c:5072 msgid "number of registers must be in the range [1:4]" msgstr "" -#: config/tc-arm.c:5119 +#: config/tc-arm.c:5133 msgid "R15 not allowed as base register with write-back" msgstr "" -#: config/tc-arm.c:5367 +#: config/tc-arm.c:5381 msgid "lo register required" msgstr "" -#: config/tc-arm.c:5375 +#: config/tc-arm.c:5389 msgid "hi register required" msgstr "" -#: config/tc-arm.c:5445 +#: config/tc-arm.c:5459 msgid "dest and source1 must be the same register" msgstr "" -#: config/tc-arm.c:5452 +#: config/tc-arm.c:5466 msgid "subtract valid only on lo regs" msgstr "" -#: config/tc-arm.c:5476 +#: config/tc-arm.c:5490 msgid "invalid Hi register with immediate" msgstr "" -#: config/tc-arm.c:5514 +#: config/tc-arm.c:5528 msgid "invalid immediate value for stack adjust" msgstr "" -#: config/tc-arm.c:5525 +#: config/tc-arm.c:5539 msgid "invalid immediate for address calculation" msgstr "" -#: config/tc-arm.c:5612 +#: config/tc-arm.c:5626 msgid "source1 and dest must be same register" msgstr "" -#: config/tc-arm.c:5646 +#: config/tc-arm.c:5660 msgid "Invalid immediate for shift" msgstr "" -#: config/tc-arm.c:5725 +#: config/tc-arm.c:5739 msgid "only lo regs allowed with immediate" msgstr "" -#: config/tc-arm.c:5744 +#: config/tc-arm.c:5758 msgid "invalid immediate" msgstr "" -#: config/tc-arm.c:5798 +#: config/tc-arm.c:5812 msgid "expected ']'" msgstr "" -#: config/tc-arm.c:5865 +#: config/tc-arm.c:5879 msgid "byte or halfword not valid for base register" msgstr "" -#: config/tc-arm.c:5870 +#: config/tc-arm.c:5884 msgid "R15 based store not allowed" msgstr "" -#: config/tc-arm.c:5875 +#: config/tc-arm.c:5889 msgid "Invalid base register for register offset" msgstr "" -#: config/tc-arm.c:5893 +#: config/tc-arm.c:5907 msgid "invalid offset" msgstr "" -#: config/tc-arm.c:5904 +#: config/tc-arm.c:5918 msgid "invalid base register in load/store" msgstr "" -#: config/tc-arm.c:5928 +#: config/tc-arm.c:5942 msgid "Invalid offset" msgstr "" -#: config/tc-arm.c:6003 +#: config/tc-arm.c:6017 msgid "dest and source1 one must be the same register" msgstr "" -#: config/tc-arm.c:6011 +#: config/tc-arm.c:6025 msgid "Rs and Rd must be different in MUL" msgstr "" -#: config/tc-arm.c:6155 +#: config/tc-arm.c:6169 msgid "" "Inserted missing '!': load/store multiple always writes back base register" msgstr "" -#: config/tc-arm.c:6171 config/tc-arm.c:6271 +#: config/tc-arm.c:6185 config/tc-arm.c:6285 msgid "Expression too complex" msgstr "" -#: config/tc-arm.c:6177 +#: config/tc-arm.c:6191 msgid "only lo-regs valid in load/store multiple" msgstr "" -#: config/tc-arm.c:6223 +#: config/tc-arm.c:6237 msgid "Syntax: ldrs[b] Rd, [Rb, Ro]" msgstr "" -#: config/tc-arm.c:6287 +#: config/tc-arm.c:6301 msgid "invalid register list to push/pop instruction" msgstr "" -#: config/tc-arm.c:6429 config/tc-cris.c:664 +#: config/tc-arm.c:6443 config/tc-cris.c:664 msgid "Virtual memory exhausted" msgstr "" -#: config/tc-arm.c:6835 +#: config/tc-arm.c:6849 #, c-format msgid "invalid constant (%lx) after fixup" msgstr "" -#: config/tc-arm.c:6871 +#: config/tc-arm.c:6885 #, c-format msgid "Unable to compute ADRL instructions for PC offset of 0x%lx" msgstr "" -#: config/tc-arm.c:6901 +#: config/tc-arm.c:6915 #, c-format msgid "bad immediate value for offset (%ld)" msgstr "" -#: config/tc-arm.c:6923 config/tc-arm.c:6945 +#: config/tc-arm.c:6937 config/tc-arm.c:6959 msgid "invalid literal constant: pool needs to be closer" msgstr "" -#: config/tc-arm.c:6925 +#: config/tc-arm.c:6939 #, c-format msgid "bad immediate value for half-word offset (%ld)" msgstr "" -#: config/tc-arm.c:6962 +#: config/tc-arm.c:6976 msgid "shift expression is too large" msgstr "" -#: config/tc-arm.c:6981 config/tc-arm.c:6990 +#: config/tc-arm.c:6995 config/tc-arm.c:7004 msgid "Invalid swi expression" msgstr "" -#: config/tc-arm.c:7000 +#: config/tc-arm.c:7014 msgid "Invalid expression in load/store multiple" msgstr "" -#: config/tc-arm.c:7053 +#: config/tc-arm.c:7067 msgid "gas can't handle same-section branch dest >= 0x04000000" msgstr "" -#: config/tc-arm.c:7062 +#: config/tc-arm.c:7076 msgid "out of range branch" msgstr "" -#: config/tc-arm.c:7095 config/tc-arm.c:7111 config/tc-mips.c:9743 +#: config/tc-arm.c:7109 config/tc-arm.c:7125 config/tc-mips.c:9763 msgid "Branch out of range" msgstr "" -#: config/tc-arm.c:7134 +#: config/tc-arm.c:7148 msgid "Branch with link out of range" msgstr "" -#: config/tc-arm.c:7201 +#: config/tc-arm.c:7215 msgid "Illegal value for co-processor offset" msgstr "" -#: config/tc-arm.c:7225 +#: config/tc-arm.c:7239 #, c-format msgid "Invalid offset, target not word aligned (0x%08X)" msgstr "" -#: config/tc-arm.c:7231 config/tc-arm.c:7240 config/tc-arm.c:7247 -#: config/tc-arm.c:7254 config/tc-arm.c:7261 +#: 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 #, c-format msgid "Invalid offset, value too big (0x%08lX)" msgstr "" -#: config/tc-arm.c:7300 +#: config/tc-arm.c:7314 msgid "Invalid immediate for stack address calculation" msgstr "" -#: config/tc-arm.c:7309 +#: config/tc-arm.c:7323 #, c-format msgid "Invalid immediate for address calculation (value = 0x%08lX)" msgstr "" -#: config/tc-arm.c:7319 +#: config/tc-arm.c:7333 msgid "Invalid 8bit immediate" msgstr "" -#: config/tc-arm.c:7327 +#: config/tc-arm.c:7341 msgid "Invalid 3bit immediate" msgstr "" -#: config/tc-arm.c:7343 +#: config/tc-arm.c:7357 #, c-format msgid "Invalid immediate: %ld is too large" msgstr "" -#: config/tc-arm.c:7358 +#: config/tc-arm.c:7372 #, c-format msgid "Illegal Thumb shift value: %ld" msgstr "" -#: config/tc-arm.c:7372 config/tc-mn10300.c:1961 +#: config/tc-arm.c:7386 config/tc-mn10300.c:1961 #, c-format msgid "Bad relocation fixup type (%d)" msgstr "" -#: config/tc-arm.c:7445 +#: config/tc-arm.c:7459 msgid "Literal referenced across section boundary (Implicit dump?)" msgstr "" -#: config/tc-arm.c:7458 +#: config/tc-arm.c:7472 #, c-format msgid "Internal_relocation (type %d) not fixed up (IMMEDIATE)" msgstr "" -#: config/tc-arm.c:7464 +#: config/tc-arm.c:7478 msgid "ADRL used for a symbol not defined in the same file" msgstr "" -#: config/tc-arm.c:7469 +#: config/tc-arm.c:7483 #, c-format msgid "Internal_relocation (type %d) not fixed up (OFFSET_IMM)" msgstr "" -#: config/tc-arm.c:7490 config/tc-cris.c:2672 config/tc-mcore.c:2109 +#: config/tc-arm.c:7504 config/tc-cris.c:2672 config/tc-mcore.c:2109 #: config/tc-ns32k.c:2369 msgid "<unknown>" msgstr "" -#: config/tc-arm.c:7493 +#: config/tc-arm.c:7507 #, c-format msgid "Cannot represent %s relocation in this object file format" msgstr "" -#: config/tc-arm.c:7514 config/tc-mips.c:11261 config/tc-sh.c:3182 +#: config/tc-arm.c:7528 config/tc-mips.c:11281 config/tc-sh.c:3182 #, c-format msgid "Can not represent %s relocation in this object file format" msgstr "" -#: config/tc-arm.c:7611 +#: config/tc-arm.c:7625 #, c-format msgid "No operator -- statement `%s'\n" msgstr "" -#: config/tc-arm.c:7629 +#: config/tc-arm.c:7643 msgid "selected processor does not support this opcode" msgstr "" -#: config/tc-arm.c:7675 +#: config/tc-arm.c:7689 #, c-format msgid "Opcode `%s' must have suffix from list: <%s>" msgstr "" -#: config/tc-arm.c:7706 +#: config/tc-arm.c:7720 msgid "Warning: Use of the 'nv' conditional is deprecated\n" msgstr "" -#: config/tc-arm.c:7723 +#: config/tc-arm.c:7737 #, c-format msgid "Opcode `%s' is unconditional\n" msgstr "" -#: config/tc-arm.c:7747 +#: config/tc-arm.c:7761 #, c-format msgid "Opcode `%s' must have suffix from <%s>\n" msgstr "" -#: config/tc-arm.c:7838 +#: config/tc-arm.c:7852 #, c-format msgid "register '%s' does not exist\n" msgstr "" -#: config/tc-arm.c:7843 +#: config/tc-arm.c:7857 #, c-format msgid "ignoring redefinition of register alias '%s'" msgstr "" -#: config/tc-arm.c:7849 +#: config/tc-arm.c:7863 #, c-format msgid "" "ignoring redefinition of register alias '%s' to non-existant register '%s'" msgstr "" -#: config/tc-arm.c:7853 +#: config/tc-arm.c:7867 msgid "ignoring incomplete .req pseuso op" msgstr "" -#: config/tc-arm.c:7860 +#: config/tc-arm.c:7874 #, c-format msgid "bad instruction `%s'" msgstr "" -#: config/tc-arm.c:8035 +#: config/tc-arm.c:8049 #, c-format msgid "Unrecognised APCS switch -m%s" msgstr "" -#: config/tc-arm.c:8192 config/tc-arm.c:8205 config/tc-arm.c:8218 -#: config/tc-arm.c:8231 config/tc-arm.c:8237 +#: 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 #, c-format msgid "Invalid architecture variant -m%s" msgstr "" -#: config/tc-arm.c:8244 +#: config/tc-arm.c:8258 #, c-format msgid "Invalid processor variant -m%s" msgstr "" -#: config/tc-arm.c:8267 +#: config/tc-arm.c:8281 msgid "" " ARM Specific Assembler Options:\n" " -m[arm][<processor name>] select processor variant\n" @@ -2039,7 +2044,7 @@ msgid "" " -k generate PIC code.\n" msgstr "" -#: config/tc-arm.c:8279 +#: config/tc-arm.c:8293 msgid "" " -mapcs-32, -mapcs-26 specify which ARM Procedure Calling Standard to " "use\n" @@ -2048,17 +2053,17 @@ msgid "" " -mapcs-reentrant the code is position independent/reentrant\n" msgstr "" -#: config/tc-arm.c:8286 +#: config/tc-arm.c:8300 msgid " -moabi support the old ELF ABI\n" msgstr "" -#: config/tc-arm.c:8290 +#: config/tc-arm.c:8304 msgid "" " -EB assemble code for a big endian cpu\n" " -EL assemble code for a little endian cpu\n" msgstr "" -#: config/tc-arm.c:8443 +#: config/tc-arm.c:8457 #, c-format msgid "%s: unexpected function type: %d" msgstr "" @@ -2104,7 +2109,7 @@ 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:8789 config/tc-mn10200.c:375 config/tc-pj.c:356 +#: 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 msgid "bad call to md_atof" msgstr "" @@ -2655,11 +2660,11 @@ msgstr "" msgid "Instruction %s not allowed in a delay slot." msgstr "" -#: config/tc-fr30.c:380 config/tc-m32r.c:1556 +#: config/tc-fr30.c:381 config/tc-m32r.c:1557 msgid "Addend to unresolved symbol not on word boundary." msgstr "" -#: config/tc-fr30.c:538 config/tc-i960.c:772 config/tc-m32r.c:1864 +#: config/tc-fr30.c:539 config/tc-i960.c:772 config/tc-m32r.c:1866 msgid "Bad call to md_atof()" msgstr "" @@ -2735,7 +2740,7 @@ msgstr "" msgid "invalid operands" msgstr "" -#: config/tc-h8300.c:1250 config/tc-h8500.c:1104 config/tc-mips.c:7984 +#: 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 msgid "unknown opcode" msgstr "" @@ -3239,347 +3244,356 @@ msgstr "" msgid "No memory for symbol name." msgstr "" -#: config/tc-i386.c:581 +#: config/tc-i386.c:599 #, c-format msgid "%s shortened to %s" msgstr "" -#: config/tc-i386.c:636 +#: config/tc-i386.c:654 msgid "same type of prefix used twice" msgstr "" -#: config/tc-i386.c:654 +#: config/tc-i386.c:672 msgid "64bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:658 +#: config/tc-i386.c:676 msgid "32bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:691 +#: config/tc-i386.c:709 msgid "bad argument to syntax directive." msgstr "" -#: config/tc-i386.c:734 +#: config/tc-i386.c:753 #, c-format msgid "no such architecture: `%s'" msgstr "" -#: config/tc-i386.c:739 +#: config/tc-i386.c:758 msgid "missing cpu architecture" msgstr "" -#: config/tc-i386.c:790 config/tc-i386.c:4492 +#: config/tc-i386.c:772 +#, c-format +msgid "no such architecture modifier: `%s'" +msgstr "" + +#: config/tc-i386.c:826 config/tc-i386.c:4571 msgid "Unknown architecture" msgstr "" -#: config/tc-i386.c:825 config/tc-i386.c:848 config/tc-m68k.c:3812 +#: config/tc-i386.c:861 config/tc-i386.c:884 config/tc-m68k.c:3812 #, c-format msgid "Internal Error: Can't hash %s: %s" msgstr "" -#: config/tc-i386.c:1101 +#: config/tc-i386.c:1137 msgid "There are no unsigned pc-relative relocations" msgstr "" -#: config/tc-i386.c:1108 config/tc-i386.c:4639 +#: config/tc-i386.c:1144 config/tc-i386.c:4727 #, c-format msgid "can not do %d byte pc-relative relocation" msgstr "" -#: config/tc-i386.c:1125 +#: config/tc-i386.c:1161 #, c-format msgid "can not do %s %d byte relocation" msgstr "" -#: config/tc-i386.c:1234 config/tc-i386.c:1327 +#: config/tc-i386.c:1271 config/tc-i386.c:1364 #, c-format msgid "no such instruction: `%s'" msgstr "" -#: config/tc-i386.c:1243 +#: config/tc-i386.c:1280 #, c-format msgid "invalid character %s in mnemonic" msgstr "" -#: config/tc-i386.c:1250 +#: config/tc-i386.c:1287 msgid "expecting prefix; got nothing" msgstr "" -#: config/tc-i386.c:1252 +#: config/tc-i386.c:1289 msgid "expecting mnemonic; got nothing" msgstr "" -#: config/tc-i386.c:1270 +#: config/tc-i386.c:1307 #, c-format msgid "redundant %s prefix" msgstr "" -#: config/tc-i386.c:1338 +#: config/tc-i386.c:1375 #, c-format msgid "`%s' is not supported on `%s'" msgstr "" -#: config/tc-i386.c:1343 +#: config/tc-i386.c:1380 msgid "use .code16 to ensure correct addressing mode" msgstr "" -#: config/tc-i386.c:1351 +#: config/tc-i386.c:1388 #, c-format msgid "expecting string instruction after `%s'" msgstr "" -#: config/tc-i386.c:1372 +#: config/tc-i386.c:1409 #, c-format msgid "invalid character %s before operand %d" msgstr "" -#: config/tc-i386.c:1386 +#: config/tc-i386.c:1423 #, c-format msgid "unbalanced parenthesis in operand %d." msgstr "" -#: config/tc-i386.c:1389 +#: config/tc-i386.c:1426 #, c-format msgid "unbalanced brackets in operand %d." msgstr "" -#: config/tc-i386.c:1398 +#: config/tc-i386.c:1435 #, c-format msgid "invalid character %s in operand %d" msgstr "" -#: config/tc-i386.c:1425 +#: config/tc-i386.c:1462 #, c-format msgid "spurious operands; (%d operands/instruction max)" msgstr "" -#: config/tc-i386.c:1448 +#: config/tc-i386.c:1485 msgid "expecting operand after ','; got nothing" msgstr "" -#: config/tc-i386.c:1453 +#: config/tc-i386.c:1490 msgid "expecting operand before ','; got nothing" msgstr "" #. We found no match. -#: config/tc-i386.c:1801 +#: config/tc-i386.c:1838 #, c-format msgid "suffix or operands invalid for `%s'" msgstr "" -#: config/tc-i386.c:1812 +#: config/tc-i386.c:1849 #, 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:1820 +#: config/tc-i386.c:1857 #, c-format msgid "stand-alone `%s' prefix" msgstr "" -#: config/tc-i386.c:1856 config/tc-i386.c:1871 +#: config/tc-i386.c:1893 config/tc-i386.c:1908 msgid "`%s' operand %d must use `%%es' segment" msgstr "" -#: config/tc-i386.c:1886 +#: config/tc-i386.c:1923 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:1957 config/tc-i386.c:2008 config/tc-i386.c:2023 -#: config/tc-i386.c:2051 config/tc-i386.c:2079 +#: config/tc-i386.c:1994 config/tc-i386.c:2045 config/tc-i386.c:2060 +#: config/tc-i386.c:2088 config/tc-i386.c:2116 msgid "Incorrect register `%%%s' used with`%c' suffix" msgstr "" -#: config/tc-i386.c:1963 config/tc-i386.c:2013 config/tc-i386.c:2084 +#: config/tc-i386.c:2000 config/tc-i386.c:2050 config/tc-i386.c:2121 msgid "using `%%%s' instead of `%%%s' due to `%c' suffix" msgstr "" -#: config/tc-i386.c:1976 config/tc-i386.c:1994 config/tc-i386.c:2038 -#: config/tc-i386.c:2065 +#: config/tc-i386.c:2013 config/tc-i386.c:2031 config/tc-i386.c:2075 +#: config/tc-i386.c:2102 msgid "`%%%s' not allowed with `%s%c'" msgstr "" -#: config/tc-i386.c:2125 +#: config/tc-i386.c:2162 msgid "no instruction mnemonic suffix given; can't determine immediate size" msgstr "" -#: config/tc-i386.c:2151 +#: config/tc-i386.c:2188 #, c-format msgid "" "no instruction mnemonic suffix given; can't determine immediate size %x %c" msgstr "" -#: config/tc-i386.c:2176 +#: config/tc-i386.c:2213 msgid "" "no instruction mnemonic suffix given and no register operands; can't size " "instruction" msgstr "" -#: config/tc-i386.c:2224 +#: config/tc-i386.c:2261 msgid "64bit operations available only in 64bit modes." msgstr "" #. Reversed arguments on faddp, fsubp, etc. -#: config/tc-i386.c:2292 +#: config/tc-i386.c:2329 msgid "translating to `%s %%%s,%%%s'" msgstr "" #. Extraneous `l' suffix on fp insn. -#: config/tc-i386.c:2299 +#: config/tc-i386.c:2336 msgid "translating to `%s %%%s'" msgstr "" -#: config/tc-i386.c:2572 +#: config/tc-i386.c:2609 msgid "you can't `pop %%cs'" msgstr "" #. UnixWare fsub no args is alias for fsubp, fadd -> faddp, etc. -#: config/tc-i386.c:2605 +#: config/tc-i386.c:2642 #, c-format msgid "translating to `%sp'" msgstr "" -#: config/tc-i386.c:2648 +#: config/tc-i386.c:2685 msgid "" "Can't encode registers '%%%s' in the instruction requiring REX prefix.\n" msgstr "" -#: config/tc-i386.c:2700 config/tc-i386.c:2772 config/tc-i386.c:2819 +#: config/tc-i386.c:2732 config/tc-i386.c:2806 config/tc-i386.c:2853 msgid "skipping prefixes on this instruction" msgstr "" -#: config/tc-i386.c:2840 +#: config/tc-i386.c:2874 msgid "16-bit jump out of range" msgstr "" -#: config/tc-i386.c:2849 +#: config/tc-i386.c:2883 #, c-format msgid "can't handle non absolute segment in `%s'" msgstr "" -#: config/tc-i386.c:3106 +#: config/tc-i386.c:3140 msgid "only 1 or 2 immediate operands are allowed" msgstr "" -#: config/tc-i386.c:3136 config/tc-i386.c:3374 +#: config/tc-i386.c:3170 config/tc-i386.c:3408 msgid "GOT relocations not supported in 16 bit mode" msgstr "" -#: config/tc-i386.c:3173 config/tc-i386.c:3410 +#: config/tc-i386.c:3207 config/tc-i386.c:3444 msgid "bad reloc specifier in expression" msgstr "" -#: config/tc-i386.c:3191 config/tc-i386.c:3445 +#: config/tc-i386.c:3225 config/tc-i386.c:3482 #, c-format msgid "ignoring junk `%s' after expression" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3198 +#: config/tc-i386.c:3232 #, c-format msgid "missing or invalid immediate expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3229 config/tc-i386.c:3475 +#: config/tc-i386.c:3263 config/tc-i386.c:3512 #, c-format msgid "unimplemented segment %s in operand" msgstr "" -#: config/tc-i386.c:3231 config/tc-i386.c:3477 +#: config/tc-i386.c:3265 config/tc-i386.c:3514 #, c-format msgid "unimplemented segment type %d in operand" msgstr "" -#: config/tc-i386.c:3273 config/tc-i386.c:5407 +#: config/tc-i386.c:3307 config/tc-i386.c:5495 #, c-format msgid "expecting scale factor of 1, 2, 4, or 8: got `%s'" msgstr "" -#: config/tc-i386.c:3279 +#: config/tc-i386.c:3313 #, c-format msgid "scale factor of %d without an index register" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3456 +#: config/tc-i386.c:3493 #, c-format msgid "missing or invalid displacement expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3562 +#: config/tc-i386.c:3599 #, c-format msgid "`%s' is not a valid base/index expression" msgstr "" -#: config/tc-i386.c:3566 +#: config/tc-i386.c:3603 #, c-format msgid "`%s' is not a valid %s bit base/index expression" msgstr "" -#: config/tc-i386.c:3641 +#: config/tc-i386.c:3678 #, c-format msgid "bad memory operand `%s'" msgstr "" -#: config/tc-i386.c:3656 +#: config/tc-i386.c:3693 #, c-format msgid "junk `%s' after register" msgstr "" -#: config/tc-i386.c:3665 config/tc-i386.c:3780 config/tc-i386.c:3816 +#: config/tc-i386.c:3702 config/tc-i386.c:3817 config/tc-i386.c:3853 #, c-format msgid "bad register name `%s'" msgstr "" -#: config/tc-i386.c:3673 +#: config/tc-i386.c:3710 msgid "immediate operand illegal with absolute jump" msgstr "" -#: config/tc-i386.c:3695 +#: config/tc-i386.c:3732 #, c-format msgid "too many memory references for `%s'" msgstr "" -#: config/tc-i386.c:3773 +#: config/tc-i386.c:3810 #, c-format msgid "expecting `,' or `)' after index register in `%s'" msgstr "" -#: config/tc-i386.c:3795 +#: config/tc-i386.c:3832 #, c-format msgid "expecting `)' after scale factor in `%s'" msgstr "" -#: config/tc-i386.c:3802 +#: config/tc-i386.c:3839 #, c-format msgid "expecting index register or scale factor after `,'; got '%c'" msgstr "" -#: config/tc-i386.c:3809 +#: config/tc-i386.c:3846 #, c-format msgid "expecting `,' or `)' after base register in `%s'" msgstr "" #. It's not a memory operand; argh! -#: config/tc-i386.c:3850 +#: config/tc-i386.c:3887 #, c-format msgid "invalid char %s beginning operand %d `%s'" msgstr "" -#: config/tc-i386.c:4288 +#: config/tc-i386.c:4061 +msgid "long jump required" +msgstr "" + +#: config/tc-i386.c:4367 msgid "Bad call to md_atof ()" msgstr "" -#: config/tc-i386.c:4445 +#: config/tc-i386.c:4524 msgid "No compiled in support for x86_64" msgstr "" -#: config/tc-i386.c:4466 +#: config/tc-i386.c:4545 msgid "" " -Q ignored\n" " -V print assembler version number\n" @@ -3588,63 +3602,63 @@ msgid "" " -s ignored\n" msgstr "" -#: config/tc-i386.c:4473 +#: config/tc-i386.c:4552 msgid " -q quieten some warnings\n" msgstr "" -#: config/tc-i386.c:4532 config/tc-s390.c:1446 +#: config/tc-i386.c:4611 config/tc-s390.c:1446 msgid "GOT already in symbol table" msgstr "" -#: config/tc-i386.c:4653 +#: config/tc-i386.c:4741 #, c-format msgid "can not do %d byte relocation" msgstr "" -#: config/tc-i386.c:4713 config/tc-s390.c:1746 +#: config/tc-i386.c:4801 config/tc-s390.c:1746 #, c-format msgid "cannot represent relocation type %s" msgstr "" -#: config/tc-i386.c:5009 +#: config/tc-i386.c:5097 #, c-format msgid "too many memory references for '%s'" msgstr "" -#: config/tc-i386.c:5172 +#: config/tc-i386.c:5260 #, c-format msgid "Unknown operand modifier `%s'\n" msgstr "" -#: config/tc-i386.c:5379 +#: config/tc-i386.c:5467 #, c-format msgid "`%s' is not a valid segment register" msgstr "" -#: config/tc-i386.c:5389 config/tc-i386.c:5510 +#: config/tc-i386.c:5477 config/tc-i386.c:5598 msgid "Register scaling only allowed in memory operands." msgstr "" -#: config/tc-i386.c:5420 +#: config/tc-i386.c:5508 msgid "Too many register references in memory operand.\n" msgstr "" -#: config/tc-i386.c:5489 +#: config/tc-i386.c:5577 #, c-format msgid "Syntax error. Expecting a constant. Got `%s'.\n" msgstr "" -#: config/tc-i386.c:5559 +#: config/tc-i386.c:5647 #, c-format msgid "Unrecognized token '%s'" msgstr "" -#: config/tc-i386.c:5576 +#: config/tc-i386.c:5664 #, c-format msgid "Unexpected token `%s'\n" msgstr "" -#: config/tc-i386.c:5720 +#: config/tc-i386.c:5808 #, c-format msgid "Unrecognized token `%s'\n" msgstr "" @@ -3919,92 +3933,92 @@ msgstr "" msgid "callj to difference of two symbols" msgstr "" -#: config/tc-ia64.c:952 +#: config/tc-ia64.c:988 msgid "Unwind directive not followed by an instruction." msgstr "" -#: config/tc-ia64.c:4094 +#: config/tc-ia64.c:4243 msgid "Register name expected" msgstr "" -#: config/tc-ia64.c:4099 config/tc-ia64.c:4385 +#: config/tc-ia64.c:4248 config/tc-ia64.c:4534 msgid "Comma expected" msgstr "" -#: config/tc-ia64.c:4107 +#: config/tc-ia64.c:4256 msgid "Register value annotation ignored" msgstr "" -#: config/tc-ia64.c:4131 +#: config/tc-ia64.c:4280 msgid "Directive invalid within a bundle" msgstr "" -#: config/tc-ia64.c:4198 +#: config/tc-ia64.c:4347 msgid "Missing predicate relation type" msgstr "" -#: config/tc-ia64.c:4214 +#: config/tc-ia64.c:4363 msgid "Unrecognized predicate relation type" msgstr "" -#: config/tc-ia64.c:4234 config/tc-ia64.c:4259 +#: config/tc-ia64.c:4383 config/tc-ia64.c:4408 msgid "Predicate register expected" msgstr "" -#: config/tc-ia64.c:4246 +#: config/tc-ia64.c:4395 msgid "Duplicate predicate register ignored" msgstr "" -#: config/tc-ia64.c:4268 +#: config/tc-ia64.c:4417 msgid "Bad register range" msgstr "" -#: config/tc-ia64.c:4296 +#: config/tc-ia64.c:4445 msgid "Predicate source and target required" msgstr "" -#: config/tc-ia64.c:4298 config/tc-ia64.c:4310 +#: config/tc-ia64.c:4447 config/tc-ia64.c:4459 msgid "Use of p0 is not valid in this context" msgstr "" -#: config/tc-ia64.c:4305 +#: config/tc-ia64.c:4454 msgid "At least two PR arguments expected" msgstr "" -#: config/tc-ia64.c:4319 +#: config/tc-ia64.c:4468 msgid "At least one PR argument expected" msgstr "" -#: config/tc-ia64.c:4355 +#: config/tc-ia64.c:4504 #, c-format msgid "Inserting \"%s\" into entry hint table failed: %s" msgstr "" #. FIXME -- need 62-bit relocation type -#: config/tc-ia64.c:4775 +#: config/tc-ia64.c:4924 msgid "62-bit relocation not yet implemented" msgstr "" -#: config/tc-ia64.c:4837 +#: config/tc-ia64.c:4986 msgid "lower 16 bits of mask ignored" msgstr "" -#: config/tc-ia64.c:5337 +#: config/tc-ia64.c:5489 msgid "Value truncated to 62 bits" msgstr "" -#: config/tc-ia64.c:5688 +#: config/tc-ia64.c:5840 msgid "" "Additional NOP may be necessary to workaround Itanium processor A/B step " "errata" msgstr "" -#: config/tc-ia64.c:5870 +#: config/tc-ia64.c:6022 #, c-format msgid "Unrecognized option '-x%s'" msgstr "" -#: config/tc-ia64.c:5898 +#: config/tc-ia64.c:6050 msgid "" "IA-64 options:\n" " -milp32|-milp64|-mlp64|-mp64\tselect data model (default -mlp64)\n" @@ -4014,33 +4028,33 @@ msgid "" " -xdebug\t\t debug dependency violation checker\n" msgstr "" -#: config/tc-ia64.c:6168 config/tc-mips.c:1014 +#: config/tc-ia64.c:6320 config/tc-mips.c:1014 msgid "Could not set architecture and machine" msgstr "" -#: config/tc-ia64.c:6244 +#: config/tc-ia64.c:6396 msgid "Explicit stops are ignored in auto mode" msgstr "" -#: config/tc-ia64.c:6294 +#: config/tc-ia64.c:6446 msgid "Found '{' after explicit switch to automatic mode" msgstr "" -#: config/tc-ia64.c:6707 +#: config/tc-ia64.c:6859 #, c-format msgid "Unhandled dependency %s for %s (%s), note %d" msgstr "" -#: config/tc-ia64.c:7983 +#: config/tc-ia64.c:8135 #, c-format msgid "Unrecognized dependency specifier %d\n" msgstr "" -#: config/tc-ia64.c:8774 +#: config/tc-ia64.c:8926 msgid "Only the first path encountering the conflict is reported" msgstr "" -#: config/tc-ia64.c:8777 +#: config/tc-ia64.c:8929 msgid "This is the location of the conflicting usage" msgstr "" @@ -4200,7 +4214,7 @@ msgstr "" msgid "Length of .scomm \"%s\" is already %ld. Not changed to %ld." msgstr "" -#: config/tc-m32r.c:1786 +#: config/tc-m32r.c:1788 msgid "Unmatched high/shigh reloc" msgstr "" @@ -4546,7 +4560,7 @@ msgstr "" msgid "Unable to produce reloc against symbol '%s'" msgstr "" -#: config/tc-m68k.c:929 config/tc-mips.c:11242 +#: config/tc-m68k.c:929 config/tc-mips.c:11262 #, c-format msgid "Cannot make %s relocation PC relative" msgstr "" @@ -5221,7 +5235,7 @@ msgstr "" msgid "returned from mips_ip(%s) insn_opcode = 0x%x\n" msgstr "" -#: config/tc-mips.c:1782 config/tc-mips.c:11374 +#: config/tc-mips.c:1782 config/tc-mips.c:11394 msgid "extended instruction in delay slot" msgstr "" @@ -5251,8 +5265,8 @@ msgstr "" msgid "Number larger than 64 bits" msgstr "" -#: config/tc-mips.c:3304 config/tc-mips.c:3376 config/tc-mips.c:5055 -#: config/tc-mips.c:5106 config/tc-mips.c:5642 config/tc-mips.c:5705 +#: 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 msgid "PIC code offset overflow (max 16 signed bits)" msgstr "" @@ -5267,8 +5281,8 @@ 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:6742 config/tc-mips.c:6751 -#: config/tc-mips.c:6759 config/tc-mips.c:6868 +#: 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 msgid "Unsupported large constant" msgstr "" @@ -5282,234 +5296,234 @@ msgstr "" msgid "Divide by zero." msgstr "" -#: config/tc-mips.c:4626 +#: config/tc-mips.c:4642 msgid "MIPS PIC call to register other than $25" msgstr "" -#: config/tc-mips.c:4631 config/tc-mips.c:4743 +#: config/tc-mips.c:4647 config/tc-mips.c:4759 msgid "No .cprestore pseudo-op used in PIC code" msgstr "" -#: config/tc-mips.c:4816 config/tc-mips.c:4905 config/tc-mips.c:5393 -#: config/tc-mips.c:5434 config/tc-mips.c:5452 config/tc-mips.c:6081 +#: 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 msgid "opcode not supported on this processor" msgstr "" -#: config/tc-mips.c:5912 config/tc-mips.c:6636 +#: config/tc-mips.c:5928 config/tc-mips.c:6652 msgid "Macro used $at after \".set noat\"" msgstr "" -#: config/tc-mips.c:6052 config/tc-mips.c:6070 +#: config/tc-mips.c:6068 config/tc-mips.c:6086 msgid "rotate count too large" msgstr "" -#: config/tc-mips.c:6121 +#: config/tc-mips.c:6137 #, c-format msgid "Instruction %s: result is always false" msgstr "" -#: config/tc-mips.c:6290 +#: config/tc-mips.c:6306 #, c-format msgid "Instruction %s: result is always true" msgstr "" -#: config/tc-mips.c:6429 config/tc-mips.c:6456 config/tc-mips.c:6528 -#: config/tc-mips.c:6553 +#: config/tc-mips.c:6445 config/tc-mips.c:6472 config/tc-mips.c:6544 +#: config/tc-mips.c:6569 msgid "operand overflow" msgstr "" #. FIXME: Check if this is one of the itbl macros, since they #. are added dynamically. -#: config/tc-mips.c:6632 +#: config/tc-mips.c:6648 #, c-format msgid "Macro %s not implemented yet" msgstr "" -#: config/tc-mips.c:6902 +#: config/tc-mips.c:6918 #, c-format msgid "internal: bad mips opcode (mask error): %s %s" msgstr "" -#: config/tc-mips.c:6958 +#: config/tc-mips.c:6974 #, c-format msgid "internal: bad mips opcode (unknown operand type `%c'): %s %s" msgstr "" -#: config/tc-mips.c:6965 +#: config/tc-mips.c:6981 #, c-format msgid "internal: bad mips opcode (bits 0x%lx undefined): %s %s" msgstr "" -#: config/tc-mips.c:7073 +#: config/tc-mips.c:7089 #, c-format msgid "opcode not supported on this processor: %s (%s)" msgstr "" -#: config/tc-mips.c:7144 +#: config/tc-mips.c:7160 #, c-format msgid "Improper shift amount (%ld)" msgstr "" -#: config/tc-mips.c:7170 config/tc-mips.c:8324 config/tc-mips.c:8439 +#: config/tc-mips.c:7186 config/tc-mips.c:8340 config/tc-mips.c:8455 #, c-format msgid "Invalid value for `%s' (%lu)" msgstr "" -#: config/tc-mips.c:7188 +#: config/tc-mips.c:7204 #, c-format msgid "Illegal break code (%ld)" msgstr "" -#: config/tc-mips.c:7202 +#: config/tc-mips.c:7218 #, c-format msgid "Illegal lower break code (%ld)" msgstr "" -#: config/tc-mips.c:7215 +#: config/tc-mips.c:7231 #, c-format msgid "Illegal 20-bit code (%ld)" msgstr "" -#: config/tc-mips.c:7227 +#: config/tc-mips.c:7243 #, c-format msgid "Coproccesor code > 25 bits (%ld)" msgstr "" -#: config/tc-mips.c:7240 +#: config/tc-mips.c:7256 #, c-format msgid "Illegal 19-bit code (%ld)" msgstr "" -#: config/tc-mips.c:7252 +#: config/tc-mips.c:7268 #, c-format msgid "Invalidate performance regster (%ld)" msgstr "" -#: config/tc-mips.c:7289 +#: config/tc-mips.c:7305 #, c-format msgid "Invalid register number (%d)" msgstr "" -#: config/tc-mips.c:7453 +#: config/tc-mips.c:7469 #, c-format msgid "Invalid float register number (%d)" msgstr "" -#: config/tc-mips.c:7463 +#: config/tc-mips.c:7479 #, c-format msgid "Float register should be even, was %d" msgstr "" -#: config/tc-mips.c:7514 +#: config/tc-mips.c:7530 msgid "absolute expression required" msgstr "" -#: config/tc-mips.c:7575 +#: config/tc-mips.c:7591 #, c-format msgid "Bad floating point constant: %s" msgstr "" -#: config/tc-mips.c:7697 +#: config/tc-mips.c:7713 msgid "Can't use floating point insn in this section" msgstr "" -#: config/tc-mips.c:7751 +#: config/tc-mips.c:7767 msgid "16 bit expression not in range 0..65535" msgstr "" -#: config/tc-mips.c:7788 +#: config/tc-mips.c:7804 msgid "16 bit expression not in range -32768..32767" msgstr "" -#: config/tc-mips.c:7859 +#: config/tc-mips.c:7875 msgid "lui expression not in range 0..65535" msgstr "" -#: config/tc-mips.c:7883 +#: config/tc-mips.c:7899 #, c-format msgid "invalid condition code register $fcc%d" msgstr "" -#: config/tc-mips.c:7908 +#: config/tc-mips.c:7924 msgid "invalid coprocessor sub-selection value (0-7)" msgstr "" -#: config/tc-mips.c:7913 +#: config/tc-mips.c:7929 #, c-format msgid "bad char = '%c'\n" msgstr "" -#: config/tc-mips.c:7926 config/tc-mips.c:8464 +#: config/tc-mips.c:7942 config/tc-mips.c:8480 msgid "illegal operands" msgstr "" -#: config/tc-mips.c:7993 +#: config/tc-mips.c:8009 msgid "unrecognized opcode" msgstr "" -#: config/tc-mips.c:8102 +#: config/tc-mips.c:8118 #, c-format msgid "invalid register number (%d)" msgstr "" -#: config/tc-mips.c:8183 +#: config/tc-mips.c:8199 msgid "used $at without \".set noat\"" msgstr "" -#: config/tc-mips.c:8358 +#: config/tc-mips.c:8374 msgid "can't parse register list" msgstr "" -#: config/tc-mips.c:8392 config/tc-mips.c:8422 +#: config/tc-mips.c:8408 config/tc-mips.c:8438 msgid "invalid register list" msgstr "" -#: config/tc-mips.c:8590 +#: config/tc-mips.c:8606 msgid "extended operand requested but not required" msgstr "" -#: config/tc-mips.c:8592 +#: config/tc-mips.c:8608 msgid "invalid unextended operand value" msgstr "" -#: config/tc-mips.c:8620 +#: config/tc-mips.c:8636 msgid "operand value out of range for instruction" msgstr "" -#: config/tc-mips.c:9005 +#: config/tc-mips.c:9021 #, c-format msgid "invalid architecture -mcpu=%s" msgstr "" -#: config/tc-mips.c:9054 +#: config/tc-mips.c:9070 msgid "-G may not be used with embedded PIC code" msgstr "" -#: config/tc-mips.c:9066 +#: config/tc-mips.c:9083 msgid "-call_shared is supported only for ELF format" msgstr "" -#: config/tc-mips.c:9072 config/tc-mips.c:10158 config/tc-mips.c:10332 +#: config/tc-mips.c:9089 config/tc-mips.c:10178 config/tc-mips.c:10352 msgid "-G may not be used with SVR4 PIC code" msgstr "" -#: config/tc-mips.c:9081 +#: config/tc-mips.c:9098 msgid "-non_shared is supported only for ELF format" msgstr "" -#: config/tc-mips.c:9097 +#: config/tc-mips.c:9115 msgid "-G is not supported for this configuration" msgstr "" -#: config/tc-mips.c:9102 +#: config/tc-mips.c:9120 msgid "-G may not be used with SVR4 or embedded PIC code" msgstr "" -#: config/tc-mips.c:9126 +#: config/tc-mips.c:9145 msgid "No compiled in support for 64 bit object file format" msgstr "" -#: config/tc-mips.c:9218 +#: config/tc-mips.c:9238 msgid "" "MIPS options:\n" "-membedded-pic\t\tgenerate embedded position independent code\n" @@ -5520,7 +5534,7 @@ msgid "" "\t\t\timplicitly with the gp register [default 8]\n" msgstr "" -#: config/tc-mips.c:9226 +#: config/tc-mips.c:9246 msgid "" "-mips1\t\t\tgenerate MIPS ISA I instructions\n" "-mips2\t\t\tgenerate MIPS ISA II instructions\n" @@ -5532,20 +5546,20 @@ msgid "" "-mcpu=CPU\t\tgenerate code for CPU, where CPU is one of:\n" msgstr "" -#: config/tc-mips.c:9257 +#: config/tc-mips.c:9277 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:9270 +#: config/tc-mips.c:9290 msgid "" "-mips16\t\t\tgenerate mips16 instructions\n" "-no-mips16\t\tdo not generate mips16 instructions\n" msgstr "" -#: config/tc-mips.c:9273 +#: config/tc-mips.c:9293 msgid "" "-O0\t\t\tremove unneeded NOPs, do not swap branches\n" "-O\t\t\tremove unneeded NOPs and swap branches\n" @@ -5554,7 +5568,7 @@ msgid "" "--break, --no-trap\tbreak exception on div by 0 and mult overflow\n" msgstr "" -#: config/tc-mips.c:9280 +#: config/tc-mips.c:9300 msgid "" "-KPIC, -call_shared\tgenerate SVR4 position independent code\n" "-non_shared\t\tdo not generate position independent code\n" @@ -5563,170 +5577,170 @@ msgid "" "-64\t\t\tcreate 64 bit object file\n" msgstr "" -#: config/tc-mips.c:9337 +#: config/tc-mips.c:9357 #, c-format msgid "Unsupported reloc size %d" msgstr "" -#: config/tc-mips.c:9440 +#: config/tc-mips.c:9460 msgid "Unmatched %%hi reloc" msgstr "" -#: config/tc-mips.c:9563 +#: config/tc-mips.c:9583 msgid "Invalid PC relative reloc" msgstr "" -#: config/tc-mips.c:9673 config/tc-sparc.c:3101 config/tc-sparc.c:3108 +#: 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 msgid "relocation overflow" msgstr "" -#: config/tc-mips.c:9689 +#: config/tc-mips.c:9709 #, c-format msgid "Branch to odd address (%lx)" msgstr "" -#: config/tc-mips.c:9853 +#: config/tc-mips.c:9873 #, c-format msgid "%08lx UNDEFINED\n" msgstr "" -#: config/tc-mips.c:9919 +#: config/tc-mips.c:9939 msgid "Alignment negative: 0 assumed." msgstr "" -#: config/tc-mips.c:10007 +#: config/tc-mips.c:10027 msgid "No read only data section in this object file format" msgstr "" -#: config/tc-mips.c:10030 +#: config/tc-mips.c:10050 msgid "Global pointers not supported; recompile -G 0" msgstr "" -#: config/tc-mips.c:10116 +#: config/tc-mips.c:10136 #, c-format msgid "%s: no such section" msgstr "" -#: config/tc-mips.c:10153 +#: config/tc-mips.c:10173 #, c-format msgid ".option pic%d not supported" msgstr "" -#: config/tc-mips.c:10164 +#: config/tc-mips.c:10184 #, c-format msgid "Unrecognized option \"%s\"" msgstr "" -#: config/tc-mips.c:10227 +#: config/tc-mips.c:10247 msgid "`noreorder' must be set before `nomacro'" msgstr "" -#: config/tc-mips.c:10269 +#: config/tc-mips.c:10289 msgid "unknown ISA level" msgstr "" -#: config/tc-mips.c:10291 +#: config/tc-mips.c:10311 msgid ".set pop with no .set push" msgstr "" -#: config/tc-mips.c:10315 +#: config/tc-mips.c:10335 #, c-format msgid "Tried to set unrecognized symbol: %s\n" msgstr "" -#: config/tc-mips.c:10365 +#: config/tc-mips.c:10385 msgid ".cpload not in noreorder section" msgstr "" -#: config/tc-mips.c:10447 +#: config/tc-mips.c:10467 msgid "Unsupported use of .gpword" msgstr "" -#: config/tc-mips.c:10584 +#: config/tc-mips.c:10604 msgid "expected `$'" msgstr "" -#: config/tc-mips.c:10592 +#: config/tc-mips.c:10612 msgid "Bad register number" msgstr "" -#: config/tc-mips.c:10608 +#: config/tc-mips.c:10628 msgid "Unrecognized register name" msgstr "" -#: config/tc-mips.c:10807 +#: config/tc-mips.c:10827 msgid "unsupported PC relative reference to different section" msgstr "" -#: config/tc-mips.c:10916 +#: config/tc-mips.c:10936 msgid "unsupported relocation" msgstr "" -#: config/tc-mips.c:11020 +#: config/tc-mips.c:11040 msgid "AT used after \".set noat\" or macro used after \".set nomacro\"" msgstr "" -#: config/tc-mips.c:11083 +#: config/tc-mips.c:11103 msgid "Double check fx_r_type in tc-mips.c:tc_gen_reloc" msgstr "" -#: config/tc-mips.c:11596 +#: config/tc-mips.c:11616 msgid "missing `.end' at end of assembly" msgstr "" -#: config/tc-mips.c:11611 +#: config/tc-mips.c:11631 msgid "Expected simple number." msgstr "" -#: config/tc-mips.c:11637 +#: config/tc-mips.c:11657 #, c-format msgid " *input_line_pointer == '%c' 0x%02x\n" msgstr "" -#: config/tc-mips.c:11639 +#: config/tc-mips.c:11659 msgid "Invalid number" msgstr "" -#: config/tc-mips.c:11693 +#: config/tc-mips.c:11713 msgid ".end not in text section" msgstr "" -#: config/tc-mips.c:11697 +#: config/tc-mips.c:11717 msgid ".end directive without a preceding .ent directive." msgstr "" -#: config/tc-mips.c:11706 +#: config/tc-mips.c:11726 msgid ".end symbol does not match .ent symbol." msgstr "" -#: config/tc-mips.c:11709 +#: config/tc-mips.c:11729 msgid ".end directive missing or unknown symbol" msgstr "" -#: config/tc-mips.c:11784 +#: config/tc-mips.c:11804 msgid ".ent or .aent not in text section." msgstr "" -#: config/tc-mips.c:11787 +#: config/tc-mips.c:11807 msgid "missing `.end'" msgstr "" -#: config/tc-mips.c:11820 ecoff.c:3205 +#: config/tc-mips.c:11840 ecoff.c:3205 msgid ".frame outside of .ent" msgstr "" -#: config/tc-mips.c:11831 ecoff.c:3216 +#: config/tc-mips.c:11851 ecoff.c:3216 msgid "Bad .frame directive" msgstr "" -#: config/tc-mips.c:11861 +#: config/tc-mips.c:11881 msgid ".mask/.fmask outside of .ent" msgstr "" -#: config/tc-mips.c:11868 +#: config/tc-mips.c:11888 msgid "Bad .mask/.fmask directive" msgstr "" @@ -8278,31 +8292,31 @@ msgstr "" msgid "Bad expression" msgstr "" -#: expr.c:1674 +#: expr.c:1677 msgid "missing operand; zero assumed" msgstr "" -#: expr.c:1707 +#: expr.c:1710 msgid "operation combines symbols in different segments" msgstr "" -#: expr.c:1724 +#: expr.c:1727 msgid "left operand is a bignum; integer 0 assumed" msgstr "" -#: expr.c:1726 +#: expr.c:1729 msgid "left operand is a float; integer 0 assumed" msgstr "" -#: expr.c:1735 +#: expr.c:1738 msgid "right operand is a bignum; integer 0 assumed" msgstr "" -#: expr.c:1737 +#: expr.c:1740 msgid "right operand is a float; integer 0 assumed" msgstr "" -#: expr.c:1793 symbols.c:1089 +#: expr.c:1796 symbols.c:1089 msgid "division by zero" msgstr "" @@ -9252,36 +9266,36 @@ msgstr "" msgid "local label %s is not defined" msgstr "" -#: write.c:2187 +#: write.c:2201 #, c-format msgid "alignment padding (%lu bytes) not a multiple of %ld" msgstr "" -#: write.c:2297 +#: write.c:2311 #, c-format msgid ".word %s-%s+%s didn't fit" msgstr "" -#: write.c:2378 +#: write.c:2392 msgid "attempt to .org backwards ignored" msgstr "" -#: write.c:2402 +#: write.c:2416 msgid ".space specifies non-absolute value" msgstr "" -#: write.c:2406 +#: write.c:2420 msgid ".space or .fill with negative value, ignored" msgstr "" -#: write.c:2657 +#: write.c:2671 #, c-format msgid "" "Subtraction of two symbols in different sections \"%s\" {%s section} - " "\"%s\" {%s section} at file address %s." msgstr "" -#: write.c:2811 +#: write.c:2825 #, c-format msgid "Value of %s too large for field of %d bytes at %s" msgstr "" |