linux-bl808/tools/objtool
Josh Poimboeuf e10cd8fe8d objtool: Refactor function alias logic
- Add an alias check in validate_functions().  With this change, aliases
  no longer need uaccess_safe set.

- Add an alias check in decode_instructions().  With this change, the
  "if (!insn->func)" check is no longer needed.

- Don't create aliases for zero-length functions, as it can have
  unexpected results.  The next patch will spit out a warning for
  zero-length functions anyway.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/26a99c31426540f19c9a58b9e10727c385a147bc.1563413318.git.jpoimboe@redhat.com
2019-07-18 21:01:07 +02:00
..
arch/x86 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
Documentation docs: fix broken documentation links 2019-06-08 13:42:13 -06:00
.gitignore
arch.h
Build objtool: Fix build by linking against tools/lib/ctype.o sources 2019-07-02 10:49:31 -03:00
builtin-check.c
builtin-orc.c
builtin.h
cfi.h
check.c objtool: Refactor function alias logic 2019-07-18 21:01:07 +02:00
check.h
elf.c objtool: Refactor function alias logic 2019-07-18 21:01:07 +02:00
elf.h objtool: Rename elf_open() to prevent conflict with libelf from elftoolchain 2019-07-18 00:50:14 +02:00
Makefile
objtool.c
orc.h
orc_dump.c
orc_gen.c
special.c
special.h
sync-check.sh
warn.h