aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-lm32.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-lm32.c')
-rw-r--r--gas/config/tc-lm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-lm32.c b/gas/config/tc-lm32.c
index a547ba9..75a733a 100644
--- a/gas/config/tc-lm32.c
+++ b/gas/config/tc-lm32.c
@@ -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));
}