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:
00c63f6
)
* ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
author
Alan Modra
<amodra@gmail.com>
Mon, 24 Nov 2008 07:54:34 +0000
(07:54 +0000)
committer
Alan Modra
<amodra@gmail.com>
Mon, 24 Nov 2008 07:54:34 +0000
(07:54 +0000)
ld/ChangeLog
patch
|
blob
|
history
ld/ldlang.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index a6212fcce4a7d8de4963360a3fe73e41e5991f81..4e93eb233b52569a5a8bf5a7a8cdfa698a28d6c4 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,7
@@
+2008-11-24 Alan Modra <amodra@bigpond.net.au>
+
+ * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
+
2008-11-19 Nick Clifton <nickc@redhat.com>
* fdl.texi: Update to v1.3
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index 9fd26a99e2964ecdd634a02d6dd3de6fb80779c1..6668c59e523a7bd75e554acb0ffc4196492219f1 100644
(file)
--- a/
ld/ldlang.c
+++ b/
ld/ldlang.c
@@
-6669,6
+6669,10
@@
lang_record_phdrs (void)
|| (os->bfd_section->flags & SEC_ALLOC) == 0)
continue;
+ /* Don't add orphans to PT_INTERP header. */
+ if (l->type == 3)
+ continue;
+
if (last == NULL)
{
lang_output_section_statement_type * tmp_os;