This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] aarch64 sim big-endian support
- From: Jim Wilson <jim dot wilson at linaro dot org>
- To: gdb-patches at sourceware dot org
- Cc: Nick Clifton <nickc at redhat dot com>
- Date: Fri, 10 Jun 2016 09:24:30 -0700
- Subject: Re: [PATCH] aarch64 sim big-endian support
- Authentication-results: sourceware.org; auth=none
- References: <CABXYE2UfwrSxRADdgFRuBJzTM-1_DPaP5LJSULSQ-808X8dccQ at mail dot gmail dot com>
ping
for the attachment, see
https://sourceware.org/ml/gdb-patches/2016-06/msg00046.html
On Thu, Jun 2, 2016 at 7:36 PM, Jim Wilson <jim.wilson@linaro.org> wrote:
> On aarch64, code is always little-endian, even when compiling
> big-endian, so we need to force little-endian when reading
> instructions.
>
> Running the gcc C language testsuite, I get for an aarch64-elf target
>
> # of expected passes 35433
> # of unexpected failures 254
> # of unsupported tests 131
>
> and for an aarch64_be-elf target with the attached patch I get
>
> # of expected passes 35200
> # of unexpected failures 487
> # of unsupported tests 131
>
> so this simple patch gets us most of the way there. I haven't tried
> looking at the other problems yet.
>
> I also have a dejagnu patch I wrote to make this work, which I will be
> submitting to the dejagnu team shortly.
>
> Jim