Patch for 64-bit change address in 32-bit environment
Ian Lance Taylor
ian@zembu.com
Mon Apr 10 14:11:00 GMT 2000
Date: Sun, 9 Apr 2000 00:11:06 -0700 (PDT)
From: Ulf Carlsson <ulfc@calypso.engr.sgi.com>
The current implementation of set_section_start() can't handle 64-bit addresses
if you've compiled the 64-bit linker in a 32-bit environment. The problem
is that strtoul() uses unsigned longs. I have attached a workaround for this.
2000-04-09 Ulf Carlsson <ulfc@engr.sgi.com>
* lexsup.c (set_section_start): Handle 64-bit addresses is 32-bit
compiling environments.
Thanks for the patch.
I think we should probably just use bfd_scan_vma instead of strtoul.
Ian
More information about the Binutils
mailing list