2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
authorUlf Carlsson <ulfc@engr.sgi.com>
Mon, 19 Jun 2000 00:18:58 +0000 (00:18 +0000)
committerUlf Carlsson <ulfc@engr.sgi.com>
Mon, 19 Jun 2000 00:18:58 +0000 (00:18 +0000)
* elf_bfd.h (struct elf_backend_data): Add info argument to
elf_backend_hide_symbol.
(_bfd_elf_link_hash_hide_symbol): Likewise.
* elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
* elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.

bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf64-ia64.c
bfd/elflink.h

index 92b23a22ccdfdf1295d42d056451097c62154c36..df53b6a13ecbdc597eda24e1b0006600cd2f1481 100644 (file)
@@ -1,3 +1,13 @@
+2000-06-18  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf_bfd.h (struct elf_backend_data): Add info argument to
+       elf_backend_hide_symbol.
+       (_bfd_elf_link_hash_hide_symbol): Likewise.
+       * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
+       * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
+       * elflink.h (elf_link_add_object_symbols): Likewise.
+       (elf_link_assign_sym_version): Likewise.
+       
 2000-06-18  H.J. Lu  <hjl@gnu.org>
 
        * coff-i386.c (coff_i386_reloc): Don't return in case of
index 3978aee26935db5f977b1699ce68f2dc56888807..b17f7c6cda0a926e6455cd4898290c12868eccc9 100644 (file)
@@ -601,7 +601,7 @@ struct elf_backend_data
   /* Modify any information related to dynamic linking such that the
      symbol is not exported.  */
   void (*elf_backend_hide_symbol)
-    PARAMS ((struct elf_link_hash_entry *));
+    PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *));
 
   /* The swapping table to use when dealing with ECOFF information.
      Used for the MIPS ELF .mdebug section.  */
@@ -970,7 +970,7 @@ extern struct bfd_link_hash_table *_bfd_elf_link_hash_table_create
 extern void _bfd_elf_link_hash_copy_indirect
   PARAMS ((struct elf_link_hash_entry *, struct elf_link_hash_entry *));
 extern void _bfd_elf_link_hash_hide_symbol
-  PARAMS ((struct elf_link_hash_entry *));
+  PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *));
 extern boolean _bfd_elf_link_hash_table_init
   PARAMS ((struct elf_link_hash_table *, bfd *,
           struct bfd_hash_entry *(*) (struct bfd_hash_entry *,
index c582e3ba6ad98c4e7f4213a6c1c1e23bddde0430..a52d7933cd9296ed9eb2c91f188cf82c484a0da3 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -954,7 +954,8 @@ _bfd_elf_link_hash_copy_indirect (dir, ind)
 }
 
 void
-_bfd_elf_link_hash_hide_symbol(h)
+_bfd_elf_link_hash_hide_symbol(info, h)
+     struct bfd_link_info *info ATTRIBUTE_UNUSED;
      struct elf_link_hash_entry *h;
 {
   h->elf_link_hash_flags &= ~ELF_LINK_HASH_NEEDS_PLT;
index 2fafeb18b29baa325a271e2f6a051a9153c6f89d..cacfd6593fcd9ff00ad7c3f4910ca1881e9485c5 100644 (file)
@@ -1307,7 +1307,8 @@ elf64_ia64_hash_copy_indirect (xdir, xind)
 }
 
 static void
-elf64_ia64_hash_hide_symbol (xh)
+elf64_ia64_hash_hide_symbol (info, xh)
+     struct bfd_link_info *info ATTRIBUTE_UNUSED;
      struct elf_link_hash_entry *xh;
 {
   struct elf64_ia64_link_hash_entry *h;
index 70a2cccae3453eab95f661a92e122e989bc56bac..b1f20d7708afb869ce23412fe4f776461d17e2ce 100644 (file)
@@ -1860,7 +1860,7 @@ elf_link_add_object_symbols (abfd, info)
              case STV_INTERNAL:
              case STV_HIDDEN:  
                h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
-               (*bed->elf_backend_hide_symbol) (h);
+               (*bed->elf_backend_hide_symbol) (info, h);
                break;
              }
        }
@@ -3707,7 +3707,7 @@ elf_link_assign_sym_version (h, data)
                              && ! sinfo->export_dynamic)
                            {
                              h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
-                             (*bed->elf_backend_hide_symbol) (h);
+                             (*bed->elf_backend_hide_symbol) (info, h);
                              /* FIXME: The name of the symbol has
                                 already been recorded in the dynamic
                                 string table section.  */
@@ -3819,7 +3819,7 @@ elf_link_assign_sym_version (h, data)
                          && ! sinfo->export_dynamic)
                        {
                          h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
-                         (*bed->elf_backend_hide_symbol) (h);
+                         (*bed->elf_backend_hide_symbol) (info, h);
                          /* FIXME: The name of the symbol has already
                             been recorded in the dynamic string table
                             section.  */
@@ -3841,7 +3841,7 @@ elf_link_assign_sym_version (h, data)
              && ! sinfo->export_dynamic)
            {
              h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
-             (*bed->elf_backend_hide_symbol) (h);
+             (*bed->elf_backend_hide_symbol) (info, h);
              /* FIXME: The name of the symbol has already been
                 recorded in the dynamic string table section.  */
            }
This page took 0.042148 seconds and 4 git commands to generate.