diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-03 14:44:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-03 14:44:08 +0000 |
commit | 8530209598630c25438f6c2cd323482b1a1ec886 (patch) | |
tree | 9bb710670d8d7f6b0e9e8ede71da25e463afaaa3 /bfd/bfd-in2.h | |
parent | 794cd17b2840c7b3b1d994f46d04845b91ea8104 (diff) | |
download | gdb-8530209598630c25438f6c2cd323482b1a1ec886.zip gdb-8530209598630c25438f6c2cd323482b1a1ec886.tar.gz gdb-8530209598630c25438f6c2cd323482b1a1ec886.tar.bz2 |
2003-11-03 Andrew Cagney <cagney@redhat.com>
* section.c (bfd_set_section_contents): Make the "location" buffer
constant.
* bfd-in2.h: Re-generate.
Index: gdb/ChangeLog
2003-11-03 Andrew Cagney <cagney@redhat.com>
* exec.c (xfer_memory): Eliminate xfer_fn.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 27dbca9..1d01116 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1483,8 +1483,8 @@ bfd_boolean bfd_set_section_size (bfd *abfd, asection *sec, bfd_size_type val); bfd_boolean bfd_set_section_contents - (bfd *abfd, asection *section, void *data, file_ptr offset, - bfd_size_type count); + (bfd *abfd, asection *section, const void *data, + file_ptr offset, bfd_size_type count); bfd_boolean bfd_get_section_contents (bfd *abfd, asection *section, void *location, file_ptr offset, |