=================================================================== RCS file: /cvs/src/src/bfd/elflink.c,v retrieving revision 1.414 retrieving revision 1.415 diff -u -r1.414 -r1.415 --- src/bfd/elflink.c 2011/07/11 15:03:05 1.414 +++ src/bfd/elflink.c 2011/07/11 18:39:13 1.415 @@ -5525,7 +5525,8 @@ { asection *s; - if (inputobj->flags & (DYNAMIC | EXEC_P | BFD_LINKER_CREATED)) + if (inputobj->flags + & (DYNAMIC | EXEC_P | BFD_PLUGIN | BFD_LINKER_CREATED)) continue; s = bfd_get_section_by_name (inputobj, ".note.GNU-stack"); if (s)