[PATCH] D14218: [ELF2] Implements -z relro: create an ELF "PT_GNU_RELRO" segment header in the object.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 10 00:33:07 PST 2015
grimar added inline comments.
================
Comment at: ELF/Driver.cpp:192
@@ -189,1 +191,3 @@
+ else if (S == "norelro")
+ Config->ZRelro = false;
}
----------------
ruiu wrote:
> Why do they have norelro although they don't have nonow nor noorigin or such?
I guess because -relro is set by default in bfd. Then the question is why they have -relro. Thats I dont know.
http://reviews.llvm.org/D14218
More information about the llvm-commits
mailing list