tic4x: sign extension using shifts
[deliverable/binutils-gdb.git] / gas / config / tc-lm32.c
index 5f7d7032a81bbde393f59ab3ffb4f9269d3a1e89..f660fe27f5d111d32372e13e39c966c0cc7ec840 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-lm32.c - Lattice Mico32 assembler.
-   Copyright (C) 2008-2016 Free Software Foundation, Inc.
+   Copyright (C) 2008-2020 Free Software Foundation, Inc.
    Contributed by Jon Beniston <jon@beniston.com>
 
    This file is part of GAS, the GNU Assembler.
@@ -277,7 +277,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));
 }
 
This page took 0.025875 seconds and 4 git commands to generate.