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: Proposed objcopy patch


   Date: Fri, 14 May 1999 22:04:28 -0600
   From: Donn Terry <donn@verinet.com>

   3) A fix in the back end propigates itself back to user space
   in a way I think Ian should comment upon.  PE basically has
   changed the meaning of the s_paddr/lma field, and it's resonable
   to have both meanings in the internal data structure in separate
   fields.  For most of BFD and its users, that's probably an
   improvement, but it presents a problem for objdump.  Either
   the format of the --headers output needs to change or there
   needs to be special case code so that the "interesting" value
   is printed, as a function of the object format being dumped.
   (That is, one "COFF" field will go into one of two places; when
   printing either both (one guaranteed to be zero) need to be printed,
   or objdump needs to know which is "live".)

objdump -h should print the VMA and LMA as always.  Since PE does not
store a separate LMA, objdump -h should probably set the LMA to the
VMA.

objdump -p can print the doubled section size.  objdump -p is used to
print information that can not be stored in the generic BFD format.

Ian

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