diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-28 09:06:39 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 06:39:25 +1000 |
| commit | eaf983e04b342ab4c3401ad8add649ec626a0744 (patch) | |
| tree | a94bf979e75f1c9fbbabdee08b4fa4f17eaef026 /linux-user/elfload.c | |
| parent | 084b3247a08da16c541efba059c308b0d9299bdc (diff) | |
| download | focaccia-qemu-eaf983e04b342ab4c3401ad8add649ec626a0744.tar.gz focaccia-qemu-eaf983e04b342ab4c3401ad8add649ec626a0744.zip | |
linux-user/hppa: Create get_elf_platform
Move the string literal to a new function. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/elfload.c')
| -rw-r--r-- | linux-user/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 9d61feae30..83cb6731ec 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1046,7 +1046,7 @@ static inline void init_thread(struct target_pt_regs *regs, #define ELF_CLASS ELFCLASS32 #define ELF_ARCH EM_PARISC -#define ELF_PLATFORM "PARISC" +#define ELF_PLATFORM get_elf_platform(thread_cpu) #define STACK_GROWS_DOWN 0 #define STACK_ALIGNMENT 64 |