[llvm-commits] [PATCH 5/5] Hookup the ELF support for X86.
Eli Friedman
eli.friedman at gmail.com
Mon Jul 26 13:32:42 PDT 2010
On Mon, Jul 26, 2010 at 1:00 PM, Matt Fleming <matt at console-pimps.org> wrote:
> --- a/lib/Target/X86/X86TargetMachine.cpp
> +++ b/lib/Target/X86/X86TargetMachine.cpp
> @@ -46,6 +46,8 @@ static MCStreamer *createMCStreamer(const Target &T, const std::string &TT,
> bool RelaxAll) {
> Triple TheTriple(TT);
> switch (TheTriple.getOS()) {
> + case Triple::Linux:
> + return createELFStreamer(Ctx, TAB, _OS, _Emitter, RelaxAll);
+ case Triple::AuroraUX:
+ case Triple::DragonFly:
+ case Triple::NetBSD:
+ case Triple::OpenBSD:
+ case Triple::FreeBSD:
+ case Triple::Solaris:
+ case Triple::Haiku:
-Eli
More information about the llvm-commits
mailing list