diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2016-08-12 06:28:49 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2016-08-12 06:28:49 +0000 |
commit | 3ed5857bf799bb4369074a8525a757a5d94d64f2 (patch) | |
tree | 6e4165a0098b4243f033457c5fbb60d9c232732c /lld/ELF/Writer.h | |
parent | 399f94f3b245451e86ac071db0e763bbfc11c410 (diff) |
[ELF][MIPS] Support .MIPS.abiflags section
This section supersedes .reginfo and .MIPS.options sections. But for now
we have to support all three sections for ABI transition period.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index 914db53e8e4..8383a0493c2 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -46,6 +46,9 @@ llvm::StringRef getOutputSectionName(InputSectionBase<ELFT> *S); template <class ELFT> void reportDiscarded(InputSectionBase<ELFT> *IS); template <class ELFT> uint32_t getMipsEFlags(); + +uint8_t getMipsFpAbiFlag(uint8_t OldFlag, uint8_t NewFlag, + llvm::StringRef FileName); } } |