This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] gold: remove false const from Target::do_adjust_elf_header
- From: Cary Coutant <ccoutant at google dot com>
- To: Roland McGrath <mcgrathr at google dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 11 Oct 2013 14:48:50 -0700
- Subject: Re: [PATCH] gold: remove false const from Target::do_adjust_elf_header
- Authentication-results: sourceware.org; auth=none
- References: <CAB=4xhq=J8QSNygD8TBQVCTZ8REX+-7C3D62p=ytr7xAEtOsMg at mail dot gmail dot com> <CAHACq4rP9Sdzb9rCSHx2HQ0Wm_zh5x=0oKafASDaiO=QP5PkpQ at mail dot gmail dot com> <CAB=4xhrpwYYAPUem=MJE0jKej2zKcWaXWv-b64ufkXEtHi4BjQ at mail dot gmail dot com>
> gold/
> * target.h (Target::adjust_elf_header, Target::do_adjust_elf_header):
> Remove const from declaration.
> * target.cc (Sized_target::do_adjust_elf_header): Update definition.
> * sparc.cc (Target_sparc::do_adjust_elf_header): Likewise.
> * output.h (Output_file_header): Remove const from member target_
> and corresponding constructor argument.
> * output.cc (Output_file_header::Output_file_header): Update prototype.
> (Output_file_header::do_sized_write): Use this->target_ in place
> of parameters()->target().
This is OK. Thanks!
-cary