From 1dba4cb4baa4862670e9019c2bd1f718807b4b92 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Tue, 8 Jan 2002 00:28:36 +0000 Subject: [PATCH] * bfd/coff-rs6000.c (READ20): Use bfd_scan_vma. --- bfd/ChangeLog | 4 ++++ bfd/coff-rs6000.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fcabcaaa817..d1ccdbe36d4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-01-07 Aldy Hernandez + + * coff-rs6000.c (READ20): Use bfd_scan_vma. + 2002-01-07 Geoffrey Keating * elflink.h (elf_link_input_bfd): Don't ask for the merged offset diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 34f25621851..2d6d6e95056 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) -- 2.30.2