diff options
author | Jim Wilson <wilson@tuliptree.org> | 2000-04-17 23:45:22 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2000-04-17 23:45:22 +0000 |
commit | 63fa1674919c94757f30a6e050f015eba30ee229 (patch) | |
tree | 6f20000520cc4b9b3907a48169bc3be0d6269512 /include/coff/internal.h | |
parent | a5a512254925eec0df34f2ae94e8ae620edf24a8 (diff) | |
download | gdb-63fa1674919c94757f30a6e050f015eba30ee229.zip gdb-63fa1674919c94757f30a6e050f015eba30ee229.tar.gz gdb-63fa1674919c94757f30a6e050f015eba30ee229.tar.bz2 |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h index 4fbea7a..a9f64c0 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 { |