OSDN Git Service

Fill l_ld of linkmaps with value from soinfo::dynamic.
authorThinker K.F Li <thinker@branda.to>
Fri, 3 Jul 2009 11:40:32 +0000 (19:40 +0800)
committerJean-Baptiste Queru <jbq@google.com>
Wed, 16 Sep 2009 00:05:55 +0000 (17:05 -0700)
commit5cf640c926e7d7b79934c97226433a3dc448e1eb
treef4346697a0b0028d23b0f021af7da201ddf1660f
parent76ec6891e2bc18c9e12cd2f567358bb817b24cff
Fill l_ld of linkmaps with value from soinfo::dynamic.

GDB will try to read l_ld of linkmaps and compare the value to vma of
.dynamic sections from shared objects.  Since linker does not assign l_ld,
GDB will complain about and re-compute l_addr from l_ld.  And, GDB will get a
wrong value.
linker/linker.c