[RFA] [pei-386] prevent ld (auto-import) from generating broken code

DJ Delorie dj@delorie.com
Tue Sep 11 12:45:00 GMT 2001


> 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.



More information about the Binutils mailing list