summaryrefslogtreecommitdiff
path: root/binutils/dlltool.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r--binutils/dlltool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 5f921ae0954..a8e74858ed1 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -1206,7 +1206,7 @@ scan_drectve_symbols (bfd *abfd)
if (s == NULL)
return;
- size = bfd_get_section_size_before_reloc (s);
+ size = bfd_get_section_size (s);
buf = xmalloc (size);
bfd_get_section_contents (abfd, s, buf, 0, size);