[PATCH] D21292: [mips] Correct ELF format for N32.

Hongyan Xia via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 12:01:47 PDT 2017


Jerryxia32 added a comment.

Ping. Able to compile and run non-PIC n32 binaries for my project. However, lld still crashes when linking PIC n32 object files. I think the fixup_Mips_GPOFF_HI/LO in the ELF writer should also have demux logic to differentiate between n64 and n32, otherwise the 3-in-1 relocation entry may be written to n32 and crashes lld.


https://reviews.llvm.org/D21292





More information about the llvm-commits mailing list