xref: /minix3/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc//===- llvm/Config/Linkers.def - MCLinkers ----------------------*- C++ -*-===//
2*f4a2713aSLionel Sambuc//
3*f4a2713aSLionel Sambuc//                     The MCLinker Project
4*f4a2713aSLionel Sambuc//
5*f4a2713aSLionel Sambuc// This file is distributed under the University of Illinois Open Source
6*f4a2713aSLionel Sambuc// License. See LICENSE.TXT for details.
7*f4a2713aSLionel Sambuc//
8*f4a2713aSLionel Sambuc//===----------------------------------------------------------------------===//
9*f4a2713aSLionel Sambuc//
10*f4a2713aSLionel Sambuc// This file enumerates all of the linkers supported by this build of MCLinker.
11*f4a2713aSLionel Sambuc// Clients of this file should define the MCLD_LINKER macro to be a function-like
12*f4a2713aSLionel Sambuc// macro with a single parameter (the name of the target whose exe/dso can be
13*f4a2713aSLionel Sambuc// generated); including this file will then enumerate all of the targets with
14*f4a2713aSLionel Sambuc// linkers.
15*f4a2713aSLionel Sambuc//
16*f4a2713aSLionel Sambuc// The set of targets supported by MCLD is generated at configuration
17*f4a2713aSLionel Sambuc// time, at which point this header is generated. Do not modify this
18*f4a2713aSLionel Sambuc// header directly.
19*f4a2713aSLionel Sambuc//
20*f4a2713aSLionel Sambuc//===----------------------------------------------------------------------===//
21*f4a2713aSLionel Sambuc
22*f4a2713aSLionel Sambuc#ifndef MCLD_LINKER
23*f4a2713aSLionel Sambuc#  error Please define the macro MCLD_LINKER(TargetName)
24*f4a2713aSLionel Sambuc#endif
25*f4a2713aSLionel Sambuc
26*f4a2713aSLionel SambucMCLD_LINKER(Mips) MCLD_LINKER(ARM) MCLD_LINKER(X86)
27*f4a2713aSLionel Sambuc
28*f4a2713aSLionel Sambuc#undef MCLD_LINKER
29