aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-09-18 14:51:50 +0930
committerAlan Modra <amodra@gmail.com>2015-09-18 16:43:06 +0930
commit7ae4ea7d0db5228d8978d52bebac2b1d95a78560 (patch)
tree9f72597c5b90cebfbc2eb9bfffc673190ee21950 /ld
parent7c9cf4158452094f4c463676e5122c5c4ce64de8 (diff)
downloadbinutils-7ae4ea7d0db5228d8978d52bebac2b1d95a78560.zip
binutils-7ae4ea7d0db5228d8978d52bebac2b1d95a78560.tar.gz
binutils-7ae4ea7d0db5228d8978d52bebac2b1d95a78560.tar.bz2
Add missing PowerPC64 ld --save-restore-funcs doc
* ld.texinfo: Document --{no-,}save-restore-funcs.
Diffstat (limited to 'ld')
-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