diff options
author | Pixel <pixel@nobis-crew.org> | 2011-01-25 07:30:48 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-01-25 07:57:52 -0800 |
commit | 5f4d7f8cfcc09faca1178dc59f2bed931b56b009 (patch) | |
tree | ca5fef8370ed2683ab69c0acf7f6329f0dcc4bcc /arch | |
parent | a1f6f3f277f7e79bf10e196494a8d6dfa6123cfa (diff) |
Privileged functions weren't privileged.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lpc17xx/ldscript-mpu | 2 | ||||
-rw-r--r-- | arch/arm/lpc17xx/startup.s | 2 |
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 */ |