aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-08-04 16:31:00 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-08-04 16:31:00 +0000
commitf7231afc19f5a541680e4e1fbdebe47c6bb9625a (patch)
tree661aa09dc4b4c6d430d9973fe4e4a9375eb73bc1 /bfd/elf-bfd.h
parent6612555199a45a60bad366e8697bb53d3d128175 (diff)
downloadfsf-binutils-gdb-f7231afc19f5a541680e4e1fbdebe47c6bb9625a.zip
fsf-binutils-gdb-f7231afc19f5a541680e4e1fbdebe47c6bb9625a.tar.gz
fsf-binutils-gdb-f7231afc19f5a541680e4e1fbdebe47c6bb9625a.tar.bz2
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/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 5db52f3..dffb83b 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1239,7 +1239,7 @@ struct bfd_elf_section_data
#define elf_sec_group(sec) (elf_section_data(sec)->sec_group)
#define xvec_get_elf_backend_data(xvec) \
- ((struct elf_backend_data *) (xvec)->backend_data)
+ ((const struct elf_backend_data *) (xvec)->backend_data)
#define get_elf_backend_data(abfd) \
xvec_get_elf_backend_data ((abfd)->xvec)