diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2018-03-01 23:32:28 +0100 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2018-03-10 02:19:55 +0100 |
commit | d9a46e6e714178f6ce7fe2c536c59542a2964f6f (patch) | |
tree | 98cabe24f53c8af782f4d793377e00d57d6e9edf /arch/arm/kernel/vmlinux.lds.h | |
parent | ARM: linker script: factor out stuff for the .text section (diff) | |
download | linux-d9a46e6e714178f6ce7fe2c536c59542a2964f6f.tar.xz linux-d9a46e6e714178f6ce7fe2c536c59542a2964f6f.zip |
ARM: linker script: factor out unwinding table sections
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Chris Brandt <Chris.Brandt@renesas.com>
Diffstat (limited to 'arch/arm/kernel/vmlinux.lds.h')
-rw-r--r-- | arch/arm/kernel/vmlinux.lds.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.h b/arch/arm/kernel/vmlinux.lds.h index 0ef86d75a001..566a7b42a02c 100644 --- a/arch/arm/kernel/vmlinux.lds.h +++ b/arch/arm/kernel/vmlinux.lds.h @@ -78,3 +78,17 @@ . = ALIGN(4); \ *(.got) /* Global offset table */ \ ARM_CPU_KEEP(PROC_INFO) + +/* Stack unwinding tables */ +#define ARM_UNWIND_SECTIONS \ + . = ALIGN(8); \ + .ARM.unwind_idx : { \ + __start_unwind_idx = .; \ + *(.ARM.exidx*) \ + __stop_unwind_idx = .; \ + } \ + .ARM.unwind_tab : { \ + __start_unwind_tab = .; \ + *(.ARM.extab*) \ + __stop_unwind_tab = .; \ + } |