[Bug libc/419] ld.so crashes if libgcc_s.so.1 has an executable stack

jakub at redhat dot com sourceware-bugzilla@sources.redhat.com
Thu Sep 30 19:16:00 GMT 2004


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



More information about the Glibc-bugs mailing list