[NDS32] Since argument pointer must be 8-byte alignment...
authorChung-Ju Wu <jasonwucj@gmail.com>
Wed, 3 Sep 2014 09:44:49 +0000 (09:44 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Wed, 3 Sep 2014 09:44:49 +0000 (09:44 +0000)
commit4f44e960ea3c175eb8ec92b6872b8a2ef6775dba
tree4f15f075b3f2f4ae828d408b82e2152870da9354
parent35da54a6086474e5c37826fb63aeaf70bc794181
[NDS32] Since argument pointer must be 8-byte alignment...

[NDS32] Since argument pointer must be 8-byte alignment, our first parameter may
        require 4-byte offset if pushed varargs is not 8-byte aligned.

* config/nds32/nds32.h (FIRST_PARM_OFFSET): Set proper location
according to the value of crtl->args.pretend_args_size.

From-SVN: r214863
gcc/ChangeLog
gcc/config/nds32/nds32.h