2001-11-11 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 11 Nov 2001 23:51:36 +0000 (23:51 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 11 Nov 2001 23:51:36 +0000 (23:51 +0000)
* elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Call
_bfd_elf_strtab_size instead of _bfd_stringtab_size.

* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Change
dynstr type to `struct elf_strtab_hash *'.

bfd/ChangeLog
bfd/elf32-mips.c
bfd/elf64-sparc.c

index 0e60f84..8ee8ab4 100644 (file)
@@ -1,3 +1,11 @@
+2001-11-11  H.J. Lu <hjl@gnu.org>
+
+       * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Call
+       _bfd_elf_strtab_size instead of _bfd_stringtab_size.
+
+       * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Change
+       dynstr type to `struct elf_strtab_hash *'.
+
 2001-11-11  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * elf-strtab.c (_bfd_elf_strtab_finalize): Make first variable i
index b40c56e..a530ee9 100644 (file)
@@ -8929,7 +8929,7 @@ _bfd_mips_elf_finish_dynamic_sections (output_bfd, info)
            case DT_STRSZ:
              /* Rewrite DT_STRSZ.  */
              dyn.d_un.d_val =
-               _bfd_stringtab_size (elf_hash_table (info)->dynstr);
+               _bfd_elf_strtab_size (elf_hash_table (info)->dynstr);
              break;
 
            case DT_PLTGOT:
index eef19aa..19750a8 100644 (file)
@@ -1786,7 +1786,7 @@ sparc64_elf_size_dynamic_sections (output_bfd, info)
 
       int reg;
       struct sparc64_elf_app_reg * app_regs;
-      struct bfd_strtab_hash *dynstr;
+      struct elf_strtab_hash *dynstr;
       struct elf_link_hash_table *eht = elf_hash_table (info);
 
       if (!info->shared)