From 8530209598630c25438f6c2cd323482b1a1ec886 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 3 Nov 2003 14:44:08 +0000 Subject: 2003-11-03 Andrew Cagney * section.c (bfd_set_section_contents): Make the "location" buffer constant. * bfd-in2.h: Re-generate. Index: gdb/ChangeLog 2003-11-03 Andrew Cagney * exec.c (xfer_memory): Eliminate xfer_fn. --- bfd/section.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bfd/section.c') diff --git a/bfd/section.c b/bfd/section.c index 360d117..e99062a 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -1132,8 +1132,8 @@ FUNCTION SYNOPSIS 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); DESCRIPTION Sets the contents of the section @var{section} in BFD @@ -1161,7 +1161,7 @@ DESCRIPTION bfd_boolean bfd_set_section_contents (bfd *abfd, sec_ptr section, - void *location, + const void *location, file_ptr offset, bfd_size_type count) { -- cgit v1.1