* aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols
authorIan Lance Taylor <ian@airs.com>
Tue, 9 Apr 1996 15:46:41 +0000 (15:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 9 Apr 1996 15:46:41 +0000 (15:46 +0000)
entry point, not just for DYNAMIC objects.
* sunos.c (sunos_add_dynamic_symbols): Always call
sunos_create_dynamic_sections.  If called with a non DYNAMIC
object, don't do anything else.
(sunos_add_one_symbol): Don't call sunos_create_dynamic_sections.

bfd/ChangeLog
bfd/aoutx.h

index 9ed226ea8b048456bc64b9f0d0090db4a8897e2e..c6ae8ca93878418ed9f51582174b6e82db3e77eb 100644 (file)
@@ -1,3 +1,12 @@
+Tue Apr  9 11:44:21 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols
+       entry point, not just for DYNAMIC objects.
+       * sunos.c (sunos_add_dynamic_symbols): Always call
+       sunos_create_dynamic_sections.  If called with a non DYNAMIC
+       object, don't do anything else.
+       (sunos_add_one_symbol): Don't call sunos_create_dynamic_sections.
+
 Mon Apr  8 12:09:36 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.in: Permit --enable-shared to specify a list of
index d7a7fd67b00d7487e080d3a349ea94f5a7fb442f..17b869e1cc57b02d8a7f9ca2ff85d913decf4a31 100644 (file)
@@ -3182,8 +3182,7 @@ aout_link_add_symbols (abfd, info)
   else
     copy = true;
 
-  if ((abfd->flags & DYNAMIC) != 0
-      && aout_backend_info (abfd)->add_dynamic_symbols != NULL)
+  if (aout_backend_info (abfd)->add_dynamic_symbols != NULL)
     {
       if (! ((*aout_backend_info (abfd)->add_dynamic_symbols)
             (abfd, info, &syms, &sym_count, &strings)))