This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch for 64-bit change address in 32-bit environment
- To: ulfc at calypso dot engr dot sgi dot com
- Subject: Re: Patch for 64-bit change address in 32-bit environment
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 10 Apr 2000 14:10:52 -0700
- CC: binutils at sourceware dot cygnus dot com
- References: <Pine.LNX.4.21.0004082353520.9740-100000@calypso.engr.sgi.com>
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