From 2eb1b8938de1aff11d88356a36df36a62989ad44 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 15 Jun 2004 01:13:20 +0000 Subject: * ldwrite.c (build_link_order): Use bfd_get_section_size instead of bfd_get_section_size_before_reloc or _raw_size. * pe-dll.c (process_def_file): Likewise. --- ld/pe-dll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/pe-dll.c') diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 45d00aedcc..2b5609c09f 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -515,7 +515,7 @@ process_def_file (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info *info) s = bfd_get_section_by_name (b, ".drectve"); if (s) { - int size = bfd_get_section_size_before_reloc (s); + int size = bfd_get_section_size (s); char *buf = xmalloc (size); bfd_get_section_contents (b, s, buf, 0, size); -- cgit v1.2.1