From 5f67662c631c24eae51ef81b63df6de8fb83fb49 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 16 Feb 2022 03:53:18 +0800 Subject: [PATCH] libc/sim: Rename arch_setjmp[64].S to arch_setjmp_x86[_64].S to follow other arch/x86 arch/x86_64 convention Signed-off-by: Xiang Xiao --- libs/libc/machine/sim/Make.defs | 6 +++--- libs/libc/machine/sim/{arch_setjmp.S => arch_setjmp_x86.S} | 2 +- .../machine/sim/{arch_setjmp64.S => arch_setjmp_x86_64.S} | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename libs/libc/machine/sim/{arch_setjmp.S => arch_setjmp_x86.S} (98%) rename libs/libc/machine/sim/{arch_setjmp64.S => arch_setjmp_x86_64.S} (99%) diff --git a/libs/libc/machine/sim/Make.defs b/libs/libc/machine/sim/Make.defs index cd755257ee9..d478341f3c8 100644 --- a/libs/libc/machine/sim/Make.defs +++ b/libs/libc/machine/sim/Make.defs @@ -27,14 +27,14 @@ ifeq ($(CONFIG_LIBC_ARCH_ELF),y) CSRCS += arch_elf.c endif ifeq ($(CONFIG_ARCH_SETJMP_H),y) -ASRCS += arch_setjmp.S +ASRCS += arch_setjmp_x86.S endif else ifeq ($(CONFIG_LIBC_ARCH_ELF),y) CSRCS += arch_elf64.c endif ifeq ($(CONFIG_ARCH_SETJMP_H),y) -ASRCS += arch_setjmp64.S +ASRCS += arch_setjmp_x86_64.S endif endif else ifeq ($(CONFIG_HOST_X86),y) @@ -42,7 +42,7 @@ ifeq ($(CONFIG_LIBC_ARCH_ELF),y) CSRCS += arch_elf.c endif ifeq ($(CONFIG_ARCH_SETJMP_H),y) -ASRCS += arch_setjmp.S +ASRCS += arch_setjmp_x86.S endif else ifeq ($(CONFIG_HOST_ARM),y) ifeq ($(CONFIG_ARCH_SETJMP_H),y) diff --git a/libs/libc/machine/sim/arch_setjmp.S b/libs/libc/machine/sim/arch_setjmp_x86.S similarity index 98% rename from libs/libc/machine/sim/arch_setjmp.S rename to libs/libc/machine/sim/arch_setjmp_x86.S index ac703705bab..bae205f365e 100644 --- a/libs/libc/machine/sim/arch_setjmp.S +++ b/libs/libc/machine/sim/arch_setjmp_x86.S @@ -1,5 +1,5 @@ /************************************************************************** - * libs/libc/machine/sim/arch_setjmp.S + * libs/libc/machine/sim/arch_setjmp_x86.S * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/libs/libc/machine/sim/arch_setjmp64.S b/libs/libc/machine/sim/arch_setjmp_x86_64.S similarity index 99% rename from libs/libc/machine/sim/arch_setjmp64.S rename to libs/libc/machine/sim/arch_setjmp_x86_64.S index b2659ae894a..893dc1fe82d 100644 --- a/libs/libc/machine/sim/arch_setjmp64.S +++ b/libs/libc/machine/sim/arch_setjmp_x86_64.S @@ -1,5 +1,5 @@ /************************************************************************** - * libs/libc/machine/sim/arch_setjmp64.S + * libs/libc/machine/sim/arch_setjmp_x86_64.S * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with