diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-02-10 22:28:07 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-02-10 22:28:07 +0000 |
commit | 9be98fdbb01fb214efdb8357026112f36299a45a (patch) | |
tree | 1522e574c8073eacec1088663191208d6691dc1d /compiler/cgutils.pas | |
parent | a2769dfdeb0c12345261166e326f84c318d4d6e6 (diff) | |
download | fpc-9be98fdbb01fb214efdb8357026112f36299a45a.tar.gz |
* fixed sysv x86-64 function results for records and arrays with sizes 9..16 bytes
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@10285 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cgutils.pas')
-rw-r--r-- | compiler/cgutils.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/cgutils.pas b/compiler/cgutils.pas index 9d2e810fad..9f60bef9ca 100644 --- a/compiler/cgutils.pas +++ b/compiler/cgutils.pas @@ -97,6 +97,8 @@ unit cgutils; LOC_CREGISTER : ( case longint of 1 : (register : tregister; + { some x86_64 targets require two function result registers } + registerhi : tregister; {$ifdef m68k} { some m68k OSes require that the result is returned in d0 and a0 the second location must be stored here } |