[PING^2] [PATCH] [NFC] Mark locally used symbols as static.

2021-04-15 Thread Yuri Gribov
1 /* big-endian */, 8 /* insn_size */, 0, 4, formats, format_decoder, length_decoder, diff --git a/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc b/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc index 28561147fc..863fcd5b4f 100644 --- a/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc +++ b/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc @@ -36369,7 +36369,7 @@ length_decoder (const unsigned char *insn) /* Top-level ISA structure. */ -xtensa_isa_internal xtensa_modules = { +static xtensa_isa_internal xtensa_modules = { 0 /* little-endian */, 8 /* insn_size */, 0, 4, formats, format_decoder, length_decoder, -- 2.17.1 -- Best regards, Yuri Gribov

[PING] [PATCH] [NFC] Mark locally used symbols as static.

2021-03-30 Thread Yuri Gribov
nternal xtensa_modules = { 1 /* big-endian */, 8 /* insn_size */, 0, 4, formats, format_decoder, length_decoder, diff --git a/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc b/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc index 28561147fc..863fcd5b4f 100644 --- a/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc +++ b/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.c.inc @@ -36369,7 +36369,7 @@ length_decoder (const unsigned char *insn) /* Top-level ISA structure. */ -xtensa_isa_internal xtensa_modules = { +static xtensa_isa_internal xtensa_modules = { 0 /* little-endian */, 8 /* insn_size */, 0, 4, formats, format_decoder, length_decoder, -- 2.17.1 -- Best regards, Yuri Gribov

[PATCH] [NFC] Mark locally used symbols as static.

2021-03-22 Thread Yuri Gribov
Hi all, This patch makes locally used symbols static to enable more compiler optimizations on them. Some of the symbols turned out to not be used at all so I marked them with ATTRIBUTE_UNUSED (as I wasn't sure if they were ok to delete). The symbols have been identified with a pet project of