projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a036edd
)
* elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack note
author
Alan Modra
<amodra@gmail.com>
Tue, 8 Apr 2008 05:41:19 +0000
(
05:41
+0000)
committer
Alan Modra
<amodra@gmail.com>
Tue, 8 Apr 2008 05:41:19 +0000
(
05:41
+0000)
in EXEC_P bfds.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elflink.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index b8afd283e7ce414ea77a2f9a6e1d1fe028aaedac..4e5c262274388fde8ae9c4c8462fc925dd7c8521 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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>
* elf32-spu.c: Include libiberty.h.
diff --git
a/bfd/elflink.c
b/bfd/elflink.c
index 65cb85253eea57cffebd33f155ddb71605e6799a..28282f6c97f0f9c2a3c52927200659275946b711 100644
(file)
--- a/
bfd/elflink.c
+++ b/
bfd/elflink.c
@@
-5403,7
+5403,7
@@
bfd_elf_size_dynamic_sections (bfd *output_bfd,
{
asection *s;
- if (inputobj->flags & (DYNAMIC | BFD_LINKER_CREATED))
+ if (inputobj->flags & (DYNAMIC |
EXEC_P |
BFD_LINKER_CREATED))
continue;
s = bfd_get_section_by_name (inputobj, ".note.GNU-stack");
if (s)