SHA256
1
0
forked from pool/binutils
binutils/bso12982.diff
2011-07-12 08:56:10 +00:00

18 lines
569 B
Diff

===================================================================
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)