All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: linux-sh@vger.kernel.org
Subject: Re: stack usage with libgcc math funcs
Date: Wed, 24 Dec 2008 17:28:11 +0000	[thread overview]
Message-ID: <200812241312.43489.vapier@gentoo.org> (raw)
In-Reply-To: <200812241257.33701.vapier@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

and linux-atomic.asm needs a similar change
--- gcc/config/sh/linux-atomic.asm
+++ gcc/config/sh/linux-atomic.asm
@@ -138,3 +138,8 @@
 ATOMIC_FETCH_AND_COMBOP(nand,and,not,4,l,mov)
 
 #endif /* ! __SH5__ */
+
+#if defined(__ELF__) && defined(__linux__)
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif

as a note, without these changes, the execstack markings bubble up into some 
of the glibc libs as those are built with -static-libgcc ... i can see this 
with glibc-2.9 for sure.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2008-12-24 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-24 17:13 stack usage with libgcc math funcs Mike Frysinger
2008-12-24 17:28 ` Mike Frysinger [this message]
2008-12-24 22:57 ` Kaz Kojima
2008-12-25  0:15 ` Mike Frysinger
2008-12-25  1:22 ` Kaz Kojima

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200812241312.43489.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.