aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2005-04-21 12:19:55 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2005-04-21 12:19:55 +0000
commitc2e70a82ce2dfcecbc4a575f6560058f0a796a8c (patch)
tree6ddd83d8d162d06ddbe21e49f3a4a31911e61f2b /bfd
parentff01938b1a9dbab23ab0323bdf0efec6ee92741f (diff)
downloadgdb-c2e70a82ce2dfcecbc4a575f6560058f0a796a8c.zip
gdb-c2e70a82ce2dfcecbc4a575f6560058f0a796a8c.tar.gz
gdb-c2e70a82ce2dfcecbc4a575f6560058f0a796a8c.tar.bz2
* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
unsigned from type of dynamic_interpreter. * elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove casts again.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-sparc.c6
-rw-r--r--bfd/elfxx-sparc.h2
3 files changed, 8 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3217b84..c14161e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2005-04-21 Andreas Schwab <schwab@suse.de>
+ * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
+ unsigned from type of dynamic_interpreter.
+ * elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove
+ casts again.
+
* elf.c (assign_section_numbers): Fix comment.
2005-04-21 Jerome Guitton <guitton@gnat.com>
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index 0dacd4f..e224d96 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -778,8 +778,7 @@ _bfd_sparc_elf_link_hash_table_create (bfd *abfd)
ret->align_power_max = 4;
ret->bytes_per_word = 8;
ret->bytes_per_rela = sizeof (Elf64_External_Rela);
- ret->dynamic_interpreter =
- (const unsigned char *) ELF64_DYNAMIC_INTERPRETER;
+ ret->dynamic_interpreter = ELF64_DYNAMIC_INTERPRETER;
ret->dynamic_interpreter_size = sizeof ELF64_DYNAMIC_INTERPRETER;
}
else
@@ -796,8 +795,7 @@ _bfd_sparc_elf_link_hash_table_create (bfd *abfd)
ret->align_power_max = 3;
ret->bytes_per_word = 4;
ret->bytes_per_rela = sizeof (Elf32_External_Rela);
- ret->dynamic_interpreter =
- (const unsigned char *) ELF32_DYNAMIC_INTERPRETER;
+ ret->dynamic_interpreter = ELF32_DYNAMIC_INTERPRETER;
ret->dynamic_interpreter_size = sizeof ELF32_DYNAMIC_INTERPRETER;
}
diff --git a/bfd/elfxx-sparc.h b/bfd/elfxx-sparc.h
index 5223ae7..2ec8f80 100644
--- a/bfd/elfxx-sparc.h
+++ b/bfd/elfxx-sparc.h
@@ -66,7 +66,7 @@ struct _bfd_sparc_elf_link_hash_table
bfd_vma (*r_info) (Elf_Internal_Rela *, bfd_vma, bfd_vma);
bfd_vma (*r_symndx) (bfd_vma);
int (*build_plt_entry) (bfd *, asection *, bfd_vma, bfd_vma, bfd_vma *);
- const unsigned char *dynamic_interpreter;
+ const char *dynamic_interpreter;
int dynamic_interpreter_size;
unsigned int word_align_power;
unsigned int align_power_max;