[PATCH] D14218: [ELF2] Implements -z relro: create an ELF "PT_GNU_RELRO" segment header in the object.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 1 09:37:27 PST 2015
davide added a subscriber: davide.
================
Comment at: ELF/Driver.cpp:192
@@ -189,1 +191,3 @@
+ else if (S == "norelro")
+ Config->ZRelro = false;
}
----------------
You already assign ZRelro to false so the last two lines (I think) can be removed, no?
http://reviews.llvm.org/D14218
More information about the llvm-commits
mailing list