summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lpc17xx/ldscript-mpu2
-rw-r--r--arch/arm/lpc17xx/startup.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lpc17xx/ldscript-mpu b/arch/arm/lpc17xx/ldscript-mpu
index df8551c..4f786d8 100644
--- a/arch/arm/lpc17xx/ldscript-mpu
+++ b/arch/arm/lpc17xx/ldscript-mpu
@@ -70,7 +70,7 @@ SECTIONS
ASSERT (. != __cs3_reset, "No reset code");
*( .privileged_code )
- *( .privileged_functions )
+ *( privileged_functions )
__privileged_code_end___len = . - __privileged_code_start__ - 1 ;
__privileged_code_end___len |= __privileged_code_end___len >> 1 ;
diff --git a/arch/arm/lpc17xx/startup.s b/arch/arm/lpc17xx/startup.s
index 47a2bdf..ecab24e 100644
--- a/arch/arm/lpc17xx/startup.s
+++ b/arch/arm/lpc17xx/startup.s
@@ -147,7 +147,7 @@ rom_to_ram_copy_check:
.fnend
.size __cs3_reset_cortex_m,.-__cs3_reset_cortex_m
- .section ".text"
+ .section ".privileged_code"
/* Exception Handlers */