diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2017-11-13 22:40:36 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2017-11-13 22:40:36 +0000 |
commit | 67bed43c985dd82133375bcc90636b4ffa014e08 (patch) | |
tree | f31e771a816c385e216f1bc44d5b9d42c29ec2f5 /lld/ELF/Writer.h | |
parent | d5eacdfd422748fc1831ffc3347ddffaf90bacb6 (diff) |
[MIPS] Set STO_MIPS_MICROMIPS flag and less-significant bit for microMIPS symbols
microMIPS symbols including microMIPS PLT records created for regular
symbols needs to be marked by STO_MIPS_MICROMIPS flag in a symbol table.
Additionally microMIPS entries in a dynamic symbol table should have
configured less-significant bit. That allows to escape teaching a
dynamic linker about microMIPS symbols.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index 7354319d508..9f6cff36f30 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 isMicroMips(); bool isMipsR6(); } // namespace elf } // namespace lld |