[NDS32] Provide TARGET_ARG_PARTIAL_BYTES so that we can have structure argument
commita87d4efb0e1cb7de57711d56d08697a951432d76
authorjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2014 10:15:06 +0000 (3 10:15 +0000)
committerjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2014 10:15:06 +0000 (3 10:15 +0000)
tree0d9eba6ef94bde334e2d3f8007124ef563144955
parent4ef804449fc8dc20d3680a547460c44297e67548
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214868 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nds32/nds32.c