[PATCH] CSKY: Add objdump option -M abi-names.

Simon Marchi simon.marchi@polymtl.ca
Thu Sep 24 03:14:04 GMT 2020


Hi,

This patch causes:

    libtool: compile:  ccache gcc -DHAVE_CONFIG_H -I. -I/home/simark/src/binutils-gdb/opcodes -I. -I/home/simark/src/binutils-gdb/opcodes -I../bfd -I/home/simark/src/binutils-gdb/opcodes/../include -I/home/simark/src/binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g3 -O0 -fsanitize=address -MT csky-dis.lo -MD -MP -MF .deps/csky-dis.Tpo -c /home/simark/src/binutils-gdb/opcodes/csky-dis.c -o csky-dis.o
    /home/simark/src/binutils-gdb/opcodes/csky-dis.c: In function ‘csky_output_operand’:
    /home/simark/src/binutils-gdb/opcodes/csky-dis.c:849:7: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
      849 |       if (IS_CSKY_V1 (mach_flag))
          |       ^~
    /home/simark/src/binutils-gdb/opcodes/csky-dis.c:851:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
      851 |  strcat (str, buf);
          |  ^~~~~~

with

    $ gcc --version
    gcc (GCC) 10.2.0

Simon



More information about the Binutils mailing list