Port-m68k archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: DEFAULT_PCC_STRUCT_RETURN on NetBSD vs Linux
On Mai 28 2025, John Paul Adrian Glaubitz wrote:
> Shouldn't the #undef in linux.h undefine DEFAULT_PCC_STRUCT_RETURN and not
> PCC_STATIC_STRUCT_RETURN?
No, they are separate target options. PCC_STATIC_STRUCT_RETURN is no
longer defined by default, so this is redundant now.
> And, secondly, shouldn't the comment in linux.h be corrected since
> apparently linux.h and netbsd-elf.h disagree on what the SVR4 ABI
> specifies how structs and unions are returned?
This is controlled by TARGET_RETURN_IN_MEMORY if
DEFAULT_PCC_STRUCT_RETURN is 0.
--
Andreas Schwab, schwab%linux-m68k.org@localhost
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Home |
Main Index |
Thread Index |
Old Index