parisc: fix unwind
Helge Deller
maintainerPATCH 1/1 parisc: fix unwind
kernel unwinding is broken with gcc >= 4.x. Part of the problem is, that binutils seems sensible where the unwind information is stored.
Signed-off-by Helge Deller <[email protected]>
arch/parisc/kernel/unwind.c +1 -1
@@ -28,7 +28,7 @@ #define dbg(x...)#endif -#define KERNEL_START (KERNEL_BINARY_TEXT_START - 0x1000) +#define KERNEL_START (KERNEL_BINARY_TEXT_START)extern struct unwind_table_entry __start___unwind[];extern struct unwind_table_entry __stop___unwind[];
arch/parisc/kernel/vmlinux.lds.S +0 -1
@@ -78,9 +78,6 @@ SECTIONS */ . = ALIGN(PAGE_SIZE); data_start = .; - EXCEPTION_TABLE(16)
Quoted 5 lines · Helge Deller
kernel unwinding is broken with gcc >= 4.x. Part of the problem is, that binutils seems sensible where the unwind information is stored.
Signed-off-by Helge Deller <[email protected]>
This looks good to me, I checked the resulting vmlinux and things seem sensible...
I'll apply it to my next branch when I get home tonight.
r, Kyle
Quoted 4 lines · Kyle McMartin
Quoted 3 lines · Helge Deller
kernel unwinding is broken with gcc >= 4.x. Part of the problem is, that binutils seems sensible where the unwind information is stored.
Quoted 8 lines
Quoted 2 lines
Signed-off-by Helge Deller <[email protected]>This looks good to me, I checked the resulting vmlinux and things seem sensible...
I'll apply it to my next branch when I get home tonight.
I meant fixes.