x86: consolidate Disp<NN> handling a little
[deliverable/binutils-gdb.git] / gas / config / tc-h8300.c
index a00089b8f59fb49d826203cb2f850b1b881492d1..c79c6d42255dcb320125a9a827ab0443f69e31e4 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-h8300.c -- Assemble code for the Renesas H8/300
-   Copyright (C) 1991-2018 Free Software Foundation, Inc.
+   Copyright (C) 1991-2019 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -2225,7 +2225,7 @@ md_convert_frag (bfd *headers ATTRIBUTE_UNUSED,
 valueT
 md_section_align (segT segment, valueT size)
 {
-  int align = bfd_get_section_alignment (stdoutput, segment);
+  int align = bfd_section_alignment (segment);
   return ((size + (1 << align) - 1) & (-1U << align));
 }
 
This page took 0.023304 seconds and 4 git commands to generate.