* bfd/coff-rs6000.c (READ20): Use bfd_scan_vma.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 8 Jan 2002 00:28:36 +0000 (00:28 +0000)
committerAldy Hernandez <aldyh@redhat.com>
Tue, 8 Jan 2002 00:28:36 +0000 (00:28 +0000)
bfd/ChangeLog
bfd/coff-rs6000.c

index fcabcaaa8173d9654f0cce815543732536cad9e7..d1ccdbe36d4f532570685a326d542ba54520f9fc 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
+
+       * coff-rs6000.c (READ20): Use bfd_scan_vma.
+
 2002-01-07  Geoffrey Keating  <geoffk@redhat.com>
 
        * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
index 34f2562185129b73b1d7b9b1512fac0cf24472ba..2d6d6e95056ad59a68d02946d283750fd58a2351 100644 (file)
@@ -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)