diff options
author | Jim Wilson <jimw@sifive.com> | 2018-11-14 14:51:40 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-11-14 14:51:40 -0800 |
commit | 174f8ac8d49021137f98884fc22a7d233e2f89b2 (patch) | |
tree | 7ed2c1d745734f44f5e577f7b7ec255788331599 /gdb/ada-lang.c | |
parent | dd9168931facd539a585b88d7b7c6c04c8c065c2 (diff) | |
download | binutils-174f8ac8d49021137f98884fc22a7d233e2f89b2.zip binutils-174f8ac8d49021137f98884fc22a7d233e2f89b2.tar.gz binutils-174f8ac8d49021137f98884fc22a7d233e2f89b2.tar.bz2 |
RISC-V: Give stack slots same align as XLEN.
For riscv64-linux target, fixes
FAIL: gdb.base/gnu_vector.exp: call add_many_charvecs
Ensure that stack slots are always the same alignment as XLEN by rounding
up arg align to xlen.
gdb/
* riscv-tdep.c (riscv_call_arg_scalar_int): Use std::min when
setting len. New local align, set to max of arg align and xlen,
and pass to first riscv_assign_stack_location call.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions