From 7ae4ea7d0db5228d8978d52bebac2b1d95a78560 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 18 Sep 2015 14:51:50 +0930 Subject: [PATCH] Add missing PowerPC64 ld --save-restore-funcs doc * ld.texinfo: Document --{no-,}save-restore-funcs. --- 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 + * 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. (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 -- 2.7.4