]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld.texi: Move -z unique-symbol after -z undefs.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Jun 2021 14:32:25 +0000 (07:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Jun 2021 14:33:30 +0000 (07:33 -0700)
* ld.texi: Move -z unique-symbol after -z undefs.

ld/ChangeLog
ld/ld.texi

index 27434d6faa93e8accf99cd9da641d4c8ac86d2da..0395aabde06f0a1a4335073996488be1fd758386 100644 (file)
@@ -1,3 +1,7 @@
+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.
index f810536d10b93d8cfd824172ad6960c548007d49..dd8f571d4e4a33c06a46588966ae94ec823edf2d 100644 (file)
@@ -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