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