This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about the .idata$ sections and their missing symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]