DragonFly commits List (threaded) for 2007-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/libexec/rtld-elf rtld.c
corecode 2007/01/15 06:38:22 PST
DragonFly src repository
Modified files:
libexec/rtld-elf rtld.c
Log:
Do not lookup symbols with STB_LOCAL binding
When a shared object with static TLS symbols gets linked, ld issues
a R_386_TLS_DTPMAP32 relocation on i386, referencing symbol 0, the
undefined symbol. This is perfectly legal, as this is simply a
local symbol and nothing but the local module's TLS index is needed.
This fixes execution of binaries linked to gcc41's libstdc++.
Obtained-from: FreeBSD
Revision Changes Path
1.26 +16 -7 src/libexec/rtld-elf/rtld.c
http://www.dragonflybsd.org/cvsweb/src/libexec/rtld-elf/rtld.c.diff?r1=1.25&r2=1.26&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]