summaryrefslogtreecommitdiffstats
path: root/include/coff/internal.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@redhat.com>2000-04-17 23:45:22 +0000
committerJim Wilson <wilson@redhat.com>2000-04-17 23:45:22 +0000
commit14be1d44179f2e8118c5e392cb5e355bf13822a0 (patch)
treef6c0e5cfb6fc1e8d8f4e628bbe2eed6e3edf9130 /include/coff/internal.h
parentc87be3e4d6ae90dcc48b5f26dd87645e7cabff01 (diff)
downloadcygnal-14be1d44179f2e8118c5e392cb5e355bf13822a0.tar.gz
cygnal-14be1d44179f2e8118c5e392cb5e355bf13822a0.tar.bz2
cygnal-14be1d44179f2e8118c5e392cb5e355bf13822a0.zip
Initial patches for IA-64 EFI (64-bit PE) support.
* pe.h (PEP64AOUTHDR): New header for PE+. (PEP64AOUTSZ): New macro. (IMAGE_SUBSYSTEM_UNKNOWN): New macro. (IMAGE_SUBSYSTEM_NATIVE): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto. (IMAGE_SUBSYSTEM_POSIX_CUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto. (IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto. (IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto. (IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto. * internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined already. * ia64.h: New file.
Diffstat (limited to 'include/coff/internal.h')
-rw-r--r--include/coff/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h
index 4fbea7ae3..a9f64c003 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -100,7 +100,9 @@ typedef struct _IMAGE_DATA_DIRECTORY
/* Extra stuff in a PE aouthdr */
#define PE_DEF_SECTION_ALIGNMENT 0x1000
-#define PE_DEF_FILE_ALIGNMENT 0x200
+#ifndef PE_DEF_FILE_ALIGNMENT
+# define PE_DEF_FILE_ALIGNMENT 0x200
+#endif
struct internal_extra_pe_aouthdr
{