search for: hexagontargetstream

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

Did you mean: hexagontargetstreamer
2016 Apr 12
2
[hexagon] bug fix for ELFHeaderEFlags
...exagon/MCTargetDesc/HexagonMCTargetDesc.cpp =================================================================== --- lib/Target/Hexagon/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...