Problem with binutils with Cortex-m3 and cortex-a9 cpu
Ramana Radhakrishnan
ramana.radhakrishnan@arm.com
Fri May 1 13:14:00 GMT 2009
> -----Original Message-----
> From: binutils-owner@sourceware.org [mailto:binutils-
> owner@sourceware.org] On Behalf Of Nitin Garg
> Sent: 01 May 2009 14:09
> To: binutils@sourceware.org
> Subject: Re: Problem with binutils with Cortex-m3 and cortex-a9 cpu
>
> I am working on Cortex-A9 and M3 of ARM. I am using gcc 4.4.0, uClibc
> 0.9.30.1 and binutils 2.19.1 and building it for Cortex-m3. While
> building for m3 if I specify arch as armv7-m alonmg with cpu
> cortex-m3, the build fails.
Can you be more specific and mention what your parameters are and what the
error message is ?
>
> Using the same set, if I build the toolchain for Cortex-A9
> (cpu=cortex-a9 and arch=armv7-a), the Linux kernel (2.6.28.9) and
> rootfs built with this toolchain works fine. But if I build a loadable
> kernel module, when I insmod the module it fails and gives an error as
> "undefined relocation: 43" from the Linux kernel.
Probably that's because modutils needs to handle relocation 43 which looking
at the include file
is R_ARM_MOVW_ABS_NC.
cheers
Ramana
More information about the Binutils
mailing list