Home | History | Annotate | Download | only in MC

Lines Matching refs:ELF

1 //===- lib/MC/MCELFStreamer.cpp - ELF Object Output -----------------------===//
10 // This file assembles .s files and emits ELF .o object files.
29 #include "llvm/Support/ELF.h"
43 ELF::SHT_PROGBITS,
44 ELF::SHF_WRITE | ELF::SHF_ALLOC,
51 ELF::SHT_PROGBITS,
52 ELF::SHF_EXECINSTR | ELF::SHF_ALLOC,
59 ELF::SHT_NOBITS,
60 ELF::SHF_WRITE | ELF::SHF_ALLOC,
89 if (Section.getFlags() & ELF::SHF_TLS)
90 MCELF::SetType(SD, ELF::STT_TLS);
163 llvm_unreachable("Invalid symbol attribute for ELF!");
171 MCELF::SetBinding(SD, ELF::STB_GLOBAL);
178 MCELF::SetBinding(SD, ELF::STB_WEAK);
184 MCELF::SetBinding(SD, ELF::STB_LOCAL);
190 MCELF::SetType(SD, ELF::STT_FUNC);
194 MCELF::SetType(SD, ELF::STT_GNU_IFUNC);
198 MCELF::SetType(SD, ELF::STT_OBJECT);
202 MCELF::SetType(SD, ELF::STT_TLS);
206 MCELF::SetType(SD, ELF::STT_COMMON);
210 MCELF::SetType(SD, ELF::STT_NOTYPE);
214 MCELF::SetVisibility(SD, ELF::STV_PROTECTED);
218 MCELF::SetVisibility(SD, ELF::STV_HIDDEN);
222 MCELF::SetVisibility(SD, ELF::STV_INTERNAL);
232 MCELF::SetBinding(SD, ELF::STB_GLOBAL);
236 MCELF::SetType(SD, ELF::STT_OBJECT);
240 ELF::SHT_NOBITS,
241 ELF::SHF_WRITE |
242 ELF::SHF_ALLOC,
264 MCELF::SetBinding(SD, ELF::STB_LOCAL);
353 MCELF::SetType(SD, ELF::STT_TLS);
517 llvm_unreachable("Generic ELF doesn't support this directive");
525 llvm_unreachable("ELF doesn't support this directive");
529 llvm_unreachable("ELF doesn't support this directive");
533 llvm_unreachable("ELF doesn't support this directive");
537 llvm_unreachable("ELF doesn't support this directive");
541 llvm_unreachable("ELF doesn't support this directive");
546 llvm_unreachable("ELF doesn't support this directive");
551 llvm_unreachable("ELF doesn't support this directive");