summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2001-11-11 23:51:36 +0000
committerH.J. Lu <hjl@lucon.org>2001-11-11 23:51:36 +0000
commit22306601570b7c209ff153e551fcd51eb2fdb824 (patch)
tree5aa5476a57ca3edbc95adeffbf0d76f98498319a /bfd
parent5e167dbb9f997855aceac8b84627f3528bc4aeb0 (diff)
downloadgdb-22306601570b7c209ff153e551fcd51eb2fdb824.tar.gz
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 *'.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/elf32-mips.c2
-rw-r--r--bfd/elf64-sparc.c2
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 <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
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)