Merge BoringSSL bbc4291: Add a note that generated files are generated.
This commit is contained in:
commit
414d2156ba
@ -141,6 +141,9 @@ sub expand_line {
|
||||
}
|
||||
|
||||
print <<___;
|
||||
// This file is generated from a similarly-named Perl script in the BoringSSL
|
||||
// source tree. Do not edit by hand.
|
||||
|
||||
#if defined(__has_feature)
|
||||
#if __has_feature(memory_sanitizer) && !defined(OPENSSL_NO_ASM)
|
||||
#define OPENSSL_NO_ASM
|
||||
|
@ -1123,6 +1123,16 @@ my $endbranch = sub {
|
||||
|
||||
########################################################################
|
||||
|
||||
{
|
||||
my $comment = "#";
|
||||
$comment = ";" if ($masm || $nasm);
|
||||
print <<___;
|
||||
$comment This file is generated from a similarly-named Perl script in the BoringSSL
|
||||
$comment source tree. Do not edit by hand.
|
||||
|
||||
___
|
||||
}
|
||||
|
||||
if ($nasm) {
|
||||
print <<___;
|
||||
default rel
|
||||
|
@ -255,9 +255,16 @@ sub ::asciz
|
||||
|
||||
sub ::asm_finish
|
||||
{ &file_end();
|
||||
print "#if defined(__i386__)\n" unless $win32;
|
||||
my $comment = "#";
|
||||
$comment = ";" if ($win32 || $netware);
|
||||
print <<___;
|
||||
$comment This file is generated from a similarly-named Perl script in the BoringSSL
|
||||
$comment source tree. Do not edit by hand.
|
||||
|
||||
___
|
||||
print "#if defined(__i386__)\n" unless ($win32 || $netware);
|
||||
print @out;
|
||||
print "#endif\n" unless $win32;
|
||||
print "#endif\n" unless ($win32 || $netware);
|
||||
}
|
||||
|
||||
sub ::asm_init
|
||||
|
Loading…
x
Reference in New Issue
Block a user