Commit 484b5de0 by Sandra Loosemore Committed by Sandra Loosemore

invoke.texi ([-fsemantic-interposition]): Fix typos and tidy grammar.

2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
	tidy grammar.

From-SVN: r219166
parent 9bccfdf5
2015-01-03 Sandra Loosemore <sandra@codesourcery.com> 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
* doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
tidy grammar.
2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
* doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex. * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
([-fvtv-debug]): Likewise. ([-fvtv-debug]): Likewise.
([-Wc++-compat]): Likewise. ([-Wc++-compat]): Likewise.
......
...@@ -8070,19 +8070,21 @@ This option has no effect unless @option{-fsel-sched-pipelining} is turned on. ...@@ -8070,19 +8070,21 @@ This option has no effect unless @option{-fsel-sched-pipelining} is turned on.
@item -fsemantic-interposition @item -fsemantic-interposition
@opindex fsemantic-interposition @opindex fsemantic-interposition
Some object formats, like ELF, allow interposing of symbols by dynamic linker. Some object formats, like ELF, allow interposing of symbols by the
This means that for symbols exported from the DSO compiler can not perform dynamic linker.
inter-procedural propagation, inlining and other optimizations in anticipation This means that for symbols exported from the DSO, the compiler cannot perform
interprocedural propagation, inlining and other optimizations in anticipation
that the function or variable in question may change. While this feature is that the function or variable in question may change. While this feature is
useful, for example, to rewrite memory allocation functions by a debugging useful, for example, to rewrite memory allocation functions by a debugging
implementation, it is expensive in the terms of code quality. implementation, it is expensive in the terms of code quality.
With @option{-fno-semantic-inteposition} compiler assumest that if interposition With @option{-fno-semantic-interposition} the compiler assumes that
happens for functions the overwritting function will have if interposition happens for functions the overwriting function will have
precisely same semantics (and side effects). Similarly if interposition happens precisely the same semantics (and side effects).
Similarly if interposition happens
for variables, the constructor of the variable will be the same. The flag for variables, the constructor of the variable will be the same. The flag
has no effect for functions explicitly declared inline, where has no effect for functions explicitly declared inline
interposition changing semantic is never allowed and for symbols explicitly (where it is never allowed for interposition to change semantics)
declared weak. and for symbols explicitly declared weak.
@item -fshrink-wrap @item -fshrink-wrap
@opindex fshrink-wrap @opindex fshrink-wrap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment