From 3a9781c4121b7e197cfc928ec5141b206205be32 Mon Sep 17 00:00:00 2001 From: haotuo Date: Thu, 13 Oct 2022 09:54:10 +0800 Subject: [PATCH] Add ohos ident flag for x86_64 library compile Change-Id: Ib980b4d783087a48cd1d8e008726dbcc5db7e317 Signed-off-by: haotuo --- porting/linux/user/crt/x86_64/crti.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 porting/linux/user/crt/x86_64/crti.s diff --git a/porting/linux/user/crt/x86_64/crti.s b/porting/linux/user/crt/x86_64/crti.s new file mode 100644 index 00000000..104d9183 --- /dev/null +++ b/porting/linux/user/crt/x86_64/crti.s @@ -0,0 +1,11 @@ +.include "crtbrand.s" + +.section .init +.global _init +_init: + push %rax + +.section .fini +.global _fini +_fini: + push %rax -- GitLab