summaryrefslogtreecommitdiffstats
path: root/tools/objtool/orc_gen.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-06-18 17:55:29 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-06-18 17:55:29 +0200
commitd832c0051f4e9cc7d26ef3bc6e9b662bc6a90f3a (patch)
treef7980a9c140174713b703851d06ed61283631e13 /tools/objtool/orc_gen.c
parent14bda4e5293ed9722f1dc39b543024e37707d6c6 (diff)
parent0f1441b44e823a74f3f3780902a113e07c73fbf6 (diff)
downloadlinux-d832c0051f4e9cc7d26ef3bc6e9b662bc6a90f3a.tar.gz
linux-d832c0051f4e9cc7d26ef3bc6e9b662bc6a90f3a.tar.bz2
linux-d832c0051f4e9cc7d26ef3bc6e9b662bc6a90f3a.zip
Merge branch 'objtool/urgent' into objtool/core
Conflicts: tools/objtool/elf.c tools/objtool/elf.h tools/objtool/orc_gen.c tools/objtool/check.c Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/objtool/orc_gen.c')
-rw-r--r--tools/objtool/orc_gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/orc_gen.c b/tools/objtool/orc_gen.c
index 75e08cf0709b..968f55e6dd94 100644
--- a/tools/objtool/orc_gen.c
+++ b/tools/objtool/orc_gen.c
@@ -222,7 +222,7 @@ int create_orc_sections(struct objtool_file *file)
}
}
- if (elf_rebuild_reloc_section(ip_relocsec))
+ if (elf_rebuild_reloc_section(file->elf, ip_relocsec))
return -1;
return 0;