summaryrefslogtreecommitdiff
path: root/lld/ELF/Writer.h
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2017-10-03 13:30:02 +0000
committerSimon Atanasyan <simon@atanasyan.com>2017-10-03 13:30:02 +0000
commit69c7449e16ce614cf6d3e5c0905c88ebe46e8e28 (patch)
treeabc38ba69983792d5a11c170ec72aaec67b27ead /lld/ELF/Writer.h
parentdc37194e9c78ba9403c798001d6f69a48cc45b18 (diff)
[MIPS] Generate thunks for microMIPS code
If symbol has the STO_MIPS_MICROMIPS flag and requires a thunk to perform call PIC from non-PIC functions, we need to generate a thunk with microMIPS code.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r--lld/ELF/Writer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h
index 4db5fe8249e..7354319d508 100644
--- a/lld/ELF/Writer.h
+++ b/lld/ELF/Writer.h
@@ -54,6 +54,7 @@ uint8_t getMipsFpAbiFlag(uint8_t OldFlag, uint8_t NewFlag,
llvm::StringRef FileName);
bool isMipsN32Abi(const InputFile *F);
+bool isMipsR6();
} // namespace elf
} // namespace lld