[PATCH] D30258: [ELF] - Implemented --no-dynamic-linker option

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 09:45:27 PST 2017


grimar added a comment.

In https://reviews.llvm.org/D30258#683639, @ruiu wrote:

> We do not add .interp if no -dynamic-linker is given. So, do you really need -no-dynamic-linker?


No, as I wrote in description for now for x86/x64 kernel I am looking into, I do not really need it,
they ignore everything except PT_LOAD segments.
For PPC it seems they explicitly fail if PT_INTERP is there (according to code I see). 
So I implemented because "was there" and it was trivial.


https://reviews.llvm.org/D30258





More information about the llvm-commits mailing list