Merge BoringSSL 49587b2: Remove unused Netware codepaths in x86 perlasm.
This commit is contained in:
commit
3b89a838a5
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env perl
|
||||
# Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
# Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the OpenSSL license (the "License"). You may not use
|
||||
# this file except in compliance with the License. You can obtain a copy
|
||||
@ -256,13 +256,13 @@ sub ::asciz
|
||||
sub ::asm_finish
|
||||
{ &file_end();
|
||||
my $comment = "#";
|
||||
$comment = ";" if ($win32 || $netware);
|
||||
$comment = ";" if ($win32);
|
||||
print <<___;
|
||||
$comment This file is generated from a similarly-named Perl script in the BoringSSL
|
||||
$comment source tree. Do not edit by hand.
|
||||
|
||||
___
|
||||
if ($win32 || $netware) {
|
||||
if ($win32) {
|
||||
print <<___ unless $masm;
|
||||
%ifdef BORINGSSL_PREFIX
|
||||
%include "boringssl_prefix_symbols_nasm.inc"
|
||||
@ -277,7 +277,7 @@ ___
|
||||
___
|
||||
}
|
||||
print @out;
|
||||
print "#endif\n" unless ($win32 || $netware);
|
||||
print "#endif\n" unless ($win32);
|
||||
# See https://www.airs.com/blog/archives/518.
|
||||
print ".section\t.note.GNU-stack,\"\",\@progbits\n" if ($elf);
|
||||
}
|
||||
@ -287,7 +287,7 @@ sub ::asm_init
|
||||
|
||||
$i386=$cpu;
|
||||
|
||||
$elf=$cpp=$coff=$aout=$macosx=$win32=$netware=$mwerks=$android=0;
|
||||
$elf=$cpp=$coff=$aout=$macosx=$win32=$mwerks=$android=0;
|
||||
if (($type eq "elf"))
|
||||
{ $elf=1; require "x86gas.pl"; }
|
||||
elsif (($type eq "elf-1"))
|
||||
@ -298,10 +298,6 @@ sub ::asm_init
|
||||
{ $coff=1; require "x86gas.pl"; }
|
||||
elsif (($type eq "win32n"))
|
||||
{ $win32=1; require "x86nasm.pl"; }
|
||||
elsif (($type eq "nw-nasm"))
|
||||
{ $netware=1; require "x86nasm.pl"; }
|
||||
#elsif (($type eq "nw-mwasm"))
|
||||
#{ $netware=1; $mwerks=1; require "x86nasm.pl"; }
|
||||
elsif (($type eq "win32"))
|
||||
{ $win32=1; $masm=1; require "x86masm.pl"; }
|
||||
elsif (($type eq "macosx"))
|
||||
@ -315,7 +311,6 @@ Pick one target type from
|
||||
a.out - DJGPP, elder OpenBSD, etc.
|
||||
coff - GAS/COFF such as Win32 targets
|
||||
win32n - Windows 95/Windows NT NASM format
|
||||
nw-nasm - NetWare NASM format
|
||||
macosx - Mac OS X
|
||||
EOF
|
||||
exit(1);
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env perl
|
||||
# Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
# Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the OpenSSL license (the "License"). You may not use
|
||||
# this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,7 +12,7 @@ package x86nasm;
|
||||
*out=\@::out;
|
||||
|
||||
$::lbdecor="L\$"; # local label decoration
|
||||
$nmdecor=$::netware?"":"_"; # external name decoration
|
||||
$nmdecor="_"; # external name decoration
|
||||
$drdecor=$::mwerks?".":""; # directive decoration
|
||||
|
||||
$initseg="";
|
||||
|
Loading…
x
Reference in New Issue
Block a user