diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-11-17 06:51:52 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-17 17:55:37 +0900 |
commit | 94ab115fd3e7f7e7f92f1645bbb6ba5414701b25 (patch) | |
tree | e6ff2da9347be9f916460c296ef47216fa1b44db /drivers | |
parent | a6786fdad97d2ef4454f75a11a4f2a3bf67f2348 (diff) | |
download | kernel_samsung_tuna-94ab115fd3e7f7e7f92f1645bbb6ba5414701b25.zip kernel_samsung_tuna-94ab115fd3e7f7e7f92f1645bbb6ba5414701b25.tar.gz kernel_samsung_tuna-94ab115fd3e7f7e7f92f1645bbb6ba5414701b25.tar.bz2 |
sh: fix vsyscall compilation due to .eh_frame issue
This patch fixes the following error obtained when
compile the Kernel with the VSYSCALL support enabled:
SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so
sh4-linux/bin/ld: error in arch/sh/kernel/vsyscall/vsyscall-trapa.o(.eh_frame);
no .eh_frame_hdr table will be created.
AS arch/sh/kernel/vsyscall/vsyscall-syscall.o
Disassembling the vsyscall-trapa.o code, with this fix applied,
we get the __kernel_vsyscall symbol defined; otherwise it was
missing.
Disassembly of section .text:
00000000 <__kernel_vsyscall>:
0: 10 00 .word 0x0010
2: 00 00 .word 0x0000
[snip]
0000040 <__kernel_sigreturn>:
40: 05 93 mov.w 4e <__kernel_sigreturn+0xe>,r3 ! 77
42: 10 c3 trapa #16
[snip]
00000060 <__kernel_rt_sigreturn>:
60: 05 93 mov.w 6e <__kernel_rt_sigreturn+0xe>,r3 ! ad
62: 10 c3 trapa #16
[snip]
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Reviewed-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions