diff options
Diffstat (limited to 'opcodes/arc-ext.c')
-rw-r--r-- | opcodes/arc-ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/arc-ext.c b/opcodes/arc-ext.c index bf57887..cfb13aa 100644 --- a/opcodes/arc-ext.c +++ b/opcodes/arc-ext.c @@ -438,7 +438,7 @@ build_ARC_extmap (bfd *text_bfd) sizeof (".gnu.linkonce.arcextmap.") - 1) || !strcmp (sect->name,".arcextmap")) { - bfd_size_type count = bfd_get_section_size (sect); + bfd_size_type count = bfd_section_size (sect); unsigned char* buffer = xmalloc (count); if (buffer) |