Re: [coldfire-gnu-discuss] ld.exe: error: no memory region specified for loadable section `.data._ZN10__cxx
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldfire-gnu-discuss] ld.exe: error: no memory region specified for loadable section `.data._ZN10__cxx
- To: mike young <mikeyz9@xxxxxxxxx>
- Subject: Re: [coldfire-gnu-discuss] ld.exe: error: no memory region specified for loadable section `.data._ZN10__cxx
- From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
- Date: Thu, 29 Oct 2009 14:52:02 -0400
mike young wrote:
After modifying my linker to the following, now I'm getting
ld.exe: ..\..\out\npp_base_demo.out: warning: sh_link not set for section `.ARM.exidx'
below is my linker file:
.ARM.exidx :
{
__exidx_start = .;
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
__exidx_end = .;
} > ram
You can't place linker symbols into this special sorted section.
Write it like this instead (as in the example linker scripts provided
by CodeSourcery):
/* .ARM.exidx is sorted, so has to go in its own output section. */
__exidx_start = .;
.ARM.exidx :
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} >ram
__exidx_end = .;
You appear to have emailed the ColdFire discussion list with an ARM
problem, in the future please use this discussion list:
http://www.codesourcery.com/archives/arm-gnu/maillist.html
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716