[coldfire-gnu-discuss] ld.exe: error: no memory region specified for loadable section `.data._ZN10__cxx

Carlos O'Donell carlos at codesourcery.com
Thu Oct 29 18:52:02 UTC 2009


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 at codesourcery.com
(650) 331-3385 x716



More information about the coldfire-gnu-discuss mailing list