[PATCH] gold: remove false const from Target::do_adjust_elf_header

Cary Coutant ccoutant@google.com
Fri Oct 11 21:48:00 GMT 2013


> 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



More information about the Binutils mailing list