aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-06-18 07:32:25 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-06-18 07:33:30 -0700
commit2d95647bdd9a847eaa08d21b848933892ada6f1a (patch)
tree1ec7ff4a929ac825b5bcaebe0e91916a17fb1c7c
parent47ce766a8b922377425cfa88189acb1d43ca58af (diff)
downloadbinutils-2d95647bdd9a847eaa08d21b848933892ada6f1a.zip
binutils-2d95647bdd9a847eaa08d21b848933892ada6f1a.tar.gz
binutils-2d95647bdd9a847eaa08d21b848933892ada6f1a.tar.bz2
ld.texi: Move -z unique-symbol after -z undefs.
* ld.texi: Move -z unique-symbol after -z undefs.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ld.texi12
2 files changed, 10 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 27434d6..0395aab 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
+ * ld.texi: Move -z unique-symbol after -z undefs.
+
+2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
+
* testsuite/ld-elf/property-and-1.d: New file.
* testsuite/ld-elf/property-and-1.s: Likewise.
* testsuite/ld-elf/property-and-2.d: Likewise.
diff --git a/ld/ld.texi b/ld/ld.texi
index f810536..dd8f571 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -1437,12 +1437,6 @@ specifies a memory segment that should contain only instructions and must
be in wholly disjoint pages from any other data. Don't create separate
code @code{PT_LOAD} segment if @samp{noseparate-code} is used.
-@item unique-symbol
-@itemx nounique-symbol
-Avoid duplicated local symbol names in the symbol string table. Append
-".@code{number}" to duplicated local symbol names if @samp{unique-symbol}
-is used. @option{nounique-symbol} is the default.
-
@item shstk
Generate GNU_PROPERTY_X86_FEATURE_1_SHSTK in .note.gnu.property section
to indicate compatibility with Intel Shadow Stack. Supported for
@@ -1495,6 +1489,12 @@ Do not report unresolved symbol references from regular object files,
either when creating an executable, or when creating a shared library.
This option is the inverse of @samp{-z defs}.
+@item unique-symbol
+@itemx nounique-symbol
+Avoid duplicated local symbol names in the symbol string table. Append
+".@code{number}" to duplicated local symbol names if @samp{unique-symbol}
+is used. @option{nounique-symbol} is the default.
+
@item x86-64-baseline
@item x86-64-v2
@item x86-64-v3