File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -325,12 +325,11 @@ fn reloc_eq(
325
325
|| display_ins_data_literals ( left_obj, left_ins)
326
326
== display_ins_data_literals ( right_obj, right_ins) )
327
327
}
328
- ( Some ( _) , None ) => symbol_name_addend_matches,
329
328
( None , Some ( _) ) => {
330
329
// Match if possibly stripped weak symbol
331
330
symbol_name_addend_matches && right_reloc. symbol . flags . contains ( SymbolFlag :: Weak )
332
331
}
333
- ( None , None ) => symbol_name_addend_matches,
332
+ ( Some ( _ ) , None ) | ( None , None ) => symbol_name_addend_matches,
334
333
}
335
334
}
336
335
Original file line number Diff line number Diff line change @@ -53,12 +53,11 @@ fn reloc_eq(
53
53
section_name_eq ( left_obj, right_obj, sl, sr)
54
54
&& ( symbol_name_addend_matches || address_eq ( left, right) )
55
55
}
56
- ( Some ( _) , None ) => false ,
57
56
( None , Some ( _) ) => {
58
57
// Match if possibly stripped weak symbol
59
58
symbol_name_addend_matches && right. symbol . flags . contains ( SymbolFlag :: Weak )
60
59
}
61
- ( None , None ) => symbol_name_addend_matches,
60
+ ( Some ( _ ) , None ) | ( None , None ) => symbol_name_addend_matches,
62
61
}
63
62
}
64
63
You can’t perform that action at this time.
0 commit comments