+2018-11-14 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (move_bits): Delete. Update all callers to use
+ copy_bitwise instead.
+ * dwarf2loc.c (copy_bitwise, bits_to_str::bits_to_str)
+ (selftests::check_copy_bitwise, selftests::copy_bitwise_tests):
+ Move from here to utils.c.
+ (_initialize_dwarf2loc): Remove call to register copy_bitwise
+ selftests.
+ * utils.h (copy_bitwise): Add declaration.
+ * utils.c (copy_bitwise, bits_to_str::bits_to_str)
+ (selftests::check_copy_bitwise, selftests::copy_bitwise_tests):
+ Moved here from dwarf2loc.c.
+ (_initialize_utils): Register copy_bitwise selftests.
+
2018-11-14 Jim Wilson <jimw@sifive.com>
+ * riscv-tdep.c (struct riscv_arg_info): New field is_unnamed.
+ (riscv_call_arg_scalar_int): If unnamed arg with twice xlen alignment,
+ then increment next_regnum if odd.
+ (riscv_arg_location): New arg is_unnamed. Set ainfo->is_unnamed.
+ (riscv_push_dummy_call): New local ftype. Call check_typedef to set
+ function type. Pass new arg to riscv_arg_location based on function
+ type.
+ (riscv_return_value): Pass new arg to riscv_arg_location.
+
+ * riscv-tdep.c (BIGGEST_ALIGNMENT): New.
+ (riscv_type_alignment) <TYPE_CODE_ARRAY>: If TYPE_VECTOR, return min
+ of TYPE_LENGTH and BIGGEST_ALIGNMENT.
+
* 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.