diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-08-17 21:05:54 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-08-17 21:05:54 +0000 |
commit | d7343ddce500c8043a58dd50cac6127ba7d9d9a3 (patch) | |
tree | daf03b4a9c6e28820b272ebf24cfeb680bcd1e6c /test/Scripts/coff-dump.py | |
parent | 148341cc9b60d7d88be9c07a2b32b436e0cd301d (diff) | |
download | external_llvm-d7343ddce500c8043a58dd50cac6127ba7d9d9a3.zip external_llvm-d7343ddce500c8043a58dd50cac6127ba7d9d9a3.tar.gz external_llvm-d7343ddce500c8043a58dd50cac6127ba7d9d9a3.tar.bz2 |
Add some win64 coff goodness.
Patch by Cameron Esfahani!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts/coff-dump.py')
-rwxr-xr-x | test/Scripts/coff-dump.py | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/test/Scripts/coff-dump.py b/test/Scripts/coff-dump.py index 57a5813..464ab31 100755 --- a/test/Scripts/coff-dump.py +++ b/test/Scripts/coff-dump.py @@ -32,7 +32,7 @@ file = ('struct', [ ('MachineType', ('enum', '<H', '0x%X', { 0x0: 'IMAGE_FILE_MACHINE_UNKNOWN', 0x1d3: 'IMAGE_FILE_MACHINE_AM33', - 0x866: 'IMAGE_FILE_MACHINE_AMD64', + 0x8664: 'IMAGE_FILE_MACHINE_AMD64', 0x1c0: 'IMAGE_FILE_MACHINE_ARM', 0xebc: 'IMAGE_FILE_MACHINE_EBC', 0x14c: 'IMAGE_FILE_MACHINE_I386', @@ -140,6 +140,25 @@ file = ('struct', [ 0x000D: 'IMAGE_REL_I386_SECREL7', 0x0014: 'IMAGE_REL_I386_REL32', }, + 0x8664: { + 0x0000: 'IMAGE_REL_AMD64_ABSOLUTE', + 0x0001: 'IMAGE_REL_AMD64_ADDR64', + 0x0002: 'IMAGE_REL_AMD64_ADDR32', + 0x0003: 'IMAGE_REL_AMD64_ADDR32NB', + 0x0004: 'IMAGE_REL_AMD64_REL32', + 0x0005: 'IMAGE_REL_AMD64_REL32_1', + 0x0006: 'IMAGE_REL_AMD64_REL32_2', + 0x0007: 'IMAGE_REL_AMD64_REL32_3', + 0x0008: 'IMAGE_REL_AMD64_REL32_4', + 0x0009: 'IMAGE_REL_AMD64_REL32_5', + 0x000A: 'IMAGE_REL_AMD64_SECTION', + 0x000B: 'IMAGE_REL_AMD64_SECREL', + 0x000C: 'IMAGE_REL_AMD64_SECREL7', + 0x000D: 'IMAGE_REL_AMD64_TOKEN', + 0x000E: 'IMAGE_REL_AMD64_SREL32', + 0x000F: 'IMAGE_REL_AMD64_PAIR', + 0x0010: 'IMAGE_REL_AMD64_SSPAN32', + }, }))), ('SymbolName', ('ptr', '+ PointerToSymbolTable * - SymbolTableIndex 1 18', ('scalar', '<8s', symname))) ])))), |