aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-01-05 11:00:35 +0000
committerNick Clifton <nickc@redhat.com>2023-01-05 11:00:35 +0000
commitbeb6b61d1e648df177146d5e7a9a10c21714e73d (patch)
tree1a1902beb9b758d7421e0cc665e38243eb73c191 /ld/emultempl
parentb26c8438c71d44427fc9c7ef6fa2ab1742d220a9 (diff)
downloadbinutils-beb6b61d1e648df177146d5e7a9a10c21714e73d.zip
binutils-beb6b61d1e648df177146d5e7a9a10c21714e73d.tar.gz
binutils-beb6b61d1e648df177146d5e7a9a10c21714e73d.tar.bz2
Add an extra emulation called arm64pe to the aarch64pe emulation.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/pep.em4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em
index 4f281ca..d61cab8 100644
--- a/ld/emultempl/pep.em
+++ b/ld/emultempl/pep.em
@@ -57,6 +57,8 @@ fragment <<EOF
#define COFF_WITH_PE
#ifdef TARGET_IS_aarch64pe
#define COFF_WITH_peAArch64
+#elif defined TARGET_IS_arm64pe
+#define COFF_WITH_peAArch64
#elif defined (TARGET_IS_i386pep)
#define COFF_WITH_pex64
#endif
@@ -88,6 +90,8 @@ ${pdb_support+#include \"pdb.h\"}
# include "coff/x86_64.h"
#elif defined TARGET_IS_aarch64pe
# include "coff/aarch64.h"
+#elif defined TARGET_IS_arm64pe
+# include "coff/aarch64.h"
#endif
#include "coff/pe.h"