This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch for 64-bit change address in 32-bit environment


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]