view ldc-posix-tango @ 979:523bf4f166bc

Fix some assembler issues: The assembler was miscompiling "add" (specifically, the "add reg/mem, imm" variations). The change that caused this seems to have been made because without it, some "add"s didn't compile at all. This patch reverts the previous change, and makes sure assembler operands are remapped correctly even though the input operands auto-generated due to updating operations aren't explicitly used.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 18 Feb 2009 21:46:14 +0100
parents 5f4a69a53906
children a8cb25d478c4
line wrap: on
line source

ignore=object

compiler=ldc
inifile=ldc.conf

exeext=
objext=o


version=LLVM
version=LDC
noversion=DigitalMars
noversion=GNU
testversion=linux
testversion=darwin
testversion=freebsd
testversion=Unix
testversion=Posix
testversion=Windows
testversion=Win32
testversion=Win64
testversion=mingw32
testversion=X86
testversion=PPC
testversion=X86_64
testversion=PPC64
testversion=D_InlineAsm
testversion=D_InlineAsm_X86
testversion=D_InlineAsm_PPC
testversion=D_InlineAsm_X86_64
testversion=D_InlineAsm_PPC64
testversion=LLVM_InlineAsm_X86
testversion=LittleEndian
testversion=BigEndian
testversion=LLVM64
testversion=PIC


[compile]
oneatatime=yes
cmd=ldc -c $i

flag=$i
incdir=-I$i
libdir=-L-L$i
optimize=-O3
version=-version=$i


[link]
oneatatime=yes
cmd=ldc $i -of$o

libdir=-L-L$i
lib=-L-l$i
flag=-L$i


[liblink]
safe=yes
oneatatime=yes
cmd=ar rc $o $i

libdir=
lib=
flag=


[postliblink]
cmd=ranlib $i


[shliblink]
shlibs=no

[dyliblink]
dylibs=no