diff options
author | Alan Modra <amodra@gmail.com> | 2007-02-27 08:29:52 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-02-27 08:29:52 +0000 |
commit | 7a8757b3194d57d783bccfe2b1b206990d6396b6 (patch) | |
tree | 8eb5c3d2399fad38bd289335735bff13cedd49cc /bfd/elf32-spu.h | |
parent | fd99afa763de5aec45193afc7100c475e8b2c493 (diff) | |
download | gdb-7a8757b3194d57d783bccfe2b1b206990d6396b6.zip gdb-7a8757b3194d57d783bccfe2b1b206990d6396b6.tar.gz gdb-7a8757b3194d57d783bccfe2b1b206990d6396b6.tar.bz2 |
* elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
* elf32-spu.c (ovl_mgr_pread): Add const to casts.
Diffstat (limited to 'bfd/elf32-spu.h')
-rw-r--r-- | bfd/elf32-spu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-spu.h b/bfd/elf32-spu.h index 2d6eaf3..49c233a 100644 --- a/bfd/elf32-spu.h +++ b/bfd/elf32-spu.h @@ -1,6 +1,6 @@ /* SPU specific support for 32-bit ELF. - Copyright 2006 Free Software Foundation, Inc. + Copyright 2006, 2007 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -33,8 +33,8 @@ struct _spu_elf_section_data struct _ovl_stream { - void *start; - void *end; + const void *start; + const void *end; }; extern void spu_elf_plugin (int); |