[fpc-devel] Masm

Adriaan van Os fpc at microbizz.nl
Fri Nov 7 16:28:57 CET 2014


Sergei Gorelkin wrote:
>> Your header looks like a BigObjHeader

Ah, that's interesting, thanks.

>> This means that the object is prepared to handle relocation that are 
>> not in
>> the 4-byte
>> range... A feature that Free Pascal indeed does not support IIRC...
>>
>>    There is probably an option somewhere to use normal 32-bit 
>> relocation type
>> objects in you Visual C++ configuration, unless you really need those 
>> 64-bit
>> relocations...
>>
> Even if this issue is resolved, linking together binutils-compatible and 
> VC-compatible COFF files is next to impossible, due to significant 
> differences in processing of COMDAT sections, debug information, section 
> naming, etc.

Still it would be useful (and not very difficult, see 
<http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140915/235411.html>) to add BIGOBJ 
support to the FPC linker. BIGOBJ COFF files could be produced by other compilers than MS-VC, e.g. 
LLVM.

Regards,

Adriaan van Os




More information about the fpc-devel mailing list