summaryrefslogtreecommitdiff
path: root/tools/objtool/Makefile
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2020-12-18 00:02:42 +0300
committerJosh Poimboeuf <jpoimboe@redhat.com>2021-01-14 18:53:42 +0300
commitab4e0744e99b87e1a223e89fc3c9ae44f727c9a6 (patch)
tree470912764110ac2a157be0e8a5a79832b62eeaad /tools/objtool/Makefile
parent5ed934e57e712b676ca62e1904ad672a9fa1505a (diff)
downloadlinux-ab4e0744e99b87e1a223e89fc3c9ae44f727c9a6.tar.xz
objtool: Refactor ORC section generation
Decouple ORC entries from instructions. This simplifies the control/data flow, and is going to make it easier to support alternative instructions which change the stack layout. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Diffstat (limited to 'tools/objtool/Makefile')
-rw-r--r--tools/objtool/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index d179299980b9..92ce4fce7bc7 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -47,10 +47,6 @@ ifeq ($(SRCARCH),x86)
SUBCMD_ORC := y
endif
-ifeq ($(SUBCMD_ORC),y)
- CFLAGS += -DINSN_USE_ORC
-endif
-
export SUBCMD_CHECK SUBCMD_ORC
export srctree OUTPUT CFLAGS SRCARCH AWK
include $(srctree)/tools/build/Makefile.include