aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ld.texinfo10
2 files changed, 14 insertions, 0 deletions
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