[PATCH] D37960: [mips] Fix relocation record format and ELF header for N32 ABI

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 23:37:32 PDT 2017


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

Addressed review comment:

- Add FIXME comment to the `cpsetup.s` that we implicitly check the `-mno-shared` case only.
- Enable more checks in the `elf_header.s` and delete invalid checking for the `ELF_MIPS_PIC` flag.


Repository:
  rL LLVM

https://reviews.llvm.org/D37960

Files:
  lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
  lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
  test/MC/Mips/cpsetup.s
  test/MC/Mips/elf_header.s
  test/MC/Mips/expansion-j-sym-pic.s
  test/MC/Mips/expansion-jal-sym-pic.s
  test/MC/Mips/reloc-directive.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37960.116141.patch
Type: text/x-patch
Size: 32129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170921/321d2686/attachment.bin>


More information about the llvm-commits mailing list