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 *'.
This commit is contained in:
H.J. Lu 2001-11-11 23:51:36 +00:00
parent 50e480d974
commit 350836e342
3 changed files with 10 additions and 2 deletions

View 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

View 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:

View 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)