[NDS32] Provide TARGET_ARG_PARTIAL_BYTES so that we can have structure argument
authorChung-Ju Wu <jasonwucj@gmail.com>
Wed, 3 Sep 2014 10:15:06 +0000 (10:15 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Wed, 3 Sep 2014 10:15:06 +0000 (10:15 +0000)
commit650fc46935f19fe1e935fa62891689cb1375d8b6
tree0d9eba6ef94bde334e2d3f8007124ef563144955
parent557430f1699f0ad881815957f35fdc9b11a09608
[NDS32] Provide TARGET_ARG_PARTIAL_BYTES so that we can have structure argument
        partially in registers and stack.

  -- This is needed if we would like to pass variadic arguments via registers
     that are pused on the stack by callee.  So that va_arg() can access
     arguments continously in memory.

* config/nds32/nds32.c (nds32_arg_partial_bytes): New implementation
for TARGET_ARG_PARTIAL_BYTES.

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