diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2015-05-31 20:37:13 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2015-05-31 20:37:13 +0000 |
commit | 2944e4a43d7c8cc403d01b7f6c33e11c8481bd3a (patch) | |
tree | 7862a5f981ddf8b8afa38381efefe781e8ede65f /lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp | |
parent | c140b41c39f7a5441ec07667484aa83f908cd0e8 (diff) | |
download | bcm5719-llvm-2944e4a43d7c8cc403d01b7f6c33e11c8481bd3a.tar.gz bcm5719-llvm-2944e4a43d7c8cc403d01b7f6c33e11c8481bd3a.zip |
[Mips] Do not put the .reginfo section into the separate segment
The .reginfo should not belong to the separate segment if there is
a .MIPS.abiflags section.
llvm-svn: 238688
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp')
-rw-r--r-- | lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp index 1e7e5945671..2afc2c1fdcf 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp @@ -17,7 +17,7 @@ namespace elf { template <class ELFT> MipsTargetHandler<ELFT>::MipsTargetHandler(MipsLinkingContext &ctx) - : _ctx(ctx), _targetLayout(new MipsTargetLayout<ELFT>(ctx)), + : _ctx(ctx), _targetLayout(new MipsTargetLayout<ELFT>(ctx, _abiInfoHandler)), _relocationHandler( createMipsRelocationHandler<ELFT>(ctx, *_targetLayout)) {} |