diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2022-10-06 23:15:30 +0200 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2022-10-07 23:01:01 +0200 |
commit | e81cba0cd33339c2e5f5e3c670741605264b21c2 (patch) | |
tree | 9c27bfa887a1f5188c8796a39b8b246d8b2e068e /src/corelib/global/archdetect.cpp | |
parent | f7a34630a1c13c054cf06199bbb907ddc718e48c (diff) |
Add HPPA detection
- detect the HPPA architecture (PA-RISC) and define Q_PROCESSOR_HPPA
- set the right machine type in QElfParser for HPPA ELF files
Change-Id: I5214ce64ef1fdd0ecca3d6c1694c5db9b2852a22
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 a0ce5baa43..0bb6853fea 100644 --- a/src/corelib/global/archdetect.cpp +++ b/src/corelib/global/archdetect.cpp @@ -17,6 +17,8 @@ # define ARCH_PROCESSOR "bfin" #elif defined(Q_PROCESSOR_WASM) # define ARCH_PROCESSOR "wasm" +#elif defined(Q_PROCESSOR_HPPA) +# define ARCH_PROCESSOR "hppa" #elif defined(Q_PROCESSOR_X86_32) # define ARCH_PROCESSOR "i386" #elif defined(Q_PROCESSOR_X86_64) |