Make creation of text-relocations a fatal error by default, with -znotext
authorguenther <guenther@openbsd.org>
Tue, 21 Jun 2016 02:55:57 +0000 (02:55 +0000)
committerguenther <guenther@openbsd.org>
Tue, 21 Jun 2016 02:55:57 +0000 (02:55 +0000)
commit89e0a384fc6955d23991ca2f299a9efddbcb39f3
treedd4cf66f773c39a32adb768b82c6c2b87826c096
parent6ba78a985f7927ffb8325bdf63c5d970550888ee
Make creation of text-relocations a fatal error by default, with -znotext
to permit it and -ztext to reenable the default of forbidding it.

ok kettenis@
gnu/usr.bin/binutils-2.17/bfd/elflink.c
gnu/usr.bin/binutils-2.17/include/bfdlink.h
gnu/usr.bin/binutils-2.17/ld/emultempl/elf32.em
gnu/usr.bin/binutils-2.17/ld/ld.texinfo
gnu/usr.bin/binutils-2.17/ld/ldmain.c