public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][wwwdocs] Document GNU-stack support added to GCC 10 for MIPS
@ 2020-01-24 22:23 Dragan Mladjenovic
  2020-02-22 12:25 ` Gerald Pfeifer
  0 siblings, 1 reply; 3+ messages in thread
From: Dragan Mladjenovic @ 2020-01-24 22:23 UTC (permalink / raw)
  To: gcc-patches; +Cc: Dragan Mladjenovic, Jeff Law, Joseph Myers

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>
 
 <!-- <h3 id="mep">MeP</h3> -->
 
-- 
1.9.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][wwwdocs] Document GNU-stack support added to GCC 10 for MIPS
  2020-01-24 22:23 [PATCH][wwwdocs] Document GNU-stack support added to GCC 10 for MIPS Dragan Mladjenovic
@ 2020-02-22 12:25 ` Gerald Pfeifer
  2020-03-01 21:58   ` Dragan Mladjenovic
  0 siblings, 1 reply; 3+ messages in thread
From: Gerald Pfeifer @ 2020-02-22 12:25 UTC (permalink / raw)
  To: Dragan Mladjenovic, Matthew Fortune; +Cc: gcc-patches, Jeff Law, Joseph Myers

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][wwwdocs] Document GNU-stack support added to GCC 10 for MIPS
  2020-02-22 12:25 ` Gerald Pfeifer
@ 2020-03-01 21:58   ` Dragan Mladjenovic
  0 siblings, 0 replies; 3+ messages in thread
From: Dragan Mladjenovic @ 2020-03-01 21:58 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Matthew Fortune, gcc-patches, Jeff Law, Joseph Myers

On 22.02.2020. 13:25, Gerald Pfeifer wrote:
> 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.

Thanks for the replay. Sorry for the late response.

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

Will do.

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

It retains the original behavior of not using GNU-stack notes at all.
You have to use --with-glibc-version=2.31 in all stages of gcc build
to enable GNU-stack note usage.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-01 21:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-24 22:23 [PATCH][wwwdocs] Document GNU-stack support added to GCC 10 for MIPS Dragan Mladjenovic
2020-02-22 12:25 ` Gerald Pfeifer
2020-03-01 21:58   ` Dragan Mladjenovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).