mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
* elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack note
in EXEC_P bfds.
This commit is contained in:
parent
a036edd8bd
commit
a94b9d2d3a
@ -1,3 +1,8 @@
|
|||||||
|
2008-04-08 Kees Cook <kees@canonical.com>
|
||||||
|
|
||||||
|
* elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack note
|
||||||
|
in EXEC_P bfds.
|
||||||
|
|
||||||
2008-04-08 Alan Modra <amodra@bigpond.net.au>
|
2008-04-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-spu.c: Include libiberty.h.
|
* elf32-spu.c: Include libiberty.h.
|
||||||
|
@ -5403,7 +5403,7 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd,
|
|||||||
{
|
{
|
||||||
asection *s;
|
asection *s;
|
||||||
|
|
||||||
if (inputobj->flags & (DYNAMIC | BFD_LINKER_CREATED))
|
if (inputobj->flags & (DYNAMIC | EXEC_P | BFD_LINKER_CREATED))
|
||||||
continue;
|
continue;
|
||||||
s = bfd_get_section_by_name (inputobj, ".note.GNU-stack");
|
s = bfd_get_section_by_name (inputobj, ".note.GNU-stack");
|
||||||
if (s)
|
if (s)
|
||||||
|
Loading…
Reference in New Issue
Block a user