* ldlang.c (section_already_linked): Don't call
bfd_section_already_linked for dynamic objects.
This commit is contained in:
parent
a5e0d2699d
commit
ace66bb2fb
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue