target/hppa: Implement CF_PCREL
commit6dd9b145f65ea425b220426f276b9074bbd429fa
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 14 Apr 2024 03:57:13 +0000 (13 20:57 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 15 May 2024 08:03:45 +0000 (15 10:03 +0200)
treeb47c3c735fb8977ec5ed49a003e9191f9370eca2
parent804cd52d3a314799adfa7d931e00c85856c54206
target/hppa: Implement CF_PCREL

Now that the groundwork has been laid, enabling CF_PCREL within the
translator proper is a simple matter of updating copy_iaoq_entry
and install_iaq_entries.

We also need to modify the unwind info, since we no longer have
absolute addresses to install.

As expected, this reduces the runtime overhead of compilation when
running a Linux kernel with address space randomization enabled.

Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/cpu.c
target/hppa/translate.c