Author: rafael Date: Fri Jun 19 12:02:25 2015 New Revision: 240138 URL: http://llvm.org/viewvc/llvm-project?rev=240138&view=rev Log: Fix the lldb build for the EM_486 change.
Modified: lldb/trunk/source/Core/ArchSpec.cpp lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.cpp Modified: lldb/trunk/source/Core/ArchSpec.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ArchSpec.cpp?rev=240138&r1=240137&r2=240138&view=diff ============================================================================== --- lldb/trunk/source/Core/ArchSpec.cpp (original) +++ lldb/trunk/source/Core/ArchSpec.cpp Fri Jun 19 12:02:25 2015 @@ -283,7 +283,7 @@ static const ArchDefinitionEntry g_elf_a { { ArchSpec::eCore_sparc_generic , llvm::ELF::EM_SPARC , LLDB_INVALID_CPUTYPE, 0xFFFFFFFFu, 0xFFFFFFFFu }, // Sparc { ArchSpec::eCore_x86_32_i386 , llvm::ELF::EM_386 , LLDB_INVALID_CPUTYPE, 0xFFFFFFFFu, 0xFFFFFFFFu }, // Intel 80386 - { ArchSpec::eCore_x86_32_i486 , llvm::ELF::EM_486 , LLDB_INVALID_CPUTYPE, 0xFFFFFFFFu, 0xFFFFFFFFu }, // Intel 486 (deprecated) + { ArchSpec::eCore_x86_32_i486 , llvm::ELF::EM_IAMCU , LLDB_INVALID_CPUTYPE, 0xFFFFFFFFu, 0xFFFFFFFFu }, // Intel MCU // FIXME: is this correct? { ArchSpec::eCore_ppc_generic , llvm::ELF::EM_PPC , LLDB_INVALID_CPUTYPE, 0xFFFFFFFFu, 0xFFFFFFFFu }, // PowerPC { ArchSpec::eCore_ppc64_generic , llvm::ELF::EM_PPC64 , LLDB_INVALID_CPUTYPE, 0xFFFFFFFFu, 0xFFFFFFFFu }, // PowerPC64 { ArchSpec::eCore_arm_generic , llvm::ELF::EM_ARM , LLDB_INVALID_CPUTYPE, 0xFFFFFFFFu, 0xFFFFFFFFu }, // ARM Modified: lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.cpp?rev=240138&r1=240137&r2=240138&view=diff ============================================================================== --- lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.cpp (original) +++ lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.cpp Fri Jun 19 12:02:25 2015 @@ -180,7 +180,7 @@ ELFHeader::GetRelocationJumpSlotType() c slot = R_PPC64_JMP_SLOT; break; case EM_386: - case EM_486: + case EM_IAMCU: // FIXME: is this correct? slot = R_386_JUMP_SLOT; break; case EM_X86_64: _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits