* ldlang.c (section_already_linked): Don't call

bfd_section_already_linked for dynamic objects.
This commit is contained in:
Daniel Jacobowitz 2005-02-22 18:35:32 +00:00
parent a5e0d2699d
commit ace66bb2fb
2 changed files with 7 additions and 1 deletions

View file

@ -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.

View file

@ -1274,6 +1274,7 @@ section_already_linked (bfd *abfd, asection *sec, void *data)
return;
}
if (!(abfd->flags & DYNAMIC))
bfd_section_already_linked (abfd, sec);
}