2015年2月24日 下午4:57于 "Bernhard Reutner-Fischer" <[email protected]>写道: > > Please do not top-post. > > On February 24, 2015 2:06:28 AM GMT+01:00, Jean Lee <[email protected]> wrote: > >I tested the following environment with MIPS32, with CPU BCM7429(MIPS > >r3000), > >(1) > >mipsel-linux-uclibc-gcc 4.5.3-2.4 (compiled by Broadcom) > >binutils 2.19(GNU ld (GNU Binutils) 2.19.92.20091006) > >uclibc 0.9.32-1 > >Segment fault. > >(2) > >mipsel-linux-uclibc-gcc 4.5.3-2.4 (compiled by Broadcom) > >binutils 2.19(GNU ld (GNU Binutils) 2.19.92.20091006) > >uclibc 0.9.34 git master > >Segment fault. > >(3) > >mipsel-linux-uclibc-gcc 4.8 (compiled by Broadcom) > >binutils ? > >uclibc ? > >No .rel.plt segment. > >(4) > >mipsel-linux-uclibc-gcc 4.9 (compiled by me) > >binutils 2.19(GNU ld (GNU Binutils) 2.19.92.20091006) > >uclibc 0.9.32-1 > >Segment fault. > >(5) > >mips android ndk toolchain > >No .rel.plt segment. > > binutils-2.19 is pretty old. Does current 2.25 or master behave the same? > Let's concentrate on gcc 4.9.2 (or trunk), binutils 2.25 (or master) and uClibc master. > > Thanks, >
Sorry for top-post. I'm not sure the compiler built(gcc 4.9) by myself is precisely right. The compiler is built with original gcc 4.5.3 toolchain plus gcc configure to ease the building of gcc since uclibc has been built. If you have built this toolchain, would you mind to use mipsel-linux-readelf -aW one lib built by that toolchain to see whether or not there is a .rel.plt section? If there is always no .rel.plt section, I guess this is the MIPS feature for PIC. Many thanks. I will test android ndk MIPS toochain first, and then build the whole toolchain myself. _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
