http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60465
--- Comment #5 from Mike Frysinger <vapier at gentoo dot org> --- Created attachment 32385 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32385&action=edit gdb session here's the trace from the first insn where dyn is pointing to DT_GNU_HASH. at this point, it has processed DT_SONAME and DT_HASH. $ readelf -d build/elf/ld.so Dynamic section at offset 0x3c8b8 contains 20 entries: Tag Type Name/Value 0x000000000000000e (SONAME) Library soname: [ld-linux-ia64.so.2] 0x0000000000000004 (HASH) 0x190 0x000000006ffffef5 (GNU_HASH) 0x2d8 0x0000000000000005 (STRTAB) 0x998