Question about the .idata$ sections and their missing symbols

Dave Korn dave.korn.cygwin@googlemail.com
Sun Jan 4 23:20:00 GMT 2009


Kai Tietz wrote:
> 2009/1/4 Dave Korn:
>> Kai Tietz wrote:
>>
>>> The issue is that those idata$<n> sections aren't necessarily in a
>>> writable section. E.g. on WM 61 OS expects that IAT (idata$5) is
>>> placed within the .data section and the rest is put into the .rdata
>>> section.
>>  Won't --enable-auto-import fix that?
>>
> No, because WM 6.1 expects that the IAT is in .data section, but the
> rest have to be in read-only section. Otherwise it simply rejects the
> start. Auto-importing doesn't helps here.

  Ah, well then maybe you need a variant linker script that puts idata$5 into
.data and puts the remaining idata$ sections into rdata?

    cheers,
      DaveK



More information about the Binutils mailing list