From f1b45745b47b5f4886442fe16f09bda1c2ec4965 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 9 Apr 1996 15:46:41 +0000 Subject: * 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. --- bfd/aoutx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bfd/aoutx.h') diff --git a/bfd/aoutx.h b/bfd/aoutx.h index d7a7fd6..17b869e 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -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))) -- cgit v1.1