diff options
author | Helge Deller <deller@gmx.de> | 2009-11-28 21:33:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-30 17:20:24 +0100 |
commit | 33a932d14323b957a4e17a6c8428d3f048a30822 (patch) | |
tree | e8006fb0418b17d0bf7e003aa28467f04081672d /arch/parisc/kernel/unwind.c | |
parent | Merge branch 'i2c-pnx-fixes' of git://git.fluff.org/bjdooks/linux (diff) | |
download | linux-33a932d14323b957a4e17a6c8428d3f048a30822.tar.xz linux-33a932d14323b957a4e17a6c8428d3f048a30822.zip |
parisc: fix unwind with recent gcc versions
kernel unwinding is broken with gcc >= 4.x. Part of the problem is that
binutils seems very sensitive to where the unwind information is stored.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/parisc/kernel/unwind.c')
-rw-r--r-- | arch/parisc/kernel/unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index 69dad5a850a8..a36799e85693 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[]; |