diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2005-04-21 12:19:55 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2005-04-21 12:19:55 +0000 |
commit | c2e70a82ce2dfcecbc4a575f6560058f0a796a8c (patch) | |
tree | 6ddd83d8d162d06ddbe21e49f3a4a31911e61f2b /bfd/elfxx-sparc.c | |
parent | ff01938b1a9dbab23ab0323bdf0efec6ee92741f (diff) | |
download | gdb-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/elfxx-sparc.c')
-rw-r--r-- | bfd/elfxx-sparc.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; } |