The following patch (taken from the redhat/gcc-4_1-branch) adds .note.GNU-stack sections for gcc's crt files, libffi and boehm-gc. sent first here: http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00948.html Updated in the patch is: 2007-05-11 Daniel Jacobowitz * src/arm/sysv.S: Fix ARM comment marker. Jakub, is this patch necessary/wanted in the FSF sources? Matthias