ruiu added a comment. Interesting, but it is tricky. What exactly is the threat for putting the first entry of .got.plt in a writable segment, how realistic is the attack is, and how much does this mitigate the risk? http://reviews.llvm.org/D20024