ld: Mention --enable-textrel-check=yes is default for Linux/x86 targets

Message ID 20200528113726.320423-1-hjl.tools@gmail.com
State New
Headers show
Series
  • ld: Mention --enable-textrel-check=yes is default for Linux/x86 targets
Related show

Commit Message

* NEWS: Mention --enable-textrel-check=yes is default for
	Linux/x86 targets.
---
 ld/ChangeLog | 2 ++
 ld/NEWS      | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.26.2

Patch

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 01a281c968..6cbbba20e8 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@ 
 2020-05-28  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* NEWS: Mention --enable-textrel-check=yes is default for
+	Linux/x86 targets.
 	* configure.tgt (ac_default_ld_textrel_check): Set to if unset
 	for Linux/x86 targets.
 
diff --git a/ld/NEWS b/ld/NEWS
index 62b74b1ac9..0dc5e9b368 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -2,7 +2,7 @@ 
 
 * Add a configure option, --enable-textrel-check=[no|yes|warning|error],
   to decide what ELF linker should do by default with DT_TEXTREL in an
-  executable or shared library.
+  executable or shared library.  Default to yes for Linux/x86 targets.
 
 * The -Map=<filename> command line option has been extended so that if
   <filename> is a directory then <filename>/<output-filename>.map will be