[wwwdocs] Document GNU-stack support added to GCC 10 for MIPS
diff mbox series

Message ID 1579890355-31747-1-git-send-email-dmladjenovic@wavecomp.com
State New
Headers show
Series
  • [wwwdocs] Document GNU-stack support added to GCC 10 for MIPS
Related show

Commit Message

Dragan Mladjenovic Jan. 24, 2020, 6:26 p.m. UTC
From: "Dragan Mladjenovic" <dmladjenovic@wavecomp.com>

Comments

Gerald Pfeifer Feb. 22, 2020, 12:25 p.m. UTC | #1
On Fri, 24 Jan 2020, Dragan Mladjenovic wrote:
> From: "Dragan Mladjenovic" <dmladjenovic@wavecomp.com>
> 
> diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
> index ef27c9b..7736990 100644
> --- a/htdocs/gcc-10/changes.html
> +++ b/htdocs/gcc-10/changes.html
> @@ -623,7 +623,14 @@ a work-in-progress.</p>
>    </li>
>  </ul>
>  
> -<!-- <h3 id="mips">MIPS</h3> -->
> +<h3 id="mips">MIPS</h3>
> +<ul>
> +  <li>The <code>mips*-*-linux*</code> targets now mark object files with appropriate GNU-stack note,
> +    facilitating use of non-executable stack hardening on GNU/Linux.
> +    The soft-float targets have this feature enabled by default, while
> +    for hard-float targets it requires use of glibc 2.31 or later.
> +  </li>
> +</ul>

Thanksfor preparing this!  I did not see any response, but now
noticed the designated MIPS maintainer Matthew Fortune (per
gcc/MAINTAINERS) was not on copy.

The first line is a bit long; can you please wrap?

The note on hard-float targets does not seem completely clear to me:
I understand it requires glibc 2.31, but per the language it still 
may not enabled by default even if in that case?  What is the
situation on the default in the hard-float case?


If believe you do not have commit access, but if you share an updated
patch I can apply for you.

Geral

Patch
diff mbox series

diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index ef27c9b..7736990 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -623,7 +623,14 @@  a work-in-progress.</p>
   </li>
 </ul>
 
-<!-- <h3 id="mips">MIPS</h3> -->
+<h3 id="mips">MIPS</h3>
+<ul>
+  <li>The <code>mips*-*-linux*</code> targets now mark object files with appropriate GNU-stack note,
+    facilitating use of non-executable stack hardening on GNU/Linux.
+    The soft-float targets have this feature enabled by default, while
+    for hard-float targets it requires use of glibc 2.31 or later.
+  </li>
+</ul>
 
 <!-- <h3 id="mep">MeP</h3> -->