]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elflink.h (struct elf_assign_sym_version_info): Remove member
authorHans-Peter Nilsson <hp@axis.com>
Mon, 18 Jun 2001 22:05:10 +0000 (22:05 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 18 Jun 2001 22:05:10 +0000 (22:05 +0000)
export_dynamic.  All users changed to use info member.
NAME(bfd_elf,size_dynamic_sections)): Remove parameter
export_dynamic, instead use member in parameter info.
* bfd-in.h (bfd_elf32_size_dynamic_sections,
bfd_elf64_size_dynamic_sections): Update prototype.
* bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elflink.h

index 86f9844f76d1482d35a9accd9829d8845cfd4c2b..9c3f8a100f20a6ede0195fb3271f80e808188102 100644 (file)
@@ -1,3 +1,13 @@
+2001-06-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elflink.h (struct elf_assign_sym_version_info): Remove member
+       export_dynamic.  All users changed to use info member.
+       NAME(bfd_elf,size_dynamic_sections)): Remove parameter
+       export_dynamic, instead use member in parameter info.
+       * bfd-in.h (bfd_elf32_size_dynamic_sections,
+       bfd_elf64_size_dynamic_sections): Update prototype.
+       * bfd-in2.h: Regenerate.
+
 2001-06-18  H.J. Lu  <hjl@gnu.org>
 
        * elflink.h (elf_info_failed): Add a new field, verdefs.
index ca2c748b6615b4ccde0cea7b7cc7f57bbba56922..a22ddaf97f8028b31392a105d384f322ff9f8b15 100644 (file)
@@ -625,11 +625,11 @@ extern struct bfd_link_needed_list *bfd_elf_get_needed_list
 extern boolean bfd_elf_get_bfd_needed_list
   PARAMS ((bfd *, struct bfd_link_needed_list **));
 extern boolean bfd_elf32_size_dynamic_sections
-  PARAMS ((bfd *, const char *, const char *, boolean, const char *,
+  PARAMS ((bfd *, const char *, const char *, const char *,
           const char * const *, struct bfd_link_info *, struct sec **,
           struct bfd_elf_version_tree *));
 extern boolean bfd_elf64_size_dynamic_sections
-  PARAMS ((bfd *, const char *, const char *, boolean, const char *,
+  PARAMS ((bfd *, const char *, const char *, const char *,
           const char * const *, struct bfd_link_info *, struct sec **,
           struct bfd_elf_version_tree *));
 extern void bfd_elf_set_dt_needed_name PARAMS ((bfd *, const char *));
index 5d10ad0e17f86804b0c4b3e01151d658b59f020d..724fa25847cd1dc5379a69cfb19dab514f6a4b6c 100644 (file)
@@ -625,11 +625,11 @@ extern struct bfd_link_needed_list *bfd_elf_get_needed_list
 extern boolean bfd_elf_get_bfd_needed_list
   PARAMS ((bfd *, struct bfd_link_needed_list **));
 extern boolean bfd_elf32_size_dynamic_sections
-  PARAMS ((bfd *, const char *, const char *, boolean, const char *,
+  PARAMS ((bfd *, const char *, const char *, const char *,
           const char * const *, struct bfd_link_info *, struct sec **,
           struct bfd_elf_version_tree *));
 extern boolean bfd_elf64_size_dynamic_sections
-  PARAMS ((bfd *, const char *, const char *, boolean, const char *,
+  PARAMS ((bfd *, const char *, const char *, const char *,
           const char * const *, struct bfd_link_info *, struct sec **,
           struct bfd_elf_version_tree *));
 extern void bfd_elf_set_dt_needed_name PARAMS ((bfd *, const char *));
index 21a50414445a6155b69dff68e115d6d572ffd436..21ebc035e024e50c685b2be8dce8de6b10411099 100644 (file)
@@ -2680,8 +2680,6 @@ struct elf_assign_sym_version_info
   struct bfd_link_info *info;
   /* Version tree.  */
   struct bfd_elf_version_tree *verdefs;
-  /* Whether we are exporting all dynamic symbols.  */
-  boolean export_dynamic;
   /* Whether we had a failure.  */
   boolean failed;
 };
@@ -2863,13 +2861,12 @@ compute_bucket_count (info)
 
 boolean
 NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
-                                    export_dynamic, filter_shlib,
+                                    filter_shlib,
                                     auxiliary_filters, info, sinterpptr,
                                     verdefs)
      bfd *output_bfd;
      const char *soname;
      const char *rpath;
-     boolean export_dynamic;
      const char *filter_shlib;
      const char * const *auxiliary_filters;
      struct bfd_link_info *info;
@@ -2973,7 +2970,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
 
       /* If we are supposed to export all symbols into the dynamic symbol
          table (this is not the normal case), then do so.  */
-      if (export_dynamic)
+      if (info->export_dynamic)
        {
          elf_link_hash_traverse (elf_hash_table (info), elf_export_symbol,
                                  (PTR) &eif);
@@ -2985,7 +2982,6 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
       asvinfo.output_bfd = output_bfd;
       asvinfo.info = info;
       asvinfo.verdefs = verdefs;
-      asvinfo.export_dynamic = export_dynamic;
       asvinfo.failed = false;
 
       elf_link_hash_traverse (elf_hash_table (info),
@@ -3914,7 +3910,7 @@ elf_link_assign_sym_version (h, data)
                        {
                          if (h->dynindx != -1
                              && info->shared
-                             && ! sinfo->export_dynamic)
+                             && ! info->export_dynamic)
                            {
                              h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
                              (*bed->elf_backend_hide_symbol) (info, h);
@@ -4026,7 +4022,7 @@ elf_link_assign_sym_version (h, data)
                      h->verinfo.vertree = t;
                      if (h->dynindx != -1
                          && info->shared
-                         && ! sinfo->export_dynamic)
+                         && ! info->export_dynamic)
                        {
                          h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
                          (*bed->elf_backend_hide_symbol) (info, h);
@@ -4048,7 +4044,7 @@ elf_link_assign_sym_version (h, data)
          h->verinfo.vertree = deflt;
          if (h->dynindx != -1
              && info->shared
-             && ! sinfo->export_dynamic)
+             && ! info->export_dynamic)
            {
              h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
              (*bed->elf_backend_hide_symbol) (info, h);