linux/scripts
Jan Beulich adf1423698 [PATCH] i386/x86-64: Work around gcc bug with noreturn functions in unwinder
Current gcc generates calls not jumps to noreturn functions. When that happens the
return address can point to the next function, which confuses the unwinder.

This patch works around it by marking asynchronous exception
frames in contrast normal call frames in the unwind information.  Then teach
the unwinder to decode this.

For normal call frames the unwinder now subtracts one from the address which avoids
this problem.  The standard libgcc unwinder uses the same trick.

It doesn't include adjustment of the printed address (i.e. for the original
example, it'd still be kernel_math_error+0 that gets displayed, but the
unwinder wouldn't get confused anymore.

This only works with binutils 2.6.17+ and some versions of H.J.Lu's 2.6.16
unfortunately because earlier binutils don't support .cfi_signal_frame

[AK: added automatic detection of the new binutils and wrote description]

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
2006-09-26 10:52:41 +02:00
..
basic
genksyms
kconfig kbuild: update help in top level Makefile 2006-09-25 10:02:52 +02:00
ksymoops
mod kbuild: fail kernel compilation in case of unresolved module symbols 2006-09-25 09:14:30 +02:00
package kbuild: fix "mkdir -p" usage in scripts/package/mkspec 2006-09-25 10:55:44 +02:00
rt-tester
.gitignore
bin2c.c
binoffset.c
bloat-o-meter
checkincludes.pl
checkstack.pl
checkversion.pl
conmakehash.c
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_64-has-stack-protector.sh [PATCH] Add the -fstack-protector option to the CFLAGS 2006-09-26 10:52:39 +02:00
gen_initramfs_list.sh
hdrcheck.sh Use dependencies for 'make headers_install'. 2006-09-24 22:15:14 +01:00
kallsyms.c
Kbuild.include [PATCH] i386/x86-64: Work around gcc bug with noreturn functions in unwinder 2006-09-26 10:52:41 +02:00
kernel-doc
Lindent
Makefile kbuild: modpost on vmlinux regardless of CONFIG_MODULES 2006-09-25 09:01:49 +02:00
Makefile.build kbuild: consistently decide when to rebuild a target 2006-09-25 09:00:00 +02:00
Makefile.clean
Makefile.headersinst Merge git://git.infradead.org/~dwmw2/khdrs-2.6 2006-09-24 14:55:52 -07:00
Makefile.host kbuild: remove debug left-over from Makefile.host 2006-09-25 09:05:19 +02:00
Makefile.lib
Makefile.modinst
Makefile.modpost kbuild: fail kernel compilation in case of unresolved module symbols 2006-09-25 09:14:30 +02:00
makelst
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
setlocalversion
show_delta
unifdef.c kbuild: replace use of strlcpy with a dedicated implmentation in unifdef 2006-09-25 09:00:00 +02:00
ver_linux