linux-user: ARM-FDPIC: Add support for signals for FDPIC targets
commite8fa72957419c11984608062c7dcb204a6003a06
authorChristophe Lyon <christophe.lyon@st.com>
Mon, 30 Apr 2018 08:03:44 +0000 (30 10:03 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 3 May 2018 16:25:29 +0000 (3 18:25 +0200)
treed903dd3d98181effcd33693fa6e613d058efc363
parent3cb10cfafd83b9d7b3867b7deae29b8da3b5fe39
linux-user: ARM-FDPIC: Add support for signals for FDPIC targets

The FDPIC restorer needs to deal with a function descriptor, hence we
have to extend 'retcode' such that it can hold the instructions needed
to perform this.

The restorer sequence uses the same thumbness as the exception
handler (mainly to support Thumb-only architectures).

Co-Authored-By: Mickaël Guêné <mickael.guene@st.com>
Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180430080404.7323-5-christophe.lyon@st.com>
[lv: moved the change to linux-user/arm/signal.c]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/arm/signal.c