From: Alan Modra Date: Fri, 18 Sep 2015 05:21:50 +0000 (+0930) Subject: Add missing PowerPC64 ld --save-restore-funcs doc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ae4ea7d0db5228d8978d52bebac2b1d95a78560;p=binutils-gdb.git Add missing PowerPC64 ld --save-restore-funcs doc * ld.texinfo: Document --{no-,}save-restore-funcs. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index f495ed2a322..e73abeb023a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2015-09-18 Alan Modra + + * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs. + 2015-09-18 Alan Modra * emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 57f1730e5ab..c5d39d5e2c1 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