[PATCH] D26298: [ELF][MIPS] N32 ABI support

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 5 03:27:12 PDT 2016


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

- mergeMipsN32RelTypes is pure function now
- Elf_Addr is replaced by uint32_t in the mergeMipsN32RelTypes arguments
- std::next(I) -> I + 1

Now the linker recognizes N32 ABI emulation flags in the `parseEmulation`. If a user does not provide `-m` flag, the linker deduces ABI in the `inferMachineType` function. Compatibility checking is moved to the `isCompatible` routine.


Repository:
  rL LLVM

https://reviews.llvm.org/D26298

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Mips.cpp
  ELF/Relocations.cpp
  ELF/SymbolTable.cpp
  ELF/Target.cpp
  ELF/Writer.h
  test/ELF/Inputs/mips-n32-rels.o
  test/ELF/mips-elf-flags-err.s
  test/ELF/mips-n32-emul.s
  test/ELF/mips-n32-rels.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26298.76967.patch
Type: text/x-patch
Size: 13200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161105/ae74260d/attachment.bin>


More information about the llvm-commits mailing list