linux/arch/x86/tools
Kees Cook d90f2d72cd x86, kaslr: Handle Gold linker for finding bss/brk
commit 70b61e3621 upstream.

When building with the Gold linker, the .bss and .brk areas of vmlinux
are shown as consecutive instead of having the same file offset. Allow
for either state, as long as things add up correctly.

Fixes: e6023367d7 ("x86, kaslr: Prevent .bss from overlaping initrd")
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Junjie Mao <eternal.n08@gmail.com>
Link: http://lkml.kernel.org/r/20141118001604.GA25045@www.outflux.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2014-12-06 15:55:33 -08:00
..
.gitignore x86, relocs: Refactor the relocs tool to merge 32- and 64-bit ELF 2013-04-16 16:02:58 -07:00
calc_run_size.pl x86, kaslr: Handle Gold linker for finding bss/brk 2014-12-06 15:55:33 -08:00
chkobjdump.awk x86: Fix objdump version check in chkobjdump.awk for different formats. 2009-12-18 09:26:56 -08:00
distill.awk x86: Show symbol name if insn decoder test failed 2009-11-17 07:16:50 +01:00
gen-insn-attr-x86.awk x86, insn: Add new opcodes as of June, 2013 2013-08-06 08:08:47 -07:00
insn_sanity.c arch/x86/tools/insn_sanity.c: Identify source of messages 2013-01-24 15:57:53 +01:00
Makefile x86, relocs: Refactor the relocs tool to merge 32- and 64-bit ELF 2013-04-16 16:02:58 -07:00
relocs.c Merge commit 'f4bcd8ccdd' into x86/build 2014-01-29 09:07:00 -08:00
relocs.h x86, relocs: Add manual debug mode 2014-01-22 04:21:45 -08:00
relocs_32.c x86, relocs: Refactor the relocs tool to merge 32- and 64-bit ELF 2013-04-16 16:02:58 -07:00
relocs_64.c x86, relocs: Refactor the relocs tool to merge 32- and 64-bit ELF 2013-04-16 16:02:58 -07:00
relocs_common.c x86, relocs: Add manual debug mode 2014-01-22 04:21:45 -08:00
test_get_len.c x86: Remove trailing spaces in messages 2010-02-07 17:47:51 +01:00