This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compilation problem with Redboot on assabet (no memor
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] Compilation problem with Redboot on assabet (no memor
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 05 Apr 2001 12:42:22 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com, benoit dot cousson at philips dot com
- Organization: Red Hat, Inc.
On 05-Apr-2001 Jonathan Larmour wrote:
> benoit.cousson@philips.com wrote:
>>
>> The only differences with the working redboot.rom are sections .got and .got.plt.
>> These sections also generate warning during the link: "no memory region specified for section
>> .got".
>> What does it mean? The linker store these sections in 0x00000000 and 0x00000008, and pad with
>> zero until 0x50000000. That the reason
>> why the .bin file is so big.
>>
>> I do not have CVS access, so sources come from ftp snapshot (ftp://ftp.skynet.ie/cvs/),
>> downloaded 2 days ago.
>>
>> I use HardHat CDK 1.2 for cross compilation on a Mandrake 7.2 linux.
>> Is it a configuration problem ?
>
> At a guess those tools are linux tools and have a configuration that forces
> the .got* sections to appear.
>
> Add them to the linker script target.ld in install/lib in your build
> directory in a similar way to the other sections (sorry, yes I know that
> that file is ugly). They won't be used, but it will keep the linker happy.
Maybe. The fact that they have something in them scares me.