aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-rs6000.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2002-01-08 00:28:36 +0000
committerAldy Hernandez <aldyh@redhat.com>2002-01-08 00:28:36 +0000
commit1dba4cb4baa4862670e9019c2bd1f718807b4b92 (patch)
tree7d70216fba72f994d20019481c888a2baa85089a /bfd/coff-rs6000.c
parent435ad15963a9a1132a0d9874324e87be25d447ad (diff)
downloadgdb-1dba4cb4baa4862670e9019c2bd1f718807b4b92.zip
gdb-1dba4cb4baa4862670e9019c2bd1f718807b4b92.tar.gz
gdb-1dba4cb4baa4862670e9019c2bd1f718807b4b92.tar.bz2
* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r--bfd/coff-rs6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 34f2562..2d6d6e9 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -1555,7 +1555,7 @@ static char buff20[XCOFFARMAGBIG_ELEMENT_SIZE + 1];
#define READ20(d, v) \
buff20[20] = 0, \
memcpy (buff20, (d), 20), \
- (v) = strtoull (buff20, (char **) NULL, 10)
+ (v) = bfd_scan_vma (buff20, (const char **) NULL, 10)
static boolean
xcoff_write_armap_big (abfd, elength, map, orl_count, stridx)