2016-02-12 05:17:59 +08:00
|
|
|
//===- LinkerScript.h -------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Linker
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLD_ELF_LINKER_SCRIPT_H
|
|
|
|
#define LLD_ELF_LINKER_SCRIPT_H
|
|
|
|
|
2016-09-17 04:21:55 +08:00
|
|
|
#include "Config.h"
|
2016-09-03 05:17:20 +08:00
|
|
|
#include "Strings.h"
|
2016-07-19 17:25:43 +08:00
|
|
|
#include "Writer.h"
|
2016-02-12 05:17:59 +08:00
|
|
|
#include "lld/Core/LLVM.h"
|
2016-11-05 09:00:56 +08:00
|
|
|
#include "llvm/ADT/ArrayRef.h"
|
2017-01-24 10:34:00 +08:00
|
|
|
#include "llvm/ADT/DenseMap.h"
|
2016-09-16 23:10:23 +08:00
|
|
|
#include "llvm/ADT/DenseSet.h"
|
2016-11-05 09:00:56 +08:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2016-02-12 05:38:55 +08:00
|
|
|
#include "llvm/Support/MemoryBuffer.h"
|
2016-11-05 09:00:56 +08:00
|
|
|
#include <cstddef>
|
|
|
|
#include <cstdint>
|
2016-11-06 06:37:59 +08:00
|
|
|
#include <functional>
|
2016-11-05 09:00:56 +08:00
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
2016-02-12 05:17:59 +08:00
|
|
|
|
|
|
|
namespace lld {
|
2016-02-28 08:25:54 +08:00
|
|
|
namespace elf {
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-08-31 21:28:33 +08:00
|
|
|
class DefinedCommon;
|
2016-07-29 13:48:39 +08:00
|
|
|
class SymbolBody;
|
2017-02-23 10:28:28 +08:00
|
|
|
class InputSectionBase;
|
2017-02-24 00:49:07 +08:00
|
|
|
class InputSection;
|
2017-02-24 23:07:30 +08:00
|
|
|
class OutputSection;
|
2017-02-27 10:31:48 +08:00
|
|
|
class OutputSectionFactory;
|
2017-02-23 10:32:18 +08:00
|
|
|
class InputSectionBase;
|
2017-03-10 08:47:33 +08:00
|
|
|
class SectionBase;
|
2016-02-12 05:17:59 +08:00
|
|
|
|
2017-03-17 21:05:04 +08:00
|
|
|
struct ExprValue {
|
|
|
|
SectionBase *Sec;
|
|
|
|
uint64_t Val;
|
|
|
|
bool ForceAbsolute;
|
|
|
|
|
|
|
|
ExprValue(SectionBase *Sec, bool ForceAbsolute, uint64_t Val)
|
|
|
|
: Sec(Sec), Val(Val), ForceAbsolute(ForceAbsolute) {}
|
|
|
|
ExprValue(SectionBase *Sec, uint64_t Val) : ExprValue(Sec, false, Val) {}
|
|
|
|
ExprValue(uint64_t Val) : ExprValue(nullptr, Val) {}
|
|
|
|
bool isAbsolute() const { return ForceAbsolute || Sec == nullptr; }
|
|
|
|
uint64_t getValue() const;
|
2017-03-17 22:55:36 +08:00
|
|
|
uint64_t getSecAddr() const;
|
2017-03-17 21:05:04 +08:00
|
|
|
};
|
|
|
|
|
2016-10-14 07:08:33 +08:00
|
|
|
// This represents an expression in the linker script.
|
|
|
|
// ScriptParser::readExpr reads an expression and returns an Expr.
|
2017-03-17 21:05:04 +08:00
|
|
|
// Later, we evaluate the expression by calling the function.
|
|
|
|
typedef std::function<ExprValue()> Expr;
|
Make readExpr return an Expr object instead of a vector of tokens.
Previously, we handled an expression as a vector of tokens. In other
words, an expression was a vector of uncooked raw StringRefs.
When we need a value of an expression, we used ExprParser to run
the expression.
The separation was needed essentially because parse time is too
early to evaluate an expression. In order to evaluate an expression,
we need to finalize section sizes. Because linker script parsing
is done at very early stage of the linking process, we can't
evaluate expressions while parsing.
The above mechanism worked fairly well, but there were a few
drawbacks.
One thing is that we sometimes have to parse the same expression
more than once in order to find the end of the expression.
In some contexts, linker script expressions have no clear end marker.
So, we needed to recognize balanced expressions and ternary operators.
The other is poor error reporting. Since expressions are parsed
basically twice, and some information that is available at the first
stage is lost in the second stage, it was hard to print out
apprpriate error messages.
This patch fixes the issues with a new approach.
Now the expression parsing is integrated into ScriptParser.
ExprParser class is removed. Expressions are represented as lambdas
instead of vectors of tokens. Lambdas captures information they
need to run themselves when they are created.
In this way, ends of expressions are naturally detected, and
errors are handled in the usual way. This patch also reduces
the amount of code.
Differential Revision: https://reviews.llvm.org/D22728
llvm-svn: 276574
2016-07-25 02:19:40 +08:00
|
|
|
|
2016-07-21 22:26:59 +08:00
|
|
|
// This enum is used to implement linker script SECTIONS command.
|
|
|
|
// https://sourceware.org/binutils/docs/ld/SECTIONS.html#SECTIONS
|
|
|
|
enum SectionsCommandKind {
|
2016-09-27 03:22:50 +08:00
|
|
|
AssignmentKind, // . = expr or <sym> = expr
|
2016-07-21 22:26:59 +08:00
|
|
|
OutputSectionKind,
|
2016-08-04 17:29:31 +08:00
|
|
|
InputSectionKind,
|
2016-09-27 03:22:50 +08:00
|
|
|
AssertKind, // ASSERT(expr)
|
|
|
|
BytesDataKind // BYTE(expr), SHORT(expr), LONG(expr) or QUAD(expr)
|
2016-02-13 05:47:28 +08:00
|
|
|
};
|
|
|
|
|
2016-07-21 14:43:01 +08:00
|
|
|
struct BaseCommand {
|
|
|
|
BaseCommand(int K) : Kind(K) {}
|
|
|
|
int Kind;
|
|
|
|
};
|
2016-04-16 18:10:32 +08:00
|
|
|
|
2016-10-14 07:08:33 +08:00
|
|
|
// This represents ". = <expr>" or "<symbol> = <expr>".
|
2016-07-21 14:43:01 +08:00
|
|
|
struct SymbolAssignment : BaseCommand {
|
2017-02-22 17:13:04 +08:00
|
|
|
SymbolAssignment(StringRef Name, Expr E, std::string Loc)
|
|
|
|
: BaseCommand(AssignmentKind), Name(Name), Expression(E), Location(Loc) {}
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-07-21 14:43:01 +08:00
|
|
|
static bool classof(const BaseCommand *C);
|
2016-07-29 13:52:33 +08:00
|
|
|
|
|
|
|
// The LHS of an expression. Name is either a symbol name or ".".
|
2016-07-21 14:43:01 +08:00
|
|
|
StringRef Name;
|
2016-07-29 13:52:33 +08:00
|
|
|
SymbolBody *Sym = nullptr;
|
|
|
|
|
|
|
|
// The RHS of an expression.
|
Make readExpr return an Expr object instead of a vector of tokens.
Previously, we handled an expression as a vector of tokens. In other
words, an expression was a vector of uncooked raw StringRefs.
When we need a value of an expression, we used ExprParser to run
the expression.
The separation was needed essentially because parse time is too
early to evaluate an expression. In order to evaluate an expression,
we need to finalize section sizes. Because linker script parsing
is done at very early stage of the linking process, we can't
evaluate expressions while parsing.
The above mechanism worked fairly well, but there were a few
drawbacks.
One thing is that we sometimes have to parse the same expression
more than once in order to find the end of the expression.
In some contexts, linker script expressions have no clear end marker.
So, we needed to recognize balanced expressions and ternary operators.
The other is poor error reporting. Since expressions are parsed
basically twice, and some information that is available at the first
stage is lost in the second stage, it was hard to print out
apprpriate error messages.
This patch fixes the issues with a new approach.
Now the expression parsing is integrated into ScriptParser.
ExprParser class is removed. Expressions are represented as lambdas
instead of vectors of tokens. Lambdas captures information they
need to run themselves when they are created.
In this way, ends of expressions are naturally detected, and
errors are handled in the usual way. This patch also reduces
the amount of code.
Differential Revision: https://reviews.llvm.org/D22728
llvm-svn: 276574
2016-07-25 02:19:40 +08:00
|
|
|
Expr Expression;
|
2016-07-29 13:52:33 +08:00
|
|
|
|
|
|
|
// Command attributes for PROVIDE, HIDDEN and PROVIDE_HIDDEN.
|
2016-07-22 15:38:40 +08:00
|
|
|
bool Provide = false;
|
|
|
|
bool Hidden = false;
|
2017-02-21 22:50:38 +08:00
|
|
|
|
2017-02-22 17:13:04 +08:00
|
|
|
// Holds file name and line number for error reporting.
|
2017-02-21 22:50:38 +08:00
|
|
|
std::string Location;
|
2016-07-21 14:43:01 +08:00
|
|
|
};
|
|
|
|
|
2016-07-22 11:36:24 +08:00
|
|
|
// Linker scripts allow additional constraints to be put on ouput sections.
|
2016-10-14 07:08:33 +08:00
|
|
|
// If an output section is marked as ONLY_IF_RO, the section is created
|
|
|
|
// only if its input sections are read-only. Likewise, an output section
|
|
|
|
// with ONLY_IF_RW is created if all input sections are RW.
|
2016-07-26 06:00:10 +08:00
|
|
|
enum class ConstraintKind { NoConstraint, ReadOnly, ReadWrite };
|
2016-07-22 11:36:24 +08:00
|
|
|
|
2016-07-21 14:43:01 +08:00
|
|
|
struct OutputSectionCommand : BaseCommand {
|
|
|
|
OutputSectionCommand(StringRef Name)
|
|
|
|
: BaseCommand(OutputSectionKind), Name(Name) {}
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-07-21 14:43:01 +08:00
|
|
|
static bool classof(const BaseCommand *C);
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2017-04-07 05:05:39 +08:00
|
|
|
OutputSection *Sec = nullptr;
|
2016-07-12 14:39:48 +08:00
|
|
|
StringRef Name;
|
2016-07-25 16:29:46 +08:00
|
|
|
Expr AddrExpr;
|
2016-07-27 02:06:29 +08:00
|
|
|
Expr AlignExpr;
|
2016-10-06 17:39:28 +08:00
|
|
|
Expr LMAExpr;
|
2016-08-19 23:18:23 +08:00
|
|
|
Expr SubalignExpr;
|
2017-04-05 11:20:42 +08:00
|
|
|
std::vector<BaseCommand *> Commands;
|
2016-07-19 17:25:43 +08:00
|
|
|
std::vector<StringRef> Phdrs;
|
2017-04-06 23:22:58 +08:00
|
|
|
uint32_t Filler = 0;
|
2016-07-26 06:00:10 +08:00
|
|
|
ConstraintKind Constraint = ConstraintKind::NoConstraint;
|
2016-12-06 00:38:32 +08:00
|
|
|
std::string Location;
|
2017-01-24 10:34:00 +08:00
|
|
|
std::string MemoryRegionName;
|
2016-07-19 17:25:43 +08:00
|
|
|
};
|
|
|
|
|
2016-09-17 15:31:49 +08:00
|
|
|
// This struct represents one section match pattern in SECTIONS() command.
|
2016-09-17 10:23:40 +08:00
|
|
|
// It can optionally have negative match pattern for EXCLUDED_FILE command.
|
2016-09-21 23:56:44 +08:00
|
|
|
// Also it may be surrounded with SORT() command, so contains sorting rules.
|
2016-09-17 10:23:40 +08:00
|
|
|
struct SectionPattern {
|
2016-11-04 01:57:38 +08:00
|
|
|
SectionPattern(StringMatcher &&Pat1, StringMatcher &&Pat2)
|
|
|
|
: ExcludedFilePat(Pat1), SectionPat(Pat2) {}
|
|
|
|
|
|
|
|
StringMatcher ExcludedFilePat;
|
|
|
|
StringMatcher SectionPat;
|
2016-09-21 23:56:44 +08:00
|
|
|
SortSectionPolicy SortOuter;
|
|
|
|
SortSectionPolicy SortInner;
|
2016-09-17 10:23:40 +08:00
|
|
|
};
|
|
|
|
|
2016-07-21 22:26:59 +08:00
|
|
|
struct InputSectionDescription : BaseCommand {
|
2016-09-03 05:17:20 +08:00
|
|
|
InputSectionDescription(StringRef FilePattern)
|
2016-12-21 10:27:14 +08:00
|
|
|
: BaseCommand(InputSectionKind), FilePat(FilePattern) {}
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-07-21 22:26:59 +08:00
|
|
|
static bool classof(const BaseCommand *C);
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-11-04 01:57:38 +08:00
|
|
|
StringMatcher FilePat;
|
2016-09-17 10:23:40 +08:00
|
|
|
|
2016-09-17 15:31:49 +08:00
|
|
|
// Input sections that matches at least one of SectionPatterns
|
2016-09-17 10:34:50 +08:00
|
|
|
// will be associated with this InputSectionDescription.
|
2016-09-20 08:02:06 +08:00
|
|
|
std::vector<SectionPattern> SectionPatterns;
|
2016-09-17 10:23:40 +08:00
|
|
|
|
2017-02-23 10:32:18 +08:00
|
|
|
std::vector<InputSectionBase *> Sections;
|
2016-07-21 22:26:59 +08:00
|
|
|
};
|
|
|
|
|
2016-10-14 07:08:33 +08:00
|
|
|
// Represents an ASSERT().
|
2016-08-04 17:29:31 +08:00
|
|
|
struct AssertCommand : BaseCommand {
|
|
|
|
AssertCommand(Expr E) : BaseCommand(AssertKind), Expression(E) {}
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-08-04 17:29:31 +08:00
|
|
|
static bool classof(const BaseCommand *C);
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-08-04 17:29:31 +08:00
|
|
|
Expr Expression;
|
|
|
|
};
|
|
|
|
|
2016-10-14 07:08:33 +08:00
|
|
|
// Represents BYTE(), SHORT(), LONG(), or QUAD().
|
2016-09-27 03:22:50 +08:00
|
|
|
struct BytesDataCommand : BaseCommand {
|
2016-12-09 07:21:30 +08:00
|
|
|
BytesDataCommand(Expr E, unsigned Size)
|
|
|
|
: BaseCommand(BytesDataKind), Expression(E), Size(Size) {}
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-09-27 03:22:50 +08:00
|
|
|
static bool classof(const BaseCommand *C);
|
2016-11-05 09:00:56 +08:00
|
|
|
|
2016-12-09 07:21:30 +08:00
|
|
|
Expr Expression;
|
2016-09-27 03:22:50 +08:00
|
|
|
unsigned Offset;
|
|
|
|
unsigned Size;
|
|
|
|
};
|
|
|
|
|
2016-07-19 17:25:43 +08:00
|
|
|
struct PhdrsCommand {
|
|
|
|
StringRef Name;
|
|
|
|
unsigned Type;
|
|
|
|
bool HasFilehdr;
|
|
|
|
bool HasPhdrs;
|
2016-07-21 18:43:25 +08:00
|
|
|
unsigned Flags;
|
2016-09-09 17:46:16 +08:00
|
|
|
Expr LMAExpr;
|
2016-04-16 18:10:32 +08:00
|
|
|
};
|
|
|
|
|
2017-01-24 10:34:00 +08:00
|
|
|
// This struct is used to represent the location and size of regions of
|
|
|
|
// target memory. Instances of the struct are created by parsing the
|
|
|
|
// MEMORY command.
|
|
|
|
struct MemoryRegion {
|
|
|
|
std::string Name;
|
|
|
|
uint64_t Origin;
|
|
|
|
uint64_t Length;
|
|
|
|
uint64_t Offset;
|
|
|
|
uint32_t Flags;
|
2017-01-26 10:58:59 +08:00
|
|
|
uint32_t NegFlags;
|
2017-01-24 10:34:00 +08:00
|
|
|
};
|
|
|
|
|
2016-04-21 04:13:41 +08:00
|
|
|
// ScriptConfiguration holds linker script parse results.
|
|
|
|
struct ScriptConfiguration {
|
2016-04-16 18:10:32 +08:00
|
|
|
// Used to assign addresses to sections.
|
2017-04-05 11:20:42 +08:00
|
|
|
std::vector<BaseCommand *> Commands;
|
2016-04-16 18:10:32 +08:00
|
|
|
|
2016-07-19 17:25:43 +08:00
|
|
|
// Used to assign sections to headers.
|
2016-07-20 23:09:10 +08:00
|
|
|
std::vector<PhdrsCommand> PhdrsCommands;
|
|
|
|
|
2016-09-14 16:32:36 +08:00
|
|
|
bool HasSections = false;
|
2016-04-21 04:13:41 +08:00
|
|
|
|
2016-04-22 06:00:51 +08:00
|
|
|
// List of section patterns specified with KEEP commands. They will
|
|
|
|
// be kept even if they are unused and --gc-sections is specified.
|
2016-10-05 17:36:59 +08:00
|
|
|
std::vector<InputSectionDescription *> KeptSections;
|
2017-01-24 10:34:00 +08:00
|
|
|
|
|
|
|
// A map from memory region name to a memory region descriptor.
|
|
|
|
llvm::DenseMap<llvm::StringRef, MemoryRegion> MemoryRegions;
|
2017-03-23 11:52:34 +08:00
|
|
|
|
2017-04-06 03:20:54 +08:00
|
|
|
// A list of symbols referenced by the script.
|
2017-04-06 02:02:30 +08:00
|
|
|
std::vector<llvm::StringRef> ReferencedSymbols;
|
2016-02-12 05:17:59 +08:00
|
|
|
};
|
|
|
|
|
2017-03-22 07:02:51 +08:00
|
|
|
class LinkerScript {
|
2017-03-14 17:03:53 +08:00
|
|
|
protected:
|
2017-04-05 11:20:22 +08:00
|
|
|
void assignSymbol(SymbolAssignment *Cmd, bool InSec);
|
|
|
|
void setDot(Expr E, const Twine &Loc, bool InSec);
|
2017-03-14 20:03:34 +08:00
|
|
|
|
|
|
|
std::vector<InputSectionBase *>
|
2017-04-05 10:05:48 +08:00
|
|
|
computeInputSections(const InputSectionDescription *);
|
|
|
|
|
|
|
|
std::vector<InputSectionBase *>
|
2017-03-14 20:03:34 +08:00
|
|
|
createInputSectionList(OutputSectionCommand &Cmd);
|
|
|
|
|
|
|
|
std::vector<size_t> getPhdrIndices(StringRef SectionName);
|
|
|
|
size_t getPhdrIndex(const Twine &Loc, StringRef PhdrName);
|
|
|
|
|
2017-04-07 05:26:03 +08:00
|
|
|
MemoryRegion *findMemoryRegion(OutputSectionCommand *Cmd);
|
2017-03-14 20:03:34 +08:00
|
|
|
|
|
|
|
void switchTo(OutputSection *Sec);
|
|
|
|
void flush();
|
|
|
|
void output(InputSection *Sec);
|
|
|
|
void process(BaseCommand &Base);
|
|
|
|
|
2017-03-14 17:03:53 +08:00
|
|
|
OutputSection *Aether;
|
2017-03-17 21:05:04 +08:00
|
|
|
bool ErrorOnMissingSection = false;
|
2017-03-14 17:03:53 +08:00
|
|
|
|
2017-03-17 05:50:30 +08:00
|
|
|
uint64_t Dot;
|
2017-03-14 18:00:19 +08:00
|
|
|
uint64_t ThreadBssOffset = 0;
|
|
|
|
|
2017-03-14 20:03:34 +08:00
|
|
|
std::function<uint64_t()> LMAOffset;
|
|
|
|
OutputSection *CurOutSec = nullptr;
|
|
|
|
MemoryRegion *CurMemRegion = nullptr;
|
|
|
|
|
|
|
|
llvm::DenseSet<OutputSection *> AlreadyOutputOS;
|
|
|
|
llvm::DenseSet<InputSectionBase *> AlreadyOutputIS;
|
|
|
|
|
2017-03-14 17:03:53 +08:00
|
|
|
public:
|
|
|
|
bool hasPhdrsCommands() { return !Opt.PhdrsCommands.empty(); }
|
2017-03-17 05:50:30 +08:00
|
|
|
uint64_t getDot() { return Dot; }
|
2017-03-14 18:15:53 +08:00
|
|
|
OutputSection *getOutputSection(const Twine &Loc, StringRef S);
|
2017-03-14 18:24:47 +08:00
|
|
|
uint64_t getOutputSectionSize(StringRef S);
|
2017-03-15 23:42:44 +08:00
|
|
|
void discard(ArrayRef<InputSectionBase *> V);
|
2017-03-14 17:03:53 +08:00
|
|
|
|
2017-03-20 18:09:58 +08:00
|
|
|
ExprValue getSymbolValue(const Twine &Loc, StringRef S);
|
|
|
|
bool isDefined(StringRef S);
|
2017-03-14 18:15:53 +08:00
|
|
|
|
2017-03-17 05:50:30 +08:00
|
|
|
std::vector<OutputSection *> *OutputSections;
|
2017-02-27 10:31:48 +08:00
|
|
|
void addOrphanSections(OutputSectionFactory &Factory);
|
2016-11-14 22:23:35 +08:00
|
|
|
void removeEmptyCommands();
|
2016-09-22 22:40:50 +08:00
|
|
|
void adjustSectionsBeforeSorting();
|
2016-11-14 23:39:38 +08:00
|
|
|
void adjustSectionsAfterSorting();
|
2016-07-21 01:19:03 +08:00
|
|
|
|
2016-12-20 01:01:01 +08:00
|
|
|
std::vector<PhdrEntry> createPhdrs();
|
2016-08-16 14:40:58 +08:00
|
|
|
bool ignoreInterpSection();
|
2016-07-23 22:18:48 +08:00
|
|
|
|
2017-04-06 23:22:58 +08:00
|
|
|
uint32_t getFiller(StringRef Name);
|
2016-10-06 17:39:28 +08:00
|
|
|
bool hasLMA(StringRef Name);
|
2017-02-23 10:28:28 +08:00
|
|
|
bool shouldKeep(InputSectionBase *S);
|
2016-09-16 23:10:23 +08:00
|
|
|
void assignOffsets(OutputSectionCommand *Cmd);
|
2016-11-14 22:13:32 +08:00
|
|
|
void placeOrphanSections();
|
2017-03-15 11:33:23 +08:00
|
|
|
void processNonSectionCommands();
|
2016-12-20 01:01:01 +08:00
|
|
|
void assignAddresses(std::vector<PhdrEntry> &Phdrs);
|
2016-09-21 06:43:15 +08:00
|
|
|
int getSectionIndex(StringRef Name);
|
2016-07-26 06:51:07 +08:00
|
|
|
|
2017-03-14 20:03:34 +08:00
|
|
|
void writeDataBytes(StringRef Name, uint8_t *Buf);
|
|
|
|
void addSymbol(SymbolAssignment *Cmd);
|
|
|
|
void processCommands(OutputSectionFactory &Factory);
|
2017-03-22 07:03:09 +08:00
|
|
|
|
|
|
|
// Parsed linker script configurations are set to this struct.
|
|
|
|
ScriptConfiguration Opt;
|
2016-04-21 04:13:41 +08:00
|
|
|
};
|
|
|
|
|
2017-03-22 07:02:51 +08:00
|
|
|
extern LinkerScript *Script;
|
2016-09-08 16:19:13 +08:00
|
|
|
|
2016-11-05 09:00:56 +08:00
|
|
|
} // end namespace elf
|
|
|
|
} // end namespace lld
|
2016-02-12 05:17:59 +08:00
|
|
|
|
2016-11-05 09:00:56 +08:00
|
|
|
#endif // LLD_ELF_LINKER_SCRIPT_H
|