This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/419] ld.so crashes if libgcc_s.so.1 has an executable stack
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Sep 2004 19:16:53 -0000
- Subject: [Bug libc/419] ld.so crashes if libgcc_s.so.1 has an executable stack
- References: <20040930191137.419.rth@gcc.gnu.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2004-09-30 19:16 -------
Well, the bits work on most arches:
readelf -Wa /lib/libgcc_s.so.1 /lib64/libgcc_s.so.1 | grep GNU_STACK
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000
RW 0x8
on x86-64 e.g.
I guess Alpha links some .asm/.s/.S files into libgcc_s.so.1 and those don't
have the magic
#ifdef __linux__
.section .note.GNU-stack,""; .previous
#endif
in them (e.g. ppc32 has this).
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=419
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.