On 19 Mar 2006, at 10:07, Koenraad Lelong wrote:

This program is buggy - '@' is used as the comment character for ARM, so
everything after that is ignored.  The assembler therefore sees:

        .type operatingsystem_result,

which is garbage. The GNU assembler targetted for ARM accepts '#' or '%' here, not '@'.
</quote>
Is there anyone who can give a hint where to look to fix this ?

Remove "tf_needs_symbol_type" from system_arm_linux_info in compiler/ systems/i_linux.pas

Or alternatively have a look at the output of gcc -S and if it does generate some sort of symbol type information, change compiler/ aggas.pas:590 based on "if (target_info.system <> system_arm_linux) then ... else ..."


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to