aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-09 15:46:41 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-09 15:46:41 +0000
commitf1b45745b47b5f4886442fe16f09bda1c2ec4965 (patch)
treea662907f938892ab6f16759a331b6f35dd434168 /bfd/aoutx.h
parenta539f6d8b902d6a700b1721cc3abc94d8ff1e9a3 (diff)
downloadgdb-f1b45745b47b5f4886442fe16f09bda1c2ec4965.zip
gdb-f1b45745b47b5f4886442fe16f09bda1c2ec4965.tar.gz
gdb-f1b45745b47b5f4886442fe16f09bda1c2ec4965.tar.bz2
* 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.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h3
1 files changed, 1 insertions, 2 deletions
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)))