diff options
author | Alan Modra <amodra@gmail.com> | 2004-06-15 01:14:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-06-15 01:14:22 +0000 |
commit | 52886d70655a6ad043b003fa1a949abfc70a8c7e (patch) | |
tree | 3a34b63c2ea3bc20b0a7f9642bd662ebf3cf8b93 /opcodes/arc-ext.c | |
parent | a9e0c0c668a0e473385ed4923352f5c0447e8c6c (diff) | |
download | gdb-52886d70655a6ad043b003fa1a949abfc70a8c7e.zip gdb-52886d70655a6ad043b003fa1a949abfc70a8c7e.tar.gz gdb-52886d70655a6ad043b003fa1a949abfc70a8c7e.tar.bz2 |
* arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
instead of _raw_size.
Diffstat (limited to 'opcodes/arc-ext.c')
-rw-r--r-- | opcodes/arc-ext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/arc-ext.c b/opcodes/arc-ext.c index fd43d29..6634534 100644 --- a/opcodes/arc-ext.c +++ b/opcodes/arc-ext.c @@ -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)) { |