]> err.no Git - linux-2.6/commit
[PATCH] x86: Work around gcc 4.2 over aggressive optimizer
authorAndi Kleen <ak@suse.de>
Sat, 9 Dec 2006 20:33:36 +0000 (21:33 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Sat, 9 Dec 2006 20:33:36 +0000 (21:33 +0100)
commit1bac3b383a93a4a920ffc57441eb133c78567fbd
treed9d767a3334271e3cde7116957f5eaa365b973be
parent92715e282be7c7488f892703c8d39b08976a833b
[PATCH] x86: Work around gcc 4.2 over aggressive optimizer

The new PDA code uses a dummy _proxy_pda variable to describe
memory references to the PDA. It is never referenced
in inline assembly, but exists as input/output arguments.
gcc 4.2 in some cases can CSE references to this which causes
unresolved symbols.  Define it to zero to avoid this.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/vmlinux.lds.S
arch/x86_64/kernel/vmlinux.lds.S