This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Add PowerPC64 ld --tls-get-addr-optimize
- From: Alan Modra <amodra at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: binutils at sourceware dot org
- Date: Tue, 22 Sep 2015 09:28:44 +0930
- Subject: Re: Add PowerPC64 ld --tls-get-addr-optimize
- Authentication-results: sourceware.org; auth=none
- References: <20150918072258 dot GL7224 at bubble dot grove dot modra dot org> <mvm4miokvea dot fsf at hawking dot suse dot de> <20150921112721 dot GA8828 at bubble dot grove dot modra dot org> <mvmk2rkj8jw dot fsf at hawking dot suse dot de>
On Mon, Sep 21, 2015 at 01:50:11PM +0200, Andreas Schwab wrote:
> Alan Modra <amodra@gmail.com> writes:
>
> > On Mon, Sep 21, 2015 at 10:51:25AM +0200, Andreas Schwab wrote:
> >> > +@cindex PowerPC64 __tls_get_addr optimization
> >> > +@kindex --tls-get-addr-optimize
> >> > +@kindex --no-tls-get-addr-optimize
> >> > +@item --tls-get-addr-optimize, --no-tls-get-addr-optimize
> >>
> >> Please split the @item instead of putting both options on the same line.
> >
> > Did I violate some standard? If so, I have a few more to fix..
>
> It just looks better.
Beauty is in the eye of the beholder. :) OK, I'll make the following
changes.
* ld.texinfo: Put --dotsyms/--no-dotsyms on separate lines.
Ditto for --save-restore-funcs and --tls-get-addr-optimize.
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 6b7fac8..90194be 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -7122,7 +7122,8 @@ symbol that encodes the stub type and destination.
@cindex PowerPC64 dot symbols
@kindex --dotsyms
@kindex --no-dotsyms
-@item --dotsyms, --no-dotsyms
+@item --dotsyms
+@itemx --no-dotsyms
These two options control how @command{ld} interprets version patterns
in a version script. Older PowerPC64 compilers emitted both a
function descriptor symbol with the same name as the function, and a
@@ -7136,7 +7137,8 @@ feature.
@cindex PowerPC64 register save/restore functions
@kindex --save-restore-funcs
@kindex --no-save-restore-funcs
-@item --save-restore-funcs, --no-save-restore-funcs
+@item --save-restore-funcs
+@itemx --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
@@ -7153,7 +7155,8 @@ disable the optimization.
@cindex PowerPC64 __tls_get_addr optimization
@kindex --tls-get-addr-optimize
@kindex --no-tls-get-addr-optimize
-@item --tls-get-addr-optimize, --no-tls-get-addr-optimize
+@item --tls-get-addr-optimize
+@itemx --no-tls-get-addr-optimize
These options control whether PowerPC64 @command{ld} uses a special
stub to call __tls_get_addr. PowerPC64 glibc 2.22 and later support
an optimization that allows the second and subsequent calls to
--
Alan Modra
Australia Development Lab, IBM