LLVM: lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp Source File (original) (raw)

11 unsigned EFlags = 0;

12

13

14 if (Features[AVR::ELFArchAVR1])

16 else if (Features[AVR::ELFArchAVR2])

18 else if (Features[AVR::ELFArchAVR25])

20 else if (Features[AVR::ELFArchAVR3])

22 else if (Features[AVR::ELFArchAVR31])

24 else if (Features[AVR::ELFArchAVR35])

26 else if (Features[AVR::ELFArchAVR4])

28 else if (Features[AVR::ELFArchAVR5])

30 else if (Features[AVR::ELFArchAVR51])

32 else if (Features[AVR::ELFArchAVR6])

34 else if (Features[AVR::ELFArchTiny])

36 else if (Features[AVR::ELFArchXMEGA1])

38 else if (Features[AVR::ELFArchXMEGA2])

40 else if (Features[AVR::ELFArchXMEGA3])

42 else if (Features[AVR::ELFArchXMEGA4])

44 else if (Features[AVR::ELFArchXMEGA5])

46 else if (Features[AVR::ELFArchXMEGA6])

48 else if (Features[AVR::ELFArchXMEGA7])

50

51 return EFlags;

52}

57 unsigned EFlags = W.getELFHeaderEFlags();

58

61

62 W.setELFHeaderEFlags(EFlags);

63}