Merge branch 'master' into merge-job
[deliverable/binutils-gdb.git] / gas / config / tc-xgate.c
index 521fe44ab72fb21e8fbc4ad4208462c78f7c370f..afdf0dd91fa3bab860aead0a4035e9430416c204 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-xgate.c -- Assembler code for Freescale XGATE
-   Copyright (C) 2010-2016 Free Software Foundation, Inc.
+   Copyright (C) 2010-2020 Free Software Foundation, Inc.
    Contributed by Sean Keys <skeys@ipdatasys.com>
 
    This file is part of GAS, the GNU Assembler.
@@ -212,7 +212,7 @@ md_parse_option (int c, const char *arg)
       else if (strcasecmp (arg, "v3") == 0)
        current_architecture = XGATE_V3;
       else
-       as_bad (_(" architecture variant invalid"));
+       as_bad (_("architecture variant invalid"));
       break;
 
     case OPTION_PRINT_INSN_SYNTAX:
@@ -373,7 +373,7 @@ Freescale XGATE co-processor options:\n\
   -mlong                  use 32-bit int ABI\n\
   -mshort-double          use 32-bit double ABI\n\
   -mlong-double           use 64-bit double ABI (default)\n\
-  --mxgate                specify the processor variant[default %s]\n\
+  --mxgate                specify the processor variant [default %s]\n\
   --print-insn-syntax     print the syntax of instruction in case of error\n\
   --print-opcodes         print the list of instructions with syntax\n\
   --generate-example      generate an example of each instruction"),
@@ -466,7 +466,7 @@ md_undefined_symbol (char *name ATTRIBUTE_UNUSED)
 valueT
 md_section_align (asection * seg, valueT addr)
 {
-  int align = bfd_get_section_alignment (stdoutput, seg);
+  int align = bfd_section_alignment (seg);
   return ((addr + (1 << align) - 1) & -(1 << align));
 }
 
@@ -508,7 +508,7 @@ md_assemble (char *input_line)
 
       if (!opcode)
        {
-         as_bad (_("matching operands to opcode "));
+         as_bad (_("matching operands to opcode"));
          xgate_print_syntax (opcode_handle->opc0[0]->name);
        }
       else if (opcode->size == 2)
This page took 0.025889 seconds and 4 git commands to generate.