librustc_codegen_llvm: Don't eliminate empty structs in C ABI on linux-sparc64
authorMichael Karcher <github@mkarcher.dialup.fu-berlin.de>
Sun, 23 Dec 2018 19:33:52 +0000 (20:33 +0100)
committerXimin Luo <infinity0@debian.org>
Mon, 28 Jan 2019 06:02:48 +0000 (06:02 +0000)
commiteec70bdea16e35b6c8b6020b9e0f810fef473c1d
tree8feda92f8d1626f75599872f1fdd03e09b7211be
parentf7502e1dc93a26eaee399dbb620f9d7d8ce8452c
librustc_codegen_llvm: Don't eliminate empty structs in C ABI on linux-sparc64

This is in accordance with the SPARC Compliance Definition 2.4.1,
Page 3P-12. It says that structs of up to 8 bytes (which applies
to empty structs as well) are to be passed in one register.

Gbp-Pq: Name u-0001-librustc_codegen_llvm-Don-t-eliminate-empty-structs-.patch
src/librustc_codegen_llvm/abi.rs