summaryrefslogtreecommitdiff
path: root/src/binary-reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r--src/binary-reader.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h
index 70cca969..27478eba 100644
--- a/src/binary-reader.h
+++ b/src/binary-reader.h
@@ -299,7 +299,11 @@ struct BinaryReader {
BinarySection section_code,
StringSlice section_name,
void* user_data);
- Result (*on_reloc)(RelocType type, uint32_t offset, void* user_data);
+ Result (*on_reloc)(RelocType type,
+ uint32_t offset,
+ uint32_t index,
+ int32_t addend,
+ void* user_data);
Result (*end_reloc_section)(BinaryReaderContext* ctx);
/* init_expr - used by elem, data and global sections; these functions are