It turns the fix is rather simple. One just needs to add
"-fpic -msingle-pic-base" to the TARGET_LIBGCC2_CFLAGS
in the gcc/config/arm/t-linux file.
Cheers.
Jun
On Thu, Feb 05, 2009 at 07:49:21AM -0800, Jun Sun wrote:
>
> KJ,
>
> Did you find any solution to this problem? It seems we are hitti
KJ,
Did you find any solution to this problem? It seems we are hitting
the same problem now. It would be nice if you can share your findings
here.
It appears softfloat library is coming from libgcc. Few routines in
softfloat library, including long long division, would refer to external
variable
What kind of ARM uClinux toolchains do you use? And where to download?
Can it be used to compile the 2.6 kernel?
I use the snapgear ARM toolchains "arm-linux-tools-20070808.tar.gz" which is
recommended by uClinux website.
However, It only has "libgcc.a", "soft-float/libgcc.a", "be/libgcc.a" and
"
Jun Sun wrote:
> On Thu, Nov 27, 2008 at 02:24:48AM +0800, Lin KJ wrote:
> > In the ARM uClinux world, it seems that the user land XIP code should be
> > compiled with the "-fpic" and "-msingle-pic-base" flags.
> > Why not just "-fpic" flag?
> > Is it concern with the elf2flt tool?
>
> I think it
ts?
>
> Best Regards,
> KJ
>
>
>
>
> - 原始信件 ----
> 寄件者: Jun Sun <[EMAIL PROTECTED]>
> 收件者: uClinux development list
> 寄件日期: 2008/11/27(星期四) 上午3:00:54
> 主 旨: Re: [uClinux-dev] ARM compiler option "-msingle-pic-base"
>
> On Thu, Nov 27,
寄件者: Jun Sun <[EMAIL PROTECTED]>
收件者: uClinux development list
寄件日期: 2008/11/27(星期四) 上午3:00:54
主 旨: Re: [uClinux-dev] ARM compiler option "-msingle-pic-base"
On Thu, Nov 27, 2008 at 02:24:48AM +0800, Lin KJ wrote:
> Hi all,
>
> In the ARM uClinux world, it seems that
On Thu, Nov 27, 2008 at 02:24:48AM +0800, Lin KJ wrote:
> Hi all,
>
> In the ARM uClinux world, it seems that the user land XIP code should be
> compiled with the "-fpic" and "-msingle-pic-base" flags.
> Why not just "-fpic" flag?
> Is it concern with the elf2flt tool?
I think it has more to do
Hi all,
In the ARM uClinux world, it seems that the user land XIP code should be
compiled with the "-fpic" and "-msingle-pic-base" flags.
Why not just "-fpic" flag?
Is it concern with the elf2flt tool?
I can have the applications and uClibc to be compiled with "-msingle-pic-base",
but how about t