diff options
author | Alan Modra <amodra@gmail.com> | 2004-06-15 01:13:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-06-15 01:13:20 +0000 |
commit | a9e0c0c668a0e473385ed4923352f5c0447e8c6c (patch) | |
tree | f88dd63363b0c5261a255b9728d8f1b00285fd4f /ld/pe-dll.c | |
parent | 67cf9bc5a113105ad18f58b827d6f5b132ad618f (diff) | |
download | gdb-a9e0c0c668a0e473385ed4923352f5c0447e8c6c.zip gdb-a9e0c0c668a0e473385ed4923352f5c0447e8c6c.tar.gz gdb-a9e0c0c668a0e473385ed4923352f5c0447e8c6c.tar.bz2 |
* 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.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 45d00ae..2b5609c 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); |