[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 14:50:26 UTC 2009
mike young wrote:
> I used to be able to link my app using CS GNU v3.X but now I'm having
> issue linking on the Code Sourcery v4.3.3.
> I'm trying to link C++ application and keep getting the
> `.data._ZN10__cxxabiv119__terminate_handlerE'
>
> ld.exe -o ..\..\out\test.out obj\tst0.o obj\tst1.o --start-group
> .\..\..\..\lib\test1.lib .\..\..\..\lib\test2.lib --end-group -Map
> ../../out/test.map -LC:\cs_arm_4.3.3/arm-none-eabi/lib
> -LC:\cs_arm_4.3.3/lib/gcc/arm-none-eabi/4.3.3 @lib.txt -( -lstdc++ -lgcc
> -lc -lm -T ../../../linker/linker.ld -)
> ld.exe: error: no memory region specified for loadable section
> `.data._ZN10__cxxabiv119__terminate_handlerE'
CodeSourcery doesn't proivde a ld.exe, which version of the tools are
you using? When you run the compiler with just -v what does it say?
> Do you have any idea what I did wrong? What does
> _ZN10__cxxabiv119__terminate_handlerE means?
Your linker script is broken. Please look at the default linker
scripts provided by CodeSourcery. See the Getting Started guide for
information on the location of the linker scripts.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos at codesourcery.com
(650) 331-3385 x716
More information about the coldfire-gnu-discuss
mailing list