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>
Sun, 17 Mar 2019 23:40:05 +0000 (23:40 +0000)
commit5a6cb2440b336279f3307431771895d541647048
tree9ee1f7e98721514fe66e129a1bb9b42732fd53fc
parent54116a0f5bb0ace1cef317efb928a2bb63853488
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