Modify the ARNM assembler to accept the omission of the immediate argument for the...
[deliverable/binutils-gdb.git] / gas / config / obj-ecoff.c
index 80ae37e5f924230b3d99f5efb71fcf133cef6307..d8e4f400d7ba1c08ca575d6e179d1ac9596633e2 100644 (file)
@@ -1,5 +1,5 @@
 /* ECOFF object file format.
-   Copyright (C) 1993-2017 Free Software Foundation, Inc.
+   Copyright (C) 1993-2019 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
    This file was put together by Ian Lance Taylor <ian@cygnus.com>.
 
@@ -25,6 +25,7 @@
 #include "coff/internal.h"
 #include "bfd/libcoff.h"
 #include "bfd/libecoff.h"
+#include "bfd/ecoff-bfd.h"
 
 /* Almost all of the ECOFF support is actually in ecoff.c in the main
    gas directory.  This file mostly just arranges to call that one at
@@ -90,15 +91,15 @@ ecoff_frob_file_before_fix (void)
          }
       if (i == n_names)
        {
-         bfd_set_section_vma (stdoutput, sec, addr);
-         addr += bfd_section_size (stdoutput, sec);
+         bfd_set_section_vma (sec, addr);
+         addr += bfd_section_size (sec);
        }
     }
   for (i = 0; i < n_names; i++)
     if (secs[i])
       {
-       bfd_set_section_vma (stdoutput, secs[i], addr);
-       addr += bfd_section_size (stdoutput, secs[i]);
+       bfd_set_section_vma (secs[i], addr);
+       addr += bfd_section_size (secs[i]);
       }
   for (i = n_names - 1; i >= 0; i--)
     if (secs[i])
This page took 0.024064 seconds and 4 git commands to generate.