projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf5226
)
Fix relocation_bytesize typo
author
Chris Coetzee
<chriscz93@gmail.com>
Wed, 2 Nov 2016 13:18:08 +0000
(15:18 +0200)
committer
Chris Coetzee
<chriscz93@gmail.com>
Wed, 2 Nov 2016 13:18:08 +0000
(15:18 +0200)
elftools/elf/relocation.py
patch
|
blob
|
history
diff --git
a/elftools/elf/relocation.py
b/elftools/elf/relocation.py
index c663d1c5c982a41aabfa8b674e6f78868e286a46..690309f0ad17377e4d374195245ceab3dff8b2c8 100644
(file)
--- a/
elftools/elf/relocation.py
+++ b/
elftools/elf/relocation.py
@@
-169,7
+169,7
@@
class RelocationHandler(object):
value_struct = self.elffile.structs.Elf_word64('')
else:
raise ELFRelocationError('Invalid bytesize %s for relocation' %
- recipe
_
bytesize)
+ recipe
.
bytesize)
# 1. Read the value from the stream (with correct size and endianness)
original_value = struct_parse(