bug-mit-scheme
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mit-scheme] [bug #29288] .note.GNU-stack ELF section missing from c


From: William Throwe
Subject: [Bug-mit-scheme] [bug #29288] .note.GNU-stack ELF section missing from cmpauxmd.o
Date: Sun, 21 Mar 2010 20:40:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100309 Gentoo IceCat/3.6 (like Firefox/3.6)

URL:
  <http://savannah.gnu.org/bugs/?29288>

                 Summary: .note.GNU-stack ELF section missing from cmpauxmd.o
                 Project: MIT/GNU Scheme
            Submitted by: wthrowe
            Submitted on: Sun 21 Mar 2010 08:40:00 PM GMT
                Category: microcode
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                Keywords: 

    _______________________________________________________

Details:

The hand-crafted assembly code used to generate cmpauxmd.o does not specify a
.note.GNU-stack section, leading to a scheme binary with executable stack. 
Executable stack does not seem to be needed for proper functioning of the
binary.

I'm attaching a patch against version 9.0.1 for x86-64.  I haven't tried to
address other architectures, but I assume they would have similar fixes.  The
main change is adding a few lines at the end of x86-64.m4 and then
preprocessing the assembly code.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 21 Mar 2010 08:40:00 PM GMT  Name: 05_amd64_gnu-stack.patch  Size:
1kB   By: wthrowe
patch for x86-64
<http://savannah.gnu.org/bugs/download.php?file_id=19998>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29288>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]