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"); }   }

Yes. As per http://cvs.openssl.org/chngview?cn=16828 all perlasm/x86*.pl modules are updates to handle external_label statement. Thanks. A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to