diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-01-03 18:44:25 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2015-01-03 18:44:25 -0500 |
commit | 484b5de0562da134ad66c0d75fff2220f1448f50 (patch) | |
tree | 073551a6f94ef16f79f36d11b5fc4fe5852afafc | |
parent | 9bccfdf521f8347944d9bf6f4e8978eea4385ce4 (diff) | |
download | gcc-484b5de0562da134ad66c0d75fff2220f1448f50.zip gcc-484b5de0562da134ad66c0d75fff2220f1448f50.tar.gz gcc-484b5de0562da134ad66c0d75fff2220f1448f50.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 20 |
2 files changed, 16 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca49564..b5c5936 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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. ([-fvtv-debug]): Likewise. ([-Wc++-compat]): Likewise. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8b3c195..434790d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8070,19 +8070,21 @@ This option has no effect unless @option{-fsel-sched-pipelining} is turned on. @item -fsemantic-interposition @opindex fsemantic-interposition -Some object formats, like ELF, allow interposing of symbols by dynamic linker. -This means that for symbols exported from the DSO compiler can not perform -inter-procedural propagation, inlining and other optimizations in anticipation +Some object formats, like ELF, allow interposing of symbols by the +dynamic linker. +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 useful, for example, to rewrite memory allocation functions by a debugging implementation, it is expensive in the terms of code quality. -With @option{-fno-semantic-inteposition} compiler assumest that if interposition -happens for functions the overwritting function will have -precisely same semantics (and side effects). Similarly if interposition happens +With @option{-fno-semantic-interposition} the compiler assumes that +if interposition happens for functions the overwriting function will have +precisely the same semantics (and side effects). +Similarly if interposition happens for variables, the constructor of the variable will be the same. The flag -has no effect for functions explicitly declared inline, where -interposition changing semantic is never allowed and for symbols explicitly -declared weak. +has no effect for functions explicitly declared inline +(where it is never allowed for interposition to change semantics) +and for symbols explicitly declared weak. @item -fshrink-wrap @opindex fshrink-wrap |