forked from pool/binutils
49a5b48643
- Add patch to fix a readelf endless loop bug. [bso#12855] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=61
18 lines
569 B
Diff
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)
|