aboutsummaryrefslogtreecommitdiff
path: root/include/coff/internal.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-07 03:28:54 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-07 03:28:54 +0000
commit25bcc51d8f60fcd875d25877ea5caeaeab49681d (patch)
tree52a8eef066607e82f6c2e07a9356025031e11fd5 /include/coff/internal.h
parentc4bf532f532aea200523038a5dee87fea1588f1d (diff)
downloadgdb-25bcc51d8f60fcd875d25877ea5caeaeab49681d.zip
gdb-25bcc51d8f60fcd875d25877ea5caeaeab49681d.tar.gz
gdb-25bcc51d8f60fcd875d25877ea5caeaeab49681d.tar.bz2
1999-09-06 Donn Terry <donn@interix.com>
* internal.h (DTYPE): Define. * pe.h (struct external_PEI_filehdr): Rename from external_PE_filehdr. Define even if COFF_IMAGE_WITH_PE is not defined.
Diffstat (limited to 'include/coff/internal.h')
-rw-r--r--include/coff/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h
index b01730e..e0f5067 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -421,6 +421,7 @@ struct internal_syment
#define DT_ARY (3) /* array */
#define BTYPE(x) ((x) & N_BTMASK)
+#define DTYPE(x) (((x) & N_TMASK) >> N_BTSHFT)
#define ISPTR(x) \
(((unsigned long) (x) & N_TMASK) == ((unsigned long) DT_PTR << N_BTSHFT))