From 25bcc51d8f60fcd875d25877ea5caeaeab49681d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 7 Sep 1999 03:28:54 +0000 Subject: 1999-09-06 Donn Terry * 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. --- include/coff/internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/coff/internal.h') 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)) -- cgit v1.1