[PATCH] D22564: [ELF] Support FLAGS attribute in PHDR definition

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 09:12:37 PDT 2016


grimar added inline comments.

================
Comment at: ELF/LinkerScript.cpp:384
@@ -382,2 +383,3 @@
+          Phdrs[Id].H.p_flags |= toPhdrFlags(Sec->getFlags());
         Phdrs[Id].H.p_flags |= toPhdrFlags(Sec->getFlags());
       }
----------------
evgeny777 wrote:
> grimar wrote:
> > Is this correct ?
> That's definitely a bug. Thanks, George!
Please update testcase to catch this then.


https://reviews.llvm.org/D22564





More information about the llvm-commits mailing list