diff options
author | H.J. Lu <hjl@lucon.org> | 2007-08-04 16:31:00 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2007-08-04 16:31:00 +0000 |
commit | 1092ec2bdef4aa18cbf021396d9047556ad293ca (patch) | |
tree | e8ea58e2b62f85808c6969a8c33bc790575d02f9 /bfd/elfcore.h | |
parent | d37c2263d65b80927e54abf90b552594cf536561 (diff) | |
download | gdb-1092ec2bdef4aa18cbf021396d9047556ad293ca.tar.gz |
2007-08-04 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (xvec_get_elf_backend_data): Add const.
* elfcode.h (elf_object_p): Use xvec_get_elf_backend_data.
* elfcore.h (elf_core_file_p): Likewise.
Diffstat (limited to 'bfd/elfcore.h')
-rw-r--r-- | bfd/elfcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcore.h b/bfd/elfcore.h index 6e78a19cf45..dbf93975728 100644 --- a/bfd/elfcore.h +++ b/bfd/elfcore.h @@ -158,7 +158,7 @@ elf_core_file_p (bfd *abfd) if ((*target_ptr)->flavour != bfd_target_elf_flavour) continue; - back = (const struct elf_backend_data *) (*target_ptr)->backend_data; + back = xvec_get_elf_backend_data (*target_ptr); if (back->elf_machine_code == i_ehdrp->e_machine || (back->elf_machine_alt1 != 0 && i_ehdrp->e_machine == back->elf_machine_alt1) |