History

ARM hardfloat: fix struct return with float/double args

Fixes the case where the structure is not returned in registers.

Daniel Glöckner committed 13 years ago

Commit 4d86b201 parent be1b6ba1 file · +1 −0Browse files

Unified · Split

arm-gen.c+1−0
@@ -1217,6 +1217,7 @@ void gfunc_prolog(CType *func_type) · 1216 unmodified lines
12171217 int addr, pn = struct_ret, sn = 0; /* pn=core, sn=stack */
12181218
12191219 #ifdef TCC_ARM_HARDFLOAT
1220+ func_vc += nf * 4;
12201221 avregs = AVAIL_REGS_INITIALIZER;
12211222 #endif
12221223 while ((sym = sym->next)) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t