search for: ef_hexagon_mach_v4

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

Did you mean: ef_hexagon_mach_v5
2016 Apr 12
2
[hexagon] bug fix for ELFHeaderEFlags
...Desc.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