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:
a5e0d26
)
* ldlang.c (section_already_linked): Don't call
author
Daniel Jacobowitz
<drow@false.org>
Tue, 22 Feb 2005 18:35:32 +0000
(18:35 +0000)
committer
Daniel Jacobowitz
<drow@false.org>
Tue, 22 Feb 2005 18:35:32 +0000
(18:35 +0000)
bfd_section_already_linked for dynamic objects.
ld/ChangeLog
patch
|
blob
|
history
ld/ldlang.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index 4bf9e90a633d2f9ada40f8166f6122ef0144798d..d7980c38b524f38eaee91e2a64c178768a4fd6c6 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,8
@@
+2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * ldlang.c (section_already_linked): Don't call
+ bfd_section_already_linked for dynamic objects.
+
2005-02-22 Alan Modra <amodra@bigpond.net.au>
* ldexp.c: Warning fixes.
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index 878e15fab5584e82572f4ba1c057a8066a8cca1c..636dc7f5c475a92e1bac8b7b1a3dbdb066cb606e 100644
(file)
--- a/
ld/ldlang.c
+++ b/
ld/ldlang.c
@@
-1274,7
+1274,8
@@
section_already_linked (bfd *abfd, asection *sec, void *data)
return;
}
- bfd_section_already_linked (abfd, sec);
+ if (!(abfd->flags & DYNAMIC))
+ bfd_section_already_linked (abfd, sec);
}
\f
/* The wild routines.