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



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