[wwwdocs] gcc-12: Mention -mno-direct-extern-access
Commit Message
---
htdocs/gcc-12/changes.html | 3 +++
1 file changed, 3 insertions(+)
Comments
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.
@@ -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> -->