From 0ead19c440f79f82a7773c4d1001e03669f3c53a Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Fri, 6 Jan 2023 17:53:04 +0000 Subject: [PATCH] Revert "ANDROID: KVM: arm64: Make gen-hyprel emit delimiters" This reverts commit f347aa8c3da299a25c49dbfa533958985cfa46be. The '__hyprel_{start,end}' symbols are no longer used, so don't bother generating them. Signed-off-by: Will Deacon Signed-off-by: Will Deacon Bug: 261855285 Change-Id: I8e8dc5c94a9e67400e73e362e4377032328d86d4 --- arch/arm64/tools/gen-hyprel.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm64/tools/gen-hyprel.c b/arch/arm64/tools/gen-hyprel.c index fa719b6c6d54..6bc88a756cb7 100644 --- a/arch/arm64/tools/gen-hyprel.c +++ b/arch/arm64/tools/gen-hyprel.c @@ -296,10 +296,8 @@ static void init_elf(const char *path) /* Print the prologue of the output ASM file. */ static void emit_prologue(void) { - printf("#include \n" - ".data\n" - ".pushsection " HYP_RELOC_SECTION ", \"a\"\n" - "SYM_ENTRY(__hyprel_start, SYM_L_GLOBAL, SYM_A_NONE)\n"); + printf(".data\n" + ".pushsection " HYP_RELOC_SECTION ", \"a\"\n"); } /* Print ASM statements needed as a prologue to a processed hyp section. */ @@ -349,8 +347,7 @@ static void emit_rela_abs64(Elf64_Rela *rela, const char *sh_orig_name) /* Print the epilogue of the output ASM file. */ static void emit_epilogue(void) { - printf("SYM_ENTRY(__hyprel_end, SYM_L_GLOBAL, SYM_A_NONE)\n" - ".popsection\n"); + printf(".popsection\n"); } /*