Index: reloc.c =================================================================== RCS file: /cvsroot/src/libexec/ld.elf_so/reloc.c,v retrieving revision 1.107 diff -u -r1.107 reloc.c --- reloc.c 25 Aug 2014 20:40:52 -0000 1.107 +++ reloc.c 10 Apr 2016 22:01:26 -0000 @@ -170,12 +170,13 @@ (long)(obj->pltrelalim - obj->pltrela))); if (obj->textrel) { + xwarnx("%s: text relocations", obj->path); /* * There are relocations to the write-protected text * segment. */ if (mprotect(obj->mapbase, obj->textsize, - PROT_READ | PROT_WRITE | PROT_EXEC) == -1) { + PROT_READ | PROT_WRITE) == -1) { _rtld_error("%s: Cannot write-enable text " "segment: %s", obj->path, xstrerror(errno)); return -1;