diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-06-15 01:14:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2004-06-15 01:14:22 +0000 |
commit | 48419ec8e1de2d9e6caa19295f484a9066696e63 (patch) | |
tree | 1f2583261b1512ec1f8ddc7692b297322f5762c3 /opcodes | |
parent | 2eb1b8938de1aff11d88356a36df36a62989ad44 (diff) | |
download | binutils-redhat-48419ec8e1de2d9e6caa19295f484a9066696e63.tar.gz |
* arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
instead of _raw_size.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/arc-ext.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 603fc1fbb1..5869f86b4b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -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 diff --git a/opcodes/arc-ext.c b/opcodes/arc-ext.c index fd43d29ab3..6634534016 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)) { |