projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
objtool: Use target file endianness instead of a compiled constant
[linux-block.git]
/
tools
/
objtool
/
check.c
diff --git
a/tools/objtool/check.c
b/tools/objtool/check.c
index 8427af808221bce50c8d7b85a811408057e81534..ad5dab175701498965323dde14acc6dcad9324e4 100644
(file)
--- a/
tools/objtool/check.c
+++ b/
tools/objtool/check.c
@@
-2100,7
+2100,7
@@
static int read_unwind_hints(struct objtool_file *file)
return -1;
}
- cfi.cfa.offset = bswap_if_needed(hint->sp_offset);
+ cfi.cfa.offset = bswap_if_needed(
file->elf,
hint->sp_offset);
cfi.type = hint->type;
cfi.end = hint->end;