From: Julien Grall Date: Mon, 22 Jul 2019 21:39:25 +0000 (+0100) Subject: xen/arm64: head: Mark the end of subroutines with ENDPROC X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=13c03002c5dfaf8952fa55cca8f99e96948bb7b8;p=people%2Fsstabellini%2Fxen-unstable.git%2F.git xen/arm64: head: Mark the end of subroutines with ENDPROC putn() and puts() are two subroutines. Add ENDPROC for the benefits of static analysis tools and the reader. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index 08094a273e..f2d7445f6a 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -638,6 +638,7 @@ puts: b puts 1: ret +ENDPROC(puts) /* Print a 32-bit number in hex. Specific to the PL011 UART. * x0: Number to print. @@ -656,6 +657,7 @@ putn: subs x3, x3, #1 b.ne 1b ret +ENDPROC(putn) hex: .ascii "0123456789abcdef" .align 2