]> xenbits.xensource.com Git - xen.git/commitdiff
Arm: purge ENTRY(), ENDPROC(), and ALIGN
authorJan Beulich <jbeulich@suse.com>
Tue, 1 Apr 2025 10:43:35 +0000 (12:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 1 Apr 2025 10:43:35 +0000 (12:43 +0200)
They're no longer used. This also makes it unnecessary to #undef two of
them in the linker script.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Tested-by: Luca Fancellu <luca.fancellu@arm.com> # arm
xen/arch/arm/include/asm/config.h
xen/arch/arm/xen.lds.S

index 0a51142efd7330967ea807e8c213a56e8be7afcf..799bc2a8ac46e461495d8a9e0230fd635b6f8719 100644 (file)
 
 /* 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 <xen/const.h>
index bbccff1a0350ef7ce7099c4756be12a7232d8de5..325b8059fd963d799ad505a7d87294722c6c8e85 100644 (file)
@@ -6,8 +6,6 @@
 #include <xen/lib.h>
 #include <xen/xen.lds.h>
 #include <asm/page.h>
-#undef ENTRY
-#undef ALIGN
 
 ENTRY(start)