From 350836e3420268d88fd8272aad2c679d557704d7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 11 Nov 2001 23:51:36 +0000 Subject: [PATCH] 2001-11-11 H.J. Lu * 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 | 8 ++++++++ bfd/elf32-mips.c | 2 +- bfd/elf64-sparc.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0e60f84f18e..8ee8ab429de 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2001-11-11 H.J. Lu + + * 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 * elf-strtab.c (_bfd_elf_strtab_finalize): Make first variable i diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index b40c56e68b3..a530ee97aaf 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -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: diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c index eef19aad5db..19750a88591 100644 --- a/bfd/elf64-sparc.c +++ b/bfd/elf64-sparc.c @@ -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) -- 2.30.2