[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/9] nios2: Enable cross compile and fix signals
From: |
Richard Henderson |
Subject: |
[PATCH 0/9] nios2: Enable cross compile and fix signals |
Date: |
Fri, 1 Oct 2021 11:33:36 -0400 |
Patches 2, 3, and 5 have appeared before.
The patch for the kuser page has been updated to use the commpage
infrastructure, which needed expanding just a bit to handle the
page being at the beginning of the address space.
Getting the toolchain built allowed the code to actually be tested,
which showed up a few more problems in the testsuite.
I have already pushed the debian-nios2-cross image to gitlab, much
like we did for hexagon and its locally built toolchain.
r~
Richard Henderson (9):
tests/docker: Add debian-nios2-cross image
linux-user/nios2: Properly emulate EXCP_TRAP
linux-user/nios2: Fixes for signal frame setup
linux-user/elfload: Rename ARM_COMMPAGE to HI_COMMPAGE
linux-user/nios2: Map a real kuser page
linux-user/nios2: Fix EA vs PC confusion
linux-user/nios2: Fix sigmask in setup_rt_frame
linux-user/nios2: Use set_sigmask in do_rt_sigreturn
tests/tcg: Enable container_cross_cc for nios2
target/nios2/cpu.h | 2 +-
linux-user/elfload.c | 66 +++++++++++--
linux-user/nios2/cpu_loop.c | 93 +++++++++---------
linux-user/nios2/signal.c | 56 +++++------
linux-user/signal.c | 2 -
target/nios2/translate.c | 26 +++--
tests/docker/Makefile.include | 19 ++++
.../dockerfiles/debian-nios2-cross.docker | 34 +++++++
.../build-toolchain.sh | 97 +++++++++++++++++++
tests/tcg/configure.sh | 6 ++
10 files changed, 302 insertions(+), 99 deletions(-)
create mode 100644 tests/docker/dockerfiles/debian-nios2-cross.docker
create mode 100755
tests/docker/dockerfiles/debian-nios2-cross.docker.d/build-toolchain.sh
--
2.25.1
- [PATCH 0/9] nios2: Enable cross compile and fix signals,
Richard Henderson <=
- [PATCH 2/2] tests/docker: Fix fedora-i386-cross, Richard Henderson, 2021/10/01
- [PATCH 2/9] linux-user/nios2: Properly emulate EXCP_TRAP, Richard Henderson, 2021/10/01
- [PATCH 3/9] linux-user/nios2: Fixes for signal frame setup, Richard Henderson, 2021/10/01
- [PATCH 4/9] linux-user/elfload: Rename ARM_COMMPAGE to HI_COMMPAGE, Richard Henderson, 2021/10/01
- [PATCH 1/2] tests/docker: Remove fedora-i386-cross from DOCKER_PARTIAL_IMAGES, Richard Henderson, 2021/10/01