aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-04-21 17:38:52 +0100
committerNick Clifton <nickc@redhat.com>2021-04-21 17:38:52 +0100
commit18e9a809e864e68ed999f3a9a06dce55b7a2c0f4 (patch)
treee440f1b93d3e4252fefe17c30bd8807516681d53 /include
parent10a636ccb4635ccb85780f432b089521a1d85e18 (diff)
downloadgdb-18e9a809e864e68ed999f3a9a06dce55b7a2c0f4.zip
gdb-18e9a809e864e68ed999f3a9a06dce55b7a2c0f4.tar.gz
gdb-18e9a809e864e68ed999f3a9a06dce55b7a2c0f4.tar.bz2
Extend the description of PE header flags.
PR 27760 include * coff/pe.h (IMAGE_DLLCHARACTERISTICS_APPCONTAINER): Define. (IMAGE_DLLCHARACTERISTICS_GUARD_CF): Define. bfd * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add display of IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP, IMAGE_FILE_NET_RUN_FROM_SWAP and IMAGE_FILE_UP_SYSTEM_ONLY flags. Decode the contents of the DllCharacteristics field.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/coff/pe.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 83ae2cb..20aefde 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2021-04-21 Eli Zaretskii <eliz@gnu.org>
+
+ PR 27760
+ * coff/pe.h (IMAGE_DLLCHARACTERISTICS_APPCONTAINER): Define.
+ (IMAGE_DLLCHARACTERISTICS_GUARD_CF): Define.
+
2021-04-16 Alan Modra <amodra@gmail.com>
PR 27567
diff --git a/include/coff/pe.h b/include/coff/pe.h
index d6e8469..9e1ea4b 100644
--- a/include/coff/pe.h
+++ b/include/coff/pe.h
@@ -49,7 +49,9 @@
#define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION 0x0200
#define IMAGE_DLLCHARACTERISTICS_NO_SEH 0x0400
#define IMAGE_DLLCHARACTERISTICS_NO_BIND 0x0800
+#define IMAGE_DLLCHARACTERISTICS_APPCONTAINER 0x1000
#define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000
+#define IMAGE_DLLCHARACTERISTICS_GUARD_CF 0x4000
#define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000
/* Additional flags to be set for section headers to allow the NT loader to