aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2023-01-23 23:01:54 +0000
committerMark Harmstone <mark@harmstone.com>2023-01-25 22:26:18 +0000
commit9a02fbd1984021c1db08cfd855df0660745a0858 (patch)
tree9d71b128a9b0d902ac0e0bf8bccab9452c19ceaa /ld/emultempl
parent5cf11483141a58314834653003e49709b47822d5 (diff)
downloadgdb-9a02fbd1984021c1db08cfd855df0660745a0858.zip
gdb-9a02fbd1984021c1db08cfd855df0660745a0858.tar.gz
gdb-9a02fbd1984021c1db08cfd855df0660745a0858.tar.bz2
ld: Add pdb support to aarch64-w64-mingw32
This extends PDB support to the aarch64 PE targets. The changes to the test files are just to make it so they can be assembled as either x86, x86_64, or aarch64, mainly by changing the comment style. The only actual code change here is in adding the architecture constants to pdb.c.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/pep.em3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em
index 5a53ab3..613a2c7 100644
--- a/ld/emultempl/pep.em
+++ b/ld/emultempl/pep.em
@@ -79,7 +79,8 @@ EOF
case ${target} in
x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep | x86_64-*-cygwin | \
- i[3-7]86-*-mingw32* | i[3-7]86-*-cygwin* | i[3-7]86-*-winnt | i[3-7]86-*-pe)
+ i[3-7]86-*-mingw32* | i[3-7]86-*-cygwin* | i[3-7]86-*-winnt | i[3-7]86-*-pe | \
+ aarch64-*-mingw* | aarch64-*-pe* )
fragment <<EOF
#include "pdb.h"
EOF