binutils development (was Re: Problems building binutils-000220 snapshot)

Ian Lance Taylor
Wed Feb 23 08:56:00 GMT 2000

   Date: Wed, 23 Feb 2000 08:48:58 -0800
   From: "H . J . Lu" <>

   Can we do similar thing for 16bit relocation?

Sure.  We just have to write a special case for R_386_PC16.  The usual
overflow checking wraps to the number of address bits, which is 32.
R_386_PC16 needs to wrap to 16 bits.  We would want a special howto to
perform this calculation, and we would also want to handle it in the
relocate_section function.


More information about the Binutils mailing list