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: binutils development (was Re: Problems building binutils-000220 snapshot)


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

   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.

Ian

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