diff mbox series

[wwwdocs] gcc-12: Mention -mno-direct-extern-access

Message ID 20220212144145.2717522-1-hjl.tools@gmail.com
State New
Headers show
Series [wwwdocs] gcc-12: Mention -mno-direct-extern-access | expand

Commit Message

H.J. Lu Feb. 12, 2022, 2:41 p.m. UTC
---
 htdocs/gcc-12/changes.html | 3 +++
 1 file changed, 3 insertions(+)

Comments

Gerald Pfeifer Feb. 12, 2022, 10:26 p.m. UTC | #1
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
H.J. Lu Feb. 16, 2022, 1:29 p.m. UTC | #2
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 mbox series

Patch

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> -->