Hi, due to recent changes in 0.9.9-dev to x86nasm.pl the cast nasm output is now broken; when external labes are defined only the first appears in the asm code - but the cast asm contains 4 external labes at the top: extern CAST_S_table0 extern CAST_S_table1 extern CAST_S_table2 extern CAST_S_table3
here's the patch which seems to fix that:
--- x86nasm.pl.orig Fri Dec 21 12:09:02 2007
+++ x86nasm.pl Fri Dec 21 12:30:36 2007
@@ -125,7 +125,7 @@
sub ::comment { foreach (@_) { push(@out,"\t; $_\n"); } }
sub ::external_label
-{ push(@out,"${drdecor}extern\t".&::LABEL($_[0],$nmdecor.$_[0])."\n"); }
+{ foreach (@_) {
push(@out,"${drdecor}extern\t".&::LABEL($_,$nmdecor.$_)."\n"); } }
sub ::public_label
{ push(@out,"${drdecor}global\t".&::LABEL($_[0],$nmdecor.$_[0])."\n"); }
the patch might have fuzz because I need to apply another patch for coff output
(as posted already earlier -> #1611).
thanks, Guenter.
x86nasm.pl.diff
Description: Binary data
