From f36ce389913b78ac40a6c1970e7012b8f94ba16c Mon Sep 17 00:00:00 2001 From: zhangyuan7 Date: Tue, 19 Mar 2019 11:16:52 -0600 Subject: [PATCH] arch/arm/src/armv7-a/arm_head.S: add weak attribute to arm_data_initialize so platform could provide the new implemenation as needed. --- arch/arm/src/armv7-a/arm_head.S | 1 + arch/arm/src/armv7-a/arm_pghead.S | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/src/armv7-a/arm_head.S b/arch/arm/src/armv7-a/arm_head.S index 15fe8395a5..21f9dd7739 100644 --- a/arch/arm/src/armv7-a/arm_head.S +++ b/arch/arm/src/armv7-a/arm_head.S @@ -675,6 +675,7 @@ __start: ***************************************************************************/ .global arm_data_initialize + .weak arm_data_initialize .type arm_data_initialize, #function arm_data_initialize: diff --git a/arch/arm/src/armv7-a/arm_pghead.S b/arch/arm/src/armv7-a/arm_pghead.S index 917c69ee8e..ad8ddf4fe9 100644 --- a/arch/arm/src/armv7-a/arm_pghead.S +++ b/arch/arm/src/armv7-a/arm_pghead.S @@ -706,6 +706,7 @@ __start: ***************************************************************************/ .global arm_data_initialize + .weak arm_data_initialize .type arm_data_initialize, #function arm_data_initialize: