Am Donnerstag, 26.08.04 um 00:26 Uhr schrieb Peter Jansen:

Hi Peter,

I've started to add some assembly routines to my project which is in C until now. Now I get the following error internal compiler error: Unsupported Relocation Error

Without your code, its generally due to a symbol size problem. You have an instruction in Assembler taking a symbol from C and the C symbol has a larger address size than the assembler instruction can take.

This happens at link time when the symbols are allocated actual addresses and the instructions which use these symbols are updated with the allocated address.

Peter,

the problems was a variable that was defined as unaligned byte in my assembler code but it was accessed as word. Changing the variable to aligned short solves the problem.

The compiler message is somehow misleading because it says "internal compiler error: ....". In fact its a source code problem.

Thanks,
Peter


Reply via email to