* [PATCH] parisc: fix unwind
@ 2009-10-25 21:42 Helge Deller
2009-10-28 15:37 ` Kyle McMartin
0 siblings, 1 reply; 3+ messages in thread
From: Helge Deller @ 2009-10-25 21:42 UTC (permalink / raw)
To: linux-parisc, Kyle McMartin, Randolph Chung
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 <deller@gmx.de>
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c
index 69dad5a..6c631bf 100644
--- a/arch/parisc/kernel/unwind.c
+++ b/arch/parisc/kernel/unwind.c
@@ -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[];
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index fda4baa..9dab4a4 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -78,9 +78,6 @@ SECTIONS
*/
. = ALIGN(PAGE_SIZE);
data_start = .;
- EXCEPTION_TABLE(16)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] parisc: fix unwind
2009-10-25 21:42 [PATCH] parisc: fix unwind Helge Deller
@ 2009-10-28 15:37 ` Kyle McMartin
2009-10-28 16:28 ` Kyle McMartin
0 siblings, 1 reply; 3+ messages in thread
From: Kyle McMartin @ 2009-10-28 15:37 UTC (permalink / raw)
To: Helge Deller; +Cc: linux-parisc, Kyle McMartin, Randolph Chung
On Sun, Oct 25, 2009 at 10:42:48PM +0100, Helge Deller wrote:
> 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 <deller@gmx.de>
>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] parisc: fix unwind
2009-10-28 15:37 ` Kyle McMartin
@ 2009-10-28 16:28 ` Kyle McMartin
0 siblings, 0 replies; 3+ messages in thread
From: Kyle McMartin @ 2009-10-28 16:28 UTC (permalink / raw)
To: Kyle McMartin; +Cc: Helge Deller, linux-parisc, Randolph Chung
On Wed, Oct 28, 2009 at 11:37:25AM -0400, Kyle McMartin wrote:
> On Sun, Oct 25, 2009 at 10:42:48PM +0100, Helge Deller wrote:
> > 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 <deller@gmx.de>
> >
>
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-28 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-25 21:42 [PATCH] parisc: fix unwind Helge Deller
2009-10-28 15:37 ` Kyle McMartin
2009-10-28 16:28 ` Kyle McMartin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.