[PATCH] D37747: [MIPS] Fix PLT entries generation in case of linking regular and microMIPS code

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 22:49:50 PDT 2017


atanasyan updated this revision to Diff 116924.
atanasyan added a comment.

- Removed `getMipsEFlags`.
- Call `calcMipsEFlags` from the `LinkerDriver::link` to initialize the `Configuration::MipsEFlags` field.
- Replaced call of the `getMipsEFlags` by access to the `Configuration::MipsEFlags` in all other places.


Repository:
  rL LLVM

https://reviews.llvm.org/D37747

Files:
  ELF/Arch/Mips.cpp
  ELF/Arch/MipsArchTree.cpp
  ELF/Config.h
  ELF/Driver.cpp
  ELF/SyntheticSections.cpp
  ELF/Writer.cpp
  ELF/Writer.h
  test/ELF/mips-elf-flags.s
  test/ELF/mips-micro-jal.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37747.116924.patch
Type: text/x-patch
Size: 10135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170928/4ad0d713/attachment-0001.bin>


More information about the llvm-commits mailing list