* 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,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);
}
/* The wild routines.