[PATCH] D34452: Implement the ".rdata" MIPS assembly directive.

John Baldwin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 07:56:32 PDT 2017


bsdjhb added a comment.

I chose to just map .rdata to .rodata since that is what binutils appears to do for MIPS ELF.  binutils doesn't appear to set SHF_MIPS_GPREL so I'm not sure if that should be set as it is for .sdata and .sbss.  Having a separate .rdata from .rodata probably isn't the end of the world if that is more correct.


https://reviews.llvm.org/D34452





More information about the llvm-commits mailing list