[PATCH] D14567: [ELF2] - dont merge .data.rel.ro/.data.rel.ro.local into .data section.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 12:58:03 PST 2015
ruiu added inline comments.
================
Comment at: ELF/Writer.cpp:465-468
@@ -464,2 +464,6 @@
return ".rodata";
+ if (S.startswith(".data.rel.ro.local"))
+ return ".data.rel.ro.local";
+ if (S.startswith(".data.rel.ro"))
+ return ".data.rel.ro";
if (S.startswith(".data."))
----------------
Is this equivalent to this?
if (S.startswith(".data.rel.ro")
return S;
http://reviews.llvm.org/D14567
More information about the llvm-commits
mailing list