[coldfire-gnu-discuss] Coldfire uclinux problem
Maxim Kuvyrkov
maxim at codesourcery.com
Wed Nov 12 15:17:01 UTC 2008
Dave Meador wrote:
> Hello,
>
> I tried to compile uclinux-dist-20080808 with
> uClinux-dist-20080808-20080922.patch applied and with Freescale,M5475EVB
> selected. I am using version Sourcery G++ Lite 4.3-45 compiler.
Does the distro compile without the patch?
>
> All files compile, but the linker fails with the following linker error:
>
> LD init/built-in.o
> LD vmlinux
What is the real command line for invoking the linker? You may be able
to obtain it by passing something like V=1 or VERBOSE=1 to make; e.g.,
'make V=1'.
> /opt/crosstool/CodeSourcery/Sourcery_G++_Lite/bin/m68k-uclinux-ld.real:
> error:
> no memory region specified for loadable section `.text.unlikely'
>
> Any ideas on what might be wrong here and how I can get past this?
The linker script [either explicit or implicit] does not have
instructions what to do with .text.unlikely section. You probably need
to fix the linker script to handle the section; one way of doing this is
to handle it in the same manner as .text section.
--
Maxim
More information about the coldfire-gnu-discuss
mailing list