[fpc-devel] internal error #200602251

2010-09-26 Thread Willibald Krenn
Hi! Lately I spent some time debugging the internal error problem and it turns out that in method TCoffObjSection.fixuprelocs the .stabs section gets damaged: AFAICT the data.write statement in that method tries to replace a 4-byte offset pointer with an 8-byte (RELOC_ABSOLUTE) one. Hence,

Re: [fpc-devel] internal error #200602251

2010-09-26 Thread Willibald Krenn
Also, I don't know whether the lines if reloctype=RELOC_RELATIVE then begin if win32 then dec(data,len-4) in TCoffObjData.writereloc could potenially pose a problem. Please ignore the above comment in my previous mail. Cheers, Willi ___