DT_TEXTREL/.dynamic issue with the binutils 2.15 linker on ARM and Linux
David Poole
daveml@mbuf.com
Fri May 28 15:54:00 GMT 2004
On May 28, 2004, at 8:56 AM, Daniel Jacobowitz wrote:
> I don't know why DT_TEXTREL isn't there for this case. It should be.
> But this case shouldn't be happening at all - is the linker built with
> -shared?
Here's the link command and it is being linked with -shared.
/home/davep/src/toolchain/gcc-3.3.x/toolchain_arm_nofpu/bin/arm-linux-
uclibc-ld -EL -shared --warn-common --export-dynamic --sort-common -z
combreloc --discard-locals --discard-all --no-undefined -s -e _dl_boot
-soname=ld-uClibc.so.0 \
-o ld-uClibc-0.9.26.so arm/resolve.o ldso.o dl-startup.o
/home/davep/src/toolchain/gcc-3.3.x/toolchain_arm_nofpu/usr/bin/../lib/
gcc-lib/arm-linux-uclibc/3.3.3/libgcc.a;
> Please create a complete linkable testcase that shows this.
I'll get this today.
> If you write bl _dl_linux_resolver(PLT), normally you'd get a PLT
> entry. But in binutils 2.15 I made that unnecessary.
uClibc "officially" uses binutils 2.14+patches which is where I
originally found the problem. I upgraded to 2.15 to see if the problem
"went away" but it's the same.
--
David Poole <dpoole !at! mobl.com>
Mobility Electronics, Idaho http://www.mobl.com
960 Broadway Avenue, Suite 300
Boise, ID 83706
More information about the Binutils
mailing list