This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GOLD] mapping input to output sections


On Mon, Aug 13, 2012 at 5:54 PM, Alan Modra <amodra@gmail.com> wrote:
>
>         * target.h (Target::output_section_name): New function.
>         (Target::do_output_section_name): New function.
>         * layout.cc (Layout::choose_output_section): Call the above.
>         * powerpc.cc (Target_powerpc::do_output_section_name): New function.

> +  do_output_section_name(const Relobj*, const char* name, size_t* plen) const
> +  {
> +    if (size == 64 && strcmp (name, ".toc") == 0)

Remove space after "strcmp".

This is OK with that change.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]