This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: OBJCopy Help
- To: Mark Petersen <markp at portsmith dot com>
- Subject: Re: OBJCopy Help
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Fri, 8 Jun 2001 18:18:17 -0400
- Cc: binutils at sources dot redhat dot com
- References: <IBEBLOACGJKAFLBMDNBBMEFGCAAA.markp@portsmith.com>
On Fri, Jun 08, 2001 at 04:13:12PM -0600, Mark Petersen wrote:
> I have created a ELF32-i386 format object file that contains three
> sections:.data, .text, and .vectors. I am trying to get objcopy to create
> an ihex file that has all three of these sections in it, but it refuses to
> put the .vectors section in the file. Why?
>
> Mark Petersen
> Sr. Hardware Engineer
> Portsmith, Inc.
> Phone: (208) 395-1300 x223
> Fax: (861) 619-5810
My first guess is the section .vectors was created with the wrong section
flags, and is not properly listed as being in memory. My second guess is that
your linker script needs to make sure .vectors is included with either the text
or data sections (particularly if you have an ELF based object format).
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482