Skip to content
Snippets Groups Projects
user avatar
Alex Smith authored
Binutils will always strip the relocation information from executable
files even if it needs it (dynamicbase/ASLR).  We can work around this
by using the pic-executable flag combined with setting the correct entry
point since apparently ld forgets what that should be.  This problem
affects both 32 and 64-bit mingw-w64.

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
91b668ac
History
Name Last commit Last update