x86emul: avoid assembler warning about .type not taking effect in test harness
authorJan Beulich <jbeulich@suse.com>
Mon, 3 Aug 2020 14:27:22 +0000 (16:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 Aug 2020 14:27:22 +0000 (16:27 +0200)
commit9909532113692020c1b50eb974cac47d4ea10e69
treef76773cedcc5e11d3fd1167551897224ae21da76
parent81fd0d3ca4b2cd309403c6e8da662c325dd35750
x86emul: avoid assembler warning about .type not taking effect in test harness

gcc re-orders top level blocks by default when optimizing. This
re-ordering results in all our .type directives to get emitted to the
assembly file first, followed by gcc's. The assembler warns about
attempts to change the type of a symbol when it was already set (and
when there's no intervening setting to "notype").

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/Makefile