OSDN Git Service

ldso: fix fdpic builds
authorMike Frysinger <vapier@gentoo.org>
Tue, 22 Feb 2011 01:25:29 +0000 (20:25 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 22 Feb 2011 01:27:29 +0000 (20:27 -0500)
commit3ac213101204750950a129e1a245c4730525287f
tree27f7c8bbed1feccbd4df075a86b9c553b4c37a7c
parent128e290b1e4204ac33b4cad7fc6189447f029311
ldso: fix fdpic builds

Commit 33cb7f0b4 tried to add a small optimization for skipping unnecessary
.dynamic adjustments, but did so by referencing an opaque type.  While this
works for non-fdpic targets (since the type can be cast to an integer), it
falls apart for fdpic targets where the type is actually a structure.

Since FDPIC can't support this optimization without walking a series of
linked structures, just skip it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ldso/include/dl-elf.h