link warnings caused by nasm modules.
authorAndy Polyakov <appro@openssl.org>
Tue, 20 Mar 2007 09:37:06 +0000 (09:37 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 20 Mar 2007 09:37:06 +0000 (09:37 +0000)
crypto/perlasm/x86nasm.pl

index 9969012e21efb17488132d72d134aa1d400d2ed3..c93b811e3b206f7c123e62e49399b5728ecf6539 100644 (file)
@@ -155,11 +155,12 @@ ${lprfx}OPENSSL_ia32cap_init:
 ${lprfx}nocpuid:
        ret
 
-segment        .CRT\$XCU rdata align=4
+segment        .CRT\$XCU data align=4
 dd     ${lprfx}OPENSSL_ia32cap_init
 segment        .bss
 common ${under}OPENSSL_ia32cap_P 4
 ___
+       # comment out OPENSSL_ia32cap_P declarations
        grep {s/(^extern\s+${under}OPENSSL_ia32cap_P)/\;$1/} @out;
        push (@out,$tmp);               
     }