x86/guest: Fix assembler warnings with newer binutils
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 May 2020 16:21:33 +0000 (17:21 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 13 May 2020 19:33:42 +0000 (20:33 +0100)
commit9f74a7b66b0b03fe563779bb2c133051f1595ece
tree87aba88590b6fa0d74857e2e1af2411126c3ff6d
parentf3b0d25e343562dee29729cfaf32f8c79f8b6502
x86/guest: Fix assembler warnings with newer binutils

GAS of at least version 2.34 complains:

  hypercall_page.S: Assembler messages:
  hypercall_page.S:24: Warning: symbol 'HYPERCALL_set_trap_table' already has its type set
  ...
  hypercall_page.S:71: Warning: symbol 'HYPERCALL_arch_7' already has its type set

which is because the whole page is declared as STT_OBJECT already.  Rearrange
.set with respect to .type in DECLARE_HYPERCALL() so STT_FUNC is already in
place.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/guest/xen/hypercall_page.S