From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: donn@verinet.com Cc: nickc@cygnus.com, binutils@sourceware.cygnus.com Subject: Re: Proposed objcopy patch Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <19990515155752.1804.qmail@daffy.airs.com> References: <199905142116.OAA18159@elmo.cygnus.com> <19990515011618.765.qmail@daffy.airs.com> <373CF24C.17D32143@verinet.com> <373CF24C.17D32143@verinet.com> X-SW-Source: 1999-q2/msg00044.html Date: Fri, 14 May 1999 22:04:28 -0600 From: Donn Terry 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