search for: archv5

Displaying 1 result from an estimated 1 matches for "archv5".

Did you mean: archv
2016 Apr 12
2
[hexagon] bug fix for ELFHeaderEFlags
.../MCTargetDesc/HexagonMCTargetDesc.cpp (revision 265917) +++ lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp (working copy) @@ -122,7 +122,7 @@ : HexagonTargetStreamer(S) { auto Bits = STI.getFeatureBits(); unsigned Flags; - if (Bits.to_ullong() & llvm::Hexagon::ArchV5) + if (Bits[Hexagon::ArchV5]) Flags = ELF::EF_HEXAGON_MACH_V5; else Flags = ELF::EF_HEXAGON_MACH_V4; Maybe hexagon port maintainer has a better solution to handle Hexagon::ArchV60 etc. Best regards, Mingjie