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

Ian Lance Taylor ian@zembu.com
Wed May 3 10:21:00 GMT 2000


   From: Andreas Jaeger <aj@suse.de>
   Date: 03 May 2000 12:53:24 +0200

   -  unsigned long val = strtoul (valstr, &end, 16);
   +  bfd_vma val = bfd_scan_vma (valstr, (CONST char **)&end, 16);

I think CONST is an aberration which should be avoided in new code.
There isn't any reason to use a special macro.  We just #undef const
if the compiler doesn't support it.  See ansidecl.h.

Ian


More information about the Binutils mailing list