smeenai added a comment.
FYI, binutils auto-import actually creates a fake IAT entry rather than using a
dynamic initializer. I think it's actually a pretty cute trick.
has details. That only works when you're referencing an external imported
symbol directly though, and breaks when you need an offset from the imported
cfe-commits mailing list