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 07:54:05PM -0700, Ian Lance Taylor wrote:
> 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".

The funny thing about this is that of all the GNU C coding
conventions, this is the one I still dislike after many years of
writing GNU C.  Habit dies hard.  Fixed and committed.

-- 
Alan Modra
Australia Development Lab, IBM


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