[PATCH] D37749: Don't make _gp absolute

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 06:44:44 PDT 2017


atanasyan accepted this revision.
atanasyan added a comment.
This revision is now accepted and ready to land.

>> Is it still possible to assign _gp an arbitrary value using a linker script? For example, point into the middle of .sdata section?
> 
> test/ELF/mips-gp-ext.s tests that, no?

You are right. The patch is LGTM.


https://reviews.llvm.org/D37749





More information about the llvm-commits mailing list