| commit | a1c861d379ffeec421c2be1f5adc1edc04a187c3 | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Mon Apr 07 23:12:20 2014 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Mon Apr 07 23:12:20 2014 +0000 |
| tree | 87be1a43694233e4b916dbcbb5bc2457799fa3a3 | |
| parent | 11bb3087390f28991dc93fe94faac9272bb7e699 [diff] |
obj2yaml: Use the correct relocation type for different machine types The IO normalizer would essentially lump I386 and AMD64 relocations together. Relocation types with the same numeric value would then get mapped in appropriately. For example: IMAGE_REL_AMD64_ADDR64 and IMAGE_REL_I386_DIR16 both have a numeric value of one. We would see IMAGE_REL_I386_DIR16 in obj2yaml conversions of object files with a machine type of IMAGE_FILE_MACHINE_AMD64. llvm-svn: 205746