Commit: Fix formatting in coff-i386.c

H.J. Lu hjl.tools@gmail.com
Fri Dec 18 16:17:00 GMT 2015


On Fri, Dec 18, 2015 at 12:36 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi Guys,
>
>   I was trying to bootstrap the mainline gcc sources yesterday using the
>   latest binutils sources and I cam across this error:
>
> bfd/coff-i386.c: In function 'coff_i386_reloc':
> bfd/coff-i386.c:142:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>      if (diff != 0)
>      ^~
> bfd/coff-i386.c:133:3: note: ...this 'if' clause, but it is not
>    if (reloc_entry->howto->type == R_IMAGEBASE
>    ^~
>
>   It turns out to be a simple case of mis-indentation of an if
>   statement, so I am checking in the patch below to fix the problem.
>
> Cheers
>   Nick
>
> bfd/ChangeLog
> 2015-12-18  Nick Clifton  <nickc@redhat.com>
>
>         * coff-i386.c (coff_i386_reloc): Fix formatting.
>

I checked in this to fix a similar issue in coff-x86_64.c.

H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-formatting-in-coff-x86_64.c.patch
Type: text/x-patch
Size: 3631 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20151218/68194119/attachment.bin>


More information about the Binutils mailing list