This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Add missing PowerPC64 ld --save-restore-funcs doc
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 18 Sep 2015 07:26:17 -0000
- Subject: [binutils-gdb] Add missing PowerPC64 ld --save-restore-funcs doc
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7ae4ea7d0db5228d8978d52bebac2b1d95a78560
commit 7ae4ea7d0db5228d8978d52bebac2b1d95a78560
Author: Alan Modra <amodra@gmail.com>
Date: Fri Sep 18 14:51:50 2015 +0930
Add missing PowerPC64 ld --save-restore-funcs doc
* ld.texinfo: Document --{no-,}save-restore-funcs.
Diff:
---
ld/ChangeLog | 4 ++++
ld/ld.texinfo | 10 ++++++++++
2 files changed, 14 insertions(+)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f495ed2..e73abeb 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2015-09-18 Alan Modra <amodra@gmail.com>
+ * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs.
+
+2015-09-18 Alan Modra <amodra@gmail.com>
+
* emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1.
(OPTION_TLS_GET_ADDR_OPT): Define.
(PARSE_AND_LIST_LONGOPTS): Handle --tls-get-addr-opt.
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 57f1730..c5d39d5 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -7126,6 +7126,16 @@ to control both @samp{foo} and @samp{.foo}. The option
dot-prefixed patterns. Use @samp{--no-dotsyms} to disable this
feature.
+@cindex PowerPC64 register save/restore functions
+@kindex --save-restore-funcs
+@kindex --no-save-restore-funcs
+@item --save-restore-funcs, --no-save-restore-funcs
+These two options control whether PowerPC64 @command{ld} automatically
+provides out-of-line register save and restore functions used by
+@samp{-Os} code. The default is to provide any such referenced
+function for a normal final link, and to not do so for a relocatable
+link.
+
@cindex PowerPC64 TLS optimization
@kindex --no-tls-optimize
@item --no-tls-optimize