From: Jan Beulich Date: Tue, 1 Apr 2025 10:43:35 +0000 (+0200) Subject: Arm: purge ENTRY(), ENDPROC(), and ALIGN X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=221c66f4f2a49a77eb65cbaaaa3de2a6140fa392;p=people%2Faperard%2Fxen-unstable.git Arm: purge ENTRY(), ENDPROC(), and ALIGN They're no longer used. This also makes it unnecessary to #undef two of them in the linker script. Signed-off-by: Jan Beulich Acked-by: Julien Grall Tested-by: Luca Fancellu # arm --- diff --git a/xen/arch/arm/include/asm/config.h b/xen/arch/arm/include/asm/config.h index 0a51142efd..799bc2a8ac 100644 --- a/xen/arch/arm/include/asm/config.h +++ b/xen/arch/arm/include/asm/config.h @@ -53,17 +53,9 @@ /* Linkage for ARM */ #ifdef __ASSEMBLY__ -#define ALIGN .balign CONFIG_FUNCTION_ALIGNMENT -#define ENTRY(name) \ - .globl name; \ - ALIGN; \ - name: #define GLOBAL(name) \ .globl name; \ name: -#define ENDPROC(name) \ - .type name, %function; \ - END(name) #endif #include diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index bbccff1a03..325b8059fd 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -6,8 +6,6 @@ #include #include #include -#undef ENTRY -#undef ALIGN ENTRY(start)