GCC-4.3.3 with MIPS crossed generate relocation type 0x7f (127) which is unknown

naveen yadav yad.naveen@gmail.com
Thu Oct 1 11:28:00 GMT 2009


On Thu, Oct 1, 2009 at 2:03 PM, Andrew Haley <aph@redhat.com> wrote:
> naveen yadav wrote:
>
>> I am using  prelink-0.0.20090311 for MIPS with gcc 4.3.3.
>> mips-4.3 toochain generates .rel.plt section that has entries with
>> relocation type 0x7f (127) which is unknown.
>>
>> This Assigned virtual address space slots for libraries:
>> /lib/ld.so.1                                                 2c000000-2c030a24
>> /prelink_test/libtest1.so.0                                  2c040000-2c2c4e90
>> /lib/libc.so.6                                               2c2d0000-2c43dc60
>> Prelinking /lib/ld-2.5.90.so
>> Prelinking /lib/libc-2.5.90.so
>> Prelinking /prelink_test/libtest1.so
>> Prelinking /prelink_test/test1
>> prelink.host: /prelink_test/test1: Unknown MIPS relocation type 1663
>> prelink.host: reloc.c:174: convert_rel_to_rela: Assertion `d->d_size
>> == dso->shdr[i].sh_size' failed.
>> ./build.sh: line 27: 18246 Aborted                 prelink.host
>> --root=../ --verbose --config-file=/etc/prelink.conf
>> --cache-file=/etc/prelink.cache --ld-library-path=/prelink_test -x
>> mips24ke_nfp_be-ldd prelink_test/test1
>> Laying out 1 libraries in virtual address space 2c000000-3c000000
>> Assigned virtual address space slots for libraries:
>>
>>
>> But prelink version prelink-0.0.20090311 works fine with gcc 4.2.2.
>>
>> Will you pls suggest what is reason...
>
> It really isn't a good idea to ask this question  on the gcc list; please
> address this to binutils@sourceware.org
>
> Andrew.
>



More information about the Binutils mailing list