* arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
authorAlan Modra <amodra@gmail.com>
Tue, 15 Jun 2004 01:14:22 +0000 (01:14 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Jun 2004 01:14:22 +0000 (01:14 +0000)
instead of _raw_size.

opcodes/ChangeLog
opcodes/arc-ext.c

index 603fc1fbb1f030e54a9784208fa5aec9e777ba92..5869f86b4b87fc27045be51fb852cc4b2f57ece6 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
+       instead of _raw_size.
+
 2004-06-08  Jakub Jelinek  <jakub@redhat.com>
 
        * ia64-gen.c (in_iclass): Handle more postinc st
index fd43d29ab3fd920bad7536a16a2e1420b4606bdb..6634534016d751f6ec3690c40c6f5a468bc9231f 100644 (file)
@@ -1,5 +1,5 @@
 /* ARC target-dependent stuff. Extension structure access functions
-   Copyright 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
+   Copyright 1995, 1997, 2000, 2001, 2004 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -248,7 +248,7 @@ build_ARC_extmap (text_bfd)
   for (p = text_bfd->sections; p != NULL; p = p->next)
     if (!strcmp (p->name, ".arcextmap"))
       {
-        count = p->_raw_size;
+        count = bfd_get_section_size (p);
         arcExtMap = (char *) xmalloc (count);
         if (bfd_get_section_contents (text_bfd, p, (PTR) arcExtMap, 0, count))
           {
This page took 0.02723 seconds and 4 git commands to generate.