aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-pru.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-pru.c')
-rw-r--r--gas/config/tc-pru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-pru.c b/gas/config/tc-pru.c
index 12ed8cc..2e2058c 100644
--- a/gas/config/tc-pru.c
+++ b/gas/config/tc-pru.c
@@ -1745,7 +1745,7 @@ md_assemble (char *op_str)
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) & (-((valueT) 1 << align)));
}