Commit beef7145 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

Switch to new uplink assembler.

parent d741cf22
Loading
Loading
Loading
Loading
+1 −1
Changes for Configure: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1294,7 +1294,7 @@ if (!$IsMK1MF)
		}
	}

$cpuid_obj.=" uplink.o uplink-cof.o" if ($cflags =~ /\-DOPENSSL_USE_APPLINK/);
$cpuid_obj.=" uplink.o uplink-x86.o" if ($cflags =~ /\-DOPENSSL_USE_APPLINK/);

#
# Platform fix-ups
+2 −2
Changes for crypto/Makefile: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -67,8 +67,8 @@ applink.o: $(TOP)/ms/applink.c
uplink.o:	$(TOP)/ms/uplink.c applink.o
	$(CC) $(CFLAGS) -c -o $@ $(TOP)/ms/uplink.c

uplink-cof.s:	$(TOP)/ms/uplink.pl
	$(PERL) $(TOP)/ms/uplink.pl coff > $@
uplink-x86.s:	$(TOP)/ms/uplink-x86.pl
	$(PERL) $(TOP)/ms/uplink-x86.pl $(PERLASM_SCHEME) > $@

x86_64cpuid.s: x86_64cpuid.pl
	$(PERL) x86_64cpuid.pl $(PERLASM_SCHEME) > $@
+12 −2
Changes for ms/do_win64a.bat: 12 added lines, 2 removed lines.
Original line number Diff line number Diff line

perl util\mkfiles.pl >MINFO
perl ms\uplink.pl win64a > ms\uptable.asm

cmd /c "nasm -f win64 -v" >NUL: 2>&1
if %errorlevel% neq 0 goto ml64

perl ms\uplink-x86_64.pl nasm > ms\uptable.asm
nasm -f win64 -o ms\uptable.obj ms\uptable.asm
goto proceed

:ml64
perl ms\uplink-x86_64.pl masm > ms\uptable.asm
ml64 -c -Foms\uptable.obj ms\uptable.asm

:proceed
perl util\mk1mf.pl no-asm VC-WIN64A >ms\nt.mak
perl util\mk1mf.pl dll no-asm VC-WIN64A >ms\ntdll.mak

+1 −1
Changes for ms/do_win64i.bat: 1 added line, 1 removed line.
Original line number Diff line number Diff line

perl util\mkfiles.pl >MINFO
perl ms\uplink.pl win64i > ms\uptable.asm
perl ms\uplink-ia64.pl > ms\uptable.asm
ias -o ms\uptable.obj ms\uptable.asm
perl util\mk1mf.pl no-asm VC-WIN64I >ms\nt.mak
perl util\mk1mf.pl dll no-asm VC-WIN64I >ms\ntdll.mak
−x−204

File deleted.