This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Question about the differences between objdump and objcopy


On Thu, May 22, 2008 at 09:53:56AM +0800, XU SHENG wrote:
>            How ever, when I use objcopy to extract raw binary info. from

The program headers you showed had PhysAddr entries differing from
VirtAddr.  This will result in bfd sections with lma different to
vma, and it is lma that is used when deciding where the data goes when
writing a binary output.

-- 
Alan Modra
Australia Development Lab, IBM


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