android_kernel_google_msm/arch/x86/tools
H. Peter Anvin c51ac8ac9a x86, relocs: Add jiffies and jiffies_64 to the relative whitelist
commit ea17e7414b upstream.

The symbol jiffies is created in the linker script as an alias to
jiffies_64.  Unfortunately this is done outside any section, and
apparently GNU ld 2.21 doesn't carry the section with it, so we end up
with an absolute symbol and therefore a broken kernel.

Add jiffies and jiffies_64 to the whitelist.

The most disturbing bit with this discovery is that it shows that we
have had multiple linker bugs in this area crossing multiple
generations, and have been silently building bad kernels for some time.

Link: http://lkml.kernel.org/r/20120524171604.0d98284f3affc643e9714470@canb.auug.org.au
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-01 15:18:26 +08:00
..
.gitignore x86, realmode: 16-bit real-mode code support for relocs tool 2012-05-18 19:49:40 -07:00
chkobjdump.awk
distill.awk
gen-insn-attr-x86.awk x86: Update instruction decoder to support new AVX formats 2011-12-05 14:53:21 +01:00
insn_sanity.c x86/tools: Add decoded instruction dump mode 2011-12-05 14:53:23 +01:00
Makefile x86, realmode: 16-bit real-mode code support for relocs tool 2012-05-18 19:49:40 -07:00
relocs.c x86, relocs: Add jiffies and jiffies_64 to the relative whitelist 2012-06-01 15:18:26 +08:00
test_get_len.c