projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bfd/
[deliverable/binutils-gdb.git]
/
ld
/
emultempl
/
armelf.em
diff --git
a/ld/emultempl/armelf.em
b/ld/emultempl/armelf.em
index 54af832456ee53df7327efdce1f5f09d9800c360..3e594cbdc74d97a9b76acfa774a437604b99ebee 100644
(file)
--- a/
ld/emultempl/armelf.em
+++ b/
ld/emultempl/armelf.em
@@
-78,8
+78,11
@@
arm_elf_set_bfd_for_interworking (lang_statement_union_type *statement)
ASSERT (output_section->owner == output_bfd);
ASSERT (output_section->owner == output_bfd);
+ /* Don't attach the interworking stubs to a dynamic object, to
+ an empty section, etc. */
if ((output_section->flags & SEC_HAS_CONTENTS) != 0
&& (i->flags & SEC_NEVER_LOAD) == 0
if ((output_section->flags & SEC_HAS_CONTENTS) != 0
&& (i->flags & SEC_NEVER_LOAD) == 0
+ && ! (i->owner->flags & DYNAMIC)
&& ! i->owner->output_has_begun)
{
bfd_for_interwork = i->owner;
&& ! i->owner->output_has_begun)
{
bfd_for_interwork = i->owner;
This page took
0.023924 seconds
and
4
git commands to generate.