diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2022-10-06 23:17:57 +0200 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2022-10-09 21:57:53 +0200 |
commit | ac17a394a5701174c705050640e26c9cb95d289b (patch) | |
tree | d18dab19ab0a37e8b4c4efaa3457eb3524226132 /src/corelib/global/archdetect.cpp | |
parent | 394b4c9e4994a9bdde89bd09eb0f663da44e0048 (diff) |
Add M68k detection
- detect the M68k architecture (Motorola 68000) and define
Q_PROCESSOR_M68K
- set the right machine type in QElfParser for M68k ELF files
Change-Id: Ie5694abbe1ae2bfeb5692defba0ca6062c1d60ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/archdetect.cpp')
-rw-r--r-- | src/corelib/global/archdetect.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/archdetect.cpp b/src/corelib/global/archdetect.cpp index 0bb6853fea..188ec2d176 100644 --- a/src/corelib/global/archdetect.cpp +++ b/src/corelib/global/archdetect.cpp @@ -25,6 +25,8 @@ # define ARCH_PROCESSOR "x86_64" #elif defined(Q_PROCESSOR_IA64) # define ARCH_PROCESSOR "ia64" +#elif defined(Q_PROCESSOR_M68K) +# define ARCH_PROCESSOR "m68k" #elif defined(Q_PROCESSOR_MIPS_64) # define ARCH_PROCESSOR "mips64" #elif defined(Q_PROCESSOR_MIPS) |