This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] [pei-386] prevent ld (auto-import) from generating broken code
> Paul, are you actively looking into this? Is it even possible to
> fix or is this just a problem with the windows loadder?
It's not possible to fix it to do what we want. GCC creates
relocations against imported data objects that aren't representable in
a Win32 import table.
The only hope is to modify gcc to not allow offsets in direct
addressing, but that would (1) be a big performance penalty, and (2)
probably not be accepted by the gcc folks.