This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] S390: Vector ABI support
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Sergio Durigan Junior <sergiodj at redhat dot com>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Wed, 22 Apr 2015 19:58:26 +0200
- Subject: Re: [PATCH 4/4] S390: Vector ABI support
- Authentication-results: sourceware.org; auth=none
- References: <1429724743-4603-1-git-send-email-arnez at linux dot vnet dot ibm dot com> <874mo882zc dot fsf at br87z6lw dot de dot ibm dot com>
On Wed, Apr 22 2015, Andreas Arnez wrote:
> gdb/ChangeLog:
>
> * s390-linux-tdep.c: Include "elf/s390.h" and "elf-bfd.h".
> (enum s390_vector_abi_kind): New enum.
> (struct gdbarch_tdep)<vector_abi>: New field.
> (s390_effective_inner_type): Add parameter min_size. Stop
> unwrapping if the inner type is smaller than min_size.
> (s390_function_arg_float): Adjust call to
> s390_effective_inner_type.
> (s390_function_arg_vector): New function.
> (s390_function_arg_integer): Adjust comment.
> (struct s390_arg_state)<vr>: New field.
> (s390_handle_arg): Add parameter 'is_vararg'. Pass vector
> arguments according to vector ABI when appropriate.
> (s390_push_dummy_call): Initialize the argument state's field
> 'vr'. Adjust calls to s390_handle_arg.
> (s390_register_return_value): Handle vector return values.
> (s390_return_value): Apply the "register" return value convention
> to a vector when appropriate.
> (s390_gdbarch_init): Initialize tdep->vector_abi.
> * NEWS: Announce S390 vector ABI support.
Note that this patch depends on the definition of
Tag_GNU_S390_ABI_Vector. This is added to include/elf/s390.h by the
following Binutils patch:
https://sourceware.org/ml/binutils/2015-04/msg00316.html
--
Andreas