OSDN Git Service

ldso: fix building for FDPIC systems
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Jul 2009 08:58:56 +0000 (04:58 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Jul 2009 09:41:21 +0000 (05:41 -0400)
commit3acdf4fa294ca935d384762da91b3a37dabb59ca
tree7fed16d5166ae61e9a263964a23e45c06759b1ad
parentd1031c7f8eba1bb65501144451bd9f1f2af5d8d9
ldso: fix building for FDPIC systems

The force shareable code missed a spot of using the DL_RELOC_ADDR()
indirection thus leading to invalid operands:
ldso/ldso/ldso.c: In function '_dl_get_ready_to_run':
ldso/ldso/ldso.c:409: error: invalid operands to binary +
(have 'Elf32_Addr' and 'struct elf32_fdpic_loadaddr')

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ldso/ldso/ldso.c