Message ID | 20220212144145.2717522-1-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show |
Series | [wwwdocs] gcc-12: Mention -mno-direct-extern-access | expand |
On Sat, 12 Feb 2022, H.J. Lu via Gcc-patches wrote: > + <li>Always use GOT to access external data and function symbols via > + <code>-mno-direct-extern-access</code>. Maybe say "global offset table (GOT)"? And at first I was confused reading this, so I suggest something like "...when the new <code>-mno-direct-extern-access</code> command-line option is specified" or "New command-line option ... that ..." ? Gerald
On Sat, Feb 12, 2022 at 2:27 PM Gerald Pfeifer <gerald@pfeifer.com> wrote: > > On Sat, 12 Feb 2022, H.J. Lu via Gcc-patches wrote: > > + <li>Always use GOT to access external data and function symbols via > > + <code>-mno-direct-extern-access</code>. > > Maybe say "global offset table (GOT)"? Fixed, > And at first I was confused reading this, so I suggest something like > > "...when the new <code>-mno-direct-extern-access</code> command-line > option is specified" Fixed. > or > > "New command-line option ... that ..." ? > > Gerald Fixed in the v2 patch. Thanks.
diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index b6341fda..897de8ef 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -399,6 +399,9 @@ a work-in-progress.</p> <li>Add CS prefix to call and jmp to indirect thunk with branch target in r8-r15 registers via <code>-mindirect-branch-cs-prefix</code>. </li> + <li>Always use GOT to access external data and function symbols via + <code>-mno-direct-extern-access</code>. + </li> </ul> <!-- <h3 id="mips">MIPS</h3> -->