summaryrefslogtreecommitdiff
path: root/src/binary-reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r--src/binary-reader.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index d9fb6ace..349822c7 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -1484,12 +1484,6 @@ Result BinaryReader::ReadLinkingSection(Offset section_size) {
uint32_t count;
switch (static_cast<LinkingEntryType>(linking_type)) {
- case LinkingEntryType::StackPointer: {
- uint32_t stack_ptr;
- CHECK_RESULT(ReadU32Leb128(&stack_ptr, "stack pointer index"));
- CALLBACK(OnStackGlobal, stack_ptr);
- break;
- }
case LinkingEntryType::SymbolTable:
CHECK_RESULT(ReadU32Leb128(&count, "sym count"));
CALLBACK(OnSymbolCount, count);
@@ -1531,12 +1525,6 @@ Result BinaryReader::ReadLinkingSection(Offset section_size) {
}
}
break;
- case LinkingEntryType::DataSize: {
- uint32_t data_size;
- CHECK_RESULT(ReadU32Leb128(&data_size, "data size"));
- CALLBACK(OnDataSize, data_size);
- break;
- }
case LinkingEntryType::SegmentInfo:
CHECK_RESULT(ReadU32Leb128(&count, "info count"));
CALLBACK(OnSegmentInfoCount, count);