|
@@ -22,7 +22,7 @@ interface
|
|
|
type
|
|
|
TElfMachineType = (emtnone, emtsparc, emti386, emtm68k, emtppc, emtppc64,
|
|
|
emtarm, emtarmeb, emtia64, emtx86_64, emtalpha,
|
|
|
- emtmips, emtmipsel, emtppc64le);
|
|
|
+ emtmips, emtmipsel, emtppc64le, emtaarch64);
|
|
|
const
|
|
|
ELFMAGIC = chr($7f)+'ELF';
|
|
|
|
|
@@ -71,6 +71,7 @@ const
|
|
|
EM_IA_64 = 50;
|
|
|
EM_MIPS_X = 51; // GNU readelf returns machine name "Stanford MIPS-X"
|
|
|
EM_X86_64 = 62;
|
|
|
+ EM_AARCH64 = 183;
|
|
|
EM_ALPHA = $9026; //unofficial, but used by gnu toolchain
|
|
|
|
|
|
//machine-specific flags
|
|
@@ -130,6 +131,7 @@ const
|
|
|
R_PPC_ADDR32 = 1;
|
|
|
R_PPC64_ADDR64 = 38;
|
|
|
R_ARM_ABS32 = 2;
|
|
|
+ R_AARCH64_ABS64 = 257;
|
|
|
R_68K_32 = 1;
|
|
|
R_SPARC_32 = 3;
|
|
|
R_ALPHA_REFQUAD = 2;
|