[NDS32] No need to take padding into consideration in Andes ABI2 because we can...
authorChung-Ju Wu <jasonwucj@gmail.com>
Wed, 3 Sep 2014 10:19:39 +0000 (10:19 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Wed, 3 Sep 2014 10:19:39 +0000 (10:19 +0000)
commitd40f3c40304c9086d7ff2c5239f58de8bc0c2218
tree34b531900948ad949ba6299b368d5f6ea517b9c0
parent650fc46935f19fe1e935fa62891689cb1375d8b6
[NDS32] No need to take padding into consideration in Andes ABI2 because we can...

[NDS32] No need to take padding into consideration in Andes ABI2 because
        we can pass arguments in registers for variadic function.

  -- By default GCC uses must_pass_in_stack_var_size_or_pad for TARGET_MUST_PASS_IN_STACK.
     For Andes ABI2, the data layout in memory will be incorrect when calling variadic function
     under big-endian configuration.

* config/nds32/nds32.c (nds32_must_pass_in_stack): New implementation
for TARGET_MUST_PASS_IN_STACK.

From-SVN: r214869
gcc/ChangeLog
gcc/config/nds32/nds32.c