diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-02-27 10:14:31 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-02-27 10:14:32 +0000 |
commit | 438cd7082c70b9e93a26ff4e2e83ac3f6a0027c2 (patch) | |
tree | bf2bbf59bb6d98715f1a04e8b52d053a270cf8cd /linux-user/sh4/target_elf.h | |
parent | 0a773d55ac76c5aa89ed9187a3bc5af8c5c2a6d0 (diff) | |
parent | 45506bddba6fe73f61cf15fb682ffff73ce156c0 (diff) | |
download | qemu-438cd7082c70b9e93a26ff4e2e83ac3f6a0027c2.zip qemu-438cd7082c70b9e93a26ff4e2e83ac3f6a0027c2.tar.gz qemu-438cd7082c70b9e93a26ff4e2e83ac3f6a0027c2.tar.bz2 |
Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-2.12-pull-request' into staging
# gpg: Signature made Sun 25 Feb 2018 17:54:21 GMT
# gpg: using RSA key F30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
# gpg: aka "Laurent Vivier <laurent@vivier.eu>"
# gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* remotes/vivier2/tags/linux-user-for-2.12-pull-request:
linux-user: MIPS set cpu to r6 CPU if binary is R6
linux-user, m68k: select CPU according to ELF header values
linux-user: introduce functions to detect CPU type
linux-user: Move CPU type name selection to a function
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/sh4/target_elf.h')
-rw-r--r-- | linux-user/sh4/target_elf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linux-user/sh4/target_elf.h b/linux-user/sh4/target_elf.h new file mode 100644 index 0000000..f485e0c --- /dev/null +++ b/linux-user/sh4/target_elf.h @@ -0,0 +1,14 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation, or (at your option) any + * later version. See the COPYING file in the top-level directory. + */ + +#ifndef SH4_TARGET_ELF_H +#define SH4_TARGET_ELF_H +static inline const char *cpu_get_model(uint32_t eflags) +{ + return "sh7785"; +} +#endif |