diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-03-19 23:06:06 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-03-19 23:06:06 +0000 |
commit | edfd2a6e7ac20e08e4bd580e60edc8e9da17d6d7 (patch) | |
tree | 1f0be4b380079aceaa48dd7cce0b4fbdc7613ef7 /include/coff/internal.h | |
parent | a4ad579228d2e9e8fe66c7d15396beb7cc22ac89 (diff) | |
download | cygnal-edfd2a6e7ac20e08e4bd580e60edc8e9da17d6d7.tar.gz cygnal-edfd2a6e7ac20e08e4bd580e60edc8e9da17d6d7.tar.bz2 cygnal-edfd2a6e7ac20e08e4bd580e60edc8e9da17d6d7.zip |
*** empty log message ***
Diffstat (limited to 'include/coff/internal.h')
-rw-r--r-- | include/coff/internal.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h index 61ca4e32f..afe6889ed 100644 --- a/include/coff/internal.h +++ b/include/coff/internal.h @@ -138,6 +138,28 @@ typedef struct _IMAGE_DATA_DIRECTORY struct internal_extra_pe_aouthdr { + /* FIXME: The following entries are in AOUTHDR. But they aren't + available internally in bfd. We add them here so that objdump + can dump them. */ + /* The state of the image file */ + short Magic; + /* Linker major version number */ + char MajorLinkerVersion; + /* Linker minor version number */ + char MinorLinkerVersion; + /* Total size of all code sections */ + long SizeOfCode; + /* Total size of all initialized data sections */ + long SizeOfInitializedData; + /* Total size of all uninitialized data sections */ + long SizeOfUninitializedData; + /* Address of entry point relative to image base. */ + bfd_vma AddressOfEntryPoint; + /* Address of the first code section relative to image base. */ + bfd_vma BaseOfCode; + /* Address of the first data section relative to image base. */ + bfd_vma BaseOfData; + /* PE stuff */ bfd_vma ImageBase; /* address of specific location in memory that file is located, NT default 0x10000 */ |