aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xgate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-xgate.c')
-rw-r--r--gas/config/tc-xgate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-xgate.c b/gas/config/tc-xgate.c
index b936865..646be64 100644
--- a/gas/config/tc-xgate.c
+++ b/gas/config/tc-xgate.c
@@ -1007,7 +1007,7 @@ xgate_frob_symbol (symbolS *sym)
elf_symbol_type *elfsym;
bfdsym = symbol_get_bfdsym (sym);
- elfsym = elf_symbol_from (bfd_asymbol_bfd (bfdsym), bfdsym);
+ elfsym = elf_symbol_from (bfdsym);
gas_assert (elfsym);