aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-02-27 08:29:52 +0000
committerAlan Modra <amodra@gmail.com>2007-02-27 08:29:52 +0000
commit7a8757b3194d57d783bccfe2b1b206990d6396b6 (patch)
tree8eb5c3d2399fad38bd289335735bff13cedd49cc /bfd/elf32-spu.h
parentfd99afa763de5aec45193afc7100c475e8b2c493 (diff)
downloadgdb-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.h6
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);