Skip to contentSkip to conversation

parisc: fix unwind

PATCH In review Helge Deller 2 participants 3 messages Oct 25, 2009 – Oct 28, 2009 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 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.

arch/parisc/kernel/unwind.c +1 -1
index 69dad5a..6c631bf 100644
@@ -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
index fda4baa..9dab4a4 100644
@@ -78,9 +78,6 @@ SECTIONS
 	 */
 	. = ALIGN(PAGE_SIZE);
 	data_start = .;
-	EXCEPTION_TABLE(16)
#1 lore raw
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.

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

#2 lore raw
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

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.