summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-25 07:30:48 -0800
committerPixel <pixel@nobis-crew.org>2011-01-25 07:57:52 -0800
commit5f4d7f8cfcc09faca1178dc59f2bed931b56b009 (patch)
treeca5fef8370ed2683ab69c0acf7f6329f0dcc4bcc /arch/arm
parenta1f6f3f277f7e79bf10e196494a8d6dfa6123cfa (diff)
Privileged functions weren't privileged.
Diffstat (limited to 'arch/arm')
-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 */