This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Help about prelinker on mips
- From: "Amker.Cheng" <amker dot cheng at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sat, 19 Dec 2009 19:19:24 +0800
- Subject: Help about prelinker on mips
Hi:
Don't know if this is the right list, Please correct me if not.
Recently I am trying to do prelink on mips, I am using
codesourcery released lite toolchain.
But it does not work(prelinker complained about conflicts and didn't
modify binaries), such as:
Assigned virtual address space slots for libraries:
/lib/ld.so.1 2c000000-2c02fa44
/lib/libc.so.6 2c040000-2c1a5b80
Prelinking /mnt/nfs/tools/dummy
./prelink: /lib/libc.so.6: Conflict 0000bce0 not found in any relocation
./prelink: /lib/libc.so.6: Conflict 0000bc20 not found in any relocation
./prelink: /lib/ld.so.1: Conflict 00000494 not found in any relocation
./prelink: /lib/ld.so.1: Conflict 00000484 not found in any relocation
./prelink: /lib/ld.so.1: Conflict 00000474 not found in any relocation
./prelink: /lib/ld.so.1: Conflict 00000464 not found in any relocation
./prelink: /lib/ld.so.1: Conflict 00000444 not found in any relocation
the version of tools are:
binutils-2.19
gcc-4.3.3
eglibc-2.8
elfutils-0.140
prelink-20091104(from http://people.redhat.com/jakub/prelink/)
I searched around www and found following patches and compared it
with source code:
ftp://ftp.linux-mips.org/pub/linux/mips/people/ths/mips-prelinker-patches-debian/
I found the glibc-patch are already merged, while the
binutils-patch is some kind of complicate:
most of binutils patches are applied, but ones like
binutils-objcopy-section-syms.patch not.
further more, the prelink patch are not applied, but the source code
do have a file named as "arch.mips.c",
which looks strange.
So, do I need any patch or have to do something special when
configuring/making/using
the toolchain/prelink ? Any tips will be highly appreciated.
Thanks All.
--
Best Regards.