shared libstdc++
David McCullough
davidm at snapgear.com
Wed Jan 18 03:53:12 UTC 2006
Jivin Lei Sun lays it down ...
> Hi :
> Thank you for your prompt response!
> I didn't use --disable-got-check options (didn't know it before ), at one
> time, when I had libgcc.a with GOT in it, and try to compile a C program,
> I forced to ignore the GOT check (by removing "grep" command in the linker
> script). The binary was created but I got "reloc outside program" error
> when loading flat binary. Is the --disable-got-check doing the similar
> thing? if so, i am afraid it doesn't work on ARM.
Yes.
> I guess link a non-PIC compiled program to PIC compiled library will
> always have this problem, so --disable-got-check somehow may cause
> confusion (code compiled, linked, but could execute due to reloc outside
> program error).
Cheers,
Davidm
--
David McCullough, davidm at cyberguard.com.au, Custom Embedded Solutions + Security
Ph:+61 734352815 Fx:+61 738913630 http://www.uCdot.org http://www.cyberguard.com
More information about the uClibc
mailing list