On Thu, 1 Apr 1999, Jamie Guinan wrote:
> /tmp/testEgcs1/lib/libglib-1.2.so.0.0.0: file format elf32-arm
>
> DYNAMIC RELOCATION RECORDS
> OFFSET TYPE VALUE
> 00022398 R_ARM_PC24 __div0
> 0002244c R_ARM_PC24 __div0
> 00022500 R_ARM_PC24 __div0
> 0002d494 R_ARM_RELATIVE *ABS*
> 0002d574 R_ARM_RELATIVE *ABS*
> 0002d5a8 R_ARM_RELATIVE *ABS*
> ...
>
> I'm guessing the R_ARM_PC24 reloc's are what ld.so is choking on,
> judging by ld.so's error message (actually, /lib/ld-linux.so.2).
>
> Should the compiler be generating R_ARM_PC24 reloc's at all?
>
> Here are the relocation locations (objdump -d),
I've had this troubles, too. Make sure that all bits of libgcc.a (in the
egcs-source) are compiled with -fPIC (mainly libgcc1.{S,asm}). I think
that was the problem.
----------------------------------------------------------
|mailto: Stefan Hanske ([EMAIL PROTECTED] |
|WWW : http://www.rzuser.uni-heidelberg.de/~shanske |
|phone: I'm not silly |
|--------------------------------------------------------|
| And don't forget to remember what you remembered not |
| to forget to remember... |
----------------------------------------------------------
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]