Skip to content

Commit

Permalink
options/elf: add some missing EM_* options
Browse files Browse the repository at this point in the history
Needed for Qt6 6.6.0
  • Loading branch information
ElectrodeYT committed Nov 19, 2023
1 parent e370777 commit 3237336
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions options/elf/include/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -561,21 +561,27 @@ typedef struct {
#define SHN_HIRESERVE 0xff00

/* values for e_machine */
#define EM_NONE 0
#define EM_SPARC 2
#define EM_386 3
#define EM_MIPS 8
#define EM_PPC 20
#define EM_PPC64 21
#define EM_S390 22
#define EM_ARM 40
#define EM_SH 42
#define EM_NONE 0
#define EM_M32 1
#define EM_SPARC 2
#define EM_386 3
#define EM_68K 4
#define EM_MIPS 8
#define EM_PARISC 15
#define EM_PPC 20
#define EM_PPC64 21
#define EM_S390 22
#define EM_ARM 40
#define EM_SH 42
#define EM_SPARCV9 43
#define EM_IA_64 50
#define EM_X86_64 62
#define EM_IA_64 50
#define EM_X86_64 62
#define EM_BLACKFIN 106
#define EM_AARCH64 183

/* Linux notes this value as being interim; however applications are using this (Qt6), so we define it here. */
#define EM_ALPHA 0x9026

/* values for e_version */
#define EV_NONE 0
#define EV_CURRENT 1
Expand Down

0 comments on commit 3237336

Please sign in to comment.