[PATCH] D35793: [ELF] - Change way how we handle --noinhibit-exec
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 02:16:10 PDT 2017
grimar added inline comments.
Comment at: ELF/Relocations.cpp:915
- error("relocation " + toString(Type) +
- " cannot be used against shared object; recompile with -fPIC" +
- getLocation<ELFT>(Sec, Body, Offset));
+ "relocation " + toString(Type) +
> This is the only place you are using `errorOrWarn`, so don't add that function just for -noinbhiti-exec.
Added more places using `errorOrWarn`
More information about the llvm-commits